import { Context } from "https://dotland.deno.dev/x/grammy@v1.20.2/context.ts";
Context-aware alias for api.forwardMessages
. Use this method to forward multiple messages of any kind. If some of the specified messages can't be found or forwarded, they are skipped. Service messages and messages with protected content can't be forwarded. Album grouping is kept for forwarded messages. On success, an array of MessageId of the sent messages is returned.
Parameters
Unique identifier for the target chat or username of the target channel (in the format @channelusername)
Identifiers of 1-100 messages in the current chat to forward. The identifiers must be specified in a strictly increasing order.
Optional AbortSignal
to cancel the request
Official reference: https://core.telegram.org/bots/api#forwardmessages