This commit is contained in:
Daniil Gentili 2017-12-21 20:08:25 +00:00
parent deceb018bc
commit 43adf77378
159 changed files with 824 additions and 388 deletions

View File

@ -32,9 +32,6 @@ description: messages.sendMedia parameters, return type and example
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|EXTERNAL_URL_INVALID|External URL invalid|
|FILE_PART_0_MISSING|File part 0 missing|
|FILE_PART_154_MISSING||
|FILE_PART_6_MISSING|File part 6 missing|
|FILE_PART_LENGTH_INVALID|The length of a file part is invalid|
|FILE_PARTS_INVALID|The number of file parts is invalid|
|INPUT_USER_DEACTIVATED|The specified user was deleted|

View File

@ -22,7 +22,6 @@ description: photos.uploadProfilePhoto parameters, return type and example
| Error | Description |
|----------|---------------|
|FILE_PART_0_MISSING|File part 0 missing|
|FILE_PARTS_INVALID|The number of file parts is invalid|
|IMAGE_PROCESS_FAILED|Failure while processing image|
|PHOTO_CROP_SIZE_SMALL|Photo is too small|

View File

@ -13,7 +13,7 @@ Describes address of UDP reflectors
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|id|[long](../types/long.md) | Yes|Reflector identifier|
|id|[int64](../constructors/int64.md) | Yes|Reflector identifier|
|ip|[string](../types/string.md) | Yes|IPv4 reflector address|
|ipv6|[string](../types/string.md) | Yes|IPv6 reflector address|
|port|[int](../types/int.md) | Yes|Reflector port|

View File

@ -19,7 +19,9 @@ Gives full information about a channel
|restricted\_count|[int](../types/int.md) | Yes|Number of restricted users in the channel, 0 if unknown|
|banned\_count|[int](../types/int.md) | Yes|Number of users banned from the channel, 0 if unknown|
|can\_get\_members|[Bool](../types/Bool.md) | Yes|True, if members of the channel can be retrieved|
|can\_set\_username|[Bool](../types/Bool.md) | Yes|True, if channel can be made public|
|can\_set\_username|[Bool](../types/Bool.md) | Yes|True, if the channel can be made public|
|can\_set\_sticker\_set|[Bool](../types/Bool.md) | Yes|True, if the channel sticker set can be changed|
|sticker\_set\_id|[int64](../constructors/int64.md) | Yes|Identifier of channel sticker set, or 0 if none|
|invite\_link|[string](../types/string.md) | Yes|Invite link for this channel|
|pinned\_message\_id|[int53](../types/int53.md) | Yes|Identifier of the pinned message in the channel chat, or 0 if none|
|migrated\_from\_group\_id|[int](../types/int.md) | Yes|Identifier of the group, this supergroup migrated from, or 0 if none|

View File

@ -18,11 +18,12 @@ Chat (private chat or group chat or channel chat)
|title|[string](../types/string.md) | Yes|Chat title|
|photo|[chatPhoto](../constructors/chatPhoto.md) | Yes|Chat photo, nullable|
|top\_message|[message](../constructors/message.md) | Yes|Last message in the chat, nullable|
|order|[long](../types/long.md) | Yes|Parameter by descending of which chats are sorted in the chat list. If order of two chats is equal, then they need to be sorted by id also in descending order. If order == 0, position of the chat in the list is undetermined|
|order|[int64](../constructors/int64.md) | Yes|Parameter by descending of which chats are sorted in the chat list. If order of two chats is equal, then they need to be sorted by id also in descending order. If order == 0, position of the chat in the list is undetermined|
|is\_pinned|[Bool](../types/Bool.md) | Yes|True, if the chat is pinned|
|unread\_count|[int](../types/int.md) | Yes|Count of unread messages in the chat|
|last\_read\_inbox\_message\_id|[int53](../types/int53.md) | Yes|Identifier of last read incoming message|
|last\_read\_outbox\_message\_id|[int53](../types/int53.md) | Yes|Identifier of last read outgoing message|
|unread\_mention\_count|[int](../types/int.md) | Yes|Count of unread messages with mention/reply in the chat|
|notification\_settings|[notificationSettings](../constructors/notificationSettings.md) | Yes|Notification settings for this chat|
|reply\_markup\_message\_id|[int53](../types/int53.md) | Yes|Identifier of the message from which reply markup need to be used or 0 if there is no default custom reply markup in the chat|
|draft\_message|[draftMessage](../constructors/draftMessage.md) | Yes|Draft of a message in the chat, nullable. parse_mode in input_message_text always will be null|

View File

@ -13,7 +13,7 @@ Represents a chat event
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|id|[long](../types/long.md) | Yes|Chat event identifier|
|id|[int64](../constructors/int64.md) | Yes|Chat event identifier|
|date|[int](../types/int.md) | Yes|Date of the event, unix time|
|user\_id|[int](../types/int.md) | Yes|Identifier of a user who made the action|
|action|[ChatEventAction](../types/ChatEventAction.md) | Yes|Action done by the user|

View File

@ -1,13 +1,13 @@
---
title: chatEventDescriptionChanged
description: Chat description changed
description: Chat description was changed
---
## Constructor: chatEventDescriptionChanged
[Back to constructors index](index.md)
Chat description changed
Chat description was changed
### Attributes:

View File

@ -1,20 +1,20 @@
---
title: chatEventPhotoChanged
description: Chat photo changed
description: Chat photo was changed
---
## Constructor: chatEventPhotoChanged
[Back to constructors index](index.md)
Chat photo changed
Chat photo was changed
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|old\_photo|[chatPhoto](../constructors/chatPhoto.md) | Yes|Old photo value|
|new\_photo|[chatPhoto](../constructors/chatPhoto.md) | Yes|New photo value|
|old\_photo|[chatPhoto](../constructors/chatPhoto.md) | Yes|Old photo value, nullable|
|new\_photo|[chatPhoto](../constructors/chatPhoto.md) | Yes|New photo value, nullable|

View File

@ -0,0 +1,23 @@
---
title: chatEventStickerSetChanged
description: Supergroup sticker set was changed
---
## Constructor: chatEventStickerSetChanged
[Back to constructors index](index.md)
Supergroup sticker set was changed
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|old\_sticker\_set\_id|[int64](../constructors/int64.md) | Yes|Old identifier of chat sticker set, 0 if none|
|new\_sticker\_set\_id|[int64](../constructors/int64.md) | Yes|New identifier of chat sticker set, 0 if none|
### Type: [ChatEventAction](../types/ChatEventAction.md)

View File

@ -1,13 +1,13 @@
---
title: chatEventTitleChanged
description: Chat title changed
description: Chat title was changed
---
## Constructor: chatEventTitleChanged
[Back to constructors index](index.md)
Chat title changed
Chat title was changed
### Attributes:

View File

@ -1,13 +1,13 @@
---
title: chatEventUsernameChanged
description: Chat username changed
description: Chat username was changed
---
## Constructor: chatEventUsernameChanged
[Back to constructors index](index.md)
Chat username changed
Chat username was changed
### Attributes:

View File

@ -14,6 +14,7 @@ Chat with unlimited number of members
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|channel\_id|[int](../types/int.md) | Yes|Channel identifier|
|is\_supergroup|[Bool](../types/Bool.md) | Yes|True, if the channel is a supergroup and is not a broadcast|

View File

@ -14,6 +14,7 @@ Secret chat with a user
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|secret\_chat\_id|[int](../types/int.md) | Yes|Secret chat identifier|
|user\_id|[int](../types/int.md) | Yes|User identifier of the peer|

View File

@ -0,0 +1,22 @@
---
title: count
description: Contains some count
---
## Constructor: count
[Back to constructors index](index.md)
Contains some count
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|count|[int](../types/int.md) | Yes|The count|
### Type: [Count](../types/Count.md)

View File

@ -14,7 +14,7 @@ Represents a file
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|id|[int](../types/int.md) | Yes|Unique file identifier|
|persistent\_id|[string](../types/string.md) | Yes|Persistent file identifier, if exists. Can be used across application restarts or even other devices for current logged user. If begins with "http: " or "https: ", it is HTTP URL of the file. Currently, TDLib is unable to download files if only they URL is known. If downloadFile is called on a such file or it is sended to a secret chat TDLib starts file generation process by sending to the client updateFileGenerationStart with HTTP URL in the original_path and "#url#" as conversion string. Client supposed to generate the file by downloading it to the specified location|
|persistent\_id|[string](../types/string.md) | Yes|Persistent file identifier, if exists. Can be used across application restarts or even other devices for current logged user. If begins with "http: " or "https: ", it is HTTP URL of the file. Currently, TDLib is unable to download files if only they URL is known.-If downloadFile is called on a such file or it is sended to a secret chat TDLib starts file generation process by sending to the client updateFileGenerationStart with HTTP URL in the original_path and "#url#" as conversion string. Client supposed to generate the file by downloading it to the specified location|
|size|[int](../types/int.md) | Yes|File size, 0 if unknown|
|is\_being\_downloaded|[Bool](../types/Bool.md) | Yes|True, if the file is currently being downloaded|
|local\_size|[int](../types/int.md) | Yes|Size of locally available part of the file. If size != 0 && local_size == size, full file is available locally|

View File

@ -14,7 +14,7 @@ Contains list of found by search messages
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|messages|Array of [message](../constructors/message.md) | Yes|List of messages|
|next\_from\_search\_id|[long](../types/long.md) | Yes|Value to pass as from_search_id to get more results|
|next\_from\_search\_id|[int64](../constructors/int64.md) | Yes|Value to pass as from_search_id to get more results|

View File

@ -13,7 +13,7 @@ Describes a game
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|id|[long](../types/long.md) | Yes|Game id|
|id|[int64](../constructors/int64.md) | Yes|Game id|
|short\_name|[string](../types/string.md) | Yes|Game short name, to share a game use a URL https: t.me/{bot_username}?game={game_short_name}|
|title|[string](../types/string.md) | Yes|Game title|
|text|[string](../types/string.md) | Yes|Game text, usually containing game scoreboards|

View File

