Very Popular
Go to Latest
method Context.prototype.replyWithMediaGroup
import { Context } from "https://dotland.deno.dev/x/grammy@v1.20.0/context.ts";

Context-aware alias for api.sendMediaGroup. Use this method to send a group of photos, videos, documents or audios as an album. Documents and audio files can be only grouped in an album with messages of the same type. On success, an array of Messages that were sent is returned.

Parameters

An array describing messages to be sent, must include 2-10 items

optional
other: Other<"sendMediaGroup", "chat_id" | "media">

Optional remaining parameters, confer the official reference below

optional
signal: AbortSignal

Optional AbortSignal to cancel the request

Official reference: https://core.telegram.org/bots/api#sendmediagroup