mirror of
https://github.com/yagop/node-telegram-bot-api
synced 2025-08-28 12:57:38 +00:00
fix: CopyMessages
This commit is contained in:
parent
8df6e6583e
commit
db976c4598
@ -1010,7 +1010,7 @@ class TelegramBot extends EventEmitter {
|
|||||||
copyMessages(chatId, fromChatId, messageIds, form = {}) {
|
copyMessages(chatId, fromChatId, messageIds, form = {}) {
|
||||||
form.chat_id = chatId;
|
form.chat_id = chatId;
|
||||||
form.from_chat_id = fromChatId;
|
form.from_chat_id = fromChatId;
|
||||||
form.message_ids = messageIds;
|
form.message_ids = stringify(messageIds);
|
||||||
return this._request('copyMessages', { form });
|
return this._request('copyMessages', { form });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user