Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/mtkruto/client/5_client.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.2.24/client/5_client.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.