@ -53,7 +53,7 @@ description: List of constructors
<br><br>[$call](../constructors/call.md) = \['id' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'is_outgoing' => [Bool](../types/Bool.md), 'state' => [CallState](../types/CallState.md), \];<a name="call"></a>
***
<br><br>[$callConnection](../constructors/callConnection.md) = \['id' => [long](../types/long.md), 'ip' => [string](../types/string.md), 'ipv6' => [string](../types/string.md), 'port' => [int](../types/int.md), 'peer_tag' => [bytes](../types/bytes.md), \];<a name="callConnection"></a>
<br><br>[$callConnection](../constructors/callConnection.md) = \['id' => [int64](../constructors/int64.md), 'ip' => [string](../types/string.md), 'ipv6' => [string](../types/string.md), 'port' => [int](../types/int.md), 'peer_tag' => [bytes](../types/bytes.md), \];<a name="callConnection"></a>
***
<br><br>[$callDiscardReasonDeclined](../constructors/callDiscardReasonDeclined.md) = \[\];<a name="callDiscardReasonDeclined"></a>
@ -107,7 +107,7 @@ description: List of constructors
<br><br>[$channel](../constructors/channel.md) = \['id' => [int](../types/int.md), 'username' => [string](../types/string.md), 'date' => [int](../types/int.md), 'status' => [ChatMemberStatus](../types/ChatMemberStatus.md), 'anyone_can_invite' => [Bool](../types/Bool.md), 'sign_messages' => [Bool](../types/Bool.md), 'is_supergroup' => [Bool](../types/Bool.md), 'is_verified' => [Bool](../types/Bool.md), 'restriction_reason' => [string](../types/string.md), \];<a name="channel"></a>
***
<br><br>[$channelFull](../constructors/channelFull.md) = \['description' => [string](../types/string.md), 'member_count' => [int](../types/int.md), 'administrator_count' => [int](../types/int.md), 'restricted_count' => [int](../types/int.md), 'banned_count' => [int](../types/int.md), 'can_get_members' => [Bool](../types/Bool.md), 'can_set_username' => [Bool](../types/Bool.md), 'invite_link' => [string](../types/string.md), 'pinned_message_id' => [int53](../types/int53.md), 'migrated_from_group_id' => [int](../types/int.md), 'migrated_from_max_message_id' => [int53](../types/int53.md), \];<a name="channelFull"></a>
<br><br>[$channelFull](../constructors/channelFull.md) = \['description' => [string](../types/string.md), 'member_count' => [int](../types/int.md), 'administrator_count' => [int](../types/int.md), 'restricted_count' => [int](../types/int.md), 'banned_count' => [int](../types/int.md), 'can_get_members' => [Bool](../types/Bool.md), 'can_set_username' => [Bool](../types/Bool.md), 'can_set_sticker_set' => [Bool](../types/Bool.md), 'sticker_set_id' => [int64](../constructors/int64.md), 'invite_link' => [string](../types/string.md), 'pinned_message_id' => [int53](../types/int53.md), 'migrated_from_group_id' => [int](../types/int.md), 'migrated_from_max_message_id' => [int53](../types/int53.md), \];<a name="channelFull"></a>
***
<br><br>[$channelMembersFilterAdministrators](../constructors/channelMembersFilterAdministrators.md) = \[\];<a name="channelMembersFilterAdministrators"></a>
@ -128,7 +128,7 @@ description: List of constructors
<br><br>[$channelMembersFilterSearch](../constructors/channelMembersFilterSearch.md) = \['query' => [string](../types/string.md), \];<a name="channelMembersFilterSearch"></a>
***
<br><br>[$chat](../constructors/chat.md) = \['id' => [int53](../types/int53.md), 'type' => [ChatType](../types/ChatType.md), 'title' => [string](../types/string.md), 'photo' => [chatPhoto](../constructors/chatPhoto.md), 'top_message' => [message](../constructors/message.md), 'order' => [long](../types/long.md), 'is_pinned' => [Bool](../types/Bool.md), 'unread_count' => [int](../types/int.md), 'last_read_inbox_message_id' => [int53](../types/int53.md), 'last_read_outbox_message_id' => [int53](../types/int53.md), 'notification_settings' => [notificationSettings](../constructors/notificationSettings.md), 'reply_markup_message_id' => [int53](../types/int53.md), 'draft_message' => [draftMessage](../constructors/draftMessage.md), 'client_data' => [string](../types/string.md), \];<a name="chat"></a>
<br><br>[$chat](../constructors/chat.md) = \['id' => [int53](../types/int53.md), 'type' => [ChatType](../types/ChatType.md), 'title' => [string](../types/string.md), 'photo' => [chatPhoto](../constructors/chatPhoto.md), 'top_message' => [message](../constructors/message.md), 'order' => [int64](../constructors/int64.md), 'is_pinned' => [Bool](../types/Bool.md), 'unread_count' => [int](../types/int.md), 'last_read_inbox_message_id' => [int53](../types/int53.md), 'last_read_outbox_message_id' => [int53](../types/int53.md), 'unread_mention_count' => [int](../types/int.md), 'notification_settings' => [notificationSettings](../constructors/notificationSettings.md), 'reply_markup_message_id' => [int53](../types/int53.md), 'draft_message' => [draftMessage](../constructors/draftMessage.md), 'client_data' => [string](../types/string.md), \];<a name="chat"></a>
***
<br><br>[$chatActionCancel](../constructors/chatActionCancel.md) = \[\];<a name="chatActionCancel"></a>
@ -170,7 +170,7 @@ description: List of constructors
<br><br>[$chatActionUploadingVoice](../constructors/chatActionUploadingVoice.md) = \['progress' => [int](../types/int.md), \];<a name="chatActionUploadingVoice"></a>
***
<br><br>[$chatEvent](../constructors/chatEvent.md) = \['id' => [long](../types/long.md), 'date' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'action' => [ChatEventAction](../types/ChatEventAction.md), \];<a name="chatEvent"></a>
<br><br>[$chatEvent](../constructors/chatEvent.md) = \['id' => [int64](../constructors/int64.md), 'date' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'action' => [ChatEventAction](../types/ChatEventAction.md), \];<a name="chatEvent"></a>
***
<br><br>[$chatEventDescriptionChanged](../constructors/chatEventDescriptionChanged.md) = \['old_description' => [string](../types/string.md), 'new_description' => [string](../types/string.md), \];<a name="chatEventDescriptionChanged"></a>
@ -214,6 +214,9 @@ description: List of constructors
***
<br><br>[$chatEventSignMessagesToggled](../constructors/chatEventSignMessagesToggled.md) = \['sign_messages' => [Bool](../types/Bool.md), \];<a name="chatEventSignMessagesToggled"></a>
***
<br><br>[$chatEventStickerSetChanged](../constructors/chatEventStickerSetChanged.md) = \['old_sticker_set_id' => [int64](../constructors/int64.md), 'new_sticker_set_id' => [int64](../constructors/int64.md), \];<a name="chatEventStickerSetChanged"></a>
***
<br><br>[$chatEventTitleChanged](../constructors/chatEventTitleChanged.md) = \['old_title' => [string](../types/string.md), 'new_title' => [string](../types/string.md), \];<a name="chatEventTitleChanged"></a>
@ -272,7 +275,7 @@ description: List of constructors
<br><br>[$chatReportSpamState](../constructors/chatReportSpamState.md) = \['can_report_spam' => [Bool](../types/Bool.md), \];<a name="chatReportSpamState"></a>
***
<br><br>[$chatTypeChannel](../constructors/chatTypeChannel.md) = \['channel_id' => [int](../types/int.md), \];<a name="chatTypeChannel"></a>
<br><br>[$chatTypeChannel](../constructors/chatTypeChannel.md) = \['channel_id' => [int](../types/int.md), 'is_supergroup' => [Bool](../types/Bool.md), \];<a name="chatTypeChannel"></a>
***
<br><br>[$chatTypeGroup](../constructors/chatTypeGroup.md) = \['group_id' => [int](../types/int.md), \];<a name="chatTypeGroup"></a>
@ -281,7 +284,7 @@ description: List of constructors
<br><br>[$chatTypePrivate](../constructors/chatTypePrivate.md) = \['user_id' => [int](../types/int.md), \];<a name="chatTypePrivate"></a>
***
<br><br>[$chatTypeSecret](../constructors/chatTypeSecret.md) = \['secret_chat_id' => [int](../types/int.md), \];<a name="chatTypeSecret"></a>
<br><br>[$chatTypeSecret](../constructors/chatTypeSecret.md) = \['secret_chat_id' => [int](../types/int.md), 'user_id' => [int](../types/int.md), \];<a name="chatTypeSecret"></a>
***
<br><br>[$chats](../constructors/chats.md) = \['chat_ids' => \[[int53](../types/int53.md)\], \];<a name="chats"></a>
@ -304,6 +307,9 @@ description: List of constructors
***
<br><br>[$contact](../constructors/contact.md) = \['phone_number' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'user_id' => [int](../types/int.md), \];<a name="contact"></a>
***
<br><br>[$count](../constructors/count.md) = \['count' => [int](../types/int.md), \];<a name="count"></a>
***
<br><br>[$customRequestResult](../constructors/customRequestResult.md) = \['result' => [string](../types/string.md), \];<a name="customRequestResult"></a>
@ -383,10 +389,10 @@ description: List of constructors
<br><br>[$fileTypeWallpaper](../constructors/fileTypeWallpaper.md) = \[\];<a name="fileTypeWallpaper"></a>
***
<br><br>[$foundMessages](../constructors/foundMessages.md) = \['messages' => \[[message](../constructors/message.md)\], 'next_from_search_id' => [long](../types/long.md), \];<a name="foundMessages"></a>
<br><br>[$foundMessages](../constructors/foundMessages.md) = \['messages' => \[[message](../constructors/message.md)\], 'next_from_search_id' => [int64](../constructors/int64.md), \];<a name="foundMessages"></a>
***
<br><br>[$game](../constructors/game.md) = \['id' => [long](../types/long.md), 'short_name' => [string](../types/string.md), 'title' => [string](../types/string.md), 'text' => [string](../types/string.md), 'text_entities' => \[[textEntity](../constructors/textEntity.md)\], 'description' => [string](../types/string.md), 'photo' => [photo](../constructors/photo.md), 'animation' => [animation](../constructors/animation.md), \];<a name="game"></a>
<br><br>[$game](../constructors/game.md) = \['id' => [int64](../constructors/int64.md), 'short_name' => [string](../types/string.md), 'title' => [string](../types/string.md), 'text' => [string](../types/string.md), 'text_entities' => \[[textEntity](../constructors/textEntity.md)\], 'description' => [string](../types/string.md), 'photo' => [photo](../constructors/photo.md), 'animation' => [animation](../constructors/animation.md), \];<a name="game"></a>
***
<br><br>[$gameHighScore](../constructors/gameHighScore.md) = \['position' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'score' => [int](../types/int.md), \];<a name="gameHighScore"></a>
@ -461,7 +467,7 @@ description: List of constructors
<br><br>[$inlineQueryResultVoice](../constructors/inlineQueryResultVoice.md) = \['id' => [string](../types/string.md), 'voice' => [voice](../constructors/voice.md), 'title' => [string](../types/string.md), \];<a name="inlineQueryResultVoice"></a>
***
<br><br>[$inlineQueryResults](../constructors/inlineQueryResults.md) = \['inline_query_id' => [long](../types/long.md), 'next_offset' => [string](../types/string.md), 'results' => \[[InlineQueryResult](../types/InlineQueryResult.md)\], 'switch_pm_text' => [string](../types/string.md), 'switch_pm_parameter' => [string](../types/string.md), \];<a name="inlineQueryResults"></a>
<br><br>[$inlineQueryResults](../constructors/inlineQueryResults.md) = \['inline_query_id' => [int64](../constructors/int64.md), 'next_offset' => [string](../types/string.md), 'results' => \[[InlineQueryResult](../types/InlineQueryResult.md)\], 'switch_pm_text' => [string](../types/string.md), 'switch_pm_parameter' => [string](../types/string.md), \];<a name="inlineQueryResults"></a>
***
<br><br>[$inputCredentialsNew](../constructors/inputCredentialsNew.md) = \['data' => [string](../types/string.md), 'allow_save' => [Bool](../types/Bool.md), \];<a name="inputCredentialsNew"></a>
@ -521,16 +527,16 @@ description: List of constructors
<br><br>[$inputInlineQueryResultVoice](../constructors/inputInlineQueryResultVoice.md) = \['id' => [string](../types/string.md), 'title' => [string](../types/string.md), 'voice_url' => [string](../types/string.md), 'voice_duration' => [int](../types/int.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), 'input_message_content' => [InputMessageContent](../types/InputMessageContent.md), \];<a name="inputInlineQueryResultVoice"></a>
***
<br><br>[$inputMessageAnimation](../constructors/inputMessageAnimation.md) = \['animation' => [InputFile](../types/InputFile.md), 'thumb' => [InputThumb](../types/InputThumb.md), 'duration' => [int](../types/int.md), 'width' => [int](../types/int.md), 'height' => [int](../types/int.md), 'caption' => [string](../types/string.md), \];<a name="inputMessageAnimation"></a>
<br><br>[$inputMessageAnimation](../constructors/inputMessageAnimation.md) = \['animation' => [InputFile](../types/InputFile.md), 'thumb' => [inputThumb](../constructors/inputThumb.md), 'duration' => [int](../types/int.md), 'width' => [int](../types/int.md), 'height' => [int](../types/int.md), 'caption' => [string](../types/string.md), \];<a name="inputMessageAnimation"></a>
***
<br><br>[$inputMessageAudio](../constructors/inputMessageAudio.md) = \['audio' => [InputFile](../types/InputFile.md), 'album_cover_thumb' => [InputThumb](../types/InputThumb.md), 'duration' => [int](../types/int.md), 'title' => [string](../types/string.md), 'performer' => [string](../types/string.md), 'caption' => [string](../types/string.md), \];<a name="inputMessageAudio"></a>
<br><br>[$inputMessageAudio](../constructors/inputMessageAudio.md) = \['audio' => [InputFile](../types/InputFile.md), 'album_cover_thumb' => [inputThumb](../constructors/inputThumb.md), 'duration' => [int](../types/int.md), 'title' => [string](../types/string.md), 'performer' => [string](../types/string.md), 'caption' => [string](../types/string.md), \];<a name="inputMessageAudio"></a>
***
<br><br>[$inputMessageContact](../constructors/inputMessageContact.md) = \['contact' => [contact](../constructors/contact.md), \];<a name="inputMessageContact"></a>
***
<br><br>[$inputMessageDocument](../constructors/inputMessageDocument.md) = \['document' => [InputFile](../types/InputFile.md), 'thumb' => [InputThumb](../types/InputThumb.md), 'caption' => [string](../types/string.md), \];<a name="inputMessageDocument"></a>
<br><br>[$inputMessageDocument](../constructors/inputMessageDocument.md) = \['document' => [InputFile](../types/InputFile.md), 'thumb' => [inputThumb](../constructors/inputThumb.md), 'caption' => [string](../types/string.md), \];<a name="inputMessageDocument"></a>
***
<br><br>[$inputMessageForwarded](../constructors/inputMessageForwarded.md) = \['from_chat_id' => [int53](../types/int53.md), 'message_id' => [int53](../types/int53.md), 'in_game_share' => [Bool](../types/Bool.md), \];<a name="inputMessageForwarded"></a>
@ -545,10 +551,10 @@ description: List of constructors
<br><br>[$inputMessageLocation](../constructors/inputMessageLocation.md) = \['location' => [location](../constructors/location.md), \];<a name="inputMessageLocation"></a>
***
<br><br>[$inputMessagePhoto](../constructors/inputMessagePhoto.md) = \['photo' => [InputFile](../types/InputFile.md), 'thumb' => [InputThumb](../types/InputThumb.md), 'added_sticker_file_ids' => \[[int](../types/int.md)\], 'width' => [int](../types/int.md), 'height' => [int](../types/int.md), 'caption' => [string](../types/string.md), 'ttl' => [int](../types/int.md), \];<a name="inputMessagePhoto"></a>
<br><br>[$inputMessagePhoto](../constructors/inputMessagePhoto.md) = \['photo' => [InputFile](../types/InputFile.md), 'thumb' => [inputThumb](../constructors/inputThumb.md), 'added_sticker_file_ids' => \[[int](../types/int.md)\], 'width' => [int](../types/int.md), 'height' => [int](../types/int.md), 'caption' => [string](../types/string.md), 'ttl' => [int](../types/int.md), \];<a name="inputMessagePhoto"></a>
***
<br><br>[$inputMessageSticker](../constructors/inputMessageSticker.md) = \['sticker' => [InputFile](../types/InputFile.md), 'thumb' => [InputThumb](../types/InputThumb.md), 'width' => [int](../types/int.md), 'height' => [int](../types/int.md), \];<a name="inputMessageSticker"></a>
<br><br>[$inputMessageSticker](../constructors/inputMessageSticker.md) = \['sticker' => [InputFile](../types/InputFile.md), 'thumb' => [inputThumb](../constructors/inputThumb.md), 'width' => [int](../types/int.md), 'height' => [int](../types/int.md), \];<a name="inputMessageSticker"></a>
***
<br><br>[$inputMessageText](../constructors/inputMessageText.md) = \['text' => [string](../types/string.md), 'disable_web_page_preview' => [Bool](../types/Bool.md), 'clear_draft' => [Bool](../types/Bool.md), 'entities' => \[[textEntity](../constructors/textEntity.md)\], 'parse_mode' => [TextParseMode](../types/TextParseMode.md), \];<a name="inputMessageText"></a>
@ -557,10 +563,10 @@ description: List of constructors
<br><br>[$inputMessageVenue](../constructors/inputMessageVenue.md) = \['venue' => [venue](../constructors/venue.md), \];<a name="inputMessageVenue"></a>
***
<br><br>[$inputMessageVideo](../constructors/inputMessageVideo.md) = \['video' => [InputFile](../types/InputFile.md), 'thumb' => [InputThumb](../types/InputThumb.md), 'added_sticker_file_ids' => \[[int](../types/int.md)\], 'duration' => [int](../types/int.md), 'width' => [int](../types/int.md), 'height' => [int](../types/int.md), 'caption' => [string](../types/string.md), 'ttl' => [int](../types/int.md), \];<a name="inputMessageVideo"></a>
<br><br>[$inputMessageVideo](../constructors/inputMessageVideo.md) = \['video' => [InputFile](../types/InputFile.md), 'thumb' => [inputThumb](../constructors/inputThumb.md), 'added_sticker_file_ids' => \[[int](../types/int.md)\], 'duration' => [int](../types/int.md), 'width' => [int](../types/int.md), 'height' => [int](../types/int.md), 'caption' => [string](../types/string.md), 'ttl' => [int](../types/int.md), \];<a name="inputMessageVideo"></a>
***
<br><br>[$inputMessageVideoNote](../constructors/inputMessageVideoNote.md) = \['video_note' => [InputFile](../types/InputFile.md), 'thumb' => [InputThumb](../types/InputThumb.md), 'duration' => [int](../types/int.md), 'length' => [int](../types/int.md), \];<a name="inputMessageVideoNote"></a>
<br><br>[$inputMessageVideoNote](../constructors/inputMessageVideoNote.md) = \['video_note' => [InputFile](../types/InputFile.md), 'thumb' => [inputThumb](../constructors/inputThumb.md), 'duration' => [int](../types/int.md), 'length' => [int](../types/int.md), \];<a name="inputMessageVideoNote"></a>
***
<br><br>[$inputMessageVoice](../constructors/inputMessageVoice.md) = \['voice' => [InputFile](../types/InputFile.md), 'duration' => [int](../types/int.md), 'waveform' => [bytes](../types/bytes.md), 'caption' => [string](../types/string.md), \];<a name="inputMessageVoice"></a>
@ -569,10 +575,7 @@ description: List of constructors
<br><br>[$inputSticker](../constructors/inputSticker.md) = \['png_sticker' => [InputFile](../types/InputFile.md), 'emojis' => [string](../types/string.md), 'mask_position' => [maskPosition](../constructors/maskPosition.md), \];<a name="inputSticker"></a>
***
<br><br>[$inputThumbGenerated](../constructors/inputThumbGenerated.md) = \['original_path' => [string](../types/string.md), 'conversion' => [string](../types/string.md), 'width' => [int](../types/int.md), 'height' => [int](../types/int.md), \];<a name="inputThumbGenerated"></a>
***
<br><br>[$inputThumbLocal](../constructors/inputThumbLocal.md) = \['path' => [string](../types/string.md), 'width' => [int](../types/int.md), 'height' => [int](../types/int.md), \];<a name="inputThumbLocal"></a>
<br><br>[$inputThumb](../constructors/inputThumb.md) = \['thumb' => [InputFile](../types/InputFile.md), 'width' => [int](../types/int.md), 'height' => [int](../types/int.md), \];<a name="inputThumb"></a>
***
<br><br>[$invoice](../constructors/invoice.md) = \['currency' => [string](../types/string.md), 'prices' => \[[labeledPrice](../constructors/labeledPrice.md)\], 'is_test' => [Bool](../types/Bool.md), 'need_name' => [Bool](../types/Bool.md), 'need_phone_number' => [Bool](../types/Bool.md), 'need_email' => [Bool](../types/Bool.md), 'need_shipping_address' => [Bool](../types/Bool.md), 'is_flexible' => [Bool](../types/Bool.md), \];<a name="invoice"></a>
@ -608,7 +611,7 @@ description: List of constructors
<br><br>[$maskPosition](../constructors/maskPosition.md) = \['point' => [int](../types/int.md), 'x_shift' => [double](../types/double.md), 'y_shift' => [double](../types/double.md), 'scale' => [double](../types/double.md), \];<a name="maskPosition"></a>
***
<br><br>[$message](../constructors/message.md) = \['id' => [int53](../types/int53.md), 'sender_user_id' => [int](../types/int.md), 'chat_id' => [int53](../types/int53.md), 'send_state' => [MessageSendState](../types/MessageSendState.md), 'can_be_edited' => [Bool](../types/Bool.md), 'can_be_forwarded' => [Bool](../types/Bool.md), 'can_be_deleted_only_for_self' => [Bool](../types/Bool.md), 'can_be_deleted_for_everyone' => [Bool](../types/Bool.md), 'is_post' => [Bool](../types/Bool.md), 'date' => [int](../types/int.md), 'edit_date' => [int](../types/int.md), 'forward_info' => [MessageForwardInfo](../types/MessageForwardInfo.md), 'reply_to_message_id' => [int53](../types/int53.md), 'ttl' => [int](../types/int.md), 'ttl_expires_in' => [double](../types/double.md), 'via_bot_user_id' => [int](../types/int.md), 'author_signature' => [string](../types/string.md), 'views' => [int](../types/int.md), 'content' => [MessageContent](../types/MessageContent.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), \];<a name="message"></a>
<br><br>[$message](../constructors/message.md) = \['id' => [int53](../types/int53.md), 'sender_user_id' => [int](../types/int.md), 'chat_id' => [int53](../types/int53.md), 'send_state' => [MessageSendState](../types/MessageSendState.md), 'can_be_edited' => [Bool](../types/Bool.md), 'can_be_forwarded' => [Bool](../types/Bool.md), 'can_be_deleted_only_for_self' => [Bool](../types/Bool.md), 'can_be_deleted_for_everyone' => [Bool](../types/Bool.md), 'is_post' => [Bool](../types/Bool.md), 'contains_unread_mention' => [Bool](../types/Bool.md), 'date' => [int](../types/int.md), 'edit_date' => [int](../types/int.md), 'forward_info' => [MessageForwardInfo](../types/MessageForwardInfo.md), 'reply_to_message_id' => [int53](../types/int53.md), 'ttl' => [int](../types/int.md), 'ttl_expires_in' => [double](../types/double.md), 'via_bot_user_id' => [int](../types/int.md), 'author_signature' => [string](../types/string.md), 'views' => [int](../types/int.md), 'content' => [MessageContent](../types/MessageContent.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), \];<a name="message"></a>
***
<br><br>[$messageAnimation](../constructors/messageAnimation.md) = \['animation' => [animation](../constructors/animation.md), 'caption' => [string](../types/string.md), \];<a name="messageAnimation"></a>
@ -674,7 +677,7 @@ description: List of constructors
<br><br>[$messageGame](../constructors/messageGame.md) = \['game' => [game](../constructors/game.md), \];<a name="messageGame"></a>
***
<br><br>[$messageGameScore](../constructors/messageGameScore.md) = \['game_message_id' => [int53](../types/int53.md), 'game_id' => [long](../types/long.md), 'score' => [int](../types/int.md), \];<a name="messageGameScore"></a>
<br><br>[$messageGameScore](../constructors/messageGameScore.md) = \['game_message_id' => [int53](../types/int53.md), 'game_id' => [int64](../constructors/int64.md), 'score' => [int](../types/int.md), \];<a name="messageGameScore"></a>
***
<br><br>[$messageGroupChatCreate](../constructors/messageGroupChatCreate.md) = \['title' => [string](../types/string.md), 'member_user_ids' => \[[int](../types/int.md)\], \];<a name="messageGroupChatCreate"></a>
@ -881,7 +884,7 @@ description: List of constructors
<br><br>[$paymentsProviderStripe](../constructors/paymentsProviderStripe.md) = \['publishable_key' => [string](../types/string.md), 'need_country' => [Bool](../types/Bool.md), 'need_zip' => [Bool](../types/Bool.md), 'need_cardholder_name' => [Bool](../types/Bool.md), \];<a name="paymentsProviderStripe"></a>
***
<br><br>[$photo](../constructors/photo.md) = \['id' => [long](../types/long.md), 'has_stickers' => [Bool](../types/Bool.md), 'sizes' => \[[photoSize](../constructors/photoSize.md)\], \];<a name="photo"></a>
<br><br>[$photo](../constructors/photo.md) = \['id' => [int64](../constructors/int64.md), 'has_stickers' => [Bool](../types/Bool.md), 'sizes' => \[[photoSize](../constructors/photoSize.md)\], \];<a name="photo"></a>
***
<br><br>[$photoSize](../constructors/photoSize.md) = \['type' => [string](../types/string.md), 'photo' => [file](../constructors/file.md), 'width' => [int](../types/int.md), 'height' => [int](../types/int.md), \];<a name="photoSize"></a>
@ -917,7 +920,7 @@ description: List of constructors
<br><br>[$privacyRules](../constructors/privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], \];<a name="privacyRules"></a>
***
<br><br>[$profilePhoto](../constructors/profilePhoto.md) = \['id' => [long](../types/long.md), 'small' => [file](../constructors/file.md), 'big' => [file](../constructors/file.md), \];<a name="profilePhoto"></a>
<br><br>[$profilePhoto](../constructors/profilePhoto.md) = \['id' => [int64](../constructors/int64.md), 'small' => [file](../constructors/file.md), 'big' => [file](../constructors/file.md), \];<a name="profilePhoto"></a>
***
<br><br>[$proxyEmpty](../constructors/proxyEmpty.md) = \[\];<a name="proxyEmpty"></a>
@ -991,6 +994,9 @@ description: List of constructors
***
<br><br>[$searchMessagesFilterEmpty](../constructors/searchMessagesFilterEmpty.md) = \[\];<a name="searchMessagesFilterEmpty"></a>
***
<br><br>[$searchMessagesFilterMention](../constructors/searchMessagesFilterMention.md) = \[\];<a name="searchMessagesFilterMention"></a>
***
<br><br>[$searchMessagesFilterMissedCall](../constructors/searchMessagesFilterMissedCall.md) = \[\];<a name="searchMessagesFilterMissedCall"></a>
@ -1000,6 +1006,9 @@ description: List of constructors
***
<br><br>[$searchMessagesFilterPhotoAndVideo](../constructors/searchMessagesFilterPhotoAndVideo.md) = \[\];<a name="searchMessagesFilterPhotoAndVideo"></a>
***
<br><br>[$searchMessagesFilterUnreadMention](../constructors/searchMessagesFilterUnreadMention.md) = \[\];<a name="searchMessagesFilterUnreadMention"></a>
***
<br><br>[$searchMessagesFilterUrl](../constructors/searchMessagesFilterUrl.md) = \[\];<a name="searchMessagesFilterUrl"></a>
@ -1019,7 +1028,7 @@ description: List of constructors
<br><br>[$secretChat](../constructors/secretChat.md) = \['id' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'state' => [int](../types/int.md), 'is_outbound' => [Bool](../types/Bool.md), 'ttl' => [int](../types/int.md), 'key_hash' => [bytes](../types/bytes.md), 'layer' => [int](../types/int.md), \];<a name="secretChat"></a>
***
<br><br>[$session](../constructors/session.md) = \['id' => [long](../types/long.md), 'is_current' => [Bool](../types/Bool.md), 'app_id' => [int](../types/int.md), 'app_name' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'is_official_app' => [Bool](../types/Bool.md), 'device_model' => [string](../types/string.md), 'platform' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'log_in_date' => [int](../types/int.md), 'last_active_date' => [int](../types/int.md), 'ip' => [string](../types/string.md), 'country' => [string](../types/string.md), 'region' => [string](../types/string.md), \];<a name="session"></a>
<br><br>[$session](../constructors/session.md) = \['id' => [int64](../constructors/int64.md), 'is_current' => [Bool](../types/Bool.md), 'app_id' => [int](../types/int.md), 'app_name' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'is_official_app' => [Bool](../types/Bool.md), 'device_model' => [string](../types/string.md), 'platform' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'log_in_date' => [int](../types/int.md), 'last_active_date' => [int](../types/int.md), 'ip' => [string](../types/string.md), 'country' => [string](../types/string.md), 'region' => [string](../types/string.md), \];<a name="session"></a>
***
<br><br>[$sessions](../constructors/sessions.md) = \['sessions' => \[[session](../constructors/session.md)\], \];<a name="sessions"></a>
@ -1031,16 +1040,16 @@ description: List of constructors
<br><br>[$shippingOption](../constructors/shippingOption.md) = \['id' => [string](../types/string.md), 'title' => [string](../types/string.md), 'prices' => \[[labeledPrice](../constructors/labeledPrice.md)\], \];<a name="shippingOption"></a>
***
<br><br>[$sticker](../constructors/sticker.md) = \['set_id' => [long](../types/long.md), 'width' => [int](../types/int.md), 'height' => [int](../types/int.md), 'emoji' => [string](../types/string.md), 'is_mask' => [Bool](../types/Bool.md), 'mask_position' => [maskPosition](../constructors/maskPosition.md), 'thumb' => [photoSize](../constructors/photoSize.md), 'sticker' => [file](../constructors/file.md), \];<a name="sticker"></a>
<br><br>[$sticker](../constructors/sticker.md) = \['set_id' => [int64](../constructors/int64.md), 'width' => [int](../types/int.md), 'height' => [int](../types/int.md), 'emoji' => [string](../types/string.md), 'is_mask' => [Bool](../types/Bool.md), 'mask_position' => [maskPosition](../constructors/maskPosition.md), 'thumb' => [photoSize](../constructors/photoSize.md), 'sticker' => [file](../constructors/file.md), \];<a name="sticker"></a>
***
<br><br>[$stickerEmojis](../constructors/stickerEmojis.md) = \['emojis' => \[[string](../types/string.md)\], \];<a name="stickerEmojis"></a>
***
<br><br>[$stickerSet](../constructors/stickerSet.md) = \['id' => [long](../types/long.md), 'title' => [string](../types/string.md), 'name' => [string](../types/string.md), 'is_installed' => [Bool](../types/Bool.md), 'is_archived' => [Bool](../types/Bool.md), 'is_official' => [Bool](../types/Bool.md), 'is_masks' => [Bool](../types/Bool.md), 'is_viewed' => [Bool](../types/Bool.md), 'stickers' => \[[sticker](../constructors/sticker.md)\], 'emojis' => \[[stickerEmojis](../constructors/stickerEmojis.md)\], \];<a name="stickerSet"></a>
<br><br>[$stickerSet](../constructors/stickerSet.md) = \['id' => [int64](../constructors/int64.md), 'title' => [string](../types/string.md), 'name' => [string](../types/string.md), 'is_installed' => [Bool](../types/Bool.md), 'is_archived' => [Bool](../types/Bool.md), 'is_official' => [Bool](../types/Bool.md), 'is_masks' => [Bool](../types/Bool.md), 'is_viewed' => [Bool](../types/Bool.md), 'stickers' => \[[sticker](../constructors/sticker.md)\], 'emojis' => \[[stickerEmojis](../constructors/stickerEmojis.md)\], \];<a name="stickerSet"></a>
***
<br><br>[$stickerSetInfo](../constructors/stickerSetInfo.md) = \['id' => [long](../types/long.md), 'title' => [string](../types/string.md), 'name' => [string](../types/string.md), 'is_installed' => [Bool](../types/Bool.md), 'is_archived' => [Bool](../types/Bool.md), 'is_official' => [Bool](../types/Bool.md), 'is_masks' => [Bool](../types/Bool.md), 'is_viewed' => [Bool](../types/Bool.md), 'size' => [int](../types/int.md), 'covers' => \[[sticker](../constructors/sticker.md)\], \];<a name="stickerSetInfo"></a>
<br><br>[$stickerSetInfo](../constructors/stickerSetInfo.md) = \['id' => [int64](../constructors/int64.md), 'title' => [string](../types/string.md), 'name' => [string](../types/string.md), 'is_installed' => [Bool](../types/Bool.md), 'is_archived' => [Bool](../types/Bool.md), 'is_official' => [Bool](../types/Bool.md), 'is_masks' => [Bool](../types/Bool.md), 'is_viewed' => [Bool](../types/Bool.md), 'size' => [int](../types/int.md), 'covers' => \[[sticker](../constructors/sticker.md)\], \];<a name="stickerSetInfo"></a>
***
<br><br>[$stickerSets](../constructors/stickerSets.md) = \['total_count' => [int](../types/int.md), 'sets' => \[[stickerSetInfo](../constructors/stickerSetInfo.md)\], \];<a name="stickerSets"></a>
@ -1087,6 +1096,9 @@ description: List of constructors
***
<br><br>[$text](../constructors/text.md) = \['text' => [string](../types/string.md), \];<a name="text"></a>
***
<br><br>[$textEntities](../constructors/textEntities.md) = \['entities' => \[[textEntity](../constructors/textEntity.md)\], \];<a name="textEntities"></a>
***
<br><br>[$textEntity](../constructors/textEntity.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), 'type' => [TextEntityType](../types/TextEntityType.md), \];<a name="textEntity"></a>
@ -1163,13 +1175,13 @@ description: List of constructors
<br><br>[$updateChannelFull](../constructors/updateChannelFull.md) = \['channel_id' => [int](../types/int.md), 'channel_full' => [channelFull](../constructors/channelFull.md), \];<a name="updateChannelFull"></a>
***
<br><br>[$updateChatDraftMessage](../constructors/updateChatDraftMessage.md) = \['chat_id' => [int53](../types/int53.md), 'draft_message' => [draftMessage](../constructors/draftMessage.md), \];<a name="updateChatDraftMessage"></a>
<br><br>[$updateChatDraftMessage](../constructors/updateChatDraftMessage.md) = \['chat_id' => [int53](../types/int53.md), 'draft_message' => [draftMessage](../constructors/draftMessage.md), 'order' => [int64](../constructors/int64.md), \];<a name="updateChatDraftMessage"></a>
***
<br><br>[$updateChatIsPinned](../constructors/updateChatIsPinned.md) = \['chat_id' => [int53](../types/int53.md), 'is_pinned' => [Bool](../types/Bool.md), \];<a name="updateChatIsPinned"></a>
<br><br>[$updateChatIsPinned](../constructors/updateChatIsPinned.md) = \['chat_id' => [int53](../types/int53.md), 'is_pinned' => [Bool](../types/Bool.md), 'order' => [int64](../constructors/int64.md), \];<a name="updateChatIsPinned"></a>
***
<br><br>[$updateChatOrder](../constructors/updateChatOrder.md) = \['chat_id' => [int53](../types/int53.md), 'order' => [long](../types/long.md), \];<a name="updateChatOrder"></a>
<br><br>[$updateChatOrder](../constructors/updateChatOrder.md) = \['chat_id' => [int53](../types/int53.md), 'order' => [int64](../constructors/int64.md), \];<a name="updateChatOrder"></a>
***
<br><br>[$updateChatPhoto](../constructors/updateChatPhoto.md) = \['chat_id' => [int53](../types/int53.md), 'photo' => [chatPhoto](../constructors/chatPhoto.md), \];<a name="updateChatPhoto"></a>
@ -1187,7 +1199,10 @@ description: List of constructors
<br><br>[$updateChatTitle](../constructors/updateChatTitle.md) = \['chat_id' => [int53](../types/int53.md), 'title' => [string](../types/string.md), \];<a name="updateChatTitle"></a>
***
<br><br>[$updateChatTopMessage](../constructors/updateChatTopMessage.md) = \['chat_id' => [int53](../types/int53.md), 'top_message' => [message](../constructors/message.md), \];<a name="updateChatTopMessage"></a>
<br><br>[$updateChatTopMessage](../constructors/updateChatTopMessage.md) = \['chat_id' => [int53](../types/int53.md), 'top_message' => [message](../constructors/message.md), 'order' => [int64](../constructors/int64.md), \];<a name="updateChatTopMessage"></a>
***
<br><br>[$updateChatUnreadMentionCount](../constructors/updateChatUnreadMentionCount.md) = \['chat_id' => [int53](../types/int53.md), 'unread_mention_count' => [int](../types/int.md), \];<a name="updateChatUnreadMentionCount"></a>
***
<br><br>[$updateConnectionState](../constructors/updateConnectionState.md) = \['state' => [ConnectionState](../types/ConnectionState.md), \];<a name="updateConnectionState"></a>
@ -1195,6 +1210,9 @@ description: List of constructors
***
<br><br>[$updateDeleteMessages](../constructors/updateDeleteMessages.md) = \['chat_id' => [int53](../types/int53.md), 'message_ids' => \[[int53](../types/int53.md)\], \];<a name="updateDeleteMessages"></a>
***
<br><br>[$updateFavoriteStickers](../constructors/updateFavoriteStickers.md) = \['sticker_ids' => \[[int](../types/int.md)\], \];<a name="updateFavoriteStickers"></a>
***
<br><br>[$updateFile](../constructors/updateFile.md) = \['file' => [file](../constructors/file.md), \];<a name="updateFile"></a>
@ -1205,7 +1223,7 @@ description: List of constructors
<br><br>[$updateFileGenerationProgress](../constructors/updateFileGenerationProgress.md) = \['file_id' => [int](../types/int.md), 'size' => [int](../types/int.md), 'ready' => [int](../types/int.md), \];<a name="updateFileGenerationProgress"></a>
***
<br><br>[$updateFileGenerationStart](../constructors/updateFileGenerationStart.md) = \['generation_id' => [long](../types/long.md), 'original_path' => [string](../types/string.md), 'destination_path' => [string](../types/string.md), 'conversion' => [string](../types/string.md), \];<a name="updateFileGenerationStart"></a>
<br><br>[$updateFileGenerationStart](../constructors/updateFileGenerationStart.md) = \['generation_id' => [int64](../constructors/int64.md), 'original_path' => [string](../types/string.md), 'destination_path' => [string](../types/string.md), 'conversion' => [string](../types/string.md), \];<a name="updateFileGenerationStart"></a>
***
<br><br>[$updateFileProgress](../constructors/updateFileProgress.md) = \['file_id' => [int](../types/int.md), 'size' => [int](../types/int.md), 'ready' => [int](../types/int.md), \];<a name="updateFileProgress"></a>
@ -1217,7 +1235,7 @@ description: List of constructors
<br><br>[$updateGroupFull](../constructors/updateGroupFull.md) = \['group_id' => [int](../types/int.md), 'group_full' => [groupFull](../constructors/groupFull.md), \];<a name="updateGroupFull"></a>
***
<br><br>[$updateInstalledStickerSets](../constructors/updateInstalledStickerSets.md) = \['is_masks' => [Bool](../types/Bool.md), 'sticker_set_ids' => \[[long](../types/long.md)\], \];<a name="updateInstalledStickerSets"></a>
<br><br>[$updateInstalledStickerSets](../constructors/updateInstalledStickerSets.md) = \['is_masks' => [Bool](../types/Bool.md), 'sticker_set_ids' => \[[int64](../constructors/int64.md)\], \];<a name="updateInstalledStickerSets"></a>
***
<br><br>[$updateMessageContent](../constructors/updateMessageContent.md) = \['chat_id' => [int53](../types/int53.md), 'message_id' => [int53](../types/int53.md), 'new_content' => [MessageContent](../types/MessageContent.md), \];<a name="updateMessageContent"></a>
@ -1225,6 +1243,9 @@ description: List of constructors
***
<br><br>[$updateMessageEdited](../constructors/updateMessageEdited.md) = \['chat_id' => [int53](../types/int53.md), 'message_id' => [int53](../types/int53.md), 'edit_date' => [int](../types/int.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), \];<a name="updateMessageEdited"></a>
***
<br><br>[$updateMessageMentionRead](../constructors/updateMessageMentionRead.md) = \['chat_id' => [int53](../types/int53.md), 'message_id' => [int53](../types/int53.md), 'unread_mention_count' => [int](../types/int.md), \];<a name="updateMessageMentionRead"></a>
***
<br><br>[$updateMessageSendAcknowledged](../constructors/updateMessageSendAcknowledged.md) = \['chat_id' => [int53](../types/int53.md), 'message_id' => [int53](../types/int53.md), \];<a name="updateMessageSendAcknowledged"></a>
@ -1238,7 +1259,7 @@ description: List of constructors
<br><br>[$updateMessageViews](../constructors/updateMessageViews.md) = \['chat_id' => [int53](../types/int53.md), 'message_id' => [int53](../types/int53.md), 'views' => [int](../types/int.md), \];<a name="updateMessageViews"></a>
***
<br><br>[$updateNewCallbackQuery](../constructors/updateNewCallbackQuery.md) = \['id' => [long](../types/long.md), 'sender_user_id' => [int](../types/int.md), 'chat_id' => [int53](../types/int53.md), 'message_id' => [int53](../types/int53.md), 'chat_instance' => [long](../types/long.md), 'payload' => [CallbackQueryPayload](../types/CallbackQueryPayload.md), \];<a name="updateNewCallbackQuery"></a>
<br><br>[$updateNewCallbackQuery](../constructors/updateNewCallbackQuery.md) = \['id' => [int64](../constructors/int64.md), 'sender_user_id' => [int](../types/int.md), 'chat_id' => [int53](../types/int53.md), 'message_id' => [int53](../types/int53.md), 'chat_instance' => [int64](../constructors/int64.md), 'payload' => [CallbackQueryPayload](../types/CallbackQueryPayload.md), \];<a name="updateNewCallbackQuery"></a>
***
<br><br>[$updateNewChat](../constructors/updateNewChat.md) = \['chat' => [chat](../constructors/chat.md), \];<a name="updateNewChat"></a>
@ -1250,22 +1271,22 @@ description: List of constructors
<br><br>[$updateNewCustomEvent](../constructors/updateNewCustomEvent.md) = \['event' => [string](../types/string.md), \];<a name="updateNewCustomEvent"></a>
***
<br><br>[$updateNewCustomQuery](../constructors/updateNewCustomQuery.md) = \['id' => [long](../types/long.md), 'data' => [string](../types/string.md), 'timeout' => [int](../types/int.md), \];<a name="updateNewCustomQuery"></a>
<br><br>[$updateNewCustomQuery](../constructors/updateNewCustomQuery.md) = \['id' => [int64](../constructors/int64.md), 'data' => [string](../types/string.md), 'timeout' => [int](../types/int.md), \];<a name="updateNewCustomQuery"></a>
***
<br><br>[$updateNewInlineCallbackQuery](../constructors/updateNewInlineCallbackQuery.md) = \['id' => [long](../types/long.md), 'sender_user_id' => [int](../types/int.md), 'inline_message_id' => [string](../types/string.md), 'chat_instance' => [long](../types/long.md), 'payload' => [CallbackQueryPayload](../types/CallbackQueryPayload.md), \];<a name="updateNewInlineCallbackQuery"></a>
<br><br>[$updateNewInlineCallbackQuery](../constructors/updateNewInlineCallbackQuery.md) = \['id' => [int64](../constructors/int64.md), 'sender_user_id' => [int](../types/int.md), 'inline_message_id' => [string](../types/string.md), 'chat_instance' => [int64](../constructors/int64.md), 'payload' => [CallbackQueryPayload](../types/CallbackQueryPayload.md), \];<a name="updateNewInlineCallbackQuery"></a>
***
<br><br>[$updateNewInlineQuery](../constructors/updateNewInlineQuery.md) = \['id' => [long](../types/long.md), 'sender_user_id' => [int](../types/int.md), 'user_location' => [location](../constructors/location.md), 'query' => [string](../types/string.md), 'offset' => [string](../types/string.md), \];<a name="updateNewInlineQuery"></a>
<br><br>[$updateNewInlineQuery](../constructors/updateNewInlineQuery.md) = \['id' => [int64](../constructors/int64.md), 'sender_user_id' => [int](../types/int.md), 'user_location' => [location](../constructors/location.md), 'query' => [string](../types/string.md), 'offset' => [string](../types/string.md), \];<a name="updateNewInlineQuery"></a>
***
<br><br>[$updateNewMessage](../constructors/updateNewMessage.md) = \['message' => [message](../constructors/message.md), 'disable_notification' => [Bool](../types/Bool.md), 'contains_mention' => [Bool](../types/Bool.md), \];<a name="updateNewMessage"></a>
***
<br><br>[$updateNewPreCheckoutQuery](../constructors/updateNewPreCheckoutQuery.md) = \['id' => [long](../types/long.md), 'sender_user_id' => [int](../types/int.md), 'currency' => [string](../types/string.md), 'total_amount' => [int53](../types/int53.md), 'invoice_payload' => [bytes](../types/bytes.md), 'shipping_option_id' => [string](../types/string.md), 'order_info' => [orderInfo](../constructors/orderInfo.md), \];<a name="updateNewPreCheckoutQuery"></a>
<br><br>[$updateNewPreCheckoutQuery](../constructors/updateNewPreCheckoutQuery.md) = \['id' => [int64](../constructors/int64.md), 'sender_user_id' => [int](../types/int.md), 'currency' => [string](../types/string.md), 'total_amount' => [int53](../types/int53.md), 'invoice_payload' => [bytes](../types/bytes.md), 'shipping_option_id' => [string](../types/string.md), 'order_info' => [orderInfo](../constructors/orderInfo.md), \];<a name="updateNewPreCheckoutQuery"></a>
***
<br><br>[$updateNewShippingQuery](../constructors/updateNewShippingQuery.md) = \['id' => [long](../types/long.md), 'sender_user_id' => [int](../types/int.md), 'invoice_payload' => [string](../types/string.md), 'shipping_address' => [shippingAddress](../constructors/shippingAddress.md), \];<a name="updateNewShippingQuery"></a>
<br><br>[$updateNewShippingQuery](../constructors/updateNewShippingQuery.md) = \['id' => [int64](../constructors/int64.md), 'sender_user_id' => [int](../types/int.md), 'invoice_payload' => [string](../types/string.md), 'shipping_address' => [shippingAddress](../constructors/shippingAddress.md), \];<a name="updateNewShippingQuery"></a>
***
<br><br>[$updateNotificationSettings](../constructors/updateNotificationSettings.md) = \['scope' => [NotificationSettingsScope](../types/NotificationSettingsScope.md), 'notification_settings' => [notificationSettings](../constructors/notificationSettings.md), \];<a name="updateNotificationSettings"></a>

