Replies: 1 comment
-
|
Hi! You can use sendMediaGroup to send multiple files in one message: bot.sendMediaGroup(chatId, [
{ type: 'photo', media: 'https://example.com/img1.jpg' },
{ type: 'photo', media: 'https://example.com/img2.jpg' },
{ type: 'document', media: fs.createReadStream('file.pdf') }
]);Note: · Supports up to 10 files Hope that helps! Let me know if you need more details. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! Is it possible to send multiple files like
sendMediaGroupat one message?Beta Was this translation helpful? Give feedback.
All reactions