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
|[options.polling.params]| <code>Object</code> || Parameters to be used in polling API requests. See https://core.telegram.org/bots/api#getupdates for more information. |
211
211
|[options.polling.params.timeout]| <code>Number</code> | <code>10</code> | Timeout in seconds for long polling. |
212
-
|[options.polling.params.allowed_updates]| <code>Array</code> \| <code>String</code> || A JSON-serialized list of the update types you want your bot to receive. For example, specify ["message", "edited_channel_post", "callback_query"] to only receive updates of these types. |
212
+
|[options.polling.params.allowed_updates]| <code>Array.<String></code> \| <code>String</code> || A JSON-serialized list of the update types you want your bot to receive. For example, specify ["message", "edited_channel_post", "callback_query"] to only receive updates of these types. |
213
213
|[options.webHook]| <code>Boolean</code> \| <code>Object</code> | <code>false</code> | Set true to enable WebHook or set options |
214
214
|[options.webHook.host]| <code>String</code> | <code>"0.0.0.0"</code> | Host to bind to |
215
215
|[options.webHook.port]| <code>Number</code> | <code>8443</code> | Port to bind to |
@@ -601,7 +601,7 @@ If some of the specified messages can't be found or forwarded, they are skipped.
601
601
| --- | --- | --- |
602
602
| chatId | <code>Number</code> \| <code>String</code> | Unique identifier for the target chat or username of the target channel (in the format `@channelusername`) or username of the target channel (in the format `@channelusername`) |
603
603
| 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`) |
604
-
| messageIds | <code>['Array'].<(Number\|String)></code> | Identifiers of 1-100 messages in the chat from_chat_id to forward. The identifiers must be specified in a strictly increasing order. |
604
+
| messageIds | <code>Array.<(Number\|String)></code> | Identifiers of 1-100 messages in the chat from_chat_id to forward. The identifiers must be specified in a strictly increasing order. |
| chatId | <code>Number</code> \| <code>String</code> | Unique identifier for the target chat or username of the target channel (in the format @channelusername) |
2655
-
| messageIds | <code>['Array'].<(Number\|String)></code> | Identifiers of 1-100 messages to delete. See deleteMessage for limitations on which messages can be deleted |
2655
+
| messageIds | <code>Array.<(Number\|String)></code> | Identifiers of 1-100 messages to delete. See deleteMessage for limitations on which messages can be deleted |
@@ -2786,7 +2786,7 @@ Requires the **can_delete_outgoing_messages** business bot right to delete messa
2786
2786
| Param | Type | Description |
2787
2787
| --- | --- | --- |
2788
2788
| businessConnectionId | <code>String</code> | Unique identifier of the business connection on behalf of which to delete the message. |
2789
-
| messageIds | <code>['Array'].<Number></code> | List of 1-100 identifiers of messages to delete. All messages **must be from the same chat**. |
2789
+
| messageIds | <code>Array.<Number></code> | List of 1-100 identifiers of messages to delete. All messages **must be from the same chat**. |
0 commit comments