File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -1545,8 +1545,7 @@ class TelegramBot extends EventEmitter {
1545
1545
* Use previously uploaded file via its file_id or specify a URL.
1546
1546
* On success, the edited Message is returned.
1547
1547
*
1548
- * Note that you must provide one of chat_id, message_id, or
1549
- * inline_message_id in your request.
1548
+ * Note that you must provide one of chat_id, message_id, or inline_message_id in your request.
1550
1549
*
1551
1550
* @param {Object } media A JSON-serialized object for a new media content of the message
1552
1551
* @param {Object } [options] Additional Telegram query options (provide either one of chat_id, message_id, or inline_message_id here)
@@ -1571,7 +1570,7 @@ class TelegramBot extends EventEmitter {
1571
1570
const [ formData ] = this . _formatSendData (
1572
1571
attachName ,
1573
1572
media . media . replace ( 'attach://' , '' ) ,
1574
- media . fileOptions ,
1573
+ media . fileOptions
1575
1574
) ;
1576
1575
1577
1576
if ( formData ) {
You can’t perform that action at this time.
0 commit comments