diff --git a/src/telegram.js b/src/telegram.js index 8f13bed..2f7f1b2 100644 --- a/src/telegram.js +++ b/src/telegram.js @@ -277,7 +277,7 @@ TelegramBot.prototype._formatSendData = function (type, data) { formData[type] = { value: data, options: { - filename: fileName, + filename: decodeURIComponent(fileName), contentType: mime.lookup(fileName) } };