View File

@ -13,7 +13,7 @@ Represents results of the inline query. Use sendInlineQueryResultMessage to send
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|inline\_query\_id|[long](../types/long.md) | Yes|Unique identifier of the inline query|
|inline\_query\_id|[int64](../constructors/int64.md) | Yes|Unique identifier of the inline query|
|next\_offset|[string](../types/string.md) | Yes|Offset for the next request. If it is empty, there is no more results|
|results|Array of [InlineQueryResult](../types/InlineQueryResult.md) | Yes|Results of the query|
|switch\_pm\_text|[string](../types/string.md) | Yes|If non-empty, this text should be shown on the button, which opens private chat with the bot and sends bot start message with parameter switch_pm_parameter|

View File

@ -15,7 +15,7 @@ File generated by the client
|----------|---------------|----------|-------------|
|original\_path|[string](../types/string.md) | Yes|Local path to a file from which the file is generated, may be empty if there is no such file|
|conversion|[string](../types/string.md) | Yes|String specifying conversion applied to the original file, should be persistent across application restart|
|expected\_size|[int](../types/int.md) | Yes|Expected size of the generated file|
|expected\_size|[int](../types/int.md) | Yes|Expected size of the generated file, 0 if unknown|

View File

@ -14,7 +14,7 @@ Animation message
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|animation|[InputFile](../types/InputFile.md) | Yes|Animation file to send|
|thumb|[InputThumb](../types/InputThumb.md) | Yes|Animation thumb, if available|
|thumb|[inputThumb](../constructors/inputThumb.md) | Yes|Animation thumb, if available|
|duration|[int](../types/int.md) | Yes|Duration of the animation in seconds|
|width|[int](../types/int.md) | Yes|Width of the animation, may be replaced by the server|
|height|[int](../types/int.md) | Yes|Height of the animation, may be replaced by the server|

