Open mat-twg opened 9 months ago
You are talking about the typescript types maybe? Because send media documents is possible with sendMediaGroup in this library
ts - yes... has type errors, btw this working, but has not full ts support...
bot.sendMediaGroup(
subscription.chatId, files.map((file) => ({
type: "document" as any,
media: file,
})),
{
disable_notification: true,
reply_to_message_id: message.message_id,
},
);
InputMediaAudio is not in payload as well.
InputMediaDocument
insendMediaGroup
is unavailable, please fix that.https://core.telegram.org/bots/api#inputmediadocument