You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -1918,7 +1921,7 @@ Use this method to delete a message, including service messages, with the follow
1918
1921
1919
1922
| Param | Type | Description |
1920
1923
| --- | --- | --- |
1921
-
| chatId | <code>Number</code> \| <code>String</code> | Unique identifier of the target chat |
1924
+
| chatId | <code>Number</code> \| <code>String</code> | Unique identifier for the target chat or username of the target channel (in the format @channelusername)|
1922
1925
| messageId | <code>Number</code> | Unique identifier of the target message |
| chatId | <code>Number</code> \| <code>String</code> | Unique identifier for the target chat or username of the target channel (in the format @channelusername) |
2360
+
| messageId | <code>Number</code> | Unique identifier of the target message |
| chatId | <code>Number</code> \| <code>String</code> | Unique identifier for the target chat or username of the target channel (in the format @channelusername) |
2375
+
| messageIds | <code>['Array'].<(Number\|String)></code> | Identifiers of 1-100 messages to delete. See deleteMessage for limitations on which messages can be deleted |
Use this method to copy messages of any kind. If some of the specified messages can't be found or copied, they are skipped. Service messages, giveaway messages, giveaway winners messages, and invoice messages can't be copied. A quiz poll can be copied only if the value of the field correct_option_id is known to the bot. The method is analogous to the method forwardMessages, but the copied messages don't have a link to the original message. Album grouping is kept for copied messages.
2382
+
2383
+
**Kind**: instance method of [<code>TelegramBot</code>](#TelegramBot)
2384
+
**Returns**: <code>['Promise'].<Array.<TelegramBot.MessageId>></code> - On success, an array of MessageId of the sent messages is returned.
| chatId | <code>Number</code> \| <code>String</code> | Unique identifier for the target chat or username of the target channel (in the format @channelusername) |
2390
+
| fromChatId | <code>Number</code> \| <code>String</code> | Unique identifier for the chat where the original message was sent (or channel username in the format `@channelusername`) |
2391
+
| messageIds | <code>['Array'].<(Number\|String)></code> | Identifiers of 1-100 messages in the chat from_chat_id to copy. The identifiers must be specified in a strictly increasing order. |
* Use this method to copy messages of any kind. If some of the specified messages can't be found or copied, they are skipped. Service messages, giveaway messages, giveaway winners messages, and invoice messages can't be copied. A quiz poll can be copied only if the value of the field correct_option_id is known to the bot. The method is analogous to the method forwardMessages, but the copied messages don't have a link to the original message. Album grouping is kept for copied messages.
3006
+
*
3007
+
* @param {Number|String} chatId Unique identifier for the target chat or username of the target channel (in the format @channelusername)
3008
+
* @param {Number|String} fromChatId Unique identifier for the chat where the
3009
+
* original message was sent (or channel username in the format `@channelusername`)
3010
+
* @param {Array<Number|String>} messageIds Identifiers of 1-100 messages in the chat from_chat_id to copy. The identifiers must be specified in a strictly increasing order.
0 commit comments