diff --git a/src/telegram.js b/src/telegram.js index 0885989e..7e353c29 100644 --- a/src/telegram.js +++ b/src/telegram.js @@ -1551,7 +1551,7 @@ class TelegramBot extends EventEmitter { fileStream.emit('info', { uri: fileURI, }); - pump(streamedRequest({ uri: fileURI }), fileStream); + pump(streamedRequest(Object.assign({ uri: fileURI }, this.options.request)), fileStream); }) .catch((error) => { fileStream.emit('error', error);