2
0
mirror of https://github.com/yagop/node-telegram-bot-api synced 2025-08-28 04:47:38 +00:00

fix: CopyMessages

This commit is contained in:
danielperez9430 2024-02-21 00:59:15 +01:00
parent 8df6e6583e
commit db976c4598

View File

@ -1010,7 +1010,7 @@ class TelegramBot extends EventEmitter {
copyMessages(chatId, fromChatId, messageIds, form = {}) {
form.chat_id = chatId;
form.from_chat_id = fromChatId;
form.message_ids = messageIds;
form.message_ids = stringify(messageIds);
return this._request('copyMessages', { form });
}