View File

@ -14,7 +14,7 @@ Audio message
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|audio|[InputFile](../types/InputFile.md) | Yes|Audio file to send|
|album\_cover\_thumb|[InputThumb](../types/InputThumb.md) | Yes|Thumb of the album's cover, if available|
|album\_cover\_thumb|[inputThumb](../constructors/inputThumb.md) | Yes|Thumb of the album's cover, if available|
|duration|[int](../types/int.md) | Yes|Duration of the audio in seconds, may be replaced by the server|
|title|[string](../types/string.md) | Yes|Title of the audio, 0-64 characters, may be replaced by the server|
|performer|[string](../types/string.md) | Yes|Performer of the audio, 0-64 characters, may be replaced by the server|

View File

@ -14,7 +14,7 @@ Document message
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|document|[InputFile](../types/InputFile.md) | Yes|Document to send|
|thumb|[InputThumb](../types/InputThumb.md) | Yes|Document thumb, if available|
|thumb|[inputThumb](../constructors/inputThumb.md) | Yes|Document thumb, if available|
|caption|[string](../types/string.md) | Yes|Document caption, 0-200 characters|

View File

@ -14,7 +14,7 @@ Photo message
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|photo|[InputFile](../types/InputFile.md) | Yes|Photo to send|
|thumb|[InputThumb](../types/InputThumb.md) | Yes|Photo thumb to send, is sent to the other party in secret chats only|
|thumb|[inputThumb](../constructors/inputThumb.md) | Yes|Photo thumb to send, is sent to the other party in secret chats only|
|added\_sticker\_file\_ids|Array of [int](../types/int.md) | Yes|File identifiers of stickers added onto the photo|
|width|[int](../types/int.md) | Yes|Photo width|
|height|[int](../types/int.md) | Yes|Photo height|

View File

@ -14,7 +14,7 @@ Sticker message
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|sticker|[InputFile](../types/InputFile.md) | Yes|Sticker to send|
|thumb|[InputThumb](../types/InputThumb.md) | Yes|Sticker thumb, if available|
|thumb|[inputThumb](../constructors/inputThumb.md) | Yes|Sticker thumb, if available|
|width|[int](../types/int.md) | Yes|Sticker width|
|height|[int](../types/int.md) | Yes|Sticker height|

View File

@ -14,7 +14,7 @@ Video message
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|video|[InputFile](../types/InputFile.md) | Yes|Video to send|
|thumb|[InputThumb](../types/InputThumb.md) | Yes|Video thumb, if available|
|thumb|[inputThumb](../constructors/inputThumb.md) | Yes|Video thumb, if available|
|added\_sticker\_file\_ids|Array of [int](../types/int.md) | Yes|File identifiers of stickers added onto the video|
|duration|[int](../types/int.md) | Yes|Duration of the video in seconds|
|width|[int](../types/int.md) | Yes|Video width|

View File

@ -14,7 +14,7 @@ Video note message
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|video\_note|[InputFile](../types/InputFile.md) | Yes|Video note to send|
|thumb|[InputThumb](../types/InputThumb.md) | Yes|Video thumb, if available|
|thumb|[inputThumb](../constructors/inputThumb.md) | Yes|Video thumb, if available|
|duration|[int](../types/int.md) | Yes|Duration of the video in seconds|
|length|[int](../types/int.md) | Yes|Video width and height, should be positive and not greater than 640|

View File

@ -1,20 +1,19 @@
---
title: inputThumbGenerated
description: Generated thumb, should be less than 200KB
title: inputThumb
description: Thumb to send along with a file, should be in jpeg format or webp format for stickers and less than 200KB in size
---
## Constructor: inputThumbGenerated
## Constructor: inputThumb
[Back to constructors index](index.md)
Generated thumb, should be less than 200KB
Thumb to send along with a file, should be in jpeg format or webp format for stickers and less than 200KB in size
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|original\_path|[string](../types/string.md) | Yes|Path to the original file|
|conversion|[string](../types/string.md) | Yes|String specifying conversion applied to the original file, should be persistent across application restart|
|thumb|[InputFile](../types/InputFile.md) | Yes|Thumb file to send, sending thumbs by file_id is currently not supported|
|width|[int](../types/int.md) | Yes|Thumb width, usually shouldn't excceed 90. Use 0 if unknown|
|height|[int](../types/int.md) | Yes|Thumb height, usually shouldn't excceed 90. Use 0 if unknown|

View File

@ -1,24 +0,0 @@
---
title: inputThumbLocal
description: Local file with the thumb
---
## Constructor: inputThumbLocal
[Back to constructors index](index.md)
Local file with the thumb
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|path|[string](../types/string.md) | Yes|Path to the file with the thumb, file should be less than 200KB|
|width|[int](../types/int.md) | Yes|Thumb width, usually shouldn't excceed 90. Use 0 if unknown|
|height|[int](../types/int.md) | Yes|Thumb height, usually shouldn't excceed 90. Use 0 if unknown|
### Type: [InputThumb](../types/InputThumb.md)

View File

@ -22,6 +22,7 @@ Describes message
|can\_be\_deleted\_only\_for\_self|[Bool](../types/Bool.md) | Yes|True, if message can be deleted only for self, other users will continue to see it|
|can\_be\_deleted\_for\_everyone|[Bool](../types/Bool.md) | Yes|True, if message can be deleted for everyone|
|is\_post|[Bool](../types/Bool.md) | Yes|True, if message is channel post. All messages to broadcast channels are posts, all other messages are not posts|
|contains\_unread\_mention|[Bool](../types/Bool.md) | Yes|True, if message contains unread mention of the current user|
|date|[int](../types/int.md) | Yes|Date when message was sent, unix time|
|edit\_date|[int](../types/int.md) | Yes|Date when message was edited last time, unix time|
|forward\_info|[MessageForwardInfo](../types/MessageForwardInfo.md) | Yes|Information about initial message sender, nullable|

View File

@ -14,7 +14,7 @@ New high score was achieved in a game
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|game\_message\_id|[int53](../types/int53.md) | Yes|Identifier of the message with the game, can be identifier of the deleted message|
|game\_id|[long](../types/long.md) | Yes|Identifier of the game, may be different from the games presented in the message with the game|
|game\_id|[int64](../constructors/int64.md) | Yes|Identifier of the game, may be different from the games presented in the message with the game|
|score|[int](../types/int.md) | Yes|New score|

View File

@ -13,7 +13,7 @@ Describes photo
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|id|[long](../types/long.md) | Yes|Photo identifier, 0 for deleted photo|
|id|[int64](../constructors/int64.md) | Yes|Photo identifier, 0 for deleted photo|
|has\_stickers|[Bool](../types/Bool.md) | Yes|True, if some stickers was added to the photo|
|sizes|Array of [photoSize](../constructors/photoSize.md) | Yes|Available variants of photo of different sizes|

View File

@ -13,7 +13,7 @@ Describes user profile photo
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|id|[long](../types/long.md) | Yes|Photo identifier, 0 for empty photo. Can be used to find photo in list of userProfilePhotos|
|id|[int64](../constructors/int64.md) | Yes|Photo identifier, 0 for empty photo. Can be used to find photo in list of userProfilePhotos|
|small|[file](../constructors/file.md) | Yes|Small (160x160) user profile photo|
|big|[file](../constructors/file.md) | Yes|Big (640x640) user profile photo|

View File

@ -0,0 +1,21 @@
---
title: searchMessagesFilterMention
description: Return only messages with mentions of current logged in user or which are replies to his messages
---
## Constructor: searchMessagesFilterMention
[Back to constructors index](index.md)
Return only messages with mentions of current logged in user or which are replies to his messages
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
### Type: [SearchMessagesFilter](../types/SearchMessagesFilter.md)

View File

@ -0,0 +1,21 @@
---
title: searchMessagesFilterUnreadMention
description: Return only messages with unread mentions of current logged in user or which are replies to his messages. When this filter is used result can't be additionally filtered by a query or a sender user
---
## Constructor: searchMessagesFilterUnreadMention
[Back to constructors index](index.md)
Return only messages with unread mentions of current logged in user or which are replies to his messages. When this filter is used result can't be additionally filtered by a query or a sender user
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
### Type: [SearchMessagesFilter](../types/SearchMessagesFilter.md)

View File

@ -13,7 +13,7 @@ Contains information about one session in some application used by the user
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|id|[long](../types/long.md) | Yes|Session identifier|
|id|[int64](../constructors/int64.md) | Yes|Session identifier|
|is\_current|[Bool](../types/Bool.md) | Yes|True, if it is current session|
|app\_id|[int](../types/int.md) | Yes|Application identifier, provided by the application|
|app\_name|[string](../types/string.md) | Yes|Name of the application, provided by the application|

