Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/mtkruto/mod.ts>Client#sendMediaGroup

Cross-runtime JavaScript library for building Telegram clients
Latest
method Client.prototype.sendMediaGroup
import { Client } from "https://deno.land/x/mtkruto@0.6.3/mod.ts";

Send a media group.

Parameters

chatId: ID

The chat to send the media group to.

media: InputMedia[]

The media to include in the media group. Animations are not allowed. All of them must be of the same media type, but an exception is that photos and videos can be mixed.

optional
params: SendMediaGroupParams

Returns

Promise<Message[]>

The sent messages.