diff --git a/data/core.telegram.org/bots/api-changelog.html b/data/core.telegram.org/bots/api-changelog.html
index da97d2c55b..f7743e51fb 100644
--- a/data/core.telegram.org/bots/api-changelog.html
+++ b/data/core.telegram.org/bots/api-changelog.html
@@ -51,6 +51,21 @@ To learn how to create…">
The response contains a JSON object, which always has a Boolean field 'ok' and may have an optional String field 'description' with a human-readable description of the result. If 'ok' equals true, the request was successful and the result of the query can be found in the 'result' field. In case of an unsuccessful request, 'ok' equals false and the error is explained in the 'description'. An Integer 'error_code' field is also returned, but its contents are subject to change in the future. Some errors may also have an optional field 'parameters' of the type ResponseParameters, which can help to automatically handle the error.
+The response contains a JSON object, which always has a Boolean field 'ok' and may have an optional String field 'description' with a human-readable description of the result. If 'ok' equals True, the request was successful and the result of the query can be found in the 'result' field. In case of an unsuccessful request, 'ok' equals false and the error is explained in the 'description'. An Integer 'error_code' field is also returned, but its contents are subject to change in the future. Some errors may also have an optional field 'parameters' of the type ResponseParameters, which can help to automatically handle the error.
- All methods in the Bot API are case-insensitive.
- All queries must be made using UTF-8.
@@ -322,6 +225,11 @@ To learn how to create…">
ChatMemberUpdated |
Optional. A chat member's status was updated in a chat. The bot must be an administrator in the chat and must explicitly specify “chat_member” in the list of allowed_updates to receive these updates. |
+
+chat_join_request |
+ChatJoinRequest |
+Optional. A request to join the chat has been sent. The bot must have the can_invite_users administrator right in the chat to receive these updates. |
+
getUpdates
@@ -461,7 +369,7 @@ To learn how to create…">
has_custom_certificate |
Boolean |
-True, if a custom certificate was provided for webhook certificate checks |
+True, if a custom certificate was provided for webhook certificate checks |
pending_update_count |
@@ -520,7 +428,7 @@ To learn how to create…">
is_bot |
Boolean |
-True, if this user is a bot |
+True, if this user is a bot |
first_name |
@@ -545,17 +453,17 @@ To learn how to create…">
can_join_groups |
Boolean |
-Optional. True, if the bot can be invited to groups. Returned only in getMe. |
+Optional. True, if the bot can be invited to groups. Returned only in getMe. |
can_read_all_group_messages |
Boolean |
-Optional. True, if privacy mode is disabled for the bot. Returned only in getMe. |
+Optional. True, if privacy mode is disabled for the bot. Returned only in getMe. |
supports_inline_queries |
Boolean |
-Optional. True, if the bot supports inline queries. Returned only in getMe. |
+Optional. True, if the bot supports inline queries. Returned only in getMe. |
@@ -648,7 +556,7 @@ To learn how to create…">
can_set_sticker_set |
Boolean |
-Optional. True, if the bot can change the group sticker set. Returned only in getChat. |
+Optional. True, if the bot can change the group sticker set. Returned only in getChat. |
linked_chat_id |
@@ -1498,12 +1406,12 @@ To learn how to create…">
is_closed |
Boolean |
-True, if the poll is closed |
+True, if the poll is closed |
is_anonymous |
Boolean |
-True, if the poll is anonymous |
+True, if the poll is anonymous |
type |
@@ -1513,7 +1421,7 @@ To learn how to create…">
allows_multiple_answers |
Boolean |
-True, if the poll allows multiple answers |
+True, if the poll allows multiple answers |
correct_option_id |
@@ -1975,7 +1883,7 @@ To learn how to create…">
pay |
Boolean |
-Optional. Specify True, to send a Pay button.
NOTE: This type of button must always be the first button in the first row. |
+Optional. Specify True, to send a Pay button.
NOTE: This type of button must always be the first button in the first row. |
@@ -2016,7 +1924,7 @@ To learn how to create…">
request_write_access |
Boolean |
-Optional. Pass True to request the permission for your bot to send messages to the user. |
+Optional. Pass True to request the permission for your bot to send messages to the user. |
@@ -2162,14 +2070,24 @@ To learn how to create…">
Creator of the link |
+creates_join_request |
+Boolean |
+True, if users joining the chat via the link need to be approved by chat administrators |
+
+
is_primary |
Boolean |
-True, if the link is primary |
+True, if the link is primary |
is_revoked |
Boolean |
-True, if the link is revoked |
+True, if the link is revoked |
+
+
+name |
+String |
+Optional. Invite link name |
expire_date |
@@ -2181,6 +2099,11 @@ To learn how to create…">
Integer |
Optional. Maximum number of users that can be members of the chat simultaneously after joining the chat via this invite link; 1-99999 |
+
+pending_join_request_count |
+Integer |
+Optional. Number of pending join requests created using this link |
+
ChatMember
@@ -2217,7 +2140,7 @@ To learn how to create…">
is_anonymous |
Boolean |
-True, if the user's presence in the chat is hidden |
+True, if the user's presence in the chat is hidden |
custom_title |
@@ -2250,62 +2173,62 @@ To learn how to create…">
can_be_edited |
Boolean |
-True, if the bot is allowed to edit administrator privileges of that user |
+True, if the bot is allowed to edit administrator privileges of that user |
is_anonymous |
Boolean |
-True, if the user's presence in the chat is hidden |
+True, if the user's presence in the chat is hidden |
can_manage_chat |
Boolean |
-True, if the administrator can access the chat event log, chat statistics, message statistics in channels, see channel members, see anonymous administrators in supergroups and ignore slow mode. Implied by any other administrator privilege |
+True, if the administrator can access the chat event log, chat statistics, message statistics in channels, see channel members, see anonymous administrators in supergroups and ignore slow mode. Implied by any other administrator privilege |
can_delete_messages |
Boolean |
-True, if the administrator can delete messages of other users |
+True, if the administrator can delete messages of other users |
can_manage_voice_chats |
Boolean |
-True, if the administrator can manage voice chats |
+True, if the administrator can manage voice chats |
can_restrict_members |
Boolean |
-True, if the administrator can restrict, ban or unban chat members |
+True, if the administrator can restrict, ban or unban chat members |
can_promote_members |
Boolean |
-True, if the administrator can add new administrators with a subset of their own privileges or demote administrators that he has promoted, directly or indirectly (promoted by administrators that were appointed by the user) |
+True, if the administrator can add new administrators with a subset of their own privileges or demote administrators that he has promoted, directly or indirectly (promoted by administrators that were appointed by the user) |
can_change_info |
Boolean |
-True, if the user is allowed to change the chat title, photo and other settings |
+True, if the user is allowed to change the chat title, photo and other settings |
can_invite_users |
Boolean |
-True, if the user is allowed to invite new users to the chat |
+True, if the user is allowed to invite new users to the chat |
can_post_messages |
Boolean |
-Optional. True, if the administrator can post in the channel; channels only |
+Optional. True, if the administrator can post in the channel; channels only |
can_edit_messages |
Boolean |
-Optional. True, if the administrator can edit messages of other users and can pin messages; channels only |
+Optional. True, if the administrator can edit messages of other users and can pin messages; channels only |
can_pin_messages |
Boolean |
-Optional. True, if the user is allowed to pin messages; groups and supergroups only |
+Optional. True, if the user is allowed to pin messages; groups and supergroups only |
custom_title |
@@ -2361,47 +2284,47 @@ To learn how to create…">
is_member |
Boolean |
-True, if the user is a member of the chat at the moment of the request |
+True, if the user is a member of the chat at the moment of the request |
can_change_info |
Boolean |
-True, if the user is allowed to change the chat title, photo and other settings |
+True, if the user is allowed to change the chat title, photo and other settings |
can_invite_users |
Boolean |
-True, if the user is allowed to invite new users to the chat |
+True, if the user is allowed to invite new users to the chat |
can_pin_messages |
Boolean |
-True, if the user is allowed to pin messages |
+True, if the user is allowed to pin messages |
can_send_messages |
Boolean |
-True, if the user is allowed to send text messages, contacts, locations and venues |
+True, if the user is allowed to send text messages, contacts, locations and venues |
can_send_media_messages |
Boolean |
-True, if the user is allowed to send audios, documents, photos, videos, video notes and voice notes |
+True, if the user is allowed to send audios, documents, photos, videos, video notes and voice notes |
can_send_polls |
Boolean |
-True, if the user is allowed to send polls |
+True, if the user is allowed to send polls |
can_send_other_messages |
Boolean |
-True, if the user is allowed to send animations, games, stickers and use inline bots |
+True, if the user is allowed to send animations, games, stickers and use inline bots |
can_add_web_page_previews |
Boolean |
-True, if the user is allowed to add web page previews to their messages |
+True, if the user is allowed to add web page previews to their messages |
until_date |
@@ -2504,6 +2427,44 @@ To learn how to create…">
+ChatJoinRequest
+Represents a join request sent to a chat.
+
+
+
+Field |
+Type |
+Description |
+
+
+
+
+chat |
+Chat |
+Chat to which the request was sent |
+
+
+from |
+User |
+User that sent the join request |
+
+
+date |
+Integer |
+Date the request was sent in Unix time |
+
+
+bio |
+String |
+Optional. Bio of the user. |
+
+
+invite_link |
+ChatInviteLink |
+Optional. Chat invite link that was used by the user to send the join request |
+
+
+
ChatPermissions
Describes actions that a non-administrator user is allowed to take in a chat.
@@ -2518,42 +2479,42 @@ To learn how to create…">
can_send_messages |
Boolean |
-Optional. True, if the user is allowed to send text messages, contacts, locations and venues |
+Optional. True, if the user is allowed to send text messages, contacts, locations and venues |
can_send_media_messages |
Boolean |
-Optional. True, if the user is allowed to send audios, documents, photos, videos, video notes and voice notes, implies can_send_messages |
+Optional. True, if the user is allowed to send audios, documents, photos, videos, video notes and voice notes, implies can_send_messages |
can_send_polls |
Boolean |
-Optional. True, if the user is allowed to send polls, implies can_send_messages |
+Optional. True, if the user is allowed to send polls, implies can_send_messages |
can_send_other_messages |
Boolean |
-Optional. True, if the user is allowed to send animations, games, stickers and use inline bots, implies can_send_media_messages |
+Optional. True, if the user is allowed to send animations, games, stickers and use inline bots, implies can_send_media_messages |
can_add_web_page_previews |
Boolean |
-Optional. True, if the user is allowed to add web page previews to their messages, implies can_send_media_messages |
+Optional. True, if the user is allowed to add web page previews to their messages, implies can_send_media_messages |
can_change_info |
Boolean |
-Optional. True, if the user is allowed to change the chat title, photo and other settings. Ignored in public supergroups |
+Optional. True, if the user is allowed to change the chat title, photo and other settings. Ignored in public supergroups |
can_invite_users |
Boolean |
-Optional. True, if the user is allowed to invite new users to the chat |
+Optional. True, if the user is allowed to invite new users to the chat |
can_pin_messages |
Boolean |
-Optional. True, if the user is allowed to pin messages. Ignored in public supergroups |
+Optional. True, if the user is allowed to pin messages. Ignored in public supergroups |
@@ -2629,12 +2590,12 @@ To learn how to create…">
- botCommandScopeChatMember + language_code
- botCommandScopeChatMember
-- botCommandScopeChatAdministrators + language_code (admins only)
-- botCommandScopeChatAdministrators (admins only)
+- botCommandScopeChatAdministrators + language_code (administrators only)
+- botCommandScopeChatAdministrators (administrators only)
- botCommandScopeChat + language_code
- botCommandScopeChat
-- botCommandScopeAllChatAdministrators + language_code (admins only)
-- botCommandScopeAllChatAdministrators (admins only)
+- botCommandScopeAllChatAdministrators + language_code (administrators only)
+- botCommandScopeAllChatAdministrators (administrators only)
- botCommandScopeAllGroupChats + language_code
- botCommandScopeAllGroupChats
- botCommandScopeDefault + language_code
@@ -3079,7 +3040,7 @@ To learn how to create…">
disable_content_type_detection |
Boolean |
-Optional. Disables automatic server-side content type detection for files uploaded using multipart/form-data. Always true, if the document is sent as part of an album. |
+Optional. Disables automatic server-side content type detection for files uploaded using multipart/form-data. Always True, if the document is sent as part of an album. |
@@ -4370,7 +4331,7 @@ pre-formatted fixed-width code block written in the Python programming language
is_anonymous |
Boolean |
Optional |
-True, if the poll needs to be anonymous, defaults to True |
+True, if the poll needs to be anonymous, defaults to True |
type |
@@ -4382,7 +4343,7 @@ pre-formatted fixed-width code block written in the Python programming language
allows_multiple_answers |
Boolean |
Optional |
-True, if the poll allows multiple answers, ignored for polls in quiz mode, defaults to False |
+True, if the poll allows multiple answers, ignored for polls in quiz mode, defaults to False |
correct_option_id |
@@ -4528,7 +4489,7 @@ pre-formatted fixed-width code block written in the Python programming language
action |
String |
Yes |
-Type of action to broadcast. Choose one, depending on what the user is about to receive: typing for text messages, upload_photo for photos, record_video or upload_video for videos, record_voice or upload_voice for voice notes, upload_document for general files, find_location for location data, record_video_note or upload_video_note for video notes. |
+Type of action to broadcast. Choose one, depending on what the user is about to receive: typing for text messages, upload_photo for photos, record_video or upload_video for videos, record_voice or upload_voice for voice notes, upload_document for general files, choose_sticker for stickers, find_location for location data, record_video_note or upload_video_note for video notes. |
@@ -4586,7 +4547,7 @@ pre-formatted fixed-width code block written in the Python programming language
Note: This function may not preserve the original file name and MIME type. You should save the file's MIME type and name (if available) when the File object is received.
banChatMember
-Use this method to ban a user in a group, a supergroup or a channel. In the case of supergroups and channels, the user will not be able to return to the chat on their own using invite links, etc., unless unbanned first. The bot must be an administrator in the chat for this to work and must have the appropriate admin rights. Returns True on success.
+Use this method to ban a user in a group, a supergroup or a channel. In the case of supergroups and channels, the user will not be able to return to the chat on their own using invite links, etc., unless unbanned first. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Returns True on success.
@@ -4656,7 +4617,7 @@ pre-formatted fixed-width code block written in the Python programming language
restrictChatMember
-Use this method to restrict a user in a supergroup. The bot must be an administrator in the supergroup for this to work and must have the appropriate admin rights. Pass True for all permissions to lift restrictions from a user. Returns True on success.
+Use this method to restrict a user in a supergroup. The bot must be an administrator in the supergroup for this to work and must have the appropriate administrator rights. Pass True for all permissions to lift restrictions from a user. Returns True on success.
@@ -4694,7 +4655,7 @@ pre-formatted fixed-width code block written in the Python programming language
promoteChatMember
-Use this method to promote or demote a user in a supergroup or a channel. The bot must be an administrator in the chat for this to work and must have the appropriate admin rights. Pass False for all boolean parameters to demote a user. Returns True on success.
+Use this method to promote or demote a user in a supergroup or a channel. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Pass False for all boolean parameters to demote a user. Returns True on success.
@@ -4727,61 +4688,61 @@ pre-formatted fixed-width code block written in the Python programming language
can_manage_chat |
Boolean |
Optional |
-Pass True, if the administrator can access the chat event log, chat statistics, message statistics in channels, see channel members, 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, chat statistics, message statistics in channels, see channel members, see anonymous administrators in supergroups and ignore slow mode. Implied by any other administrator privilege |
can_post_messages |
Boolean |
Optional |
-Pass True, if the administrator can create channel posts, channels only |
+Pass True, if the administrator can create channel posts, channels only |
can_edit_messages |
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 messages of other users and can pin messages, channels only |
can_delete_messages |
Boolean |
Optional |
-Pass True, if the administrator can delete messages of other users |
+Pass True, if the administrator can delete messages of other users |
can_manage_voice_chats |
Boolean |
Optional |
-Pass True, if the administrator can manage voice chats |
+Pass True, if the administrator can manage voice chats |
can_restrict_members |
Boolean |
Optional |
-Pass True, if the administrator can restrict, ban or unban chat members |
+Pass True, if the administrator can restrict, ban or unban chat members |
can_promote_members |
Boolean |
Optional |
-Pass True, if the administrator can add new administrators with a subset of their own privileges or demote administrators that he has promoted, directly or indirectly (promoted by administrators that were appointed by him) |
+Pass True, if the administrator can add new administrators with a subset of their own privileges or demote administrators that he has promoted, directly or indirectly (promoted by administrators that were appointed by him) |
can_change_info |
Boolean |
Optional |
-Pass True, if the administrator can change chat title, photo and other settings |
+Pass True, if the administrator can change chat title, photo and other settings |
can_invite_users |
Boolean |
Optional |
-Pass True, if the administrator can invite new users to the chat |
+Pass True, if the administrator can invite new users to the chat |
can_pin_messages |
Boolean |
Optional |
-Pass True, if the administrator can pin messages, supergroups only |
+Pass True, if the administrator can pin messages, supergroups only |
@@ -4818,7 +4779,7 @@ pre-formatted fixed-width code block written in the Python programming language
setChatPermissions
-Use this method to set default chat permissions for all members. The bot must be an administrator in the group or a supergroup for this to work and must have the can_restrict_members admin rights. Returns True on success.
+Use this method to set default chat permissions for all members. The bot must be an administrator in the group or a supergroup for this to work and must have the can_restrict_members administrator rights. Returns True on success.
@@ -4844,7 +4805,7 @@ pre-formatted fixed-width code block written in the Python programming language
exportChatInviteLink
-Use this method to generate a new primary invite link for a chat; any previously generated primary link is revoked. The bot must be an administrator in the chat for this to work and must have the appropriate admin rights. Returns the new invite link as String on success.
+Use this method to generate a new primary invite link for a chat; any previously generated primary link is revoked. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Returns the new invite link as String on success.
@@ -4867,7 +4828,7 @@ pre-formatted fixed-width code block written in the Python programming language
Note: Each administrator in a chat generates their own invite links. Bots can't use invite links generated by other administrators. If you want your bot to work with invite links, it will need to generate its own link using exportChatInviteLink or by calling the getChat method. If your bot needs to generate a new primary invite link replacing its previous one, use exportChatInviteLink again.
createChatInviteLink
-Use this method to create an additional invite link for a chat. The bot must be an administrator in the chat for this to work and must have the appropriate admin rights. The link can be revoked using the method revokeChatInviteLink. Returns the new invite link as ChatInviteLink object.
+Use this method to create an additional invite link for a chat. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. The link can be revoked using the method revokeChatInviteLink. Returns the new invite link as ChatInviteLink object.
@@ -4885,6 +4846,12 @@ pre-formatted fixed-width code block written in the Python programming language
Unique identifier for the target chat or username of the target channel (in the format @channelusername ) |
+name |
+String |
+Optional |
+Invite link name; 0-32 characters |
+
+
expire_date |
Integer |
Optional |
@@ -4896,10 +4863,16 @@ pre-formatted fixed-width code block written in the Python programming language
Optional |
Maximum number of users that can be members of the chat simultaneously after joining the chat via this invite link; 1-99999 |
+
+creates_join_request |
+Boolean |
+Optional |
+True, if users joining the chat via the link need to be approved by chat administrators. If True, member_limit can't be specified |
+
editChatInviteLink
-Use this method to edit a non-primary invite link created by the bot. The bot must be an administrator in the chat for this to work and must have the appropriate admin rights. Returns the edited invite link as a ChatInviteLink object.
+Use this method to edit a non-primary invite link created by the bot. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Returns the edited invite link as a ChatInviteLink object.
@@ -4923,6 +4896,12 @@ pre-formatted fixed-width code block written in the Python programming language
The invite link to edit |
+name |
+String |
+Optional |
+Invite link name; 0-32 characters |
+
+
expire_date |
Integer |
Optional |
@@ -4934,10 +4913,16 @@ pre-formatted fixed-width code block written in the Python programming language
Optional |
Maximum number of users that can be members of the chat simultaneously after joining the chat via this invite link; 1-99999 |
+
+creates_join_request |
+Boolean |
+Optional |
+True, if users joining the chat via the link need to be approved by chat administrators. If True, member_limit can't be specified |
+
revokeChatInviteLink
-Use this method to revoke an invite link created by the bot. If the primary link is revoked, a new link is automatically generated. The bot must be an administrator in the chat for this to work and must have the appropriate admin rights. Returns the revoked invite link as ChatInviteLink object.
+Use this method to revoke an invite link created by the bot. If the primary link is revoked, a new link is automatically generated. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Returns the revoked invite link as ChatInviteLink object.
@@ -4962,8 +4947,60 @@ pre-formatted fixed-width code block written in the Python programming language
+approveChatJoinRequest
+Use this method to approve a chat join request. The bot must be an administrator in the chat for this to work and must have the can_invite_users administrator right. Returns True on success.
+
+
+
+Parameter |
+Type |
+Required |
+Description |
+
+
+
+
+chat_id |
+Integer or String |
+Yes |
+Unique identifier for the target chat or username of the target channel (in the format @channelusername ) |
+
+
+user_id |
+Integer |
+Yes |
+Unique identifier of the target user |
+
+
+
+declineChatJoinRequest
+Use this method to decline a chat join request. The bot must be an administrator in the chat for this to work and must have the can_invite_users administrator right. Returns True on success.
+
+
+
+Parameter |
+Type |
+Required |
+Description |
+
+
+
+
+chat_id |
+Integer or String |
+Yes |
+Unique identifier for the target chat or username of the target channel (in the format @channelusername ) |
+
+
+user_id |
+Integer |
+Yes |
+Unique identifier of the target user |
+
+
+
setChatPhoto
-Use this method to set a new profile photo for the chat. Photos can't be changed for private chats. The bot must be an administrator in the chat for this to work and must have the appropriate admin rights. Returns True on success.
+Use this method to set a new profile photo for the chat. Photos can't be changed for private chats. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Returns True on success.
@@ -4989,7 +5026,7 @@ pre-formatted fixed-width code block written in the Python programming language
deleteChatPhoto
-Use this method to delete a chat photo. Photos can't be changed for private chats. The bot must be an administrator in the chat for this to work and must have the appropriate admin rights. Returns True on success.
+Use this method to delete a chat photo. Photos can't be changed for private chats. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Returns True on success.
@@ -5009,7 +5046,7 @@ pre-formatted fixed-width code block written in the Python programming language
setChatTitle
-Use this method to change the title of a chat. Titles can't be changed for private chats. The bot must be an administrator in the chat for this to work and must have the appropriate admin rights. Returns True on success.
+Use this method to change the title of a chat. Titles can't be changed for private chats. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Returns True on success.
@@ -5035,7 +5072,7 @@ pre-formatted fixed-width code block written in the Python programming language
setChatDescription
-Use this method to change the description of a group, a supergroup or a channel. The bot must be an administrator in the chat for this to work and must have the appropriate admin rights. Returns True on success.
+Use this method to change the description of a group, a supergroup or a channel. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Returns True on success.
@@ -5061,7 +5098,7 @@ pre-formatted fixed-width code block written in the Python programming language
pinChatMessage
-Use this method to add a message to the list of pinned messages in a chat. If the chat is not a private chat, the bot must be an administrator in the chat for this to work and must have the 'can_pin_messages' admin right in a supergroup or 'can_edit_messages' admin right in a channel. Returns True on success.
+Use this method to add a message to the list of pinned messages in a chat. If the chat is not a private chat, the bot must be an administrator in the chat for this to work and must have the 'can_pin_messages' administrator right in a supergroup or 'can_edit_messages' administrator right in a channel. Returns True on success.
@@ -5093,7 +5130,7 @@ pre-formatted fixed-width code block written in the Python programming language
unpinChatMessage
-Use this method to remove a message from the list of pinned messages in a chat. If the chat is not a private chat, the bot must be an administrator in the chat for this to work and must have the 'can_pin_messages' admin right in a supergroup or 'can_edit_messages' admin right in a channel. Returns True on success.
+Use this method to remove a message from the list of pinned messages in a chat. If the chat is not a private chat, the bot must be an administrator in the chat for this to work and must have the 'can_pin_messages' administrator right in a supergroup or 'can_edit_messages' administrator right in a channel. Returns True on success.
@@ -5119,7 +5156,7 @@ pre-formatted fixed-width code block written in the Python programming language
unpinAllChatMessages
-Use this method to clear the list of pinned messages in a chat. If the chat is not a private chat, the bot must be an administrator in the chat for this to work and must have the 'can_pin_messages' admin right in a supergroup or 'can_edit_messages' admin right in a channel. Returns True on success.
+Use this method to clear the list of pinned messages in a chat. If the chat is not a private chat, the bot must be an administrator in the chat for this to work and must have the 'can_pin_messages' administrator right in a supergroup or 'can_edit_messages' administrator right in a channel. Returns True on success.
@@ -5245,7 +5282,7 @@ pre-formatted fixed-width code block written in the Python programming language
setChatStickerSet
-Use this method to set a new group sticker set for a supergroup. The bot must be an administrator in the chat for this to work and must have the appropriate admin rights. Use the field can_set_sticker_set optionally returned in getChat requests to check if the bot can use this method. Returns True on success.
+Use this method to set a new group sticker set for a supergroup. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Use the field can_set_sticker_set optionally returned in getChat requests to check if the bot can use this method. Returns True on success.
@@ -5271,7 +5308,7 @@ pre-formatted fixed-width code block written in the Python programming language
deleteChatStickerSet
-Use this method to delete a group sticker set from a supergroup. The bot must be an administrator in the chat for this to work and must have the appropriate admin rights. Use the field can_set_sticker_set optionally returned in getChat requests to check if the bot can use this method. Returns True on success.
+Use this method to delete a group sticker set from a supergroup. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Use the field can_set_sticker_set optionally returned in getChat requests to check if the bot can use this method. Returns True on success.
@@ -5321,7 +5358,7 @@ pre-formatted fixed-width code block written in the Python programming language
show_alert |
Boolean |
Optional |
-If true, an alert will be shown by the client instead of a notification at the top of the chat screen. Defaults to false. |
+If True, an alert will be shown by the client instead of a notification at the top of the chat screen. Defaults to false. |
url |
@@ -8088,7 +8125,7 @@ pre-formatted fixed-width code block written in the Python programming language
answerShippingQuery
-If you sent an invoice requesting a shipping address and the parameter is_flexible was specified, the Bot API will send an Update with a shipping_query field to the bot. Use this method to reply to shipping queries. On success, True is returned.
+If you sent an invoice requesting a shipping address and the parameter is_flexible was specified, the Bot API will send an Update with a shipping_query field to the bot. Use this method to reply to shipping queries. On success, True is returned.
@@ -8109,13 +8146,13 @@ pre-formatted fixed-width code block written in the Python programming language
ok |
Boolean |
Yes |
-Specify True if delivery to the specified address is possible and False if there are any problems (for example, if delivery to the specified address is not possible) |
+Specify True if delivery to the specified address is possible and False if there are any problems (for example, if delivery to the specified address is not possible) |
shipping_options |
Array of ShippingOption |
Optional |
-Required if ok is True. A JSON-serialized array of available shipping options. |
+Required if ok is True. A JSON-serialized array of available shipping options. |
error_message |
@@ -8126,7 +8163,7 @@ pre-formatted fixed-width code block written in the Python programming language
answerPreCheckoutQuery
-Once the user has confirmed their payment and shipping details, the Bot API sends the final confirmation in the form of an Update with the field pre_checkout_query. Use this method to respond to such pre-checkout queries. On success, True is returned. Note: The Bot API must receive an answer within 10 seconds after the pre-checkout query was sent.
+Once the user has confirmed their payment and shipping details, the Bot API sends the final confirmation in the form of an Update with the field pre_checkout_query. Use this method to respond to such pre-checkout queries. On success, True is returned. Note: The Bot API must receive an answer within 10 seconds after the pre-checkout query was sent.
@@ -9078,13 +9115,13 @@ pre-formatted fixed-width code block written in the Python programming language
force |
Boolean |
Optional |
-Pass True, if the high score is allowed to decrease. This can be useful when fixing mistakes or banning cheaters |
+Pass True, if the high score is allowed to decrease. This can be useful when fixing mistakes or banning cheaters |
disable_edit_message |
Boolean |
Optional |
-Pass True, if the game message should not be automatically edited to include the current scoreboard |
+Pass True, if the game message should not be automatically edited to include the current scoreboard |
chat_id |
diff --git a/data/corefork.telegram.org/bots/api-changelog.html b/data/corefork.telegram.org/bots/api-changelog.html
index 43bb615e9c..b401ea1d9d 100644
--- a/data/corefork.telegram.org/bots/api-changelog.html
+++ b/data/corefork.telegram.org/bots/api-changelog.html
@@ -51,6 +51,21 @@ To learn how to create…">
Subscribe to @BotNews to be the first to know about the latest updates and join the discussion in @BotTalk
+November 5, 2021
+Bot API 5.4
+
+
+
+ WARNING!
User identifiers will become bigger than 2^31 - 1
before the end of this year and it will be no longer possible to store them in a signed 32-bit integer type. User identifiers will have up to 52 significant bits, so a 64-bit integer or double-precision float type would still be safe for storing them. Please make sure that your code can correctly handle such user identifiers.
+
+
June 25, 2021
Bot API 5.3
Personalized Commands
diff --git a/data/raw.githubusercontent.com/tdlib/td/master/td/generate/scheme/telegram_api.tl b/data/raw.githubusercontent.com/tdlib/td/master/td/generate/scheme/telegram_api.tl
index d377bea7ac..d66485596f 100644
--- a/data/raw.githubusercontent.com/tdlib/td/master/td/generate/scheme/telegram_api.tl
+++ b/data/raw.githubusercontent.com/tdlib/td/master/td/generate/scheme/telegram_api.tl
@@ -118,8 +118,8 @@ chatForbidden#6592a1a7 id:long title:string = Chat;
channel#8261ac61 flags:# creator:flags.0?true left:flags.2?true broadcast:flags.5?true verified:flags.7?true megagroup:flags.8?true restricted:flags.9?true signatures:flags.11?true min:flags.12?true scam:flags.19?true has_link:flags.20?true has_geo:flags.21?true slowmode_enabled:flags.22?true call_active:flags.23?true call_not_empty:flags.24?true fake:flags.25?true gigagroup:flags.26?true id:long access_hash:flags.13?long title:string username:flags.6?string photo:ChatPhoto date:int restriction_reason:flags.9?Vector admin_rights:flags.14?ChatAdminRights banned_rights:flags.15?ChatBannedRights default_banned_rights:flags.18?ChatBannedRights participants_count:flags.17?int = Chat;
channelForbidden#17d493d5 flags:# broadcast:flags.5?true megagroup:flags.8?true id:long access_hash:long title:string until_date:flags.16?int = Chat;
-chatFull#4dbdc099 flags:# can_set_username:flags.7?true has_scheduled:flags.8?true id:long about:string participants:ChatParticipants chat_photo:flags.2?Photo notify_settings:PeerNotifySettings exported_invite:flags.13?ExportedChatInvite bot_info:flags.3?Vector pinned_msg_id:flags.6?int folder_id:flags.11?int call:flags.12?InputGroupCall ttl_period:flags.14?int groupcall_default_join_as:flags.15?Peer theme_emoticon:flags.16?string = ChatFull;
-channelFull#e9b27a17 flags:# can_view_participants:flags.3?true can_set_username:flags.6?true can_set_stickers:flags.7?true hidden_prehistory:flags.10?true can_set_location:flags.16?true has_scheduled:flags.19?true can_view_stats:flags.20?true blocked:flags.22?true id:long about:string participants_count:flags.0?int admins_count:flags.1?int kicked_count:flags.2?int banned_count:flags.2?int online_count:flags.13?int read_inbox_max_id:int read_outbox_max_id:int unread_count:int chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:flags.23?ExportedChatInvite bot_info:Vector migrated_from_chat_id:flags.4?long migrated_from_max_id:flags.4?int pinned_msg_id:flags.5?int stickerset:flags.8?StickerSet available_min_id:flags.9?int folder_id:flags.11?int linked_chat_id:flags.14?long location:flags.15?ChannelLocation slowmode_seconds:flags.17?int slowmode_next_send_date:flags.18?int stats_dc:flags.12?int pts:int call:flags.21?InputGroupCall ttl_period:flags.24?int pending_suggestions:flags.25?Vector groupcall_default_join_as:flags.26?Peer theme_emoticon:flags.27?string = ChatFull;
+chatFull#46a6ffb4 flags:# can_set_username:flags.7?true has_scheduled:flags.8?true id:long about:string participants:ChatParticipants chat_photo:flags.2?Photo notify_settings:PeerNotifySettings exported_invite:flags.13?ExportedChatInvite bot_info:flags.3?Vector pinned_msg_id:flags.6?int folder_id:flags.11?int call:flags.12?InputGroupCall ttl_period:flags.14?int groupcall_default_join_as:flags.15?Peer theme_emoticon:flags.16?string requests_pending:flags.17?int recent_requesters:flags.17?Vector = ChatFull;
+channelFull#59cff963 flags:# can_view_participants:flags.3?true can_set_username:flags.6?true can_set_stickers:flags.7?true hidden_prehistory:flags.10?true can_set_location:flags.16?true has_scheduled:flags.19?true can_view_stats:flags.20?true blocked:flags.22?true id:long about:string participants_count:flags.0?int admins_count:flags.1?int kicked_count:flags.2?int banned_count:flags.2?int online_count:flags.13?int read_inbox_max_id:int read_outbox_max_id:int unread_count:int chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:flags.23?ExportedChatInvite bot_info:Vector migrated_from_chat_id:flags.4?long migrated_from_max_id:flags.4?int pinned_msg_id:flags.5?int stickerset:flags.8?StickerSet available_min_id:flags.9?int folder_id:flags.11?int linked_chat_id:flags.14?long location:flags.15?ChannelLocation slowmode_seconds:flags.17?int slowmode_next_send_date:flags.18?int stats_dc:flags.12?int pts:int call:flags.21?InputGroupCall ttl_period:flags.24?int pending_suggestions:flags.25?Vector groupcall_default_join_as:flags.26?Peer theme_emoticon:flags.27?string requests_pending:flags.28?int recent_requesters:flags.28?Vector = ChatFull;
chatParticipant#c02d4007 user_id:long inviter_id:long date:int = ChatParticipant;
chatParticipantCreator#e46bcee4 user_id:long = ChatParticipant;
@@ -178,6 +178,7 @@ messageActionInviteToGroupCall#502f92f7 call:InputGroupCall users:Vector =
messageActionSetMessagesTTL#aa1afbfd period:int = MessageAction;
messageActionGroupCallScheduled#b3a07661 call:InputGroupCall schedule_date:int = MessageAction;
messageActionSetChatTheme#aa786345 emoticon:string = MessageAction;
+messageActionChatJoinedByRequest#ebbca3cb = MessageAction;
dialog#2c171f72 flags:# pinned:flags.2?true unread_mark:flags.3?true peer:Peer top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int unread_mentions_count:int notify_settings:PeerNotifySettings pts:flags.0?int draft:flags.1?DraftMessage folder_id:flags.4?int = Dialog;
dialogFolder#71bd134c flags:# pinned:flags.2?true folder:Folder peer:Peer top_message:int unread_muted_peers_count:int unread_unmuted_peers_count:int unread_muted_messages_count:int unread_unmuted_messages_count:int = Dialog;
@@ -368,6 +369,8 @@ updateChannelParticipant#985d3abb flags:# channel_id:long date:int actor_id:long
updateBotStopped#c4870a49 user_id:long date:int stopped:Bool qts:int = Update;
updateGroupCallConnection#b783982 flags:# presentation:flags.0?true params:DataJSON = Update;
updateBotCommands#4d712f2e peer:Peer bot_id:long commands:Vector = Update;
+updatePendingJoinRequests#7063c3db peer:Peer requests_pending:int recent_requesters:Vector = Update;
+updateBotChatInviteRequester#11dfa986 peer:Peer date:int user_id:long about:string invite:ExportedChatInvite qts:int = Update;
updates.state#a56c2a3e pts:int qts:int date:int seq:int unread_count:int = updates.State;
@@ -539,10 +542,10 @@ auth.passwordRecovery#137948a5 email_pattern:string = auth.PasswordRecovery;
receivedNotifyMessage#a384b779 id:int flags:int = ReceivedNotifyMessage;
-chatInviteExported#b18105e8 flags:# revoked:flags.0?true permanent:flags.5?true link:string admin_id:long date:int start_date:flags.4?int expire_date:flags.1?int usage_limit:flags.2?int usage:flags.3?int = ExportedChatInvite;
+chatInviteExported#ab4a819 flags:# revoked:flags.0?true permanent:flags.5?true request_needed:flags.6?true link:string admin_id:long date:int start_date:flags.4?int expire_date:flags.1?int usage_limit:flags.2?int usage:flags.3?int requested:flags.7?int title:flags.8?string = ExportedChatInvite;
chatInviteAlready#5a686d7c chat:Chat = ChatInvite;
-chatInvite#dfc2f58e flags:# channel:flags.0?true broadcast:flags.1?true public:flags.2?true megagroup:flags.3?true title:string photo:Photo participants_count:int participants:flags.4?Vector = ChatInvite;
+chatInvite#300c44c1 flags:# channel:flags.0?true broadcast:flags.1?true public:flags.2?true megagroup:flags.3?true request_needed:flags.6?true title:string about:flags.5?string photo:Photo participants_count:int participants:flags.4?Vector = ChatInvite;
chatInvitePeek#61695cb0 chat:Chat expires:int = ChatInvite;
inputStickerSetEmpty#ffb62b95 = InputStickerSet;
@@ -615,7 +618,7 @@ channelMessagesFilterEmpty#94d42ee7 = ChannelMessagesFilter;
channelMessagesFilter#cd77d957 flags:# exclude_new_messages:flags.1?true ranges:Vector = ChannelMessagesFilter;
channelParticipant#c00c07c0 user_id:long date:int = ChannelParticipant;
-channelParticipantSelf#28a8bc67 user_id:long inviter_id:long date:int = ChannelParticipant;
+channelParticipantSelf#35a8bfa7 flags:# via_invite:flags.0?true user_id:long inviter_id:long date:int = ChannelParticipant;
channelParticipantCreator#2fe601d3 flags:# user_id:long admin_rights:ChatAdminRights rank:flags.0?string = ChannelParticipant;
channelParticipantAdmin#34c3bb53 flags:# can_edit:flags.0?true self:flags.1?true user_id:long inviter_id:flags.1?long promoted_by:long date:int admin_rights:ChatAdminRights rank:flags.2?string = ChannelParticipant;
channelParticipantBanned#6df8014e flags:# left:flags.0?true peer:Peer kicked_by:long date:int banned_rights:ChatBannedRights = ChannelParticipant;
@@ -898,6 +901,7 @@ channelAdminLogEventActionExportedInviteRevoke#410a134e invite:ExportedChatInvit
channelAdminLogEventActionExportedInviteEdit#e90ebb59 prev_invite:ExportedChatInvite new_invite:ExportedChatInvite = ChannelAdminLogEventAction;
channelAdminLogEventActionParticipantVolume#3e7f6847 participant:GroupCallParticipant = ChannelAdminLogEventAction;
channelAdminLogEventActionChangeHistoryTTL#6e941a38 prev_value:int new_value:int = ChannelAdminLogEventAction;
+channelAdminLogEventActionParticipantJoinByRequest#afb6144a invite:ExportedChatInvite approved_by:long = ChannelAdminLogEventAction;
channelAdminLogEvent#1fad68cd id:long date:int user_id:long action:ChannelAdminLogEventAction = ChannelAdminLogEvent;
@@ -1112,7 +1116,7 @@ restrictionReason#d072acb4 platform:string reason:string text:string = Restricti
inputTheme#3c5693e9 id:long access_hash:long = InputTheme;
inputThemeSlug#f5890df1 slug:string = InputTheme;
-theme#e802b8dc flags:# creator:flags.0?true default:flags.1?true for_chat:flags.5?true id:long access_hash:long slug:string title:string document:flags.2?Document settings:flags.3?ThemeSettings installs_count:flags.4?int = Theme;
+theme#a00e67d6 flags:# creator:flags.0?true default:flags.1?true for_chat:flags.5?true id:long access_hash:long slug:string title:string document:flags.2?Document settings:flags.3?Vector emoticon:flags.6?string installs_count:flags.4?int = Theme;
account.themesNotModified#f41eb622 = account.Themes;
account.themes#9a3d8c6d hash:long themes:Vector = account.Themes;
@@ -1224,7 +1228,7 @@ messages.historyImportParsed#5e0fb7b9 flags:# pm:flags.0?true group:flags.1?true
messages.affectedFoundMessages#ef8d3e6c pts:int pts_count:int offset:int messages:Vector = messages.AffectedFoundMessages;
-chatInviteImporter#b5cd5f4 user_id:long date:int = ChatInviteImporter;
+chatInviteImporter#8c5adfd9 flags:# requested:flags.0?true user_id:long date:int about:flags.2?string approved_by:flags.1?long = ChatInviteImporter;
messages.exportedChatInvites#bdc62dcc count:int invites:Vector users:Vector = messages.ExportedChatInvites;
@@ -1261,15 +1265,18 @@ account.resetPasswordFailedWait#e3779861 retry_date:int = account.ResetPasswordR
account.resetPasswordRequestedWait#e9effc7d until_date:int = account.ResetPasswordResult;
account.resetPasswordOk#e926d63e = account.ResetPasswordResult;
-chatTheme#ed0b5c33 emoticon:string theme:Theme dark_theme:Theme = ChatTheme;
-
-account.chatThemesNotModified#e011e1c4 = account.ChatThemes;
-account.chatThemes#fe4cbebd hash:int themes:Vector = account.ChatThemes;
-
-sponsoredMessage#2a3c381f flags:# random_id:bytes from_id:Peer start_param:flags.0?string message:string entities:flags.1?Vector = SponsoredMessage;
+sponsoredMessage#d151e19a flags:# random_id:bytes from_id:Peer channel_post:flags.2?int start_param:flags.0?string message:string entities:flags.1?Vector = SponsoredMessage;
messages.sponsoredMessages#65a4c7d5 messages:Vector chats:Vector users:Vector = messages.SponsoredMessages;
+searchResultsCalendarPeriod#c9b0539f date:int min_msg_id:int max_msg_id:int count:int = SearchResultsCalendarPeriod;
+
+messages.searchResultsCalendar#147ee23c flags:# inexact:flags.0?true count:int min_date:int min_msg_id:int offset_id_offset:flags.1?int periods:Vector messages:Vector chats:Vector users:Vector = messages.SearchResultsCalendar;
+
+searchResultPosition#7f648b67 msg_id:int date:int offset:int = SearchResultsPosition;
+
+messages.searchResultsPositions#53b22baf count:int positions:Vector = messages.SearchResultsPositions;
+
---functions---
invokeAfterMsg#cb9f372d {X:Type} msg_id:long query:!X = X;
@@ -1356,10 +1363,10 @@ account.resetWallPapers#bb3b9804 = Bool;
account.getAutoDownloadSettings#56da0b3f = account.AutoDownloadSettings;
account.saveAutoDownloadSettings#76f36233 flags:# low:flags.0?true high:flags.1?true settings:AutoDownloadSettings = Bool;
account.uploadTheme#1c3db333 flags:# file:InputFile thumb:flags.0?InputFile file_name:string mime_type:string = Document;
-account.createTheme#8432c21f flags:# slug:string title:string document:flags.2?InputDocument settings:flags.3?InputThemeSettings = Theme;
-account.updateTheme#5cb367d5 flags:# format:string theme:InputTheme slug:flags.0?string title:flags.1?string document:flags.2?InputDocument settings:flags.3?InputThemeSettings = Theme;
+account.createTheme#652e4400 flags:# slug:string title:string document:flags.2?InputDocument settings:flags.3?Vector = Theme;
+account.updateTheme#2bf40ccc flags:# format:string theme:InputTheme slug:flags.0?string title:flags.1?string document:flags.2?InputDocument settings:flags.3?Vector = Theme;
account.saveTheme#f257106c theme:InputTheme unsave:Bool = Bool;
-account.installTheme#7ae43737 flags:# dark:flags.0?true format:flags.1?string theme:flags.1?InputTheme = Bool;
+account.installTheme#c727bb3b flags:# dark:flags.0?true theme:flags.1?InputTheme format:flags.2?string base_theme:flags.3?BaseTheme = Bool;
account.getTheme#8d9d742b format:string theme:InputTheme document_id:long = Theme;
account.getThemes#7206e458 format:string hash:long = account.Themes;
account.setContentSettings#b574b16b flags:# sensitive_enabled:flags.0?true = Bool;
@@ -1370,7 +1377,7 @@ account.setGlobalPrivacySettings#1edaaac2 settings:GlobalPrivacySettings = Globa
account.reportProfilePhoto#fa8cc6f5 peer:InputPeer photo_id:InputPhoto reason:ReportReason message:string = Bool;
account.resetPassword#9308ce1b = account.ResetPasswordResult;
account.declinePasswordReset#4c9409f6 = Bool;
-account.getChatThemes#d6d71d7b hash:int = account.ChatThemes;
+account.getChatThemes#d638de89 hash:long = account.Themes;
users.getUsers#d91a548 id:Vector = Vector;
users.getFullUser#ca30a5b1 id:InputUser = UserFull;
@@ -1402,7 +1409,7 @@ messages.getDialogs#a0f4cb4f flags:# exclude_pinned:flags.0?true folder_id:flags
messages.getHistory#4423e6c5 peer:InputPeer offset_id:int offset_date:int add_offset:int limit:int max_id:int min_id:int hash:long = messages.Messages;
messages.search#a0fda762 flags:# peer:InputPeer q:string from_id:flags.0?InputPeer top_msg_id:flags.1?int filter:MessagesFilter min_date:int max_date:int offset_id:int add_offset:int limit:int max_id:int min_id:int hash:long = messages.Messages;
messages.readHistory#e306d3a peer:InputPeer max_id:int = messages.AffectedMessages;
-messages.deleteHistory#1c015b09 flags:# just_clear:flags.0?true revoke:flags.1?true peer:InputPeer max_id:int = messages.AffectedHistory;
+messages.deleteHistory#b08f922a flags:# just_clear:flags.0?true revoke:flags.1?true peer:InputPeer max_id:int min_date:flags.2?int max_date:flags.3?int = messages.AffectedHistory;
messages.deleteMessages#e58e95d2 flags:# revoke:flags.0?true id:Vector = messages.AffectedMessages;
messages.receivedMessages#5a954c0 max_id:int = Vector;
messages.setTyping#58943ee2 flags:# peer:InputPeer top_msg_id:flags.0?int action:SendMessageAction = Bool;
@@ -1434,7 +1441,7 @@ messages.readMessageContents#36a73f77 id:Vector = messages.AffectedMessages
messages.getStickers#d5a5d3a1 emoticon:string hash:long = messages.Stickers;
messages.getAllStickers#b8a0a1a8 hash:long = messages.AllStickers;
messages.getWebPagePreview#8b68b0cc flags:# message:string entities:flags.3?Vector = MessageMedia;
-messages.exportChatInvite#14b9bcd7 flags:# legacy_revoke_permanent:flags.2?true peer:InputPeer expire_date:flags.0?int usage_limit:flags.1?int = ExportedChatInvite;
+messages.exportChatInvite#a02ce5d5 flags:# legacy_revoke_permanent:flags.2?true request_needed:flags.3?true peer:InputPeer expire_date:flags.0?int usage_limit:flags.1?int title:flags.4?string = ExportedChatInvite;
messages.checkChatInvite#3eadb1bb hash:string = ChatInvite;
messages.importChatInvite#6c50051c hash:string = Updates;
messages.getStickerSet#2619a90e stickerset:InputStickerSet = messages.StickerSet;
@@ -1531,15 +1538,18 @@ messages.uploadImportedMedia#2a862092 peer:InputPeer import_id:long file_name:st
messages.startHistoryImport#b43df344 peer:InputPeer import_id:long = Bool;
messages.getExportedChatInvites#a2b5a3f6 flags:# revoked:flags.3?true peer:InputPeer admin_id:InputUser offset_date:flags.2?int offset_link:flags.2?string limit:int = messages.ExportedChatInvites;
messages.getExportedChatInvite#73746f5c peer:InputPeer link:string = messages.ExportedChatInvite;
-messages.editExportedChatInvite#2e4ffbe flags:# revoked:flags.2?true peer:InputPeer link:string expire_date:flags.0?int usage_limit:flags.1?int = messages.ExportedChatInvite;
+messages.editExportedChatInvite#bdca2f75 flags:# revoked:flags.2?true peer:InputPeer link:string expire_date:flags.0?int usage_limit:flags.1?int request_needed:flags.3?Bool title:flags.4?string = messages.ExportedChatInvite;
messages.deleteRevokedExportedChatInvites#56987bd5 peer:InputPeer admin_id:InputUser = Bool;
messages.deleteExportedChatInvite#d464a42b peer:InputPeer link:string = Bool;
messages.getAdminsWithInvites#3920e6ef peer:InputPeer = messages.ChatAdminsWithInvites;
-messages.getChatInviteImporters#26fb7289 peer:InputPeer link:string offset_date:int offset_user:InputUser limit:int = messages.ChatInviteImporters;
+messages.getChatInviteImporters#df04dd4e flags:# requested:flags.0?true peer:InputPeer link:flags.1?string q:flags.2?string offset_date:int offset_user:InputUser limit:int = messages.ChatInviteImporters;
messages.setHistoryTTL#b80e5fe4 peer:InputPeer period:int = Updates;
messages.checkHistoryImportPeer#5dc60f03 peer:InputPeer = messages.CheckedHistoryImportPeer;
messages.setChatTheme#e63be13f peer:InputPeer emoticon:string = Updates;
messages.getMessageReadParticipants#2c6f97b7 peer:InputPeer msg_id:int = Vector;
+messages.getSearchResultsCalendar#49f0bde9 peer:InputPeer filter:MessagesFilter offset_id:int offset_date:int = messages.SearchResultsCalendar;
+messages.getSearchResultsPositions#6e9583a3 peer:InputPeer filter:MessagesFilter offset_id:int limit:int = messages.SearchResultsPositions;
+messages.hideChatJoinRequest#7fe7e815 flags:# approved:flags.0?true peer:InputPeer user_id:InputUser = Updates;
updates.getState#edd4882a = updates.State;
updates.getDifference#25939651 flags:# pts:int pts_total_limit:flags.0?int date:int qts:int = updates.Difference;