View File

@ -13,7 +13,7 @@ Describes sticker
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|set\_id|[long](../types/long.md) | Yes|Identifier of sticker set to which the sticker belongs or 0 if none|
|set\_id|[int64](../constructors/int64.md) | Yes|Identifier of sticker set to which the sticker belongs or 0 if none|
|width|[int](../types/int.md) | Yes|Sticker width as defined by sender|
|height|[int](../types/int.md) | Yes|Sticker height as defined by sender|
|emoji|[string](../types/string.md) | Yes|Emoji corresponding to the sticker|

View File

@ -13,7 +13,7 @@ Represents sticker set
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|id|[long](../types/long.md) | Yes|Sticker set identifier|
|id|[int64](../constructors/int64.md) | Yes|Sticker set identifier|
|title|[string](../types/string.md) | Yes|Title of the sticker set|
|name|[string](../types/string.md) | Yes|Name of the sticker set|
|is\_installed|[Bool](../types/Bool.md) | Yes|True if sticker set is installed by logged in user|

View File

@ -13,7 +13,7 @@ Represents short information about sticker set
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|id|[long](../types/long.md) | Yes|Sticker set identifier|
|id|[int64](../constructors/int64.md) | Yes|Sticker set identifier|
|title|[string](../types/string.md) | Yes|Title of the sticker set|
|name|[string](../types/string.md) | Yes|Name of the sticker set|
|is\_installed|[Bool](../types/Bool.md) | Yes|True if sticker set is installed by logged in user|

View File

@ -0,0 +1,22 @@
---
title: textEntities
description: Contains a list ot text entities
---
## Constructor: textEntities
[Back to constructors index](index.md)
Contains a list ot text entities
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|entities|Array of [textEntity](../constructors/textEntity.md) | Yes|The entities|
### Type: [TextEntities](../types/TextEntities.md)

View File

@ -15,6 +15,7 @@ Chat draft has changed. Be aware that the update may come in the currently open
|----------|---------------|----------|-------------|
|chat\_id|[int53](../types/int53.md) | Yes|Chat identifier|
|draft\_message|[draftMessage](../constructors/draftMessage.md) | Yes|New chat draft_message, nullable|
|order|[int64](../constructors/int64.md) | Yes|New value of the chat order|

View File

@ -15,6 +15,7 @@ Chat was pinned or unpinned
|----------|---------------|----------|-------------|
|chat\_id|[int53](../types/int53.md) | Yes|Chat identifier|
|is\_pinned|[Bool](../types/Bool.md) | Yes|New value of is_pinned|
|order|[int64](../constructors/int64.md) | Yes|New value of the chat order|

View File

@ -1,20 +1,20 @@
---
title: updateChatOrder
description: Order of the chat in the chat list has changed
description: Order of the chat in the chat list has changed. Instead of that update updateChatTopMessage, updateChatIsPinned or updateChatDraftMessage may be sent
---
## Constructor: updateChatOrder
[Back to constructors index](index.md)
Order of the chat in the chat list has changed
Order of the chat in the chat list has changed. Instead of that update updateChatTopMessage, updateChatIsPinned or updateChatDraftMessage may be sent
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|chat\_id|[int53](../types/int53.md) | Yes|Chat identifier|
|order|[long](../types/long.md) | Yes|New value of the order|
|order|[int64](../constructors/int64.md) | Yes|New value of the order|

View File

@ -15,7 +15,7 @@ Some incoming messages was read
|----------|---------------|----------|-------------|
|chat\_id|[int53](../types/int53.md) | Yes|Chat identifier|
|last\_read\_inbox\_message\_id|[int53](../types/int53.md) | Yes|Identifier of last read incoming message|
|unread\_count|[int](../types/int.md) | Yes|Number of unread messages left in chat|
|unread\_count|[int](../types/int.md) | Yes|Number of unread messages left in the chat|

View File

@ -15,6 +15,7 @@ Top message of the chat has changed. If top_message is null then top message in
|----------|---------------|----------|-------------|
|chat\_id|[int53](../types/int53.md) | Yes|Chat identifier|
|top\_message|[message](../constructors/message.md) | Yes|New top message of the chat, nullable|
|order|[int64](../constructors/int64.md) | Yes|New value of the chat order|

View File

@ -0,0 +1,23 @@
---
title: updateChatUnreadMentionCount
description: Chat unread_mention_count has changed
---
## Constructor: updateChatUnreadMentionCount
[Back to constructors index](index.md)
Chat unread_mention_count has changed
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|chat\_id|[int53](../types/int53.md) | Yes|Chat identifier|
|unread\_mention\_count|[int](../types/int.md) | Yes|Number of unread mention messages left in the chat|
### Type: [Update](../types/Update.md)

View File

@ -0,0 +1,22 @@
---
title: updateFavoriteStickers
description: List of favorite stickers was updated
---
## Constructor: updateFavoriteStickers
[Back to constructors index](index.md)
List of favorite stickers was updated
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|sticker\_ids|Array of [int](../types/int.md) | Yes|New list of file identifiers of favorite stickers|
### Type: [Update](../types/Update.md)

View File

@ -13,7 +13,7 @@ File generation process need to be started by the client
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|generation\_id|[long](../types/long.md) | Yes|Unique identifier for the generation process|
|generation\_id|[int64](../constructors/int64.md) | Yes|Unique identifier for the generation process|
|original\_path|[string](../types/string.md) | Yes|Path to a file from which new file is generated, may be empty|
|destination\_path|[string](../types/string.md) | Yes|Path to a file which should be created and to which new file should be generated|
|conversion|[string](../types/string.md) | Yes|String specifying conversion applied to the original file|

View File

@ -14,7 +14,7 @@ List of installed sticker sets was updated
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|is\_masks|[Bool](../types/Bool.md) | Yes|True, if list of installed mask sticker sets was updated|
|sticker\_set\_ids|Array of [long](../types/long.md) | Yes|New list of installed ordinary sticker sets|
|sticker\_set\_ids|Array of [int64](../constructors/int64.md) | Yes|New list of installed ordinary sticker sets|

View File

@ -0,0 +1,24 @@
---
title: updateMessageMentionRead
description: Message with an unread mention was read
---
## Constructor: updateMessageMentionRead
[Back to constructors index](index.md)
Message with an unread mention was read
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|chat\_id|[int53](../types/int53.md) | Yes|Chat identifier|
|message\_id|[int53](../types/int53.md) | Yes|Message identifier|
|unread\_mention\_count|[int](../types/int.md) | Yes|New number of unread mention messages left in the chat|
### Type: [Update](../types/Update.md)

View File

@ -13,11 +13,11 @@ Bots only. New incoming callback query
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|id|[long](../types/long.md) | Yes|Unique query identifier|
|id|[int64](../constructors/int64.md) | Yes|Unique query identifier|
|sender\_user\_id|[int](../types/int.md) | Yes|Identifier of the user who sent the query|
|chat\_id|[int53](../types/int53.md) | Yes|Identifier of the chat, in which the query was sent|
|message\_id|[int53](../types/int53.md) | Yes|Identifier of the message, from which the query is originated|
|chat\_instance|[long](../types/long.md) | Yes|Identifier, uniquely corresponding to the chat a message was sent to|
|chat\_instance|[int64](../constructors/int64.md) | Yes|Identifier, uniquely corresponding to the chat a message was sent to|
|payload|[CallbackQueryPayload](../types/CallbackQueryPayload.md) | Yes|Query payload|

View File

@ -13,7 +13,7 @@ Bots only. New incoming query
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|id|[long](../types/long.md) | Yes|Query identifier|
|id|[int64](../constructors/int64.md) | Yes|Query identifier|
|data|[string](../types/string.md) | Yes|JSON-serialized query data|
|timeout|[int](../types/int.md) | Yes|Query timeout|

View File

@ -13,10 +13,10 @@ Bots only. New incoming callback query from message sent via bot
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|id|[long](../types/long.md) | Yes|Unique query identifier|
|id|[int64](../constructors/int64.md) | Yes|Unique query identifier|
|sender\_user\_id|[int](../types/int.md) | Yes|Identifier of the user who sent the query|
|inline\_message\_id|[string](../types/string.md) | Yes|Identifier of the inline message, from which the query is originated|
|chat\_instance|[long](../types/long.md) | Yes|Identifier, uniquely corresponding to the chat a message was sent to|
|chat\_instance|[int64](../constructors/int64.md) | Yes|Identifier, uniquely corresponding to the chat a message was sent to|
|payload|[CallbackQueryPayload](../types/CallbackQueryPayload.md) | Yes|Query payload|

View File

@ -13,7 +13,7 @@ Bots only. New incoming inline query
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|id|[long](../types/long.md) | Yes|Unique query identifier|
|id|[int64](../constructors/int64.md) | Yes|Unique query identifier|
|sender\_user\_id|[int](../types/int.md) | Yes|Identifier of the user who sent the query|
|user\_location|[location](../constructors/location.md) | Yes|User location, provided by the client, nullable|
|query|[string](../types/string.md) | Yes|Text of the query|

View File

@ -13,7 +13,7 @@ Bots only. New incoming pre-checkout query. Contains full information about chec
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|id|[long](../types/long.md) | Yes|Unique query identifier|
|id|[int64](../constructors/int64.md) | Yes|Unique query identifier|
|sender\_user\_id|[int](../types/int.md) | Yes|Identifier of the user who sent the query|
|currency|[string](../types/string.md) | Yes|Currency for goods price|
|total\_amount|[int53](../types/int53.md) | Yes|Goods total price in minimal quantity of the currency|

View File

@ -13,7 +13,7 @@ Bots only. New incoming shipping query. Only for invoices with flexible price
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|id|[long](../types/long.md) | Yes|Unique query identifier|
|id|[int64](../constructors/int64.md) | Yes|Unique query identifier|
|sender\_user\_id|[int](../types/int.md) | Yes|Identifier of the user who sent the query|
|invoice\_payload|[string](../types/string.md) | Yes|Invoice payload|
|shipping\_address|[shippingAddress](../constructors/shippingAddress.md) | Yes|User shipping address|

View File

@ -23,7 +23,7 @@ Represents user
|my\_link|[LinkState](../types/LinkState.md) | Yes|Relationships from me to other user|
|foreign\_link|[LinkState](../types/LinkState.md) | Yes|Relationships from other user to me|
|is\_verified|[Bool](../types/Bool.md) | Yes|True, if user is verified|
|restriction\_reason|[string](../types/string.md) | Yes|If non-empty, contains the reason, why access to this user must be restricted. Format of the string is "{type}: {description}". {type} contains type of the restriction and at least one of the suffixes "-all", "-ios", "-android", "-wp", which describes platforms on which access should be restricted. For example, "terms-ios-android". {description} contains human-readable description of the restriction, which can be showed to the user|
|restriction\_reason|[string](../types/string.md) | Yes|If non-empty, contains the reason, why access to this user must be restricted. Format of the string is "{type}: {description}". -{type} contains type of the restriction and at least one of the suffixes "-all", "-ios", "-android", "-wp", which describes platforms on which access should be restricted. For example, "terms-ios-android". {description} contains human-readable description of the restriction, which can be showed to the user|
|have\_access|[Bool](../types/Bool.md) | Yes|If false, the user is inaccessible and the only known information about it is inside this class. It can't be passed to any method except GetUser. Currently it can be false only for inaccessible authors of the channel posts|
|type|[UserType](../types/UserType.md) | Yes|Type of the user|
|language\_code|[string](../types/string.md) | Yes|Bots only. IETF language tag of users language|

View File

@ -1,6 +1,6 @@
---
title: addChatMember
description: Adds new member to chat. Members can't be added to private or secret chats. Member will not be added until chat state will be synchronized with the server. Member will not be added if application is killed before it can send request to the server
description: Adds new member to chat. Members can't be added to private or secret chats. Member will not be added until chat state will be synchronized with the server
---
## Method: addChatMember
[Back to methods index](index.md)
@ -9,7 +9,7 @@ description: Adds new member to chat. Members can't be added to private or secre
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
Adds new member to chat. Members can't be added to private or secret chats. Member will not be added until chat state will be synchronized with the server. Member will not be added if application is killed before it can send request to the server
Adds new member to chat. Members can't be added to private or secret chats. Member will not be added until chat state will be synchronized with the server
### Params:
@ -17,7 +17,7 @@ Adds new member to chat. Members can't be added to private or secret chats. Memb
|----------|---------------|----------|-------------|
|chat\_id|[int53](../types/int53.md) | Yes|Chat identifier|
|user\_id|[int](../types/int.md) | Yes|Identifier of the user to add|
|forward\_limit|[int](../types/int.md) | Yes|Number of previous messages from chat to forward to new member, ignored for channel chats|
|forward\_limit|[int](../types/int.md) | Yes|Number of previous messages from chat to forward to new member, ignored for channel chats. Can't be greater than 300|
### Return type: [Ok](../types/Ok.md)

View File

@ -1,6 +1,6 @@
---
title: addChatMembers
description: Adds many new members to the chat. Currently, available only for channels. Can't be used to join the channel. Member will not be added until chat state will be synchronized with the server. Member will not be added if application is killed before it can send request to the server
description: Adds many new members to the chat. Currently, available only for channels. Can't be used to join the channel. Members can't be added to broadcast channel if it has more than 200 members. Members will not be added until chat state will be synchronized with the server
---
## Method: addChatMembers
[Back to methods index](index.md)
@ -9,7 +9,7 @@ description: Adds many new members to the chat. Currently, available only for ch
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
Adds many new members to the chat. Currently, available only for channels. Can't be used to join the channel. Member will not be added until chat state will be synchronized with the server. Member will not be added if application is killed before it can send request to the server
Adds many new members to the chat. Currently, available only for channels. Can't be used to join the channel. Members can't be added to broadcast channel if it has more than 200 members. Members will not be added until chat state will be synchronized with the server
### Params:

View File

@ -0,0 +1,22 @@
---
title: addFavoriteSticker
description: Adds new sticker to the list of favorite stickers. New sticker is added to the beginning of the list. If the sticker is already in the list, at first it is removed from the list. Only stickers belonging to a sticker set can be added to the list
---
## Method: addFavoriteSticker
[Back to methods index](index.md)
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
Adds new sticker to the list of favorite stickers. New sticker is added to the beginning of the list. If the sticker is already in the list, at first it is removed from the list. Only stickers belonging to a sticker set can be added to the list
### Params:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|sticker|[InputFile](../types/InputFile.md) | Yes|Sticker file to add|
### Return type: [Ok](../types/Ok.md)

View File

@ -1,6 +1,6 @@
---
title: addRecentSticker
description: Manually adds new sticker to the list of recently used stickers. New sticker is added to the beginning of the list. If the sticker is already in the list, at first it is removed from the list
description: Manually adds new sticker to the list of recently used stickers. New sticker is added to the beginning of the list. If the sticker is already in the list, at first it is removed from the list. Only stickers belonging to a sticker set can be added to the list
---
## Method: addRecentSticker
[Back to methods index](index.md)
@ -9,7 +9,7 @@ description: Manually adds new sticker to the list of recently used stickers. Ne
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
Manually adds new sticker to the list of recently used stickers. New sticker is added to the beginning of the list. If the sticker is already in the list, at first it is removed from the list
Manually adds new sticker to the list of recently used stickers. New sticker is added to the beginning of the list. If the sticker is already in the list, at first it is removed from the list. Only stickers belonging to a sticker set can be added to the list
### Params:

View File

@ -15,7 +15,7 @@ Bots only. Sets result of a callback query
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|callback\_query\_id|[long](../types/long.md) | Yes|Identifier of the callback query|
|callback\_query\_id|[int64](../constructors/int64.md) | Yes|Identifier of the callback query|
|text|[string](../types/string.md) | Yes|Text of the answer|
|show\_alert|[Bool](../types/Bool.md) | Yes|If true, an alert should be shown to the user instead of a toast|
|url|[string](../types/string.md) | Yes|Url to be opened|

View File

@ -15,7 +15,7 @@ Bots only. Answers a custom query
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|custom\_query\_id|[long](../types/long.md) | Yes|Identifier of a custom query|
|custom\_query\_id|[int64](../constructors/int64.md) | Yes|Identifier of a custom query|
|data|[string](../types/string.md) | Yes|JSON-serialized answer to the query|

View File

@ -15,7 +15,7 @@ Bots only. Sets result of an inline query
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|inline\_query\_id|[long](../types/long.md) | Yes|Identifier of the inline query|
|inline\_query\_id|[int64](../constructors/int64.md) | Yes|Identifier of the inline query|
|is\_personal|[Bool](../types/Bool.md) | Yes|Does result of the query can be cached only for specified user|
|results|Array of [InputInlineQueryResult](../types/InputInlineQueryResult.md) | Yes|Results of the query|
|cache\_time|[int](../types/int.md) | Yes|Allowed time to cache results of the query in seconds|

View File

