- sendMediaGroup(client, chatId, medias, params?): Promise<Message[]>
Parameters
- client: ITelegramClient
- chatId: InputPeerLike
- medias: (string | InputMediaLike)[]
Optional
params: CommonSendParams & {
invertMedia?: boolean;
progressCallback?: ((index: number, uploaded: number, total: number) => void);
}
Returns Promise<Message[]>
Send a group of media.
To add a caption to the group, add caption to the first media in the group and don't add caption for any other.