mirror of
https://github.com/yagop/node-telegram-bot-api
synced 2025-08-28 12:57:38 +00:00
parent
5d30b6a134
commit
3829e727aa
@ -936,7 +936,7 @@ class TelegramBot extends EventEmitter {
|
||||
try {
|
||||
const sendData = this._formatSendData('animation', animation, fileOptions);
|
||||
opts.formData = sendData[0];
|
||||
opts.qs.document = sendData[1];
|
||||
opts.qs.animation = sendData[1];
|
||||
} catch (ex) {
|
||||
return Promise.reject(ex);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user