Skip to content

Commit c6cb87e

Browse files
fix: Bug with docs
1 parent bbbc6cb commit c6cb87e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/telegram.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1545,8 +1545,7 @@ class TelegramBot extends EventEmitter {
15451545
* Use previously uploaded file via its file_id or specify a URL.
15461546
* On success, the edited Message is returned.
15471547
*
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.
15501549
*
15511550
* @param {Object} media A JSON-serialized object for a new media content of the message
15521551
* @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 {
15711570
const [formData] = this._formatSendData(
15721571
attachName,
15731572
media.media.replace('attach://', ''),
1574-
media.fileOptions,
1573+
media.fileOptions
15751574
);
15761575

15771576
if (formData) {

0 commit comments

Comments
 (0)