@ -15,7 +15,7 @@ Bots only. Sets result of a pre checkout query
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|pre\_checkout\_query\_id|[long](../types/long.md) | Yes|Identifier of the pre-checkout query|
|pre\_checkout\_query\_id|[int64](../constructors/int64.md) | Yes|Identifier of the pre-checkout query|
|error\_message|[string](../types/string.md) | Yes|Error message, empty on success|

View File

@ -15,7 +15,7 @@ Bots only. Sets result of a shipping query
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|shipping\_query\_id|[long](../types/long.md) | Yes|Identifier of the shipping query|
|shipping\_query\_id|[int64](../constructors/int64.md) | Yes|Identifier of the shipping query|
|shipping\_options|Array of [shippingOption](../constructors/shippingOption.md) | Yes|Available shipping options|
|error\_message|[string](../types/string.md) | Yes|Error message, empty on success|

View File

@ -1,6 +1,6 @@
---
title: changeChatMemberStatus
description: Changes status of the chat member, need appropriate privileges. This function is currently not suitable for adding new members to the chat, use addChatMember instead. Status will not be changed until chat state will be synchronized with the server. Status will not be changed if application is killed before it can send request to the server
description: Changes status of the chat member, need appropriate privileges. This function is currently not suitable for adding new members to the chat, use addChatMember instead. Status will not be changed until chat state will be synchronized with the server
---
## Method: changeChatMemberStatus
[Back to methods index](index.md)
@ -9,7 +9,7 @@ description: Changes status of the chat member, need appropriate privileges. Thi
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
Changes status of the chat member, need appropriate privileges. This function is currently not suitable for adding new members to the chat, use addChatMember instead. Status will not be changed until chat state will be synchronized with the server. Status will not be changed if application is killed before it can send request to the server
Changes status of the chat member, need appropriate privileges. This function is currently not suitable for adding new members to the chat, use addChatMember instead. Status will not be changed until chat state will be synchronized with the server
### Params:

View File

@ -15,7 +15,7 @@ Installs/uninstalls or enables/archives sticker set
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|set\_id|[long](../types/long.md) | Yes|Identifier of the sticker set|
|set\_id|[int64](../constructors/int64.md) | Yes|Identifier of the sticker set|
|is\_installed|[Bool](../types/Bool.md) | Yes|New value of is_installed|
|is\_archived|[Bool](../types/Bool.md) | Yes|New value of is_archived. A sticker set can't be installed and archived simultaneously|

View File

@ -1,6 +1,6 @@
---
title: closeSecretChat
description: Closes secret chat
description: Closes secret chat, effectively transfering its state to "Closed"
---
## Method: closeSecretChat
[Back to methods index](index.md)
@ -9,7 +9,7 @@ description: Closes secret chat
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
Closes secret chat
Closes secret chat, effectively transfering its state to "Closed"
### Params:

View File

@ -0,0 +1,22 @@
---
title: deleteFavoriteSticker
description: Removes a sticker from the list of favorite stickers
---
## Method: deleteFavoriteSticker
[Back to methods index](index.md)
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
Removes a sticker from the list of favorite stickers
### Params:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|sticker|[InputFile](../types/InputFile.md) | Yes|Sticker file to delete from the list|
### Return type: [Ok](../types/Ok.md)

View File

@ -0,0 +1,21 @@
---
title: deleteImportedContacts
description: Deletes all imported contacts
---
## Method: deleteImportedContacts
[Back to methods index](index.md)
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
Deletes all imported contacts
### Params:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
### Return type: [Ok](../types/Ok.md)

View File

@ -15,7 +15,7 @@ Deletes profile photo. If something changes, updateUser will be sent
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|profile\_photo\_id|[long](../types/long.md) | Yes|Identifier of profile photo to delete|
|profile\_photo\_id|[int64](../constructors/int64.md) | Yes|Identifier of profile photo to delete|
### Return type: [Ok](../types/Ok.md)

View File

@ -1,6 +1,6 @@
---
title: deleteSavedAnimation
description: Removes animation from the list of saved animations
description: Removes an animation from the list of saved animations
---
## Method: deleteSavedAnimation
[Back to methods index](index.md)
@ -9,7 +9,7 @@ description: Removes animation from the list of saved animations
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
Removes animation from the list of saved animations
Removes an animation from the list of saved animations
### Params:

View File

@ -18,7 +18,7 @@ Discards a call
|call\_id|[int](../types/int.md) | Yes|Call identifier|
|is\_disconnected|[Bool](../types/Bool.md) | Yes|True, if users was disconnected|
|duration|[int](../types/int.md) | Yes|Call duration in seconds|
|connection\_id|[long](../types/long.md) | Yes|Identifier of a connection used during the call|
|connection\_id|[int64](../constructors/int64.md) | Yes|Identifier of a connection used during the call|
### Return type: [Ok](../types/Ok.md)

View File

@ -15,7 +15,7 @@ Finishes file generation
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|generation\_id|[long](../types/long.md) | Yes|Identifier of the generation process|
|generation\_id|[int64](../constructors/int64.md) | Yes|Identifier of the generation process|
### Return type: [Ok](../types/Ok.md)

View File

@ -1,6 +1,6 @@
---
title: forwardMessages
description: Forwards previously sent messages. Returns forwarded messages in the same order as message identifiers passed in message_ids. If message can't be forwarded, null will be returned instead of the message. UpdateChatTopMessage will not be sent, so returned messages should be used to update chat top message
description: Forwards previously sent messages. Returns forwarded messages in the same order as message identifiers passed in message_ids. If message can't be forwarded, null will be returned instead of the message
---
## Method: forwardMessages
[Back to methods index](index.md)
@ -9,7 +9,7 @@ description: Forwards previously sent messages. Returns forwarded messages in th
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
Forwards previously sent messages. Returns forwarded messages in the same order as message identifiers passed in message_ids. If message can't be forwarded, null will be returned instead of the message. UpdateChatTopMessage will not be sent, so returned messages should be used to update chat top message
Forwards previously sent messages. Returns forwarded messages in the same order as message identifiers passed in message_ids. If message can't be forwarded, null will be returned instead of the message
### Params:

View File

@ -16,7 +16,7 @@ Returns list of archived sticker sets
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|is\_masks|[Bool](../types/Bool.md) | Yes|Pass true to return mask stickers sets, pass false to return ordinary sticker sets|
|offset\_sticker\_set\_id|[long](../types/long.md) | Yes|Identifier of the sticker set from which return the result|
|offset\_sticker\_set\_id|[int64](../constructors/int64.md) | Yes|Identifier of the sticker set from which return the result|
|limit|[int](../types/int.md) | Yes|Maximum number of sticker sets to return|

View File

@ -17,7 +17,7 @@ Returns list of service actions taken by chat members and administrators in the
|----------|---------------|----------|-------------|
|chat\_id|[int53](../types/int53.md) | Yes|Chat identifier|
|query|[string](../types/string.md) | Yes|Search query to filter events|
|from\_event\_id|[long](../types/long.md) | Yes|Identifier of an event from which to return result, you can use 0 to get results from the latest events|
|from\_event\_id|[int64](../constructors/int64.md) | Yes|Identifier of an event from which to return result, you can use 0 to get results from the latest events|
|limit|[int](../types/int.md) | Yes|Maximum number of events to return, can't be greater than 100|
|filters|[chatEventLogFilters](../constructors/chatEventLogFilters.md) | Yes|Types of events to return, defaults to all|
|user\_ids|Array of [int](../types/int.md) | Yes|User identifiers, which events to return, defaults to all users|

View File

@ -1,6 +1,6 @@
---
title: getChatHistory
description: Returns messages in a chat. Automatically calls openChat. Returns result in reverse chronological order, i.e. in order of decreasing message.message_id. Offline request if only_local is true
description: Returns messages in a chat. Returns result in reverse chronological order, i.e. in order of decreasing message.message_id. Offline request if only_local is true
---
## Method: getChatHistory
[Back to methods index](index.md)
@ -9,7 +9,7 @@ description: Returns messages in a chat. Automatically calls openChat. Returns r
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
Returns messages in a chat. Automatically calls openChat. Returns result in reverse chronological order, i.e. in order of decreasing message.message_id. Offline request if only_local is true
Returns messages in a chat. Returns result in reverse chronological order, i.e. in order of decreasing message.message_id. Offline request if only_local is true
### Params:

View File

@ -15,7 +15,7 @@ Returns list of chats in the right order, chats are sorted by (order, chat_id) i
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|offset\_order|[long](../types/long.md) | Yes|Chat order to return chats from|
|offset\_order|[int64](../constructors/int64.md) | Yes|Chat order to return chats from|
|offset\_chat\_id|[int53](../types/int53.md) | Yes|Chat identifier to return chats from|
|limit|[int](../types/int.md) | Yes|Maximum number of chats to be returned. There may be less than limit chats returned even the end of the list is not reached|

View File

@ -0,0 +1,21 @@
---
title: getFavoriteStickers
description: Returns favorite stickers
---
## Method: getFavoriteStickers
[Back to methods index](index.md)
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
Returns favorite stickers
### Params:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
### Return type: [Stickers](../types/Stickers.md)

View File

@ -0,0 +1,22 @@
---
title: getFileExtension
description: Returns file's extension guessing only by its mime type. Returns empty string on failure. Offline method. Can be called before authorization. Can be called synchronously
---
## Method: getFileExtension
[Back to methods index](index.md)
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
Returns file's extension guessing only by its mime type. Returns empty string on failure. Offline method. Can be called before authorization. Can be called synchronously
### Params:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|mime\_type|[string](../types/string.md) | Yes|Mime type of the file|
### Return type: [Text](../types/Text.md)

View File

@ -0,0 +1,22 @@
---
title: getFileMimeType
description: Returns file's mime type guessing only by its extension. Returns empty string on failure. Offline method. Can be called before authorization. Can be called synchronously
---
## Method: getFileMimeType
[Back to methods index](index.md)
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
Returns file's mime type guessing only by its extension. Returns empty string on failure. Offline method. Can be called before authorization. Can be called synchronously
### Params:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|file\_name|[string](../types/string.md) | Yes|Name of the file or path to the file|
### Return type: [Text](../types/Text.md)

View File

@ -0,0 +1,21 @@
---
title: getImportedContactCount
description: Returns total number of imported contacts
---
## Method: getImportedContactCount
[Back to methods index](index.md)
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
Returns total number of imported contacts
### Params:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
### Return type: [Count](../types/Count.md)

View File

@ -15,7 +15,7 @@ Returns information about sticker set by its identifier
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|set\_id|[long](../types/long.md) | Yes|Identifier of the sticker set|
|set\_id|[int64](../constructors/int64.md) | Yes|Identifier of the sticker set|
### Return type: [StickerSet](../types/StickerSet.md)

View File

@ -1,6 +1,6 @@
---
title: getStickers
description: Returns stickers from installed ordinary sticker sets corresponding to the given emoji
description: Returns stickers from installed ordinary sticker sets corresponding to the given emoji. If emoji is not empty, elso favorite and recently used stickers may be returned
---
## Method: getStickers
[Back to methods index](index.md)
@ -9,7 +9,7 @@ description: Returns stickers from installed ordinary sticker sets corresponding
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
Returns stickers from installed ordinary sticker sets corresponding to the given emoji
Returns stickers from installed ordinary sticker sets corresponding to the given emoji. If emoji is not empty, elso favorite and recently used stickers may be returned
### Params:

View File

@ -0,0 +1,22 @@
---
title: getTextEntities
description: Returns all mentions, hashtags, bot commands, URLs and emails contained in the text. Offline method. Can be called before authorization. Can be called synchronously
---
## Method: getTextEntities
[Back to methods index](index.md)
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
Returns all mentions, hashtags, bot commands, URLs and emails contained in the text. Offline method. Can be called before authorization. Can be called synchronously
### Params:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|text|[string](../types/string.md) | Yes|Text to find entites in|
### Return type: [TextEntities](../types/TextEntities.md)

View File

@ -1,6 +1,6 @@
---
title: importChatInviteLink
description: Imports chat invite link, adds current user to a chat if possible. Member will not be added until chat state will be synchronized with the server. Member will not be added if application is killed before it can send request to the server
description: Imports chat invite link, adds current user to a chat if possible. Member will not be added until chat state will be synchronized with the server
---
## Method: importChatInviteLink
[Back to methods index](index.md)
@ -9,7 +9,7 @@ description: Imports chat invite link, adds current user to a chat if possible.
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
Imports chat invite link, adds current user to a chat if possible. Member will not be added until chat state will be synchronized with the server. Member will not be added if application is killed before it can send request to the server
Imports chat invite link, adds current user to a chat if possible. Member will not be added until chat state will be synchronized with the server
### Params:

View File

