diff --git a/TelegramBotAPI.html b/TelegramBotAPI.html index e019161..3527d36 100644 --- a/TelegramBotAPI.html +++ b/TelegramBotAPI.html @@ -53,6 +53,17 @@
Bot API 7.1
+Bot API 7.0
Reactions
@@ -138,15 +149,6 @@Bot API 6.8
-Each bot is given a unique authentication token when it is created. The token looks something like 123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11
, but we'll use simply <token> in this document instead. You can learn about obtaining tokens and generating new ones in this document.
"message_reaction_count"
in the list of allowed_updates to receive these updates."message_reaction_count"
in the list of allowed_updates to receive these updates. The updates are grouped and can be sent with delay up to a few minutes.This object represents a message about a forwarded story in the chat. Currently holds no information.
+This object represents a story.
+Field | +Type | +Description | +
---|---|---|
chat | +Chat | +Chat that posted the story | +
id | +Integer | +Unique identifier for the story in the chat | +
This object represents a video file.
Note that Telegram clients will display an alert to the user before opening an inline link ('Open this link?' together with the full URL).
Message entities can be nested, providing following restrictions are met:
- If two entities have common characters, then one of them is fully contained inside another.
- bold, italic, underline, strikethrough, and spoiler entities can contain and can be part of any other entities, except pre and code.
- blockquote entities can't be nested.
- All other entities can't contain each other.
Links tg://user?id=<user_id>
can be used to mention a user by their ID without using a username. Please note:
Links tg://user?id=<user_id>
can be used to mention a user by their identifier without using a username. Please note:
Please note:
Use this method to change the chosen reactions on a message. Service messages can't be reacted to. Automatically forwarded messages from a channel to its discussion group have the same available reactions as messages in the channel. In albums, bots must react to the first message. Returns True on success.
+Use this method to change the chosen reactions on a message. Service messages can't be reacted to. Automatically forwarded messages from a channel to its discussion group have the same available reactions as messages in the channel. Returns True on success.
Integer | Yes | -Identifier of the target message | +Identifier of the target message. If the message belongs to a media group, the reaction is set to the first non-deleted message in the group instead. | ||
reaction | @@ -6786,7 +6853,7 @@Boolean | Optional | -Pass True if the administrator can access the chat event log, boost list in channels, see channel members, report spam messages, see anonymous administrators in supergroups and ignore slow mode. Implied by any other administrator privilege | +Pass True if the administrator can access the chat event log, get boost list, see hidden supergroup and channel members, report spam messages and ignore slow mode. Implied by any other administrator privilege. | |
can_delete_messages | @@ -6825,40 +6892,40 @@|||||
can_post_messages | +can_post_stories | Boolean | Optional | -Pass True if the administrator can post messages in the channel, or access channel statistics; channels only | +Pass True if the administrator can post stories to the chat |
can_edit_messages | +can_edit_stories | Boolean | Optional | -Pass True if the administrator can edit messages of other users and can pin messages; channels only | +Pass True if the administrator can edit stories posted by other users |
can_pin_messages | +can_delete_stories | Boolean | Optional | -Pass True if the administrator can pin messages, supergroups only | +Pass True if the administrator can delete stories posted by other users |
can_post_stories | +can_post_messages | Boolean | Optional | -Pass True if the administrator can post stories in the channel; channels only | +Pass True if the administrator can post messages in the channel, or access channel statistics; channels only |
can_edit_stories | +can_edit_messages | Boolean | Optional | -Pass True if the administrator can edit stories posted by other users; channels only | +Pass True if the administrator can edit messages of other users and can pin messages; channels only |
can_delete_stories | +can_pin_messages | Boolean | Optional | -Pass True if the administrator can delete stories posted by other users; channels only | +Pass True if the administrator can pin messages, supergroups only |
can_manage_topics | @@ -8401,19 +8468,19 @@
Note: This will only work in Telegram versions released after October 1, 2016. Older clients will not display any inline results if a game result is among them.
Represents a link to a photo stored on the Telegram servers. By default, this photo will be sent by the user with an optional caption. Alternatively, you can use input_message_content to send a message with the specified content instead of the photo.
Your bot can accept payments from Telegram users. Please see the introduction to payments for more details on the process and how to set up payments for your bot. Please note that users will need Telegram v.4.0 or higher to use payments (released on May 18, 2017).
+Your bot can accept payments from Telegram users. Please see the introduction to payments for more details on the process and how to set up payments for your bot.
Use this method to send invoices. On success, the sent Message is returned.