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