@ -37,6 +37,9 @@ $MadelineProto->[get_self](https://docs.madelineproto.xyz/get_self.html)();
***
<br><br>$MadelineProto->[addChatMembers](addChatMembers.md)(\['chat_id' => [int53](../types/int53.md), 'user_ids' => \[[int](../types/int.md)\], \]) === [$Ok](../types/Ok.md)<a name="addChatMembers"></a>
***
<br><br>$MadelineProto->[addFavoriteSticker](addFavoriteSticker.md)(\['sticker' => [InputFile](../types/InputFile.md), \]) === [$Ok](../types/Ok.md)<a name="addFavoriteSticker"></a>
***
<br><br>$MadelineProto->[addNetworkStatistics](addNetworkStatistics.md)(\['entry' => [NetworkStatisticsEntry](../types/NetworkStatisticsEntry.md), \]) === [$Ok](../types/Ok.md)<a name="addNetworkStatistics"></a>
@ -53,19 +56,19 @@ $MadelineProto->[get_self](https://docs.madelineproto.xyz/get_self.html)();
<br><br>$MadelineProto->[addStickerToSet](addStickerToSet.md)(\['user_id' => [int](../types/int.md), 'name' => [string](../types/string.md), 'sticker' => [inputSticker](../constructors/inputSticker.md), \]) === [$StickerSet](../types/StickerSet.md)<a name="addStickerToSet"></a>
***
<br><br>$MadelineProto->[answerCallbackQuery](answerCallbackQuery.md)(\['callback_query_id' => [long](../types/long.md), 'text' => [string](../types/string.md), 'show_alert' => [Bool](../types/Bool.md), 'url' => [string](../types/string.md), 'cache_time' => [int](../types/int.md), \]) === [$Ok](../types/Ok.md)<a name="answerCallbackQuery"></a>
<br><br>$MadelineProto->[answerCallbackQuery](answerCallbackQuery.md)(\['callback_query_id' => [int64](../constructors/int64.md), 'text' => [string](../types/string.md), 'show_alert' => [Bool](../types/Bool.md), 'url' => [string](../types/string.md), 'cache_time' => [int](../types/int.md), \]) === [$Ok](../types/Ok.md)<a name="answerCallbackQuery"></a>
***
<br><br>$MadelineProto->[answerCustomQuery](answerCustomQuery.md)(\['custom_query_id' => [long](../types/long.md), 'data' => [string](../types/string.md), \]) === [$Ok](../types/Ok.md)<a name="answerCustomQuery"></a>
<br><br>$MadelineProto->[answerCustomQuery](answerCustomQuery.md)(\['custom_query_id' => [int64](../constructors/int64.md), 'data' => [string](../types/string.md), \]) === [$Ok](../types/Ok.md)<a name="answerCustomQuery"></a>
***
<br><br>$MadelineProto->[answerInlineQuery](answerInlineQuery.md)(\['inline_query_id' => [long](../types/long.md), 'is_personal' => [Bool](../types/Bool.md), 'results' => \[[InputInlineQueryResult](../types/InputInlineQueryResult.md)\], 'cache_time' => [int](../types/int.md), 'next_offset' => [string](../types/string.md), 'switch_pm_text' => [string](../types/string.md), 'switch_pm_parameter' => [string](../types/string.md), \]) === [$Ok](../types/Ok.md)<a name="answerInlineQuery"></a>
<br><br>$MadelineProto->[answerInlineQuery](answerInlineQuery.md)(\['inline_query_id' => [int64](../constructors/int64.md), 'is_personal' => [Bool](../types/Bool.md), 'results' => \[[InputInlineQueryResult](../types/InputInlineQueryResult.md)\], 'cache_time' => [int](../types/int.md), 'next_offset' => [string](../types/string.md), 'switch_pm_text' => [string](../types/string.md), 'switch_pm_parameter' => [string](../types/string.md), \]) === [$Ok](../types/Ok.md)<a name="answerInlineQuery"></a>
***
<br><br>$MadelineProto->[answerPreCheckoutQuery](answerPreCheckoutQuery.md)(\['pre_checkout_query_id' => [long](../types/long.md), 'error_message' => [string](../types/string.md), \]) === [$Ok](../types/Ok.md)<a name="answerPreCheckoutQuery"></a>
<br><br>$MadelineProto->[answerPreCheckoutQuery](answerPreCheckoutQuery.md)(\['pre_checkout_query_id' => [int64](../constructors/int64.md), 'error_message' => [string](../types/string.md), \]) === [$Ok](../types/Ok.md)<a name="answerPreCheckoutQuery"></a>
***
<br><br>$MadelineProto->[answerShippingQuery](answerShippingQuery.md)(\['shipping_query_id' => [long](../types/long.md), 'shipping_options' => \[[shippingOption](../constructors/shippingOption.md)\], 'error_message' => [string](../types/string.md), \]) === [$Ok](../types/Ok.md)<a name="answerShippingQuery"></a>
<br><br>$MadelineProto->[answerShippingQuery](answerShippingQuery.md)(\['shipping_query_id' => [int64](../constructors/int64.md), 'shipping_options' => \[[shippingOption](../constructors/shippingOption.md)\], 'error_message' => [string](../types/string.md), \]) === [$Ok](../types/Ok.md)<a name="answerShippingQuery"></a>
***
<br><br>$MadelineProto->[blockUser](blockUser.md)(\['user_id' => [int](../types/int.md), \]) === [$Ok](../types/Ok.md)<a name="blockUser"></a>
@ -110,7 +113,7 @@ $MadelineProto->[get_self](https://docs.madelineproto.xyz/get_self.html)();
<br><br>$MadelineProto->[changePhoneNumber](changePhoneNumber.md)(\['phone_number' => [string](../types/string.md), 'allow_flash_call' => [Bool](../types/Bool.md), 'is_current_phone_number' => [Bool](../types/Bool.md), \]) === [$AuthState](../types/AuthState.md)<a name="changePhoneNumber"></a>
***
<br><br>$MadelineProto->[changeStickerSet](changeStickerSet.md)(\['set_id' => [long](../types/long.md), 'is_installed' => [Bool](../types/Bool.md), 'is_archived' => [Bool](../types/Bool.md), \]) === [$Ok](../types/Ok.md)<a name="changeStickerSet"></a>
<br><br>$MadelineProto->[changeStickerSet](changeStickerSet.md)(\['set_id' => [int64](../constructors/int64.md), 'is_installed' => [Bool](../types/Bool.md), 'is_archived' => [Bool](../types/Bool.md), \]) === [$Ok](../types/Ok.md)<a name="changeStickerSet"></a>
***
<br><br>$MadelineProto->[changeUsername](changeUsername.md)(\['username' => [string](../types/string.md), \]) === [$Ok](../types/Ok.md)<a name="changeUsername"></a>
@ -187,9 +190,15 @@ $MadelineProto->[get_self](https://docs.madelineproto.xyz/get_self.html)();
***
<br><br>$MadelineProto->[deleteContacts](deleteContacts.md)(\['user_ids' => \[[int](../types/int.md)\], \]) === [$Ok](../types/Ok.md)<a name="deleteContacts"></a>
***
<br><br>$MadelineProto->[deleteFavoriteSticker](deleteFavoriteSticker.md)(\['sticker' => [InputFile](../types/InputFile.md), \]) === [$Ok](../types/Ok.md)<a name="deleteFavoriteSticker"></a>
***
<br><br>$MadelineProto->[deleteFile](deleteFile.md)(\['file_id' => [int](../types/int.md), \]) === [$Ok](../types/Ok.md)<a name="deleteFile"></a>
***
<br><br>$MadelineProto->[deleteImportedContacts](deleteImportedContacts.md)(\[\]) === [$Ok](../types/Ok.md)<a name="deleteImportedContacts"></a>
***
<br><br>$MadelineProto->[deleteMessages](deleteMessages.md)(\['chat_id' => [int53](../types/int53.md), 'message_ids' => \[[int53](../types/int53.md)\], 'revoke' => [Bool](../types/Bool.md), \]) === [$Ok](../types/Ok.md)<a name="deleteMessages"></a>
@ -197,7 +206,7 @@ $MadelineProto->[get_self](https://docs.madelineproto.xyz/get_self.html)();
<br><br>$MadelineProto->[deleteMessagesFromUser](deleteMessagesFromUser.md)(\['chat_id' => [int53](../types/int53.md), 'user_id' => [int](../types/int.md), \]) === [$Ok](../types/Ok.md)<a name="deleteMessagesFromUser"></a>
***
<br><br>$MadelineProto->[deleteProfilePhoto](deleteProfilePhoto.md)(\['profile_photo_id' => [long](../types/long.md), \]) === [$Ok](../types/Ok.md)<a name="deleteProfilePhoto"></a>
<br><br>$MadelineProto->[deleteProfilePhoto](deleteProfilePhoto.md)(\['profile_photo_id' => [int64](../constructors/int64.md), \]) === [$Ok](../types/Ok.md)<a name="deleteProfilePhoto"></a>
***
<br><br>$MadelineProto->[deleteRecentHashtag](deleteRecentHashtag.md)(\['hashtag' => [string](../types/string.md), \]) === [$Ok](../types/Ok.md)<a name="deleteRecentHashtag"></a>
@ -227,7 +236,7 @@ $MadelineProto->[get_self](https://docs.madelineproto.xyz/get_self.html)();
<br><br>$MadelineProto->[deleteTopChat](deleteTopChat.md)(\['category' => [TopChatCategory](../types/TopChatCategory.md), 'chat_id' => [int53](../types/int53.md), \]) === [$Ok](../types/Ok.md)<a name="deleteTopChat"></a>
***
<br><br>$MadelineProto->[discardCall](discardCall.md)(\['call_id' => [int](../types/int.md), 'is_disconnected' => [Bool](../types/Bool.md), 'duration' => [int](../types/int.md), 'connection_id' => [long](../types/long.md), \]) === [$Ok](../types/Ok.md)<a name="discardCall"></a>
<br><br>$MadelineProto->[discardCall](discardCall.md)(\['call_id' => [int](../types/int.md), 'is_disconnected' => [Bool](../types/Bool.md), 'duration' => [int](../types/int.md), 'connection_id' => [int64](../constructors/int64.md), \]) === [$Ok](../types/Ok.md)<a name="discardCall"></a>
***
<br><br>$MadelineProto->[downloadFile](downloadFile.md)(\['file_id' => [int](../types/int.md), 'priority' => [int](../types/int.md), \]) === [$Ok](../types/Ok.md)<a name="downloadFile"></a>
@ -254,7 +263,7 @@ $MadelineProto->[get_self](https://docs.madelineproto.xyz/get_self.html)();
<br><br>$MadelineProto->[exportChatInviteLink](exportChatInviteLink.md)(\['chat_id' => [int53](../types/int53.md), \]) === [$ChatInviteLink](../types/ChatInviteLink.md)<a name="exportChatInviteLink"></a>
***
<br><br>$MadelineProto->[finishFileGeneration](finishFileGeneration.md)(\['generation_id' => [long](../types/long.md), \]) === [$Ok](../types/Ok.md)<a name="finishFileGeneration"></a>
<br><br>$MadelineProto->[finishFileGeneration](finishFileGeneration.md)(\['generation_id' => [int64](../constructors/int64.md), \]) === [$Ok](../types/Ok.md)<a name="finishFileGeneration"></a>
***
<br><br>$MadelineProto->[forwardMessages](forwardMessages.md)(\['chat_id' => [int53](../types/int53.md), 'from_chat_id' => [int53](../types/int53.md), 'message_ids' => \[[int53](../types/int53.md)\], 'disable_notification' => [Bool](../types/Bool.md), 'from_background' => [Bool](../types/Bool.md), \]) === [$Messages](../types/Messages.md)<a name="forwardMessages"></a>
@ -266,7 +275,7 @@ $MadelineProto->[get_self](https://docs.madelineproto.xyz/get_self.html)();
<br><br>$MadelineProto->[getActiveSessions](getActiveSessions.md)(\[\]) === [$Sessions](../types/Sessions.md)<a name="getActiveSessions"></a>
***
<br><br>$MadelineProto->[getArchivedStickerSets](getArchivedStickerSets.md)(\['is_masks' => [Bool](../types/Bool.md), 'offset_sticker_set_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$StickerSets](../types/StickerSets.md)<a name="getArchivedStickerSets"></a>
<br><br>$MadelineProto->[getArchivedStickerSets](getArchivedStickerSets.md)(\['is_masks' => [Bool](../types/Bool.md), 'offset_sticker_set_id' => [int64](../constructors/int64.md), 'limit' => [int](../types/int.md), \]) === [$StickerSets](../types/StickerSets.md)<a name="getArchivedStickerSets"></a>
***
<br><br>$MadelineProto->[getAttachedStickerSets](getAttachedStickerSets.md)(\['file_id' => [int](../types/int.md), \]) === [$StickerSets](../types/StickerSets.md)<a name="getAttachedStickerSets"></a>
@ -293,7 +302,7 @@ $MadelineProto->[get_self](https://docs.madelineproto.xyz/get_self.html)();
<br><br>$MadelineProto->[getChat](getChat.md)(\['chat_id' => [int53](../types/int53.md), \]) === [$Chat](../types/Chat.md)<a name="getChat"></a>
***
<br><br>$MadelineProto->[getChatEventLog](getChatEventLog.md)(\['chat_id' => [int53](../types/int53.md), 'query' => [string](../types/string.md), 'from_event_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), 'filters' => [chatEventLogFilters](../constructors/chatEventLogFilters.md), 'user_ids' => \[[int](../types/int.md)\], \]) === [$ChatEvents](../types/ChatEvents.md)<a name="getChatEventLog"></a>
<br><br>$MadelineProto->[getChatEventLog](getChatEventLog.md)(\['chat_id' => [int53](../types/int53.md), 'query' => [string](../types/string.md), 'from_event_id' => [int64](../constructors/int64.md), 'limit' => [int](../types/int.md), 'filters' => [chatEventLogFilters](../constructors/chatEventLogFilters.md), 'user_ids' => \[[int](../types/int.md)\], \]) === [$ChatEvents](../types/ChatEvents.md)<a name="getChatEventLog"></a>
***
<br><br>$MadelineProto->[getChatHistory](getChatHistory.md)(\['chat_id' => [int53](../types/int53.md), 'from_message_id' => [int53](../types/int53.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'only_local' => [Bool](../types/Bool.md), \]) === [$Messages](../types/Messages.md)<a name="getChatHistory"></a>
@ -305,7 +314,7 @@ $MadelineProto->[get_self](https://docs.madelineproto.xyz/get_self.html)();
<br><br>$MadelineProto->[getChatReportSpamState](getChatReportSpamState.md)(\['chat_id' => [int53](../types/int53.md), \]) === [$ChatReportSpamState](../types/ChatReportSpamState.md)<a name="getChatReportSpamState"></a>
***
<br><br>$MadelineProto->[getChats](getChats.md)(\['offset_order' => [long](../types/long.md), 'offset_chat_id' => [int53](../types/int53.md), 'limit' => [int](../types/int.md), \]) === [$Chats](../types/Chats.md)<a name="getChats"></a>
<br><br>$MadelineProto->[getChats](getChats.md)(\['offset_order' => [int64](../constructors/int64.md), 'offset_chat_id' => [int53](../types/int53.md), 'limit' => [int](../types/int.md), \]) === [$Chats](../types/Chats.md)<a name="getChats"></a>
***
<br><br>$MadelineProto->[getCommonChats](getCommonChats.md)(\['user_id' => [int](../types/int.md), 'offset_chat_id' => [int53](../types/int53.md), 'limit' => [int](../types/int.md), \]) === [$Chats](../types/Chats.md)<a name="getCommonChats"></a>
@ -313,9 +322,18 @@ $MadelineProto->[get_self](https://docs.madelineproto.xyz/get_self.html)();
***
<br><br>$MadelineProto->[getCreatedPublicChats](getCreatedPublicChats.md)(\[\]) === [$Chats](../types/Chats.md)<a name="getCreatedPublicChats"></a>
***
<br><br>$MadelineProto->[getFavoriteStickers](getFavoriteStickers.md)(\[\]) === [$Stickers](../types/Stickers.md)<a name="getFavoriteStickers"></a>
***
<br><br>$MadelineProto->[getFile](getFile.md)(\['file_id' => [int](../types/int.md), \]) === [$File](../types/File.md)<a name="getFile"></a>
***
<br><br>$MadelineProto->[getFileExtension](getFileExtension.md)(\['mime_type' => [string](../types/string.md), \]) === [$Text](../types/Text.md)<a name="getFileExtension"></a>
***
<br><br>$MadelineProto->[getFileMimeType](getFileMimeType.md)(\['file_name' => [string](../types/string.md), \]) === [$Text](../types/Text.md)<a name="getFileMimeType"></a>
***
<br><br>$MadelineProto->[getFilePersistent](getFilePersistent.md)(\['persistent_file_id' => [string](../types/string.md), 'file_type' => [FileType](../types/FileType.md), \]) === [$File](../types/File.md)<a name="getFilePersistent"></a>
@ -328,6 +346,9 @@ $MadelineProto->[get_self](https://docs.madelineproto.xyz/get_self.html)();
***
<br><br>$MadelineProto->[getGroupFull](getGroupFull.md)(\['group_id' => [int](../types/int.md), \]) === [$GroupFull](../types/GroupFull.md)<a name="getGroupFull"></a>
***
<br><br>$MadelineProto->[getImportedContactCount](getImportedContactCount.md)(\[\]) === [$Count](../types/Count.md)<a name="getImportedContactCount"></a>
***
<br><br>$MadelineProto->[getInlineGameHighScores](getInlineGameHighScores.md)(\['inline_message_id' => [string](../types/string.md), 'user_id' => [int](../types/int.md), \]) === [$GameHighScores](../types/GameHighScores.md)<a name="getInlineGameHighScores"></a>
@ -398,7 +419,7 @@ $MadelineProto->[get_self](https://docs.madelineproto.xyz/get_self.html)();
<br><br>$MadelineProto->[getStickerEmojis](getStickerEmojis.md)(\['sticker' => [InputFile](../types/InputFile.md), \]) === [$StickerEmojis](../types/StickerEmojis.md)<a name="getStickerEmojis"></a>
***
<br><br>$MadelineProto->[getStickerSet](getStickerSet.md)(\['set_id' => [long](../types/long.md), \]) === [$StickerSet](../types/StickerSet.md)<a name="getStickerSet"></a>
<br><br>$MadelineProto->[getStickerSet](getStickerSet.md)(\['set_id' => [int64](../constructors/int64.md), \]) === [$StickerSet](../types/StickerSet.md)<a name="getStickerSet"></a>
***
<br><br>$MadelineProto->[getStickers](getStickers.md)(\['emoji' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$Stickers](../types/Stickers.md)<a name="getStickers"></a>
@ -418,6 +439,9 @@ $MadelineProto->[get_self](https://docs.madelineproto.xyz/get_self.html)();
***
<br><br>$MadelineProto->[getTermsOfService](getTermsOfService.md)(\[\]) === [$Text](../types/Text.md)<a name="getTermsOfService"></a>
***
<br><br>$MadelineProto->[getTextEntities](getTextEntities.md)(\['text' => [string](../types/string.md), \]) === [$TextEntities](../types/TextEntities.md)<a name="getTextEntities"></a>
***
<br><br>$MadelineProto->[getTopChats](getTopChats.md)(\['category' => [TopChatCategory](../types/TopChatCategory.md), 'limit' => [int](../types/int.md), \]) === [$Chats](../types/Chats.md)<a name="getTopChats"></a>
@ -479,7 +503,7 @@ $MadelineProto->[get_self](https://docs.madelineproto.xyz/get_self.html)();
<br><br>$MadelineProto->[registerDevice](registerDevice.md)(\['device_token' => [DeviceToken](../types/DeviceToken.md), \]) === [$Ok](../types/Ok.md)<a name="registerDevice"></a>
***
<br><br>$MadelineProto->[reorderInstalledStickerSets](reorderInstalledStickerSets.md)(\['is_masks' => [Bool](../types/Bool.md), 'sticker_set_ids' => \[[long](../types/long.md)\], \]) === [$Ok](../types/Ok.md)<a name="reorderInstalledStickerSets"></a>
<br><br>$MadelineProto->[reorderInstalledStickerSets](reorderInstalledStickerSets.md)(\['is_masks' => [Bool](../types/Bool.md), 'sticker_set_ids' => \[[int64](../constructors/int64.md)\], \]) === [$Ok](../types/Ok.md)<a name="reorderInstalledStickerSets"></a>
***
<br><br>$MadelineProto->[reportChannelSpam](reportChannelSpam.md)(\['channel_id' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'message_ids' => \[[int53](../types/int53.md)\], \]) === [$Ok](../types/Ok.md)<a name="reportChannelSpam"></a>
@ -515,7 +539,7 @@ $MadelineProto->[get_self](https://docs.madelineproto.xyz/get_self.html)();
<br><br>$MadelineProto->[searchChatMembers](searchChatMembers.md)(\['chat_id' => [int53](../types/int53.md), 'query' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$ChatMembers](../types/ChatMembers.md)<a name="searchChatMembers"></a>
***
<br><br>$MadelineProto->[searchChatMessages](searchChatMessages.md)(\['chat_id' => [int53](../types/int53.md), 'query' => [string](../types/string.md), 'sender_user_id' => [int](../types/int.md), 'from_message_id' => [int53](../types/int53.md), 'limit' => [int](../types/int.md), 'filter' => [SearchMessagesFilter](../types/SearchMessagesFilter.md), \]) === [$Messages](../types/Messages.md)<a name="searchChatMessages"></a>
<br><br>$MadelineProto->[searchChatMessages](searchChatMessages.md)(\['chat_id' => [int53](../types/int53.md), 'query' => [string](../types/string.md), 'sender_user_id' => [int](../types/int.md), 'from_message_id' => [int53](../types/int53.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'filter' => [SearchMessagesFilter](../types/SearchMessagesFilter.md), \]) === [$Messages](../types/Messages.md)<a name="searchChatMessages"></a>
***
<br><br>$MadelineProto->[searchChats](searchChats.md)(\['query' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) === [$Chats](../types/Chats.md)<a name="searchChats"></a>
@ -536,7 +560,7 @@ $MadelineProto->[get_self](https://docs.madelineproto.xyz/get_self.html)();
<br><br>$MadelineProto->[searchPublicChats](searchPublicChats.md)(\['username_prefix' => [string](../types/string.md), \]) === [$Chats](../types/Chats.md)<a name="searchPublicChats"></a>
***
<br><br>$MadelineProto->[searchSecretMessages](searchSecretMessages.md)(\['chat_id' => [int53](../types/int53.md), 'query' => [string](../types/string.md), 'from_search_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), 'filter' => [SearchMessagesFilter](../types/SearchMessagesFilter.md), \]) === [$FoundMessages](../types/FoundMessages.md)<a name="searchSecretMessages"></a>
<br><br>$MadelineProto->[searchSecretMessages](searchSecretMessages.md)(\['chat_id' => [int53](../types/int53.md), 'query' => [string](../types/string.md), 'from_search_id' => [int64](../constructors/int64.md), 'limit' => [int](../types/int.md), 'filter' => [SearchMessagesFilter](../types/SearchMessagesFilter.md), \]) === [$FoundMessages](../types/FoundMessages.md)<a name="searchSecretMessages"></a>
***
<br><br>$MadelineProto->[searchStickerSet](searchStickerSet.md)(\['name' => [string](../types/string.md), \]) === [$StickerSet](../types/StickerSet.md)<a name="searchStickerSet"></a>
@ -557,7 +581,7 @@ $MadelineProto->[get_self](https://docs.madelineproto.xyz/get_self.html)();
<br><br>$MadelineProto->[sendCustomRequest](sendCustomRequest.md)(\['method' => [string](../types/string.md), 'parameters' => [string](../types/string.md), \]) === [$CustomRequestResult](../types/CustomRequestResult.md)<a name="sendCustomRequest"></a>
***
<br><br>$MadelineProto->[sendInlineQueryResultMessage](sendInlineQueryResultMessage.md)(\['chat_id' => [int53](../types/int53.md), 'reply_to_message_id' => [int53](../types/int53.md), 'disable_notification' => [Bool](../types/Bool.md), 'from_background' => [Bool](../types/Bool.md), 'query_id' => [long](../types/long.md), 'result_id' => [string](../types/string.md), \]) === [$Message](../types/Message.md)<a name="sendInlineQueryResultMessage"></a>
<br><br>$MadelineProto->[sendInlineQueryResultMessage](sendInlineQueryResultMessage.md)(\['chat_id' => [int53](../types/int53.md), 'reply_to_message_id' => [int53](../types/int53.md), 'disable_notification' => [Bool](../types/Bool.md), 'from_background' => [Bool](../types/Bool.md), 'query_id' => [int64](../constructors/int64.md), 'result_id' => [string](../types/string.md), \]) === [$Message](../types/Message.md)<a name="sendInlineQueryResultMessage"></a>
***
<br><br>$MadelineProto->[sendMessage](sendMessage.md)(\['chat_id' => [int53](../types/int53.md), 'reply_to_message_id' => [int53](../types/int53.md), 'disable_notification' => [Bool](../types/Bool.md), 'from_background' => [Bool](../types/Bool.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), 'input_message_content' => [InputMessageContent](../types/InputMessageContent.md), \]) === [$Message](../types/Message.md)<a name="sendMessage"></a>
@ -574,11 +598,14 @@ $MadelineProto->[get_self](https://docs.madelineproto.xyz/get_self.html)();
***
<br><br>$MadelineProto->[setBotUpdatesStatus](setBotUpdatesStatus.md)(\['pending_update_count' => [int](../types/int.md), 'error_message' => [string](../types/string.md), \]) === [$Ok](../types/Ok.md)<a name="setBotUpdatesStatus"></a>
***
<br><br>$MadelineProto->[setChannelStickerSet](setChannelStickerSet.md)(\['channel_id' => [int](../types/int.md), 'sticker_set_id' => [int64](../constructors/int64.md), \]) === [$Ok](../types/Ok.md)<a name="setChannelStickerSet"></a>
***
<br><br>$MadelineProto->[setChatClientData](setChatClientData.md)(\['chat_id' => [int53](../types/int53.md), 'client_data' => [string](../types/string.md), \]) === [$Ok](../types/Ok.md)<a name="setChatClientData"></a>
***
<br><br>$MadelineProto->[setFileGenerationProgress](setFileGenerationProgress.md)(\['generation_id' => [long](../types/long.md), 'size' => [int](../types/int.md), 'local_size' => [int](../types/int.md), \]) === [$Ok](../types/Ok.md)<a name="setFileGenerationProgress"></a>
<br><br>$MadelineProto->[setFileGenerationProgress](setFileGenerationProgress.md)(\['generation_id' => [int64](../constructors/int64.md), 'size' => [int](../types/int.md), 'local_size' => [int](../types/int.md), \]) === [$Ok](../types/Ok.md)<a name="setFileGenerationProgress"></a>
***
<br><br>$MadelineProto->[setGameScore](setGameScore.md)(\['chat_id' => [int53](../types/int53.md), 'message_id' => [int53](../types/int53.md), 'edit_message' => [Bool](../types/Bool.md), 'user_id' => [int](../types/int.md), 'score' => [int](../types/int.md), 'force' => [Bool](../types/Bool.md), \]) === [$Message](../types/Message.md)<a name="setGameScore"></a>
@ -620,7 +647,7 @@ $MadelineProto->[get_self](https://docs.madelineproto.xyz/get_self.html)();
<br><br>$MadelineProto->[terminateAllOtherSessions](terminateAllOtherSessions.md)(\[\]) === [$Ok](../types/Ok.md)<a name="terminateAllOtherSessions"></a>
***
<br><br>$MadelineProto->[terminateSession](terminateSession.md)(\['session_id' => [long](../types/long.md), \]) === [$Ok](../types/Ok.md)<a name="terminateSession"></a>
<br><br>$MadelineProto->[terminateSession](terminateSession.md)(\['session_id' => [int64](../constructors/int64.md), \]) === [$Ok](../types/Ok.md)<a name="terminateSession"></a>
***
<br><br>$MadelineProto->[testCallBytes](testCallBytes.md)(\['x' => [bytes](../types/bytes.md), \]) === [$TestBytes](../types/TestBytes.md)<a name="testCallBytes"></a>
@ -689,5 +716,5 @@ $MadelineProto->[get_self](https://docs.madelineproto.xyz/get_self.html)();
<br><br>$MadelineProto->[viewMessages](viewMessages.md)(\['chat_id' => [int53](../types/int53.md), 'message_ids' => \[[int53](../types/int53.md)\], \]) === [$Ok](../types/Ok.md)<a name="viewMessages"></a>
***
<br><br>$MadelineProto->[viewTrendingStickerSets](viewTrendingStickerSets.md)(\['sticker_set_ids' => \[[long](../types/long.md)\], \]) === [$Ok](../types/Ok.md)<a name="viewTrendingStickerSets"></a>
<br><br>$MadelineProto->[viewTrendingStickerSets](viewTrendingStickerSets.md)(\['sticker_set_ids' => \[[int64](../constructors/int64.md)\], \]) === [$Ok](../types/Ok.md)<a name="viewTrendingStickerSets"></a>

View File

@ -16,7 +16,7 @@ Changes the order of installed sticker sets
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|is\_masks|[Bool](../types/Bool.md) | Yes|Pass true to change mask sticker sets order, pass false to change ordinary sticker sets order|
|sticker\_set\_ids|Array of [long](../types/long.md) | Yes|Identifiers of installed sticker sets in the new right order|
|sticker\_set\_ids|Array of [int64](../constructors/int64.md) | Yes|Identifiers of installed sticker sets in the new right order|
### Return type: [Ok](../types/Ok.md)

View File

@ -15,12 +15,13 @@ Searches for messages with given words in the chat. Returns result in reverse ch
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|chat\_id|[int53](../types/int53.md) | Yes|Chat identifier to search in|
|chat\_id|[int53](../types/int53.md) | Yes|Chat identifier to search messages in|
|query|[string](../types/string.md) | Yes|Query to search for|
|sender\_user\_id|[int](../types/int.md) | Yes|If not 0, only messages sent by the specified user will be returned. Doesn't supported in secret chats|
|from\_message\_id|[int53](../types/int53.md) | Yes|Identifier of the message from which we need a history, you can use 0 to get results from the beginning|
|limit|[int](../types/int.md) | Yes|Maximum number of messages to be returned, can't be greater than 100. There may be less than limit messages returned even the end of the history is not reached|
|filter|[SearchMessagesFilter](../types/SearchMessagesFilter.md) | Yes|Filter for content of searched messages|
|offset|[int](../types/int.md) | Yes|Specify 0 to get results exactly from from_message_id or negative offset to get specified message and some newer messages|
|limit|[int](../types/int.md) | Yes|Maximum number of messages to be returned, should be positive and can't be greater than 100. If offset is negative, limit must be greater than -offset. There may be less than limit messages returned even the end of the history is not reached|
|filter|[SearchMessagesFilter](../types/SearchMessagesFilter.md) | Yes|Filter for content of the searched messages|
### Return type: [Messages](../types/Messages.md)

View File

@ -17,7 +17,7 @@ Searches for messages in secret chats. Returns result in reverse chronological o
|----------|---------------|----------|-------------|
|chat\_id|[int53](../types/int53.md) | Yes|Identifier of a chat to search in. Specify 0 to search in all secret chats|
|query|[string](../types/string.md) | Yes|Query to search for. If empty, searchChatMessages should be used instead|
|from\_search\_id|[long](../types/long.md) | Yes|Identifier from the result of previous request, use 0 to get results from the beginning|
|from\_search\_id|[int64](../constructors/int64.md) | Yes|Identifier from the result of previous request, use 0 to get results from the beginning|
|limit|[int](../types/int.md) | Yes|Maximum number of messages to be returned, can't be greater than 100|
|filter|[SearchMessagesFilter](../types/SearchMessagesFilter.md) | Yes|Filter for content of searched messages|

View File

@ -1,6 +1,6 @@
---
title: sendBotStartMessage
description: Invites bot to a chat (if it is not in the chat) and send /start to it. Bot can't be invited to a private chat other than chat with the bot. Bots can't be invited to broadcast channel chats and secret chats. Returns sent message. UpdateChatTopMessage will not be sent, so returned message should be used to update chat top message
description: Invites bot to a chat (if it is not in the chat) and send /start to it. Bot can't be invited to a private chat other than chat with the bot. Bots can't be invited to broadcast channel chats and secret chats. Returns sent message
---
## Method: sendBotStartMessage
[Back to methods index](index.md)
@ -9,7 +9,7 @@ description: Invites bot to a chat (if it is not in the chat) and send /start to
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
Invites bot to a chat (if it is not in the chat) and send /start to it. Bot can't be invited to a private chat other than chat with the bot. Bots can't be invited to broadcast channel chats and secret chats. Returns sent message. UpdateChatTopMessage will not be sent, so returned message should be used to update chat top message
Invites bot to a chat (if it is not in the chat) and send /start to it. Bot can't be invited to a private chat other than chat with the bot. Bots can't be invited to broadcast channel chats and secret chats. Returns sent message
### Params:

View File

@ -1,6 +1,6 @@
---
title: sendInlineQueryResultMessage
description: Sends result of the inline query as a message. Returns sent message. UpdateChatTopMessage will not be sent, so returned message should be used to update chat top message. Always clears chat draft message
description: Sends result of the inline query as a message. Returns sent message. Always clears chat draft message
---
## Method: sendInlineQueryResultMessage
[Back to methods index](index.md)
@ -9,7 +9,7 @@ description: Sends result of the inline query as a message. Returns sent message
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
Sends result of the inline query as a message. Returns sent message. UpdateChatTopMessage will not be sent, so returned message should be used to update chat top message. Always clears chat draft message
Sends result of the inline query as a message. Returns sent message. Always clears chat draft message
### Params:
@ -19,7 +19,7 @@ Sends result of the inline query as a message. Returns sent message. UpdateChatT
|reply\_to\_message\_id|[int53](../types/int53.md) | Yes|Identifier of a message to reply to or 0|
|disable\_notification|[Bool](../types/Bool.md) | Yes|Pass true, to disable notification about the message, doesn't works in secret chats|
|from\_background|[Bool](../types/Bool.md) | Yes|Pass true, if the message is sent from background|
|query\_id|[long](../types/long.md) | Yes|Identifier of the inline query|
|query\_id|[int64](../constructors/int64.md) | Yes|Identifier of the inline query|
|result\_id|[string](../types/string.md) | Yes|Identifier of the inline result|

View File

@ -1,6 +1,6 @@
---
title: sendMessage
description: Sends a message. Returns sent message. UpdateChatTopMessage will not be sent, so returned message should be used to update chat top message
description: Sends a message. Returns sent message
---
## Method: sendMessage
[Back to methods index](index.md)
@ -9,7 +9,7 @@ description: Sends a message. Returns sent message. UpdateChatTopMessage will no
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
Sends a message. Returns sent message. UpdateChatTopMessage will not be sent, so returned message should be used to update chat top message
Sends a message. Returns sent message
### Params:

View File

@ -0,0 +1,23 @@
---
title: setChannelStickerSet
description: Changes sticker set of the channel. Needs appropriate rights in the channel
---
## Method: setChannelStickerSet
[Back to methods index](index.md)
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
Changes sticker set of the channel. Needs appropriate rights in the channel
### Params:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|channel\_id|[int](../types/int.md) | Yes|Identifier of the channel|
|sticker\_set\_id|[int64](../constructors/int64.md) | Yes|New value of channel sticker set identifier. Use 0 to remove channel sticker set|
### Return type: [Ok](../types/Ok.md)

View File

@ -15,7 +15,7 @@ Next part of a file was generated
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|generation\_id|[long](../types/long.md) | Yes|Identifier of the generation process|
|generation\_id|[int64](../constructors/int64.md) | Yes|Identifier of the generation process|
|size|[int](../types/int.md) | Yes|Full size of file in bytes, 0 if unknown.|
|local\_size|[int](../types/int.md) | Yes|Number of bytes already generated. Negative number means that generation has failed and should be terminated|

View File

@ -1,6 +1,6 @@
---
title: setNetworkType
description: Sets current network type. Can be called before authorization. Call to this method forces reopening of all network connections mitigating delay in switching between different networks, so it should be called whenever network is changed even network type remains the same. Network type is used to check if library can use network at all and for collecting detailed network data usage statistics
description: Sets current network type. Can be called before authorization. Call to this method forces reopening of all network connections mitigating delay in switching between different networks, so it should be called whenever network is changed even network type remains the same. -Network type is used to check if library can use network at all and for collecting detailed network data usage statistics
---
## Method: setNetworkType
[Back to methods index](index.md)
@ -9,7 +9,7 @@ description: Sets current network type. Can be called before authorization. Call
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
Sets current network type. Can be called before authorization. Call to this method forces reopening of all network connections mitigating delay in switching between different networks, so it should be called whenever network is changed even network type remains the same. Network type is used to check if library can use network at all and for collecting detailed network data usage statistics
Sets current network type. Can be called before authorization. Call to this method forces reopening of all network connections mitigating delay in switching between different networks, so it should be called whenever network is changed even network type remains the same. -Network type is used to check if library can use network at all and for collecting detailed network data usage statistics
### Params:

View File

@ -1,6 +1,6 @@
---
title: setProfilePhoto
description: Uploads new profile photo for logged in user. Photo will not change until change will be synchronized with the server. Photo will not be changed if application is killed before it can send request to the server. If something changes, updateUser will be sent
description: Uploads new profile photo for logged in user. If something changes, updateUser will be sent
---
## Method: setProfilePhoto
[Back to methods index](index.md)
@ -9,7 +9,7 @@ description: Uploads new profile photo for logged in user. Photo will not change
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
Uploads new profile photo for logged in user. Photo will not change until change will be synchronized with the server. Photo will not be changed if application is killed before it can send request to the server. If something changes, updateUser will be sent
Uploads new profile photo for logged in user. If something changes, updateUser will be sent
### Params:

View File

@ -15,7 +15,7 @@ Terminates another session of logged in user
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|session\_id|[long](../types/long.md) | Yes|Session identifier|
|session\_id|[int64](../constructors/int64.md) | Yes|Session identifier|
### Return type: [Ok](../types/Ok.md)

Some files were not shown because too many files have changed in this diff Show More