diff --git a/data/core.telegram.org/api/geochats.html b/data/core.telegram.org/api/geochats.html deleted file mode 100644 index 703ed750f7..0000000000 --- a/data/core.telegram.org/api/geochats.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - Nope - - - - - - - - - - - - - -
- -
-
-
- -

Nope

- -

Deprecated old docs. This was definitely not the droid you were looking for.

- -
- -
-
- -
- - - - - - diff --git a/data/core.telegram.org/api/pfs.html b/data/core.telegram.org/api/pfs.html deleted file mode 100644 index fb931f0d94..0000000000 --- a/data/core.telegram.org/api/pfs.html +++ /dev/null @@ -1,138 +0,0 @@ - - - - - Perfect Forward Secrecy - - - - - - - - - - - - - -
- -
-
-
- -

Perfect Forward Secrecy

- -
Related articles
-

-
-

This article is about Perfect Forward Secrecy in cloud chats, see also PFS in Secret Chats.

-
-
-

Telegram supports Perfect Forward Secrecy (PFS).

-

To make this possible, the client generates a permanent authorization key using p_q_inner_data and a temporary key using p_q_inner_data_temp. (See Creating an Authorization Key for more info.) These 2 operations may be done in parallel and even using the same connection. The client must save an expires_at unix timestamp expires_at = time + expires_in.

-

Important: in order to achieve PFS, the client must never use the permanent auth_key_id directly. Every message that is sent to MTProto, must be encrypted by a temp_auth_key_id, that was bound to the perm_auth_key_id.

-

An unbound temp_auth_key_id may only be used with the following methods:

- -

In order to bind a temporary authorization key to the permanent key the client creates a special binding message and executes the auth.bindTempAuthKey method using temp_auth_key. Once auth.bindTempAuthKey has been executed successfully, the client may signUp / signIn using other auth.* methods and continue using the API as usual; the client must also rewrite client info using initConnection after each binding. Each permanent key may only be bound to one temporary key at a time, binding a new temporary key overwrites the previous one.

-

Once the temporary key expires, the client needs to generate a new temporary key using p_q_inner_data_temp. Then it needs to re-bind that new temporary key to the initial permanent key. A new key can also be generated in advance, so that the client has a new key ready by the time the old one has expired.

-

For additional security, the client can store the temporary authorization key in RAM only and never save it in persistent storage.

-

A temporary authorization key may expire at any moment before expires_at, since such keys are also stored only in the RAM on the server-side. Be prepared to handle resulting MTProto errors correctly (non-existent auth_key_id results in a 404 error).

- -
- -
-
- -
- - - - - - diff --git a/data/core.telegram.org/constructor/account.tmpPassword b/data/core.telegram.org/constructor/account.tmpPassword deleted file mode 100644 index bb79d741c8..0000000000 --- a/data/core.telegram.org/constructor/account.tmpPassword +++ /dev/null @@ -1,152 +0,0 @@ - - - - - account.tmpPassword - - - - - - - - - - - - - -
- -
-
-
- -

account.tmpPassword

- -

Temporary payment password

-

-
account.tmpPassword#db64fd34 tmp_password:bytes valid_until:int = account.TmpPassword;

-

Parameters

- - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
tmp_passwordbytesTemporary password
valid_untilintValidity period
-

Type

-

account.TmpPassword

- -
- -
-
- -
- - - - - - diff --git a/data/core.telegram.org/constructor/auth.sentCodeTypeFlashCall b/data/core.telegram.org/constructor/auth.sentCodeTypeFlashCall deleted file mode 100644 index 2eb2e61508..0000000000 --- a/data/core.telegram.org/constructor/auth.sentCodeTypeFlashCall +++ /dev/null @@ -1,150 +0,0 @@ - - - - - auth.sentCodeTypeFlashCall - - - - - - - - - - - - - -
- -
-
-
- -

auth.sentCodeTypeFlashCall

- -

The code will be sent via a flash phone call, that will be closed immediately. The phone code will then be the phone number itself, just make sure that the phone number matches the specified pattern.

-

-
auth.sentCodeTypeFlashCall#ab03c6d9 pattern:string = auth.SentCodeType;

-

Parameters

- - - - - - - - - - - - - - - -
NameTypeDescription
patternstringpattern to match
-

Type

-

auth.SentCodeType

-

Related pages

-

Pattern matching

-

Some methods require the client to verify if the data obtained from an external source matches a certain pattern.

- -
- -
-
- -
- - - - - - diff --git a/data/core.telegram.org/constructor/channelAdminLogEventActionParticipantToggleAdmin.html b/data/core.telegram.org/constructor/channelAdminLogEventActionParticipantToggleAdmin.html deleted file mode 100644 index d4661050c5..0000000000 --- a/data/core.telegram.org/constructor/channelAdminLogEventActionParticipantToggleAdmin.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - channelAdminLogEventActionParticipantToggleAdmin - - - - - - - - - - - - - -
- -
-
-
- -

channelAdminLogEventActionParticipantToggleAdmin

- -

The admin rights of a user were changed

-

-
channelAdminLogEventActionParticipantToggleAdmin#d5676710 prev_participant:ChannelParticipant new_participant:ChannelParticipant = ChannelAdminLogEventAction;

-

Parameters

- - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
prev_participantChannelParticipantPrevious admin rights
new_participantChannelParticipantNew admin rights
-

Type

-

ChannelAdminLogEventAction

-

Related pages

-

Admin, banned, default rights

-

How to handle admin permissions, granular bans and global permissions in channels, groups and supergroups.

- -
- -
-
- -
- - - - - - diff --git a/data/core.telegram.org/constructor/channelMessagesFilterEmpty.html b/data/core.telegram.org/constructor/channelMessagesFilterEmpty.html deleted file mode 100644 index a4bcd21627..0000000000 --- a/data/core.telegram.org/constructor/channelMessagesFilterEmpty.html +++ /dev/null @@ -1,132 +0,0 @@ - - - - - channelMessagesFilterEmpty - - - - - - - - - - - - - -
- -
- -
- -
- - - - - - diff --git a/data/core.telegram.org/constructor/channelParticipantsAdmins.html b/data/core.telegram.org/constructor/channelParticipantsAdmins.html deleted file mode 100644 index bc981016c4..0000000000 --- a/data/core.telegram.org/constructor/channelParticipantsAdmins.html +++ /dev/null @@ -1,132 +0,0 @@ - - - - - channelParticipantsAdmins - - - - - - - - - - - - - -
- -
-
-
- -

channelParticipantsAdmins

- - - -
- -
-
- -
- - - - - - diff --git a/data/core.telegram.org/constructor/channels.adminLogResults b/data/core.telegram.org/constructor/channels.adminLogResults deleted file mode 100644 index 3bf7720834..0000000000 --- a/data/core.telegram.org/constructor/channels.adminLogResults +++ /dev/null @@ -1,157 +0,0 @@ - - - - - channels.adminLogResults - - - - - - - - - - - - - -
- -
-
-
- -

channels.adminLogResults

- -

Admin log events

-

-
channels.adminLogResults#ed8af74d events:Vector<ChannelAdminLogEvent> chats:Vector<Chat> users:Vector<User> = channels.AdminLogResults;

-

Parameters

- - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
eventsVector<ChannelAdminLogEvent>Admin log events
chatsVector<Chat>Chats mentioned in events
usersVector<User>Users mentioned in events
-

Type

-

channels.AdminLogResults

- -
- -
-
- -
- - - - - - diff --git a/data/core.telegram.org/constructor/contacts.topPeersDisabled b/data/core.telegram.org/constructor/contacts.topPeersDisabled deleted file mode 100644 index bc9fcf7044..0000000000 --- a/data/core.telegram.org/constructor/contacts.topPeersDisabled +++ /dev/null @@ -1,132 +0,0 @@ - - - - - contacts.topPeersDisabled - - - - - - - - - - - - - -
- -
- -
- -
- - - - - - diff --git a/data/core.telegram.org/constructor/decryptedMessageActionFlushHistory.html b/data/core.telegram.org/constructor/decryptedMessageActionFlushHistory.html deleted file mode 100644 index fbd24979cf..0000000000 --- a/data/core.telegram.org/constructor/decryptedMessageActionFlushHistory.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - - decryptedMessageActionFlushHistory - - - - - - - - - - - - - -
- -
-
-
- -

decryptedMessageActionFlushHistory

- - - -
- -
-
- -
- - - - - - diff --git a/data/core.telegram.org/constructor/decryptedMessageMediaWebPage.html b/data/core.telegram.org/constructor/decryptedMessageMediaWebPage.html deleted file mode 100644 index e312bd108f..0000000000 --- a/data/core.telegram.org/constructor/decryptedMessageMediaWebPage.html +++ /dev/null @@ -1,148 +0,0 @@ - - - - - decryptedMessageMediaWebPage - - - - - - - - - - - - - -
- -
-
-
- -

decryptedMessageMediaWebPage

- - - -
- -
-
- -
- - - - - - diff --git a/data/core.telegram.org/constructor/dialogPeerFolder.html b/data/core.telegram.org/constructor/dialogPeerFolder.html deleted file mode 100644 index 8e1ea4fae8..0000000000 --- a/data/core.telegram.org/constructor/dialogPeerFolder.html +++ /dev/null @@ -1,150 +0,0 @@ - - - - - dialogPeerFolder - - - - - - - - - - - - - -
- -
-
-
- -

dialogPeerFolder

- -

Peer folder

-

-
dialogPeerFolder#514519e2 folder_id:int = DialogPeer;

-

Parameters

- - - - - - - - - - - - - - - -
NameTypeDescription
folder_idintPeer folder ID, for more info click here
-

Type

-

DialogPeer

-

Related pages

-

Folders

-

Telegram allows placing chats into folders, based on their type, mute status, or other custom criteria, thanks to folder blacklists and whitelists.

- -
- -
-
- -
- - - - - - diff --git a/data/core.telegram.org/constructor/draftMessageEmpty.html b/data/core.telegram.org/constructor/draftMessageEmpty.html deleted file mode 100644 index f9aadc2853..0000000000 --- a/data/core.telegram.org/constructor/draftMessageEmpty.html +++ /dev/null @@ -1,152 +0,0 @@ - - - - - draftMessageEmpty - - - - - - - - - - - - - -
- -
-
-
- -

draftMessageEmpty

- -

Empty draft

-

-
draftMessageEmpty#1b0c841a flags:# date:flags.0?int = DraftMessage;

-

Parameters

- - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
flags#Flags, see TL conditional fields
dateflags.0?intWhen was the draft last updated
-

Type

-

DraftMessage

- -
- -
-
- -
- - - - - - diff --git a/data/core.telegram.org/constructor/emojiURL.html b/data/core.telegram.org/constructor/emojiURL.html deleted file mode 100644 index f1daa8cf2e..0000000000 --- a/data/core.telegram.org/constructor/emojiURL.html +++ /dev/null @@ -1,147 +0,0 @@ - - - - - emojiURL - - - - - - - - - - - - - -
- -
-
-
- -

emojiURL

- -

An HTTP URL which can be used to automatically log in into translation platform and suggest new emoji replacements. The URL will be valid for 30 seconds after generation

-

-
emojiURL#a575739d url:string = EmojiURL;

-

Parameters

- - - - - - - - - - - - - - - -
NameTypeDescription
urlstringAn HTTP URL which can be used to automatically log in into translation platform and suggest new emoji replacements. The URL will be valid for 30 seconds after generation
-

Type

-

EmojiURL

- -
- -
-
- -
- - - - - - diff --git a/data/core.telegram.org/constructor/encryptedFile.html b/data/core.telegram.org/constructor/encryptedFile.html deleted file mode 100644 index cac1023d61..0000000000 --- a/data/core.telegram.org/constructor/encryptedFile.html +++ /dev/null @@ -1,167 +0,0 @@ - - - - - encryptedFile - - - - - - - - - - - - - -
- -
-
-
- -

encryptedFile

- -

Encrypted file.

-

-
encryptedFile#4a70994c id:long access_hash:long size:int dc_id:int key_fingerprint:int = EncryptedFile;

-

Parameters

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
idlongFile ID
access_hashlongChecking sum depending on user ID
sizeintFile size in bytes
dc_idintNumber of data centre
key_fingerprintint32-bit fingerprint of key used for file encryption
-

Type

-

EncryptedFile

- -
- -
-
- -
- - - - - - diff --git a/data/core.telegram.org/constructor/inputMessagesFilterUrl.html b/data/core.telegram.org/constructor/inputMessagesFilterUrl.html deleted file mode 100644 index be3c935f14..0000000000 --- a/data/core.telegram.org/constructor/inputMessagesFilterUrl.html +++ /dev/null @@ -1,132 +0,0 @@ - - - - - inputMessagesFilterUrl - - - - - - - - - - - - - -
- -
- -
- -
- - - - - - diff --git a/data/core.telegram.org/constructor/keyboardButtonCallback.html b/data/core.telegram.org/constructor/keyboardButtonCallback.html deleted file mode 100644 index aa7bd59c32..0000000000 --- a/data/core.telegram.org/constructor/keyboardButtonCallback.html +++ /dev/null @@ -1,167 +0,0 @@ - - - - - keyboardButtonCallback - - - - - - - - - - - - - -
- -
-
-
- -

keyboardButtonCallback

- -

Callback button

-

-
keyboardButtonCallback#35bbdb6b flags:# requires_password:flags.0?true text:string data:bytes = KeyboardButton;

-

Parameters

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
flags#Flags, see TL conditional fields
requires_passwordflags.0?trueWhether the user should verify his identity by entering his 2FA SRP parameters to the messages.getBotCallbackAnswer method. NOTE: telegram and the bot WILL NOT have access to the plaintext password, thanks to SRP. This button is mainly used by the official @botfather bot, for verifying the user's identity before transferring ownership of a bot to another user.
textstringButton text
databytesCallback data
-

Type

-

KeyboardButton

-

Related pages

-

Two-factor authentication

-

How to login to a user's account if they have enabled 2FA, how to change password.

-

messages.getBotCallbackAnswer

-

Press an inline callback button and get a callback answer from the bot

- -
- -
-
- -
- - - - - - diff --git a/data/core.telegram.org/constructor/langPackLanguage.html b/data/core.telegram.org/constructor/langPackLanguage.html deleted file mode 100644 index d7b419e2d5..0000000000 --- a/data/core.telegram.org/constructor/langPackLanguage.html +++ /dev/null @@ -1,202 +0,0 @@ - - - - - langPackLanguage - - - - - - - - - - - - - -
- -
-
-
- -

langPackLanguage

- -

Identifies a localization pack

-

-
langPackLanguage#eeca5ce3 flags:# official:flags.0?true rtl:flags.2?true beta:flags.3?true name:string native_name:string lang_code:string base_lang_code:flags.1?string plural_code:string strings_count:int translated_count:int translations_url:string = LangPackLanguage;

-

Parameters

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
flags#Flags, see TL conditional fields
officialflags.0?trueWhether the language pack is official
rtlflags.2?trueIs this a localization pack for an RTL language
betaflags.3?trueIs this a beta localization pack?
namestringLanguage name
native_namestringLanguage name in the language itself
lang_codestringLanguage code (pack identifier)
base_lang_codeflags.1?stringIdentifier of a base language pack; may be empty. If a string is missed in the language pack, then it should be fetched from base language pack. Unsupported in custom language packs
plural_codestringA language code to be used to apply plural forms. See https://www.unicode.org/cldr/charts/latest/supplemental/language_plural_rules.html for more info
strings_countintTotal number of non-deleted strings from the language pack
translated_countintTotal number of translated strings from the language pack
translations_urlstringLink to language translation interface; empty for custom local language packs
-

Type

-

LangPackLanguage

- -
- -
-
- -
- - - - - - diff --git a/data/core.telegram.org/constructor/messageActionChatDeletePhoto.html b/data/core.telegram.org/constructor/messageActionChatDeletePhoto.html deleted file mode 100644 index f723e8a4d8..0000000000 --- a/data/core.telegram.org/constructor/messageActionChatDeletePhoto.html +++ /dev/null @@ -1,132 +0,0 @@ - - - - - messageActionChatDeletePhoto - - - - - - - - - - - - - -
- -
-
- - -
-
- -
- - - - - - diff --git a/data/core.telegram.org/constructor/messageActionPinMessage.html b/data/core.telegram.org/constructor/messageActionPinMessage.html deleted file mode 100644 index 3025f23424..0000000000 --- a/data/core.telegram.org/constructor/messageActionPinMessage.html +++ /dev/null @@ -1,132 +0,0 @@ - - - - - messageActionPinMessage - - - - - - - - - - - - - -
- -
- -
- -
- - - - - - diff --git a/data/core.telegram.org/constructor/messageRange.html b/data/core.telegram.org/constructor/messageRange.html deleted file mode 100644 index b0c4886bb6..0000000000 --- a/data/core.telegram.org/constructor/messageRange.html +++ /dev/null @@ -1,152 +0,0 @@ - - - - - messageRange - - - - - - - - - - - - - -
- -
-
-
- -

messageRange

- -

Indicates a range of chat messages

-

-
messageRange#ae30253 min_id:int max_id:int = MessageRange;

-

Parameters

- - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
min_idintStart of range (message ID)
max_idintEnd of range (message ID)
-

Type

-

MessageRange

- -
- -
-
- -
- - - - - - diff --git a/data/core.telegram.org/constructor/messages.dhConfigNotModified b/data/core.telegram.org/constructor/messages.dhConfigNotModified deleted file mode 100644 index 9c86700137..0000000000 --- a/data/core.telegram.org/constructor/messages.dhConfigNotModified +++ /dev/null @@ -1,147 +0,0 @@ - - - - - messages.dhConfigNotModified - - - - - - - - - - - - - -
- -
-
-
- -

messages.dhConfigNotModified

- - - -
- -
-
- -
- - - - - - diff --git a/data/core.telegram.org/constructor/pageBlockTitle.html b/data/core.telegram.org/constructor/pageBlockTitle.html deleted file mode 100644 index 5df5909986..0000000000 --- a/data/core.telegram.org/constructor/pageBlockTitle.html +++ /dev/null @@ -1,147 +0,0 @@ - - - - - pageBlockTitle - - - - - - - - - - - - - -
- -
- -
- -
- - - - - - diff --git a/data/core.telegram.org/constructor/pageListOrderedItemBlocks.html b/data/core.telegram.org/constructor/pageListOrderedItemBlocks.html deleted file mode 100644 index 1858394e69..0000000000 --- a/data/core.telegram.org/constructor/pageListOrderedItemBlocks.html +++ /dev/null @@ -1,152 +0,0 @@ - - - - - pageListOrderedItemBlocks - - - - - - - - - - - - - -
- -
-
-
- -

pageListOrderedItemBlocks

- -

Ordered list of IV blocks

-

-
pageListOrderedItemBlocks#98dd8936 num:string blocks:Vector<PageBlock> = PageListOrderedItem;

-

Parameters

- - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
numstringNumber of element within ordered list
blocksVector<PageBlock>Item contents
-

Type

-

PageListOrderedItem

- -
- -
-
- -
- - - - - - diff --git a/data/core.telegram.org/constructor/peerChannel.html b/data/core.telegram.org/constructor/peerChannel.html deleted file mode 100644 index f2adf42043..0000000000 --- a/data/core.telegram.org/constructor/peerChannel.html +++ /dev/null @@ -1,147 +0,0 @@ - - - - - peerChannel - - - - - - - - - - - - - -
- -
- -
- -
- - - - - - diff --git a/data/core.telegram.org/constructor/phoneCallDiscardReasonDisconnect.html b/data/core.telegram.org/constructor/phoneCallDiscardReasonDisconnect.html deleted file mode 100644 index 12aecd88f7..0000000000 --- a/data/core.telegram.org/constructor/phoneCallDiscardReasonDisconnect.html +++ /dev/null @@ -1,132 +0,0 @@ - - - - - phoneCallDiscardReasonDisconnect - - - - - - - - - - - - - -
- -
-
-
- -

phoneCallDiscardReasonDisconnect

- - - -
- -
-
- -
- - - - - - diff --git a/data/core.telegram.org/constructor/privacyValueAllowContacts.html b/data/core.telegram.org/constructor/privacyValueAllowContacts.html deleted file mode 100644 index f8f9d65754..0000000000 --- a/data/core.telegram.org/constructor/privacyValueAllowContacts.html +++ /dev/null @@ -1,132 +0,0 @@ - - - - - privacyValueAllowContacts - - - - - - - - - - - - - -
- -
- -
- -
- - - - - - diff --git a/data/core.telegram.org/constructor/replyKeyboardMarkup.html b/data/core.telegram.org/constructor/replyKeyboardMarkup.html deleted file mode 100644 index 0a54061141..0000000000 --- a/data/core.telegram.org/constructor/replyKeyboardMarkup.html +++ /dev/null @@ -1,167 +0,0 @@ - - - - - replyKeyboardMarkup - - - - - - - - - - - - - -
- -
-
-
- -

replyKeyboardMarkup

- -

Bot keyboard

-

-
replyKeyboardMarkup#3502758c flags:# resize:flags.0?true single_use:flags.1?true selective:flags.2?true rows:Vector<KeyboardButtonRow> = ReplyMarkup;

-

Parameters

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
flags#Flags, see TL conditional fields
resizeflags.0?trueRequests clients to resize the keyboard vertically for optimal fit (e.g., make the keyboard smaller if there are just two rows of buttons). If not set, the custom keyboard is always of the same height as the app's standard keyboard.
single_useflags.1?trueRequests clients to hide the keyboard as soon as it's been used. The keyboard will still be available, but clients will automatically display the usual letter-keyboard in the chat – the user can press a special button in the input field to see the custom keyboard again.
selectiveflags.2?trueUse this parameter if you want to show the keyboard to specific users only. Targets: 1) users that are @mentioned in the text of the Message object; 2) if the bot's message is a reply (has reply_to_message_id), sender of the original message.

Example: A user requests to change the bot‘s language, bot replies to the request with a keyboard to select the new language. Other users in the group don’t see the keyboard.
rowsVector<KeyboardButtonRow>Button row
-

Type

-

ReplyMarkup

- -
- -
-
- -
- - - - - - diff --git a/data/core.telegram.org/constructor/storage.fileMp4 b/data/core.telegram.org/constructor/storage.fileMp4 deleted file mode 100644 index e961a35ec9..0000000000 --- a/data/core.telegram.org/constructor/storage.fileMp4 +++ /dev/null @@ -1,132 +0,0 @@ - - - - - storage.fileMp4 - - - - - - - - - - - - - -
- -
- -
- -
- - - - - - diff --git a/data/core.telegram.org/constructor/updateDialogFilter.html b/data/core.telegram.org/constructor/updateDialogFilter.html deleted file mode 100644 index 3c2e9bcfb6..0000000000 --- a/data/core.telegram.org/constructor/updateDialogFilter.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - updateDialogFilter - - - - - - - - - - - - - -
- -
-
-
- -

updateDialogFilter

- -

A new folder was added

-

-
updateDialogFilter#26ffde7d flags:# id:int filter:flags.0?DialogFilter = Update;

-

Parameters

- - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
flags#Flags, see TL conditional fields
idintFolder ID
filterflags.0?DialogFilterFolder info
-

Type

-

Update

-

Related pages

-

Folders

-

Telegram allows placing chats into folders, based on their type, mute status, or other custom criteria, thanks to folder blacklists and whitelists.

- -
- -
-
- -
- - - - - - diff --git a/data/core.telegram.org/constructor/updateReadFeaturedStickers.html b/data/core.telegram.org/constructor/updateReadFeaturedStickers.html deleted file mode 100644 index 8ea8b73c49..0000000000 --- a/data/core.telegram.org/constructor/updateReadFeaturedStickers.html +++ /dev/null @@ -1,132 +0,0 @@ - - - - - updateReadFeaturedStickers - - - - - - - - - - - - - -
- -
- -
- -
- - - - - - diff --git a/data/core.telegram.org/constructor/updateShortChatMessage.html b/data/core.telegram.org/constructor/updateShortChatMessage.html deleted file mode 100644 index 84eab81b33..0000000000 --- a/data/core.telegram.org/constructor/updateShortChatMessage.html +++ /dev/null @@ -1,227 +0,0 @@ - - - - - updateShortChatMessage - - - - - - - - - - - - - -
- -
-
-
- -

updateShortChatMessage

- -

Shortened constructor containing info on one new incoming text message from a chat

-

-
updateShortChatMessage#402d5dbb flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int from_id:int chat_id:int message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to:flags.3?MessageReplyHeader entities:flags.7?Vector<MessageEntity> = Updates;

-

Parameters

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
flags#Flags, see TL conditional fields
outflags.1?trueWhether the message is outgoing
mentionedflags.4?trueWhether we were mentioned in this message
media_unreadflags.5?trueWhether the message contains some unread mentions
silentflags.13?trueIf true, the message is a silent message, no notifications should be triggered
idintID of the message
from_idintID of the sender of the message
chat_idintID of the chat where the message was sent
messagestringMessage
ptsintPTS
pts_countintPTS count
dateintdate
fwd_fromflags.2?MessageFwdHeaderInfo about a forwarded message
via_bot_idflags.11?intInfo about the inline bot used to generate this message
reply_toflags.3?MessageReplyHeaderReply (thread) information
entitiesflags.7?Vector<MessageEntity>Entities for styled text
-

Type

-

Updates

-

Related pages

-

Working with Updates

-

How to subscribe to updates and handle them properly.

-

Styled text with message entities

-

How to create styled text with message entities

- -
- -
-
- -
- - - - - - diff --git a/data/core.telegram.org/constructor/urlAuthResultRequest.html b/data/core.telegram.org/constructor/urlAuthResultRequest.html deleted file mode 100644 index fc9eb7bda5..0000000000 --- a/data/core.telegram.org/constructor/urlAuthResultRequest.html +++ /dev/null @@ -1,165 +0,0 @@ - - - - - urlAuthResultRequest - - - - - - - - - - - - - -
- -
-
-
- -

urlAuthResultRequest

- -

Details about the authorization request, for more info click here »

-

-
urlAuthResultRequest#92d33a0e flags:# request_write_access:flags.0?true bot:User domain:string = UrlAuthResult;

-

Parameters

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
flags#Flags, see TL conditional fields
request_write_accessflags.0?trueWhether the bot would like to send messages to the user
botUserUsername of a bot, which will be used for user authorization. If not specified, the current bot's username will be assumed. The url's domain must be the same as the domain linked with the bot. See Linking your domain to the bot for more details.
domainstringThe domain name of the website on which the user will log in.
-

Type

-

UrlAuthResult

-

Related pages

-

Seamless Telegram Login

-

Handle Seamless Telegram Login URL authorization requests.

- -
- -
-
- -
- - - - - - diff --git a/data/core.telegram.org/constructor/userStatusOnline.html b/data/core.telegram.org/constructor/userStatusOnline.html deleted file mode 100644 index 633cc8a802..0000000000 --- a/data/core.telegram.org/constructor/userStatusOnline.html +++ /dev/null @@ -1,147 +0,0 @@ - - - - - userStatusOnline - - - - - - - - - - - - - -
- -
-
-
- -

userStatusOnline

- - - -
- -
-
- -
- - - - - - diff --git a/data/core.telegram.org/constructor/webPageNotModified.html b/data/core.telegram.org/constructor/webPageNotModified.html deleted file mode 100644 index e7a1c86498..0000000000 --- a/data/core.telegram.org/constructor/webPageNotModified.html +++ /dev/null @@ -1,152 +0,0 @@ - - - - - webPageNotModified - - - - - - - - - - - - - -
- -
-
-
- -

webPageNotModified

- -

The preview of the webpage hasn't changed

-

-
webPageNotModified#7311ca11 flags:# cached_page_views:flags.0?int = WebPage;

-

Parameters

- - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
flags#Flags, see TL conditional fields
cached_page_viewsflags.0?intPage view count
-

Type

-

WebPage

- -
- -
-
- -
- - - - - - diff --git a/data/core.telegram.org/method/account.cancelPasswordEmail b/data/core.telegram.org/method/account.cancelPasswordEmail deleted file mode 100644 index e1e56ce23c..0000000000 --- a/data/core.telegram.org/method/account.cancelPasswordEmail +++ /dev/null @@ -1,138 +0,0 @@ - - - - - account.cancelPasswordEmail - - - - - - - - - - - - - -
- -
-
-
- -

account.cancelPasswordEmail

- -

Cancel the code that was sent to verify an email to use as 2FA recovery method.

-

-
boolFalse#bc799737 = Bool;
-boolTrue#997275b5 = Bool;
----functions---
-account.cancelPasswordEmail#c1cbd5b6 = Bool;

-

Parameters

-

This constructor does not require any parameters.

-

Result

-

Bool

-

Related pages

-

Two-factor authentication

-

How to login to a user's account if they have enabled 2FA, how to change password.

- -
- -
-
- -
- - - - - - diff --git a/data/core.telegram.org/method/account.createTheme b/data/core.telegram.org/method/account.createTheme deleted file mode 100644 index 35e2364c6d..0000000000 --- a/data/core.telegram.org/method/account.createTheme +++ /dev/null @@ -1,169 +0,0 @@ - - - - - account.createTheme - - - - - - - - - - - - - -
- -
-
-
- -

account.createTheme

- -

Create a theme

-

-
theme#28f1114 flags:# creator:flags.0?true default:flags.1?true id:long access_hash:long slug:string title:string document:flags.2?Document settings:flags.3?ThemeSettings installs_count:int = Theme;
----functions---
-account.createTheme#8432c21f flags:# slug:string title:string document:flags.2?InputDocument settings:flags.3?InputThemeSettings = Theme;

-

Parameters

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
flags#Flags, see TL conditional fields
slugstringUnique theme ID
titlestringTheme name
documentflags.2?InputDocumentTheme file
settingsflags.3?InputThemeSettingsTheme settings
-

Result

-

Theme

- -
- -
-
- -
- - - - - - diff --git a/data/core.telegram.org/method/account.getNotifyExceptions b/data/core.telegram.org/method/account.getNotifyExceptions deleted file mode 100644 index 1b5096f959..0000000000 --- a/data/core.telegram.org/method/account.getNotifyExceptions +++ /dev/null @@ -1,165 +0,0 @@ - - - - - account.getNotifyExceptions - - - - - - - - - - - - - -
- -
-
-
- -

account.getNotifyExceptions

- -

Returns list of chats with non-default notification settings

-

-
updatesTooLong#e317af7e = Updates;
-updateShortMessage#2296d2c8 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int user_id:int message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to:flags.3?MessageReplyHeader entities:flags.7?Vector<MessageEntity> = Updates;
-updateShortChatMessage#402d5dbb flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int from_id:int chat_id:int message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to:flags.3?MessageReplyHeader entities:flags.7?Vector<MessageEntity> = Updates;
-updateShort#78d4dec1 update:Update date:int = Updates;
-updatesCombined#725b04c3 updates:Vector<Update> users:Vector<User> chats:Vector<Chat> date:int seq_start:int seq:int = Updates;
-updates#74ae4240 updates:Vector<Update> users:Vector<User> chats:Vector<Chat> date:int seq:int = Updates;
-updateShortSentMessage#11f1331c flags:# out:flags.1?true id:int pts:int pts_count:int date:int media:flags.9?MessageMedia entities:flags.7?Vector<MessageEntity> = Updates;
----functions---
-account.getNotifyExceptions#53577479 flags:# compare_sound:flags.1?true peer:flags.0?InputNotifyPeer = Updates;

-

Parameters

- - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
flags#Flags, see TL conditional fields
compare_soundflags.1?trueIf true, chats with non-default sound will also be returned
peerflags.0?InputNotifyPeerIf specified, only chats of the specified category will be returned
-

Result

-

Updates

- -
- -
-
- -
- - - - - - diff --git a/data/core.telegram.org/method/account.sendChangePhoneCode b/data/core.telegram.org/method/account.sendChangePhoneCode deleted file mode 100644 index f6a376cf60..0000000000 --- a/data/core.telegram.org/method/account.sendChangePhoneCode +++ /dev/null @@ -1,171 +0,0 @@ - - - - - account.sendChangePhoneCode - - - - - - - - - - - - - -
- -
-
-
- -

account.sendChangePhoneCode

- -

Verify a new phone number to associate to the current account

-

-
auth.sentCode#5e002502 flags:# type:auth.SentCodeType phone_code_hash:string next_type:flags.1?auth.CodeType timeout:flags.2?int = auth.SentCode;
----functions---
-account.sendChangePhoneCode#82574ae5 phone_number:string settings:CodeSettings = auth.SentCode;

-

Parameters

- - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
phone_numberstringNew phone number
settingsCodeSettingsPhone code settings
-

Result

-

auth.SentCode

-

Possible errors

- - - - - - - - - - - - - - - -
CodeTypeDescription
400PHONE_NUMBER_INVALIDThe phone number is invalid
- -
- -
-
- -
- - - - - - diff --git a/data/core.telegram.org/method/auth.importLoginToken b/data/core.telegram.org/method/auth.importLoginToken deleted file mode 100644 index 01250ed9df..0000000000 --- a/data/core.telegram.org/method/auth.importLoginToken +++ /dev/null @@ -1,172 +0,0 @@ - - - - - auth.importLoginToken - - - - - - - - - - - - - -
- -
-
-
- -

auth.importLoginToken

- -

Login using a redirected login token, generated in case of DC mismatch during QR code login.

-

For more info, see login via QR code.

-

-
auth.loginToken#629f1980 expires:int token:bytes = auth.LoginToken;
-auth.loginTokenMigrateTo#68e9916 dc_id:int token:bytes = auth.LoginToken;
-auth.loginTokenSuccess#390d5c5e authorization:auth.Authorization = auth.LoginToken;
----functions---
-auth.importLoginToken#95ac5ce4 token:bytes = auth.LoginToken;

-

Parameters

- - - - - - - - - - - - - - - -
NameTypeDescription
tokenbytesLogin token
-

Result

-

auth.LoginToken

-

Possible errors

- - - - - - - - - - - - - - - -
CodeTypeDescription
400AUTH_TOKEN_EXPIREDThe authorization token has expired
-

Related pages

-

Login via QR code

-

QR code login flow

- -
- -
-
- -
- - - - - - diff --git a/data/core.telegram.org/method/channels.deleteHistory b/data/core.telegram.org/method/channels.deleteHistory deleted file mode 100644 index 9279bd3d0f..0000000000 --- a/data/core.telegram.org/method/channels.deleteHistory +++ /dev/null @@ -1,180 +0,0 @@ - - - - - channels.deleteHistory - - - - - - - - - - - - - -
- -
-
-
- -

channels.deleteHistory

- -

Delete the history of a supergroup

-

-
boolFalse#bc799737 = Bool;
-boolTrue#997275b5 = Bool;
----functions---
-channels.deleteHistory#af369d42 channel:InputChannel max_id:int = Bool;

-

Parameters

- - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
channelInputChannelSupergroup whose history must be deleted
max_idintID of message up to which the history must be deleted
-

Result

-

Bool

-

Possible errors

- - - - - - - - - - - - - - - - - - - - -
CodeTypeDescription
400CHANNEL_INVALIDThe provided channel is invalid
400CHANNEL_PRIVATEYou haven't joined this channel/supergroup
-

Related pages

-

Channels

-

How to handle channels, supergroups, groups, and what's the difference between them.

- -
- -
-
- -
- - - - - - diff --git a/data/core.telegram.org/method/help.getInviteText b/data/core.telegram.org/method/help.getInviteText deleted file mode 100644 index 44f52149d8..0000000000 --- a/data/core.telegram.org/method/help.getInviteText +++ /dev/null @@ -1,134 +0,0 @@ - - - - - help.getInviteText - - - - - - - - - - - - - -
- -
-
-
- -

help.getInviteText

- -

Returns localized text of a text message with an invitation.

-

-
help.inviteText#18cb9f78 message:string = help.InviteText;
----functions---
-help.getInviteText#4d392343 = help.InviteText;

-

Parameters

-

This constructor does not require any parameters.

-

Result

-

help.InviteText

- -
- -
-
- -
- - - - - - diff --git a/data/core.telegram.org/method/help.getPromoData b/data/core.telegram.org/method/help.getPromoData deleted file mode 100644 index 9b1365c18d..0000000000 --- a/data/core.telegram.org/method/help.getPromoData +++ /dev/null @@ -1,136 +0,0 @@ - - - - - help.getPromoData - - - - - - - - - - - - - -
- -
-
-
- -

help.getPromoData

- -

Get MTProxy/Public Service Announcement information

-

-
help.promoDataEmpty#98f6ac75 expires:int = help.PromoData;
-help.promoData#8c39793f flags:# proxy:flags.0?true expires:int peer:Peer chats:Vector<Chat> users:Vector<User> psa_type:flags.1?string psa_message:flags.2?string = help.PromoData;
----functions---
-help.getPromoData#c0977421 = help.PromoData;

-

Parameters

-

This constructor does not require any parameters.

-

Result

-

help.PromoData

-

Bots can use this method

- -
- -
-
- -
- - - - - - diff --git a/data/core.telegram.org/method/messages.getAllDrafts b/data/core.telegram.org/method/messages.getAllDrafts deleted file mode 100644 index bf16d830f4..0000000000 --- a/data/core.telegram.org/method/messages.getAllDrafts +++ /dev/null @@ -1,143 +0,0 @@ - - - - - messages.getAllDrafts - - - - - - - - - - - - - -
- -
-
-
- -

messages.getAllDrafts

- -

Save get all message drafts.

-

-
updatesTooLong#e317af7e = Updates;
-updateShortMessage#2296d2c8 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int user_id:int message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to:flags.3?MessageReplyHeader entities:flags.7?Vector<MessageEntity> = Updates;
-updateShortChatMessage#402d5dbb flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int from_id:int chat_id:int message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to:flags.3?MessageReplyHeader entities:flags.7?Vector<MessageEntity> = Updates;
-updateShort#78d4dec1 update:Update date:int = Updates;
-updatesCombined#725b04c3 updates:Vector<Update> users:Vector<User> chats:Vector<Chat> date:int seq_start:int seq:int = Updates;
-updates#74ae4240 updates:Vector<Update> users:Vector<User> chats:Vector<Chat> date:int seq:int = Updates;
-updateShortSentMessage#11f1331c flags:# out:flags.1?true id:int pts:int pts_count:int date:int media:flags.9?MessageMedia entities:flags.7?Vector<MessageEntity> = Updates;
----functions---
-messages.getAllDrafts#6a3f8d65 = Updates;

-

Parameters

-

This constructor does not require any parameters.

-

Result

-

Updates, contains all the latest updateDraftMessage updates related to all chats with drafts.

-

Related pages

-

Message drafts

-

How to handle message drafts

- -
- -
-
- -
- - - - - - diff --git a/data/core.telegram.org/method/messages.markDialogUnread b/data/core.telegram.org/method/messages.markDialogUnread deleted file mode 100644 index 26743a921a..0000000000 --- a/data/core.telegram.org/method/messages.markDialogUnread +++ /dev/null @@ -1,160 +0,0 @@ - - - - - messages.markDialogUnread - - - - - - - - - - - - - -
- -
-
-
- -

messages.markDialogUnread

- -

Manually mark dialog as unread

-

-
boolFalse#bc799737 = Bool;
-boolTrue#997275b5 = Bool;
----functions---
-messages.markDialogUnread#c286d98f flags:# unread:flags.0?true peer:InputDialogPeer = Bool;

-

Parameters

- - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
flags#Flags, see TL conditional fields
unreadflags.0?trueMark as unread/read
peerInputDialogPeerDialog
-

Result

-

Bool

- -
- -
-
- -
- - - - - - diff --git a/data/core.telegram.org/method/phone.receivedCall b/data/core.telegram.org/method/phone.receivedCall deleted file mode 100644 index 68de59ce55..0000000000 --- a/data/core.telegram.org/method/phone.receivedCall +++ /dev/null @@ -1,172 +0,0 @@ - - - - - phone.receivedCall - - - - - - - - - - - - - -
- -
-
-
- -

phone.receivedCall

- -

Optional: notify the server that the user is currently busy in a call: this will automatically refuse all incoming phone calls until the current phone call is ended.

-

-
boolFalse#bc799737 = Bool;
-boolTrue#997275b5 = Bool;
----functions---
-phone.receivedCall#17d54f61 peer:InputPhoneCall = Bool;

-

Parameters

- - - - - - - - - - - - - - - -
NameTypeDescription
peerInputPhoneCallThe phone call we're currently in
-

Result

-

Bool

-

Possible errors

- - - - - - - - - - - - - - - - - - - - -
CodeTypeDescription
400CALL_ALREADY_DECLINEDThe call was already declined
400CALL_PEER_INVALIDThe provided call peer object is invalid
- -
- -
-
- -
- - - - - - diff --git a/data/core.telegram.org/schema/json.html b/data/core.telegram.org/schema/json.html deleted file mode 100644 index 13ae888f19..0000000000 --- a/data/core.telegram.org/schema/json.html +++ /dev/null @@ -1 +0,0 @@ -{"constructors":[{"id":"-1132882121","predicate":"boolFalse","params":[],"type":"Bool"},{"id":"-1720552011","predicate":"boolTrue","params":[],"type":"Bool"},{"id":"1072550713","predicate":"true","params":[],"type":"True"},{"id":"481674261","predicate":"vector","params":[],"type":"Vector t"},{"id":"-994444869","predicate":"error","params":[{"name":"code","type":"int"},{"name":"text","type":"string"}],"type":"Error"},{"id":"1450380236","predicate":"null","params":[],"type":"Null"},{"id":"2134579434","predicate":"inputPeerEmpty","params":[],"type":"InputPeer"},{"id":"2107670217","predicate":"inputPeerSelf","params":[],"type":"InputPeer"},{"id":"396093539","predicate":"inputPeerChat","params":[{"name":"chat_id","type":"int"}],"type":"InputPeer"},{"id":"-1182234929","predicate":"inputUserEmpty","params":[],"type":"InputUser"},{"id":"-138301121","predicate":"inputUserSelf","params":[],"type":"InputUser"},{"id":"-208488460","predicate":"inputPhoneContact","params":[{"name":"client_id","type":"long"},{"name":"phone","type":"string"},{"name":"first_name","type":"string"},{"name":"last_name","type":"string"}],"type":"InputContact"},{"id":"-181407105","predicate":"inputFile","params":[{"name":"id","type":"long"},{"name":"parts","type":"int"},{"name":"name","type":"string"},{"name":"md5_checksum","type":"string"}],"type":"InputFile"},{"id":"-1771768449","predicate":"inputMediaEmpty","params":[],"type":"InputMedia"},{"id":"505969924","predicate":"inputMediaUploadedPhoto","params":[{"name":"flags","type":"#"},{"name":"file","type":"InputFile"},{"name":"stickers","type":"flags.0?Vector"},{"name":"ttl_seconds","type":"flags.1?int"}],"type":"InputMedia"},{"id":"-1279654347","predicate":"inputMediaPhoto","params":[{"name":"flags","type":"#"},{"name":"id","type":"InputPhoto"},{"name":"ttl_seconds","type":"flags.0?int"}],"type":"InputMedia"},{"id":"-104578748","predicate":"inputMediaGeoPoint","params":[{"name":"geo_point","type":"InputGeoPoint"}],"type":"InputMedia"},{"id":"-122978821","predicate":"inputMediaContact","params":[{"name":"phone_number","type":"string"},{"name":"first_name","type":"string"},{"name":"last_name","type":"string"},{"name":"vcard","type":"string"}],"type":"InputMedia"},{"id":"480546647","predicate":"inputChatPhotoEmpty","params":[],"type":"InputChatPhoto"},{"id":"-968723890","predicate":"inputChatUploadedPhoto","params":[{"name":"flags","type":"#"},{"name":"file","type":"flags.0?InputFile"},{"name":"video","type":"flags.1?InputFile"},{"name":"video_start_ts","type":"flags.2?double"}],"type":"InputChatPhoto"},{"id":"-1991004873","predicate":"inputChatPhoto","params":[{"name":"id","type":"InputPhoto"}],"type":"InputChatPhoto"},{"id":"-457104426","predicate":"inputGeoPointEmpty","params":[],"type":"InputGeoPoint"},{"id":"1210199983","predicate":"inputGeoPoint","params":[{"name":"flags","type":"#"},{"name":"lat","type":"double"},{"name":"long","type":"double"},{"name":"accuracy_radius","type":"flags.0?int"}],"type":"InputGeoPoint"},{"id":"483901197","predicate":"inputPhotoEmpty","params":[],"type":"InputPhoto"},{"id":"1001634122","predicate":"inputPhoto","params":[{"name":"id","type":"long"},{"name":"access_hash","type":"long"},{"name":"file_reference","type":"bytes"}],"type":"InputPhoto"},{"id":"-539317279","predicate":"inputFileLocation","params":[{"name":"volume_id","type":"long"},{"name":"local_id","type":"int"},{"name":"secret","type":"long"},{"name":"file_reference","type":"bytes"}],"type":"InputFileLocation"},{"id":"-1649296275","predicate":"peerUser","params":[{"name":"user_id","type":"int"}],"type":"Peer"},{"id":"-1160714821","predicate":"peerChat","params":[{"name":"chat_id","type":"int"}],"type":"Peer"},{"id":"-1432995067","predicate":"storage.fileUnknown","params":[],"type":"storage.FileType"},{"id":"1086091090","predicate":"storage.filePartial","params":[],"type":"storage.FileType"},{"id":"8322574","predicate":"storage.fileJpeg","params":[],"type":"storage.FileType"},{"id":"-891180321","predicate":"storage.fileGif","params":[],"type":"storage.FileType"},{"id":"172975040","predicate":"storage.filePng","params":[],"type":"storage.FileType"},{"id":"-1373745011","predicate":"storage.filePdf","params":[],"type":"storage.FileType"},{"id":"1384777335","predicate":"storage.fileMp3","params":[],"type":"storage.FileType"},{"id":"1258941372","predicate":"storage.fileMov","params":[],"type":"storage.FileType"},{"id":"-1278304028","predicate":"storage.fileMp4","params":[],"type":"storage.FileType"},{"id":"276907596","predicate":"storage.fileWebp","params":[],"type":"storage.FileType"},{"id":"537022650","predicate":"userEmpty","params":[{"name":"id","type":"int"}],"type":"User"},{"id":"1326562017","predicate":"userProfilePhotoEmpty","params":[],"type":"UserProfilePhoto"},{"id":"1775479590","predicate":"userProfilePhoto","params":[{"name":"flags","type":"#"},{"name":"has_video","type":"flags.0?true"},{"name":"photo_id","type":"long"},{"name":"photo_small","type":"FileLocation"},{"name":"photo_big","type":"FileLocation"},{"name":"dc_id","type":"int"}],"type":"UserProfilePhoto"},{"id":"164646985","predicate":"userStatusEmpty","params":[],"type":"UserStatus"},{"id":"-306628279","predicate":"userStatusOnline","params":[{"name":"expires","type":"int"}],"type":"UserStatus"},{"id":"9203775","predicate":"userStatusOffline","params":[{"name":"was_online","type":"int"}],"type":"UserStatus"},{"id":"-1683826688","predicate":"chatEmpty","params":[{"name":"id","type":"int"}],"type":"Chat"},{"id":"1004149726","predicate":"chat","params":[{"name":"flags","type":"#"},{"name":"creator","type":"flags.0?true"},{"name":"kicked","type":"flags.1?true"},{"name":"left","type":"flags.2?true"},{"name":"deactivated","type":"flags.5?true"},{"name":"call_active","type":"flags.23?true"},{"name":"call_not_empty","type":"flags.24?true"},{"name":"id","type":"int"},{"name":"title","type":"string"},{"name":"photo","type":"ChatPhoto"},{"name":"participants_count","type":"int"},{"name":"date","type":"int"},{"name":"version","type":"int"},{"name":"migrated_to","type":"flags.6?InputChannel"},{"name":"admin_rights","type":"flags.14?ChatAdminRights"},{"name":"default_banned_rights","type":"flags.18?ChatBannedRights"}],"type":"Chat"},{"id":"120753115","predicate":"chatForbidden","params":[{"name":"id","type":"int"},{"name":"title","type":"string"}],"type":"Chat"},{"id":"461151667","predicate":"chatFull","params":[{"name":"flags","type":"#"},{"name":"can_set_username","type":"flags.7?true"},{"name":"has_scheduled","type":"flags.8?true"},{"name":"id","type":"int"},{"name":"about","type":"string"},{"name":"participants","type":"ChatParticipants"},{"name":"chat_photo","type":"flags.2?Photo"},{"name":"notify_settings","type":"PeerNotifySettings"},{"name":"exported_invite","type":"ExportedChatInvite"},{"name":"bot_info","type":"flags.3?Vector"},{"name":"pinned_msg_id","type":"flags.6?int"},{"name":"folder_id","type":"flags.11?int"}],"type":"ChatFull"},{"id":"-925415106","predicate":"chatParticipant","params":[{"name":"user_id","type":"int"},{"name":"inviter_id","type":"int"},{"name":"date","type":"int"}],"type":"ChatParticipant"},{"id":"-57668565","predicate":"chatParticipantsForbidden","params":[{"name":"flags","type":"#"},{"name":"chat_id","type":"int"},{"name":"self_participant","type":"flags.0?ChatParticipant"}],"type":"ChatParticipants"},{"id":"1061556205","predicate":"chatParticipants","params":[{"name":"chat_id","type":"int"},{"name":"participants","type":"Vector"},{"name":"version","type":"int"}],"type":"ChatParticipants"},{"id":"935395612","predicate":"chatPhotoEmpty","params":[],"type":"ChatPhoto"},{"id":"-770990276","predicate":"chatPhoto","params":[{"name":"flags","type":"#"},{"name":"has_video","type":"flags.0?true"},{"name":"photo_small","type":"FileLocation"},{"name":"photo_big","type":"FileLocation"},{"name":"dc_id","type":"int"}],"type":"ChatPhoto"},{"id":"-2082087340","predicate":"messageEmpty","params":[{"name":"id","type":"int"}],"type":"Message"},{"id":"1487813065","predicate":"message","params":[{"name":"flags","type":"#"},{"name":"out","type":"flags.1?true"},{"name":"mentioned","type":"flags.4?true"},{"name":"media_unread","type":"flags.5?true"},{"name":"silent","type":"flags.13?true"},{"name":"post","type":"flags.14?true"},{"name":"from_scheduled","type":"flags.18?true"},{"name":"legacy","type":"flags.19?true"},{"name":"edit_hide","type":"flags.21?true"},{"name":"pinned","type":"flags.24?true"},{"name":"id","type":"int"},{"name":"from_id","type":"flags.8?Peer"},{"name":"peer_id","type":"Peer"},{"name":"fwd_from","type":"flags.2?MessageFwdHeader"},{"name":"via_bot_id","type":"flags.11?int"},{"name":"reply_to","type":"flags.3?MessageReplyHeader"},{"name":"date","type":"int"},{"name":"message","type":"string"},{"name":"media","type":"flags.9?MessageMedia"},{"name":"reply_markup","type":"flags.6?ReplyMarkup"},{"name":"entities","type":"flags.7?Vector"},{"name":"views","type":"flags.10?int"},{"name":"forwards","type":"flags.10?int"},{"name":"replies","type":"flags.23?MessageReplies"},{"name":"edit_date","type":"flags.15?int"},{"name":"post_author","type":"flags.16?string"},{"name":"grouped_id","type":"flags.17?long"},{"name":"restriction_reason","type":"flags.22?Vector"}],"type":"Message"},{"id":"678405636","predicate":"messageService","params":[{"name":"flags","type":"#"},{"name":"out","type":"flags.1?true"},{"name":"mentioned","type":"flags.4?true"},{"name":"media_unread","type":"flags.5?true"},{"name":"silent","type":"flags.13?true"},{"name":"post","type":"flags.14?true"},{"name":"legacy","type":"flags.19?true"},{"name":"id","type":"int"},{"name":"from_id","type":"flags.8?Peer"},{"name":"peer_id","type":"Peer"},{"name":"reply_to","type":"flags.3?MessageReplyHeader"},{"name":"date","type":"int"},{"name":"action","type":"MessageAction"}],"type":"Message"},{"id":"1038967584","predicate":"messageMediaEmpty","params":[],"type":"MessageMedia"},{"id":"1766936791","predicate":"messageMediaPhoto","params":[{"name":"flags","type":"#"},{"name":"photo","type":"flags.0?Photo"},{"name":"ttl_seconds","type":"flags.2?int"}],"type":"MessageMedia"},{"id":"1457575028","predicate":"messageMediaGeo","params":[{"name":"geo","type":"GeoPoint"}],"type":"MessageMedia"},{"id":"-873313984","predicate":"messageMediaContact","params":[{"name":"phone_number","type":"string"},{"name":"first_name","type":"string"},{"name":"last_name","type":"string"},{"name":"vcard","type":"string"},{"name":"user_id","type":"int"}],"type":"MessageMedia"},{"id":"-1618676578","predicate":"messageMediaUnsupported","params":[],"type":"MessageMedia"},{"id":"-1230047312","predicate":"messageActionEmpty","params":[],"type":"MessageAction"},{"id":"-1503425638","predicate":"messageActionChatCreate","params":[{"name":"title","type":"string"},{"name":"users","type":"Vector"}],"type":"MessageAction"},{"id":"-1247687078","predicate":"messageActionChatEditTitle","params":[{"name":"title","type":"string"}],"type":"MessageAction"},{"id":"2144015272","predicate":"messageActionChatEditPhoto","params":[{"name":"photo","type":"Photo"}],"type":"MessageAction"},{"id":"-1780220945","predicate":"messageActionChatDeletePhoto","params":[],"type":"MessageAction"},{"id":"1217033015","predicate":"messageActionChatAddUser","params":[{"name":"users","type":"Vector"}],"type":"MessageAction"},{"id":"-1297179892","predicate":"messageActionChatDeleteUser","params":[{"name":"user_id","type":"int"}],"type":"MessageAction"},{"id":"739712882","predicate":"dialog","params":[{"name":"flags","type":"#"},{"name":"pinned","type":"flags.2?true"},{"name":"unread_mark","type":"flags.3?true"},{"name":"peer","type":"Peer"},{"name":"top_message","type":"int"},{"name":"read_inbox_max_id","type":"int"},{"name":"read_outbox_max_id","type":"int"},{"name":"unread_count","type":"int"},{"name":"unread_mentions_count","type":"int"},{"name":"notify_settings","type":"PeerNotifySettings"},{"name":"pts","type":"flags.0?int"},{"name":"draft","type":"flags.1?DraftMessage"},{"name":"folder_id","type":"flags.4?int"}],"type":"Dialog"},{"id":"590459437","predicate":"photoEmpty","params":[{"name":"id","type":"long"}],"type":"Photo"},{"id":"-82216347","predicate":"photo","params":[{"name":"flags","type":"#"},{"name":"has_stickers","type":"flags.0?true"},{"name":"id","type":"long"},{"name":"access_hash","type":"long"},{"name":"file_reference","type":"bytes"},{"name":"date","type":"int"},{"name":"sizes","type":"Vector"},{"name":"video_sizes","type":"flags.1?Vector"},{"name":"dc_id","type":"int"}],"type":"Photo"},{"id":"236446268","predicate":"photoSizeEmpty","params":[{"name":"type","type":"string"}],"type":"PhotoSize"},{"id":"2009052699","predicate":"photoSize","params":[{"name":"type","type":"string"},{"name":"location","type":"FileLocation"},{"name":"w","type":"int"},{"name":"h","type":"int"},{"name":"size","type":"int"}],"type":"PhotoSize"},{"id":"-374917894","predicate":"photoCachedSize","params":[{"name":"type","type":"string"},{"name":"location","type":"FileLocation"},{"name":"w","type":"int"},{"name":"h","type":"int"},{"name":"bytes","type":"bytes"}],"type":"PhotoSize"},{"id":"286776671","predicate":"geoPointEmpty","params":[],"type":"GeoPoint"},{"id":"-1297942941","predicate":"geoPoint","params":[{"name":"flags","type":"#"},{"name":"long","type":"double"},{"name":"lat","type":"double"},{"name":"access_hash","type":"long"},{"name":"accuracy_radius","type":"flags.0?int"}],"type":"GeoPoint"},{"id":"1577067778","predicate":"auth.sentCode","params":[{"name":"flags","type":"#"},{"name":"type","type":"auth.SentCodeType"},{"name":"phone_code_hash","type":"string"},{"name":"next_type","type":"flags.1?auth.CodeType"},{"name":"timeout","type":"flags.2?int"}],"type":"auth.SentCode"},{"id":"-855308010","predicate":"auth.authorization","params":[{"name":"flags","type":"#"},{"name":"tmp_sessions","type":"flags.0?int"},{"name":"user","type":"User"}],"type":"auth.Authorization"},{"id":"-543777747","predicate":"auth.exportedAuthorization","params":[{"name":"id","type":"int"},{"name":"bytes","type":"bytes"}],"type":"auth.ExportedAuthorization"},{"id":"-1195615476","predicate":"inputNotifyPeer","params":[{"name":"peer","type":"InputPeer"}],"type":"InputNotifyPeer"},{"id":"423314455","predicate":"inputNotifyUsers","params":[],"type":"InputNotifyPeer"},{"id":"1251338318","predicate":"inputNotifyChats","params":[],"type":"InputNotifyPeer"},{"id":"-1673717362","predicate":"inputPeerNotifySettings","params":[{"name":"flags","type":"#"},{"name":"show_previews","type":"flags.0?Bool"},{"name":"silent","type":"flags.1?Bool"},{"name":"mute_until","type":"flags.2?int"},{"name":"sound","type":"flags.3?string"}],"type":"InputPeerNotifySettings"},{"id":"-1353671392","predicate":"peerNotifySettings","params":[{"name":"flags","type":"#"},{"name":"show_previews","type":"flags.0?Bool"},{"name":"silent","type":"flags.1?Bool"},{"name":"mute_until","type":"flags.2?int"},{"name":"sound","type":"flags.3?string"}],"type":"PeerNotifySettings"},{"id":"1933519201","predicate":"peerSettings","params":[{"name":"flags","type":"#"},{"name":"report_spam","type":"flags.0?true"},{"name":"add_contact","type":"flags.1?true"},{"name":"block_contact","type":"flags.2?true"},{"name":"share_contact","type":"flags.3?true"},{"name":"need_contacts_exception","type":"flags.4?true"},{"name":"report_geo","type":"flags.5?true"},{"name":"autoarchived","type":"flags.7?true"},{"name":"invite_members","type":"flags.8?true"},{"name":"geo_distance","type":"flags.6?int"}],"type":"PeerSettings"},{"id":"-1539849235","predicate":"wallPaper","params":[{"name":"id","type":"long"},{"name":"flags","type":"#"},{"name":"creator","type":"flags.0?true"},{"name":"default","type":"flags.1?true"},{"name":"pattern","type":"flags.3?true"},{"name":"dark","type":"flags.4?true"},{"name":"access_hash","type":"long"},{"name":"slug","type":"string"},{"name":"document","type":"Document"},{"name":"settings","type":"flags.2?WallPaperSettings"}],"type":"WallPaper"},{"id":"1490799288","predicate":"inputReportReasonSpam","params":[],"type":"ReportReason"},{"id":"505595789","predicate":"inputReportReasonViolence","params":[],"type":"ReportReason"},{"id":"777640226","predicate":"inputReportReasonPornography","params":[],"type":"ReportReason"},{"id":"-1376497949","predicate":"inputReportReasonChildAbuse","params":[],"type":"ReportReason"},{"id":"-512463606","predicate":"inputReportReasonOther","params":[{"name":"text","type":"string"}],"type":"ReportReason"},{"id":"-302941166","predicate":"userFull","params":[{"name":"flags","type":"#"},{"name":"blocked","type":"flags.0?true"},{"name":"phone_calls_available","type":"flags.4?true"},{"name":"phone_calls_private","type":"flags.5?true"},{"name":"can_pin_message","type":"flags.7?true"},{"name":"has_scheduled","type":"flags.12?true"},{"name":"video_calls_available","type":"flags.13?true"},{"name":"user","type":"User"},{"name":"about","type":"flags.1?string"},{"name":"settings","type":"PeerSettings"},{"name":"profile_photo","type":"flags.2?Photo"},{"name":"notify_settings","type":"PeerNotifySettings"},{"name":"bot_info","type":"flags.3?BotInfo"},{"name":"pinned_msg_id","type":"flags.6?int"},{"name":"common_chats_count","type":"int"},{"name":"folder_id","type":"flags.11?int"}],"type":"UserFull"},{"id":"-116274796","predicate":"contact","params":[{"name":"user_id","type":"int"},{"name":"mutual","type":"Bool"}],"type":"Contact"},{"id":"-805141448","predicate":"importedContact","params":[{"name":"user_id","type":"int"},{"name":"client_id","type":"long"}],"type":"ImportedContact"},{"id":"-748155807","predicate":"contactStatus","params":[{"name":"user_id","type":"int"},{"name":"status","type":"UserStatus"}],"type":"ContactStatus"},{"id":"-1219778094","predicate":"contacts.contactsNotModified","params":[],"type":"contacts.Contacts"},{"id":"-353862078","predicate":"contacts.contacts","params":[{"name":"contacts","type":"Vector"},{"name":"saved_count","type":"int"},{"name":"users","type":"Vector"}],"type":"contacts.Contacts"},{"id":"2010127419","predicate":"contacts.importedContacts","params":[{"name":"imported","type":"Vector"},{"name":"popular_invites","type":"Vector"},{"name":"retry_contacts","type":"Vector"},{"name":"users","type":"Vector"}],"type":"contacts.ImportedContacts"},{"id":"182326673","predicate":"contacts.blocked","params":[{"name":"blocked","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"contacts.Blocked"},{"id":"-513392236","predicate":"contacts.blockedSlice","params":[{"name":"count","type":"int"},{"name":"blocked","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"contacts.Blocked"},{"id":"364538944","predicate":"messages.dialogs","params":[{"name":"dialogs","type":"Vector"},{"name":"messages","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"messages.Dialogs"},{"id":"1910543603","predicate":"messages.dialogsSlice","params":[{"name":"count","type":"int"},{"name":"dialogs","type":"Vector"},{"name":"messages","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"messages.Dialogs"},{"id":"-1938715001","predicate":"messages.messages","params":[{"name":"messages","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"messages.Messages"},{"id":"978610270","predicate":"messages.messagesSlice","params":[{"name":"flags","type":"#"},{"name":"inexact","type":"flags.1?true"},{"name":"count","type":"int"},{"name":"next_rate","type":"flags.0?int"},{"name":"offset_id_offset","type":"flags.2?int"},{"name":"messages","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"messages.Messages"},{"id":"1694474197","predicate":"messages.chats","params":[{"name":"chats","type":"Vector"}],"type":"messages.Chats"},{"id":"-438840932","predicate":"messages.chatFull","params":[{"name":"full_chat","type":"ChatFull"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"messages.ChatFull"},{"id":"-1269012015","predicate":"messages.affectedHistory","params":[{"name":"pts","type":"int"},{"name":"pts_count","type":"int"},{"name":"offset","type":"int"}],"type":"messages.AffectedHistory"},{"id":"1474492012","predicate":"inputMessagesFilterEmpty","params":[],"type":"MessagesFilter"},{"id":"-1777752804","predicate":"inputMessagesFilterPhotos","params":[],"type":"MessagesFilter"},{"id":"-1614803355","predicate":"inputMessagesFilterVideo","params":[],"type":"MessagesFilter"},{"id":"1458172132","predicate":"inputMessagesFilterPhotoVideo","params":[],"type":"MessagesFilter"},{"id":"-1629621880","predicate":"inputMessagesFilterDocument","params":[],"type":"MessagesFilter"},{"id":"2129714567","predicate":"inputMessagesFilterUrl","params":[],"type":"MessagesFilter"},{"id":"-3644025","predicate":"inputMessagesFilterGif","params":[],"type":"MessagesFilter"},{"id":"522914557","predicate":"updateNewMessage","params":[{"name":"message","type":"Message"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"}],"type":"Update"},{"id":"1318109142","predicate":"updateMessageID","params":[{"name":"id","type":"int"},{"name":"random_id","type":"long"}],"type":"Update"},{"id":"-1576161051","predicate":"updateDeleteMessages","params":[{"name":"messages","type":"Vector"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"}],"type":"Update"},{"id":"1548249383","predicate":"updateUserTyping","params":[{"name":"user_id","type":"int"},{"name":"action","type":"SendMessageAction"}],"type":"Update"},{"id":"-1704596961","predicate":"updateChatUserTyping","params":[{"name":"chat_id","type":"int"},{"name":"user_id","type":"int"},{"name":"action","type":"SendMessageAction"}],"type":"Update"},{"id":"125178264","predicate":"updateChatParticipants","params":[{"name":"participants","type":"ChatParticipants"}],"type":"Update"},{"id":"469489699","predicate":"updateUserStatus","params":[{"name":"user_id","type":"int"},{"name":"status","type":"UserStatus"}],"type":"Update"},{"id":"-1489818765","predicate":"updateUserName","params":[{"name":"user_id","type":"int"},{"name":"first_name","type":"string"},{"name":"last_name","type":"string"},{"name":"username","type":"string"}],"type":"Update"},{"id":"-1791935732","predicate":"updateUserPhoto","params":[{"name":"user_id","type":"int"},{"name":"date","type":"int"},{"name":"photo","type":"UserProfilePhoto"},{"name":"previous","type":"Bool"}],"type":"Update"},{"id":"-1519637954","predicate":"updates.state","params":[{"name":"pts","type":"int"},{"name":"qts","type":"int"},{"name":"date","type":"int"},{"name":"seq","type":"int"},{"name":"unread_count","type":"int"}],"type":"updates.State"},{"id":"1567990072","predicate":"updates.differenceEmpty","params":[{"name":"date","type":"int"},{"name":"seq","type":"int"}],"type":"updates.Difference"},{"id":"16030880","predicate":"updates.difference","params":[{"name":"new_messages","type":"Vector"},{"name":"new_encrypted_messages","type":"Vector"},{"name":"other_updates","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"},{"name":"state","type":"updates.State"}],"type":"updates.Difference"},{"id":"-1459938943","predicate":"updates.differenceSlice","params":[{"name":"new_messages","type":"Vector"},{"name":"new_encrypted_messages","type":"Vector"},{"name":"other_updates","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"},{"name":"intermediate_state","type":"updates.State"}],"type":"updates.Difference"},{"id":"-484987010","predicate":"updatesTooLong","params":[],"type":"Updates"},{"id":"580309704","predicate":"updateShortMessage","params":[{"name":"flags","type":"#"},{"name":"out","type":"flags.1?true"},{"name":"mentioned","type":"flags.4?true"},{"name":"media_unread","type":"flags.5?true"},{"name":"silent","type":"flags.13?true"},{"name":"id","type":"int"},{"name":"user_id","type":"int"},{"name":"message","type":"string"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"},{"name":"date","type":"int"},{"name":"fwd_from","type":"flags.2?MessageFwdHeader"},{"name":"via_bot_id","type":"flags.11?int"},{"name":"reply_to","type":"flags.3?MessageReplyHeader"},{"name":"entities","type":"flags.7?Vector"}],"type":"Updates"},{"id":"1076714939","predicate":"updateShortChatMessage","params":[{"name":"flags","type":"#"},{"name":"out","type":"flags.1?true"},{"name":"mentioned","type":"flags.4?true"},{"name":"media_unread","type":"flags.5?true"},{"name":"silent","type":"flags.13?true"},{"name":"id","type":"int"},{"name":"from_id","type":"int"},{"name":"chat_id","type":"int"},{"name":"message","type":"string"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"},{"name":"date","type":"int"},{"name":"fwd_from","type":"flags.2?MessageFwdHeader"},{"name":"via_bot_id","type":"flags.11?int"},{"name":"reply_to","type":"flags.3?MessageReplyHeader"},{"name":"entities","type":"flags.7?Vector"}],"type":"Updates"},{"id":"2027216577","predicate":"updateShort","params":[{"name":"update","type":"Update"},{"name":"date","type":"int"}],"type":"Updates"},{"id":"1918567619","predicate":"updatesCombined","params":[{"name":"updates","type":"Vector"},{"name":"users","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"date","type":"int"},{"name":"seq_start","type":"int"},{"name":"seq","type":"int"}],"type":"Updates"},{"id":"1957577280","predicate":"updates","params":[{"name":"updates","type":"Vector"},{"name":"users","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"date","type":"int"},{"name":"seq","type":"int"}],"type":"Updates"},{"id":"-1916114267","predicate":"photos.photos","params":[{"name":"photos","type":"Vector"},{"name":"users","type":"Vector"}],"type":"photos.Photos"},{"id":"352657236","predicate":"photos.photosSlice","params":[{"name":"count","type":"int"},{"name":"photos","type":"Vector"},{"name":"users","type":"Vector"}],"type":"photos.Photos"},{"id":"539045032","predicate":"photos.photo","params":[{"name":"photo","type":"Photo"},{"name":"users","type":"Vector"}],"type":"photos.Photo"},{"id":"157948117","predicate":"upload.file","params":[{"name":"type","type":"storage.FileType"},{"name":"mtime","type":"int"},{"name":"bytes","type":"bytes"}],"type":"upload.File"},{"id":"414687501","predicate":"dcOption","params":[{"name":"flags","type":"#"},{"name":"ipv6","type":"flags.0?true"},{"name":"media_only","type":"flags.1?true"},{"name":"tcpo_only","type":"flags.2?true"},{"name":"cdn","type":"flags.3?true"},{"name":"static","type":"flags.4?true"},{"name":"id","type":"int"},{"name":"ip_address","type":"string"},{"name":"port","type":"int"},{"name":"secret","type":"flags.10?bytes"}],"type":"DcOption"},{"id":"856375399","predicate":"config","params":[{"name":"flags","type":"#"},{"name":"phonecalls_enabled","type":"flags.1?true"},{"name":"default_p2p_contacts","type":"flags.3?true"},{"name":"preload_featured_stickers","type":"flags.4?true"},{"name":"ignore_phone_entities","type":"flags.5?true"},{"name":"revoke_pm_inbox","type":"flags.6?true"},{"name":"blocked_mode","type":"flags.8?true"},{"name":"pfs_enabled","type":"flags.13?true"},{"name":"date","type":"int"},{"name":"expires","type":"int"},{"name":"test_mode","type":"Bool"},{"name":"this_dc","type":"int"},{"name":"dc_options","type":"Vector"},{"name":"dc_txt_domain_name","type":"string"},{"name":"chat_size_max","type":"int"},{"name":"megagroup_size_max","type":"int"},{"name":"forwarded_count_max","type":"int"},{"name":"online_update_period_ms","type":"int"},{"name":"offline_blur_timeout_ms","type":"int"},{"name":"offline_idle_timeout_ms","type":"int"},{"name":"online_cloud_timeout_ms","type":"int"},{"name":"notify_cloud_delay_ms","type":"int"},{"name":"notify_default_delay_ms","type":"int"},{"name":"push_chat_period_ms","type":"int"},{"name":"push_chat_limit","type":"int"},{"name":"saved_gifs_limit","type":"int"},{"name":"edit_time_limit","type":"int"},{"name":"revoke_time_limit","type":"int"},{"name":"revoke_pm_time_limit","type":"int"},{"name":"rating_e_decay","type":"int"},{"name":"stickers_recent_limit","type":"int"},{"name":"stickers_faved_limit","type":"int"},{"name":"channels_read_media_period","type":"int"},{"name":"tmp_sessions","type":"flags.0?int"},{"name":"pinned_dialogs_count_max","type":"int"},{"name":"pinned_infolder_count_max","type":"int"},{"name":"call_receive_timeout_ms","type":"int"},{"name":"call_ring_timeout_ms","type":"int"},{"name":"call_connect_timeout_ms","type":"int"},{"name":"call_packet_timeout_ms","type":"int"},{"name":"me_url_prefix","type":"string"},{"name":"autoupdate_url_prefix","type":"flags.7?string"},{"name":"gif_search_username","type":"flags.9?string"},{"name":"venue_search_username","type":"flags.10?string"},{"name":"img_search_username","type":"flags.11?string"},{"name":"static_maps_provider","type":"flags.12?string"},{"name":"caption_length_max","type":"int"},{"name":"message_length_max","type":"int"},{"name":"webfile_dc_id","type":"int"},{"name":"suggested_lang_code","type":"flags.2?string"},{"name":"lang_pack_version","type":"flags.2?int"},{"name":"base_lang_pack_version","type":"flags.2?int"}],"type":"Config"},{"id":"-1910892683","predicate":"nearestDc","params":[{"name":"country","type":"string"},{"name":"this_dc","type":"int"},{"name":"nearest_dc","type":"int"}],"type":"NearestDc"},{"id":"497489295","predicate":"help.appUpdate","params":[{"name":"flags","type":"#"},{"name":"can_not_skip","type":"flags.0?true"},{"name":"id","type":"int"},{"name":"version","type":"string"},{"name":"text","type":"string"},{"name":"entities","type":"Vector"},{"name":"document","type":"flags.1?Document"},{"name":"url","type":"flags.2?string"}],"type":"help.AppUpdate"},{"id":"-1000708810","predicate":"help.noAppUpdate","params":[],"type":"help.AppUpdate"},{"id":"415997816","predicate":"help.inviteText","params":[{"name":"message","type":"string"}],"type":"help.InviteText"},{"id":"314359194","predicate":"updateNewEncryptedMessage","params":[{"name":"message","type":"EncryptedMessage"},{"name":"qts","type":"int"}],"type":"Update"},{"id":"386986326","predicate":"updateEncryptedChatTyping","params":[{"name":"chat_id","type":"int"}],"type":"Update"},{"id":"-1264392051","predicate":"updateEncryption","params":[{"name":"chat","type":"EncryptedChat"},{"name":"date","type":"int"}],"type":"Update"},{"id":"956179895","predicate":"updateEncryptedMessagesRead","params":[{"name":"chat_id","type":"int"},{"name":"max_date","type":"int"},{"name":"date","type":"int"}],"type":"Update"},{"id":"-1417756512","predicate":"encryptedChatEmpty","params":[{"name":"id","type":"int"}],"type":"EncryptedChat"},{"id":"1006044124","predicate":"encryptedChatWaiting","params":[{"name":"id","type":"int"},{"name":"access_hash","type":"long"},{"name":"date","type":"int"},{"name":"admin_id","type":"int"},{"name":"participant_id","type":"int"}],"type":"EncryptedChat"},{"id":"1651608194","predicate":"encryptedChatRequested","params":[{"name":"flags","type":"#"},{"name":"folder_id","type":"flags.0?int"},{"name":"id","type":"int"},{"name":"access_hash","type":"long"},{"name":"date","type":"int"},{"name":"admin_id","type":"int"},{"name":"participant_id","type":"int"},{"name":"g_a","type":"bytes"}],"type":"EncryptedChat"},{"id":"-94974410","predicate":"encryptedChat","params":[{"name":"id","type":"int"},{"name":"access_hash","type":"long"},{"name":"date","type":"int"},{"name":"admin_id","type":"int"},{"name":"participant_id","type":"int"},{"name":"g_a_or_b","type":"bytes"},{"name":"key_fingerprint","type":"long"}],"type":"EncryptedChat"},{"id":"332848423","predicate":"encryptedChatDiscarded","params":[{"name":"id","type":"int"}],"type":"EncryptedChat"},{"id":"-247351839","predicate":"inputEncryptedChat","params":[{"name":"chat_id","type":"int"},{"name":"access_hash","type":"long"}],"type":"InputEncryptedChat"},{"id":"-1038136962","predicate":"encryptedFileEmpty","params":[],"type":"EncryptedFile"},{"id":"1248893260","predicate":"encryptedFile","params":[{"name":"id","type":"long"},{"name":"access_hash","type":"long"},{"name":"size","type":"int"},{"name":"dc_id","type":"int"},{"name":"key_fingerprint","type":"int"}],"type":"EncryptedFile"},{"id":"406307684","predicate":"inputEncryptedFileEmpty","params":[],"type":"InputEncryptedFile"},{"id":"1690108678","predicate":"inputEncryptedFileUploaded","params":[{"name":"id","type":"long"},{"name":"parts","type":"int"},{"name":"md5_checksum","type":"string"},{"name":"key_fingerprint","type":"int"}],"type":"InputEncryptedFile"},{"id":"1511503333","predicate":"inputEncryptedFile","params":[{"name":"id","type":"long"},{"name":"access_hash","type":"long"}],"type":"InputEncryptedFile"},{"id":"-182231723","predicate":"inputEncryptedFileLocation","params":[{"name":"id","type":"long"},{"name":"access_hash","type":"long"}],"type":"InputFileLocation"},{"id":"-317144808","predicate":"encryptedMessage","params":[{"name":"random_id","type":"long"},{"name":"chat_id","type":"int"},{"name":"date","type":"int"},{"name":"bytes","type":"bytes"},{"name":"file","type":"EncryptedFile"}],"type":"EncryptedMessage"},{"id":"594758406","predicate":"encryptedMessageService","params":[{"name":"random_id","type":"long"},{"name":"chat_id","type":"int"},{"name":"date","type":"int"},{"name":"bytes","type":"bytes"}],"type":"EncryptedMessage"},{"id":"-1058912715","predicate":"messages.dhConfigNotModified","params":[{"name":"random","type":"bytes"}],"type":"messages.DhConfig"},{"id":"740433629","predicate":"messages.dhConfig","params":[{"name":"g","type":"int"},{"name":"p","type":"bytes"},{"name":"version","type":"int"},{"name":"random","type":"bytes"}],"type":"messages.DhConfig"},{"id":"1443858741","predicate":"messages.sentEncryptedMessage","params":[{"name":"date","type":"int"}],"type":"messages.SentEncryptedMessage"},{"id":"-1802240206","predicate":"messages.sentEncryptedFile","params":[{"name":"date","type":"int"},{"name":"file","type":"EncryptedFile"}],"type":"messages.SentEncryptedMessage"},{"id":"-95482955","predicate":"inputFileBig","params":[{"name":"id","type":"long"},{"name":"parts","type":"int"},{"name":"name","type":"string"}],"type":"InputFile"},{"id":"767652808","predicate":"inputEncryptedFileBigUploaded","params":[{"name":"id","type":"long"},{"name":"parts","type":"int"},{"name":"key_fingerprint","type":"int"}],"type":"InputEncryptedFile"},{"id":"-364179876","predicate":"updateChatParticipantAdd","params":[{"name":"chat_id","type":"int"},{"name":"user_id","type":"int"},{"name":"inviter_id","type":"int"},{"name":"date","type":"int"},{"name":"version","type":"int"}],"type":"Update"},{"id":"1851755554","predicate":"updateChatParticipantDelete","params":[{"name":"chat_id","type":"int"},{"name":"user_id","type":"int"},{"name":"version","type":"int"}],"type":"Update"},{"id":"-1906403213","predicate":"updateDcOptions","params":[{"name":"dc_options","type":"Vector"}],"type":"Update"},{"id":"1530447553","predicate":"inputMediaUploadedDocument","params":[{"name":"flags","type":"#"},{"name":"nosound_video","type":"flags.3?true"},{"name":"force_file","type":"flags.4?true"},{"name":"file","type":"InputFile"},{"name":"thumb","type":"flags.2?InputFile"},{"name":"mime_type","type":"string"},{"name":"attributes","type":"Vector"},{"name":"stickers","type":"flags.0?Vector"},{"name":"ttl_seconds","type":"flags.1?int"}],"type":"InputMedia"},{"id":"598418386","predicate":"inputMediaDocument","params":[{"name":"flags","type":"#"},{"name":"id","type":"InputDocument"},{"name":"ttl_seconds","type":"flags.0?int"}],"type":"InputMedia"},{"id":"-1666158377","predicate":"messageMediaDocument","params":[{"name":"flags","type":"#"},{"name":"document","type":"flags.0?Document"},{"name":"ttl_seconds","type":"flags.2?int"}],"type":"MessageMedia"},{"id":"1928391342","predicate":"inputDocumentEmpty","params":[],"type":"InputDocument"},{"id":"448771445","predicate":"inputDocument","params":[{"name":"id","type":"long"},{"name":"access_hash","type":"long"},{"name":"file_reference","type":"bytes"}],"type":"InputDocument"},{"id":"-1160743548","predicate":"inputDocumentFileLocation","params":[{"name":"id","type":"long"},{"name":"access_hash","type":"long"},{"name":"file_reference","type":"bytes"},{"name":"thumb_size","type":"string"}],"type":"InputFileLocation"},{"id":"922273905","predicate":"documentEmpty","params":[{"name":"id","type":"long"}],"type":"Document"},{"id":"512177195","predicate":"document","params":[{"name":"flags","type":"#"},{"name":"id","type":"long"},{"name":"access_hash","type":"long"},{"name":"file_reference","type":"bytes"},{"name":"date","type":"int"},{"name":"mime_type","type":"string"},{"name":"size","type":"int"},{"name":"thumbs","type":"flags.0?Vector"},{"name":"video_thumbs","type":"flags.1?Vector"},{"name":"dc_id","type":"int"},{"name":"attributes","type":"Vector"}],"type":"Document"},{"id":"398898678","predicate":"help.support","params":[{"name":"phone_number","type":"string"},{"name":"user","type":"User"}],"type":"help.Support"},{"id":"-1613493288","predicate":"notifyPeer","params":[{"name":"peer","type":"Peer"}],"type":"NotifyPeer"},{"id":"-1261946036","predicate":"notifyUsers","params":[],"type":"NotifyPeer"},{"id":"-1073230141","predicate":"notifyChats","params":[],"type":"NotifyPeer"},{"id":"-1094555409","predicate":"updateNotifySettings","params":[{"name":"peer","type":"NotifyPeer"},{"name":"notify_settings","type":"PeerNotifySettings"}],"type":"Update"},{"id":"381645902","predicate":"sendMessageTypingAction","params":[],"type":"SendMessageAction"},{"id":"-44119819","predicate":"sendMessageCancelAction","params":[],"type":"SendMessageAction"},{"id":"-1584933265","predicate":"sendMessageRecordVideoAction","params":[],"type":"SendMessageAction"},{"id":"-378127636","predicate":"sendMessageUploadVideoAction","params":[{"name":"progress","type":"int"}],"type":"SendMessageAction"},{"id":"-718310409","predicate":"sendMessageRecordAudioAction","params":[],"type":"SendMessageAction"},{"id":"-212740181","predicate":"sendMessageUploadAudioAction","params":[{"name":"progress","type":"int"}],"type":"SendMessageAction"},{"id":"-774682074","predicate":"sendMessageUploadPhotoAction","params":[{"name":"progress","type":"int"}],"type":"SendMessageAction"},{"id":"-1441998364","predicate":"sendMessageUploadDocumentAction","params":[{"name":"progress","type":"int"}],"type":"SendMessageAction"},{"id":"393186209","predicate":"sendMessageGeoLocationAction","params":[],"type":"SendMessageAction"},{"id":"1653390447","predicate":"sendMessageChooseContactAction","params":[],"type":"SendMessageAction"},{"id":"-1290580579","predicate":"contacts.found","params":[{"name":"my_results","type":"Vector"},{"name":"results","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"contacts.Found"},{"id":"-337352679","predicate":"updateServiceNotification","params":[{"name":"flags","type":"#"},{"name":"popup","type":"flags.0?true"},{"name":"inbox_date","type":"flags.1?int"},{"name":"type","type":"string"},{"name":"message","type":"string"},{"name":"media","type":"MessageMedia"},{"name":"entities","type":"Vector"}],"type":"Update"},{"id":"-496024847","predicate":"userStatusRecently","params":[],"type":"UserStatus"},{"id":"129960444","predicate":"userStatusLastWeek","params":[],"type":"UserStatus"},{"id":"2011940674","predicate":"userStatusLastMonth","params":[],"type":"UserStatus"},{"id":"-298113238","predicate":"updatePrivacy","params":[{"name":"key","type":"PrivacyKey"},{"name":"rules","type":"Vector"}],"type":"Update"},{"id":"1335282456","predicate":"inputPrivacyKeyStatusTimestamp","params":[],"type":"InputPrivacyKey"},{"id":"-1137792208","predicate":"privacyKeyStatusTimestamp","params":[],"type":"PrivacyKey"},{"id":"218751099","predicate":"inputPrivacyValueAllowContacts","params":[],"type":"InputPrivacyRule"},{"id":"407582158","predicate":"inputPrivacyValueAllowAll","params":[],"type":"InputPrivacyRule"},{"id":"320652927","predicate":"inputPrivacyValueAllowUsers","params":[{"name":"users","type":"Vector"}],"type":"InputPrivacyRule"},{"id":"195371015","predicate":"inputPrivacyValueDisallowContacts","params":[],"type":"InputPrivacyRule"},{"id":"-697604407","predicate":"inputPrivacyValueDisallowAll","params":[],"type":"InputPrivacyRule"},{"id":"-1877932953","predicate":"inputPrivacyValueDisallowUsers","params":[{"name":"users","type":"Vector"}],"type":"InputPrivacyRule"},{"id":"-123988","predicate":"privacyValueAllowContacts","params":[],"type":"PrivacyRule"},{"id":"1698855810","predicate":"privacyValueAllowAll","params":[],"type":"PrivacyRule"},{"id":"1297858060","predicate":"privacyValueAllowUsers","params":[{"name":"users","type":"Vector"}],"type":"PrivacyRule"},{"id":"-125240806","predicate":"privacyValueDisallowContacts","params":[],"type":"PrivacyRule"},{"id":"-1955338397","predicate":"privacyValueDisallowAll","params":[],"type":"PrivacyRule"},{"id":"209668535","predicate":"privacyValueDisallowUsers","params":[{"name":"users","type":"Vector"}],"type":"PrivacyRule"},{"id":"1352683077","predicate":"account.privacyRules","params":[{"name":"rules","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"account.PrivacyRules"},{"id":"-1194283041","predicate":"accountDaysTTL","params":[{"name":"days","type":"int"}],"type":"AccountDaysTTL"},{"id":"314130811","predicate":"updateUserPhone","params":[{"name":"user_id","type":"int"},{"name":"phone","type":"string"}],"type":"Update"},{"id":"1815593308","predicate":"documentAttributeImageSize","params":[{"name":"w","type":"int"},{"name":"h","type":"int"}],"type":"DocumentAttribute"},{"id":"297109817","predicate":"documentAttributeAnimated","params":[],"type":"DocumentAttribute"},{"id":"1662637586","predicate":"documentAttributeSticker","params":[{"name":"flags","type":"#"},{"name":"mask","type":"flags.1?true"},{"name":"alt","type":"string"},{"name":"stickerset","type":"InputStickerSet"},{"name":"mask_coords","type":"flags.0?MaskCoords"}],"type":"DocumentAttribute"},{"id":"250621158","predicate":"documentAttributeVideo","params":[{"name":"flags","type":"#"},{"name":"round_message","type":"flags.0?true"},{"name":"supports_streaming","type":"flags.1?true"},{"name":"duration","type":"int"},{"name":"w","type":"int"},{"name":"h","type":"int"}],"type":"DocumentAttribute"},{"id":"-1739392570","predicate":"documentAttributeAudio","params":[{"name":"flags","type":"#"},{"name":"voice","type":"flags.10?true"},{"name":"duration","type":"int"},{"name":"title","type":"flags.0?string"},{"name":"performer","type":"flags.1?string"},{"name":"waveform","type":"flags.2?bytes"}],"type":"DocumentAttribute"},{"id":"358154344","predicate":"documentAttributeFilename","params":[{"name":"file_name","type":"string"}],"type":"DocumentAttribute"},{"id":"-244016606","predicate":"messages.stickersNotModified","params":[],"type":"messages.Stickers"},{"id":"-463889475","predicate":"messages.stickers","params":[{"name":"hash","type":"int"},{"name":"stickers","type":"Vector"}],"type":"messages.Stickers"},{"id":"313694676","predicate":"stickerPack","params":[{"name":"emoticon","type":"string"},{"name":"documents","type":"Vector"}],"type":"StickerPack"},{"id":"-395967805","predicate":"messages.allStickersNotModified","params":[],"type":"messages.AllStickers"},{"id":"-302170017","predicate":"messages.allStickers","params":[{"name":"hash","type":"int"},{"name":"sets","type":"Vector"}],"type":"messages.AllStickers"},{"id":"-1667805217","predicate":"updateReadHistoryInbox","params":[{"name":"flags","type":"#"},{"name":"folder_id","type":"flags.0?int"},{"name":"peer","type":"Peer"},{"name":"max_id","type":"int"},{"name":"still_unread_count","type":"int"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"}],"type":"Update"},{"id":"791617983","predicate":"updateReadHistoryOutbox","params":[{"name":"peer","type":"Peer"},{"name":"max_id","type":"int"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"}],"type":"Update"},{"id":"-2066640507","predicate":"messages.affectedMessages","params":[{"name":"pts","type":"int"},{"name":"pts_count","type":"int"}],"type":"messages.AffectedMessages"},{"id":"2139689491","predicate":"updateWebPage","params":[{"name":"webpage","type":"WebPage"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"}],"type":"Update"},{"id":"-350980120","predicate":"webPageEmpty","params":[{"name":"id","type":"long"}],"type":"WebPage"},{"id":"-981018084","predicate":"webPagePending","params":[{"name":"id","type":"long"},{"name":"date","type":"int"}],"type":"WebPage"},{"id":"-392411726","predicate":"webPage","params":[{"name":"flags","type":"#"},{"name":"id","type":"long"},{"name":"url","type":"string"},{"name":"display_url","type":"string"},{"name":"hash","type":"int"},{"name":"type","type":"flags.0?string"},{"name":"site_name","type":"flags.1?string"},{"name":"title","type":"flags.2?string"},{"name":"description","type":"flags.3?string"},{"name":"photo","type":"flags.4?Photo"},{"name":"embed_url","type":"flags.5?string"},{"name":"embed_type","type":"flags.5?string"},{"name":"embed_width","type":"flags.6?int"},{"name":"embed_height","type":"flags.6?int"},{"name":"duration","type":"flags.7?int"},{"name":"author","type":"flags.8?string"},{"name":"document","type":"flags.9?Document"},{"name":"cached_page","type":"flags.10?Page"},{"name":"attributes","type":"flags.12?Vector"}],"type":"WebPage"},{"id":"-1557277184","predicate":"messageMediaWebPage","params":[{"name":"webpage","type":"WebPage"}],"type":"MessageMedia"},{"id":"-1392388579","predicate":"authorization","params":[{"name":"flags","type":"#"},{"name":"current","type":"flags.0?true"},{"name":"official_app","type":"flags.1?true"},{"name":"password_pending","type":"flags.2?true"},{"name":"hash","type":"long"},{"name":"device_model","type":"string"},{"name":"platform","type":"string"},{"name":"system_version","type":"string"},{"name":"api_id","type":"int"},{"name":"app_name","type":"string"},{"name":"app_version","type":"string"},{"name":"date_created","type":"int"},{"name":"date_active","type":"int"},{"name":"ip","type":"string"},{"name":"country","type":"string"},{"name":"region","type":"string"}],"type":"Authorization"},{"id":"307276766","predicate":"account.authorizations","params":[{"name":"authorizations","type":"Vector"}],"type":"account.Authorizations"},{"id":"-1390001672","predicate":"account.password","params":[{"name":"flags","type":"#"},{"name":"has_recovery","type":"flags.0?true"},{"name":"has_secure_values","type":"flags.1?true"},{"name":"has_password","type":"flags.2?true"},{"name":"current_algo","type":"flags.2?PasswordKdfAlgo"},{"name":"srp_B","type":"flags.2?bytes"},{"name":"srp_id","type":"flags.2?long"},{"name":"hint","type":"flags.3?string"},{"name":"email_unconfirmed_pattern","type":"flags.4?string"},{"name":"new_algo","type":"PasswordKdfAlgo"},{"name":"new_secure_algo","type":"SecurePasswordKdfAlgo"},{"name":"secure_random","type":"bytes"}],"type":"account.Password"},{"id":"-1705233435","predicate":"account.passwordSettings","params":[{"name":"flags","type":"#"},{"name":"email","type":"flags.0?string"},{"name":"secure_settings","type":"flags.1?SecureSecretSettings"}],"type":"account.PasswordSettings"},{"id":"-1036572727","predicate":"account.passwordInputSettings","params":[{"name":"flags","type":"#"},{"name":"new_algo","type":"flags.0?PasswordKdfAlgo"},{"name":"new_password_hash","type":"flags.0?bytes"},{"name":"hint","type":"flags.0?string"},{"name":"email","type":"flags.1?string"},{"name":"new_secure_settings","type":"flags.2?SecureSecretSettings"}],"type":"account.PasswordInputSettings"},{"id":"326715557","predicate":"auth.passwordRecovery","params":[{"name":"email_pattern","type":"string"}],"type":"auth.PasswordRecovery"},{"id":"-1052959727","predicate":"inputMediaVenue","params":[{"name":"geo_point","type":"InputGeoPoint"},{"name":"title","type":"string"},{"name":"address","type":"string"},{"name":"provider","type":"string"},{"name":"venue_id","type":"string"},{"name":"venue_type","type":"string"}],"type":"InputMedia"},{"id":"784356159","predicate":"messageMediaVenue","params":[{"name":"geo","type":"GeoPoint"},{"name":"title","type":"string"},{"name":"address","type":"string"},{"name":"provider","type":"string"},{"name":"venue_id","type":"string"},{"name":"venue_type","type":"string"}],"type":"MessageMedia"},{"id":"-1551583367","predicate":"receivedNotifyMessage","params":[{"name":"id","type":"int"},{"name":"flags","type":"int"}],"type":"ReceivedNotifyMessage"},{"id":"1776236393","predicate":"chatInviteEmpty","params":[],"type":"ExportedChatInvite"},{"id":"-64092740","predicate":"chatInviteExported","params":[{"name":"link","type":"string"}],"type":"ExportedChatInvite"},{"id":"1516793212","predicate":"chatInviteAlready","params":[{"name":"chat","type":"Chat"}],"type":"ChatInvite"},{"id":"-540871282","predicate":"chatInvite","params":[{"name":"flags","type":"#"},{"name":"channel","type":"flags.0?true"},{"name":"broadcast","type":"flags.1?true"},{"name":"public","type":"flags.2?true"},{"name":"megagroup","type":"flags.3?true"},{"name":"title","type":"string"},{"name":"photo","type":"Photo"},{"name":"participants_count","type":"int"},{"name":"participants","type":"flags.4?Vector"}],"type":"ChatInvite"},{"id":"-123931160","predicate":"messageActionChatJoinedByLink","params":[{"name":"inviter_id","type":"int"}],"type":"MessageAction"},{"id":"1757493555","predicate":"updateReadMessagesContents","params":[{"name":"messages","type":"Vector"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"}],"type":"Update"},{"id":"-4838507","predicate":"inputStickerSetEmpty","params":[],"type":"InputStickerSet"},{"id":"-1645763991","predicate":"inputStickerSetID","params":[{"name":"id","type":"long"},{"name":"access_hash","type":"long"}],"type":"InputStickerSet"},{"id":"-2044933984","predicate":"inputStickerSetShortName","params":[{"name":"short_name","type":"string"}],"type":"InputStickerSet"},{"id":"-290164953","predicate":"stickerSet","params":[{"name":"flags","type":"#"},{"name":"archived","type":"flags.1?true"},{"name":"official","type":"flags.2?true"},{"name":"masks","type":"flags.3?true"},{"name":"animated","type":"flags.5?true"},{"name":"installed_date","type":"flags.0?int"},{"name":"id","type":"long"},{"name":"access_hash","type":"long"},{"name":"title","type":"string"},{"name":"short_name","type":"string"},{"name":"thumb","type":"flags.4?PhotoSize"},{"name":"thumb_dc_id","type":"flags.4?int"},{"name":"count","type":"int"},{"name":"hash","type":"int"}],"type":"StickerSet"},{"id":"-1240849242","predicate":"messages.stickerSet","params":[{"name":"set","type":"StickerSet"},{"name":"packs","type":"Vector"},{"name":"documents","type":"Vector"}],"type":"messages.StickerSet"},{"id":"-1820043071","predicate":"user","params":[{"name":"flags","type":"#"},{"name":"self","type":"flags.10?true"},{"name":"contact","type":"flags.11?true"},{"name":"mutual_contact","type":"flags.12?true"},{"name":"deleted","type":"flags.13?true"},{"name":"bot","type":"flags.14?true"},{"name":"bot_chat_history","type":"flags.15?true"},{"name":"bot_nochats","type":"flags.16?true"},{"name":"verified","type":"flags.17?true"},{"name":"restricted","type":"flags.18?true"},{"name":"min","type":"flags.20?true"},{"name":"bot_inline_geo","type":"flags.21?true"},{"name":"support","type":"flags.23?true"},{"name":"scam","type":"flags.24?true"},{"name":"apply_min_photo","type":"flags.25?true"},{"name":"id","type":"int"},{"name":"access_hash","type":"flags.0?long"},{"name":"first_name","type":"flags.1?string"},{"name":"last_name","type":"flags.2?string"},{"name":"username","type":"flags.3?string"},{"name":"phone","type":"flags.4?string"},{"name":"photo","type":"flags.5?UserProfilePhoto"},{"name":"status","type":"flags.6?UserStatus"},{"name":"bot_info_version","type":"flags.14?int"},{"name":"restriction_reason","type":"flags.18?Vector"},{"name":"bot_inline_placeholder","type":"flags.19?string"},{"name":"lang_code","type":"flags.22?string"}],"type":"User"},{"id":"-1032140601","predicate":"botCommand","params":[{"name":"command","type":"string"},{"name":"description","type":"string"}],"type":"BotCommand"},{"id":"-1729618630","predicate":"botInfo","params":[{"name":"user_id","type":"int"},{"name":"description","type":"string"},{"name":"commands","type":"Vector"}],"type":"BotInfo"},{"id":"-1560655744","predicate":"keyboardButton","params":[{"name":"text","type":"string"}],"type":"KeyboardButton"},{"id":"2002815875","predicate":"keyboardButtonRow","params":[{"name":"buttons","type":"Vector"}],"type":"KeyboardButtonRow"},{"id":"-1606526075","predicate":"replyKeyboardHide","params":[{"name":"flags","type":"#"},{"name":"selective","type":"flags.2?true"}],"type":"ReplyMarkup"},{"id":"-200242528","predicate":"replyKeyboardForceReply","params":[{"name":"flags","type":"#"},{"name":"single_use","type":"flags.1?true"},{"name":"selective","type":"flags.2?true"}],"type":"ReplyMarkup"},{"id":"889353612","predicate":"replyKeyboardMarkup","params":[{"name":"flags","type":"#"},{"name":"resize","type":"flags.0?true"},{"name":"single_use","type":"flags.1?true"},{"name":"selective","type":"flags.2?true"},{"name":"rows","type":"Vector"}],"type":"ReplyMarkup"},{"id":"2072935910","predicate":"inputPeerUser","params":[{"name":"user_id","type":"int"},{"name":"access_hash","type":"long"}],"type":"InputPeer"},{"id":"-668391402","predicate":"inputUser","params":[{"name":"user_id","type":"int"},{"name":"access_hash","type":"long"}],"type":"InputUser"},{"id":"-1148011883","predicate":"messageEntityUnknown","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"}],"type":"MessageEntity"},{"id":"-100378723","predicate":"messageEntityMention","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"}],"type":"MessageEntity"},{"id":"1868782349","predicate":"messageEntityHashtag","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"}],"type":"MessageEntity"},{"id":"1827637959","predicate":"messageEntityBotCommand","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"}],"type":"MessageEntity"},{"id":"1859134776","predicate":"messageEntityUrl","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"}],"type":"MessageEntity"},{"id":"1692693954","predicate":"messageEntityEmail","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"}],"type":"MessageEntity"},{"id":"-1117713463","predicate":"messageEntityBold","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"}],"type":"MessageEntity"},{"id":"-2106619040","predicate":"messageEntityItalic","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"}],"type":"MessageEntity"},{"id":"681706865","predicate":"messageEntityCode","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"}],"type":"MessageEntity"},{"id":"1938967520","predicate":"messageEntityPre","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"},{"name":"language","type":"string"}],"type":"MessageEntity"},{"id":"1990644519","predicate":"messageEntityTextUrl","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"},{"name":"url","type":"string"}],"type":"MessageEntity"},{"id":"301019932","predicate":"updateShortSentMessage","params":[{"name":"flags","type":"#"},{"name":"out","type":"flags.1?true"},{"name":"id","type":"int"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"},{"name":"date","type":"int"},{"name":"media","type":"flags.9?MessageMedia"},{"name":"entities","type":"flags.7?Vector"}],"type":"Updates"},{"id":"-292807034","predicate":"inputChannelEmpty","params":[],"type":"InputChannel"},{"id":"-1343524562","predicate":"inputChannel","params":[{"name":"channel_id","type":"int"},{"name":"access_hash","type":"long"}],"type":"InputChannel"},{"id":"-1109531342","predicate":"peerChannel","params":[{"name":"channel_id","type":"int"}],"type":"Peer"},{"id":"548253432","predicate":"inputPeerChannel","params":[{"name":"channel_id","type":"int"},{"name":"access_hash","type":"long"}],"type":"InputPeer"},{"id":"-753232354","predicate":"channel","params":[{"name":"flags","type":"#"},{"name":"creator","type":"flags.0?true"},{"name":"left","type":"flags.2?true"},{"name":"broadcast","type":"flags.5?true"},{"name":"verified","type":"flags.7?true"},{"name":"megagroup","type":"flags.8?true"},{"name":"restricted","type":"flags.9?true"},{"name":"signatures","type":"flags.11?true"},{"name":"min","type":"flags.12?true"},{"name":"scam","type":"flags.19?true"},{"name":"has_link","type":"flags.20?true"},{"name":"has_geo","type":"flags.21?true"},{"name":"slowmode_enabled","type":"flags.22?true"},{"name":"call_active","type":"flags.23?true"},{"name":"call_not_empty","type":"flags.24?true"},{"name":"id","type":"int"},{"name":"access_hash","type":"flags.13?long"},{"name":"title","type":"string"},{"name":"username","type":"flags.6?string"},{"name":"photo","type":"ChatPhoto"},{"name":"date","type":"int"},{"name":"version","type":"int"},{"name":"restriction_reason","type":"flags.9?Vector"},{"name":"admin_rights","type":"flags.14?ChatAdminRights"},{"name":"banned_rights","type":"flags.15?ChatBannedRights"},{"name":"default_banned_rights","type":"flags.18?ChatBannedRights"},{"name":"participants_count","type":"flags.17?int"}],"type":"Chat"},{"id":"681420594","predicate":"channelForbidden","params":[{"name":"flags","type":"#"},{"name":"broadcast","type":"flags.5?true"},{"name":"megagroup","type":"flags.8?true"},{"name":"id","type":"int"},{"name":"access_hash","type":"long"},{"name":"title","type":"string"},{"name":"until_date","type":"flags.16?int"}],"type":"Chat"},{"id":"2131196633","predicate":"contacts.resolvedPeer","params":[{"name":"peer","type":"Peer"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"contacts.ResolvedPeer"},{"id":"-253335766","predicate":"channelFull","params":[{"name":"flags","type":"#"},{"name":"can_view_participants","type":"flags.3?true"},{"name":"can_set_username","type":"flags.6?true"},{"name":"can_set_stickers","type":"flags.7?true"},{"name":"hidden_prehistory","type":"flags.10?true"},{"name":"can_set_location","type":"flags.16?true"},{"name":"has_scheduled","type":"flags.19?true"},{"name":"can_view_stats","type":"flags.20?true"},{"name":"blocked","type":"flags.22?true"},{"name":"id","type":"int"},{"name":"about","type":"string"},{"name":"participants_count","type":"flags.0?int"},{"name":"admins_count","type":"flags.1?int"},{"name":"kicked_count","type":"flags.2?int"},{"name":"banned_count","type":"flags.2?int"},{"name":"online_count","type":"flags.13?int"},{"name":"read_inbox_max_id","type":"int"},{"name":"read_outbox_max_id","type":"int"},{"name":"unread_count","type":"int"},{"name":"chat_photo","type":"Photo"},{"name":"notify_settings","type":"PeerNotifySettings"},{"name":"exported_invite","type":"ExportedChatInvite"},{"name":"bot_info","type":"Vector"},{"name":"migrated_from_chat_id","type":"flags.4?int"},{"name":"migrated_from_max_id","type":"flags.4?int"},{"name":"pinned_msg_id","type":"flags.5?int"},{"name":"stickerset","type":"flags.8?StickerSet"},{"name":"available_min_id","type":"flags.9?int"},{"name":"folder_id","type":"flags.11?int"},{"name":"linked_chat_id","type":"flags.14?int"},{"name":"location","type":"flags.15?ChannelLocation"},{"name":"slowmode_seconds","type":"flags.17?int"},{"name":"slowmode_next_send_date","type":"flags.18?int"},{"name":"stats_dc","type":"flags.12?int"},{"name":"pts","type":"int"}],"type":"ChatFull"},{"id":"182649427","predicate":"messageRange","params":[{"name":"min_id","type":"int"},{"name":"max_id","type":"int"}],"type":"MessageRange"},{"id":"1682413576","predicate":"messages.channelMessages","params":[{"name":"flags","type":"#"},{"name":"inexact","type":"flags.1?true"},{"name":"pts","type":"int"},{"name":"count","type":"int"},{"name":"offset_id_offset","type":"flags.2?int"},{"name":"messages","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"messages.Messages"},{"id":"-1781355374","predicate":"messageActionChannelCreate","params":[{"name":"title","type":"string"}],"type":"MessageAction"},{"id":"-352032773","predicate":"updateChannelTooLong","params":[{"name":"flags","type":"#"},{"name":"channel_id","type":"int"},{"name":"pts","type":"flags.0?int"}],"type":"Update"},{"id":"-1227598250","predicate":"updateChannel","params":[{"name":"channel_id","type":"int"}],"type":"Update"},{"id":"1656358105","predicate":"updateNewChannelMessage","params":[{"name":"message","type":"Message"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"}],"type":"Update"},{"id":"856380452","predicate":"updateReadChannelInbox","params":[{"name":"flags","type":"#"},{"name":"folder_id","type":"flags.0?int"},{"name":"channel_id","type":"int"},{"name":"max_id","type":"int"},{"name":"still_unread_count","type":"int"},{"name":"pts","type":"int"}],"type":"Update"},{"id":"-1015733815","predicate":"updateDeleteChannelMessages","params":[{"name":"channel_id","type":"int"},{"name":"messages","type":"Vector"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"}],"type":"Update"},{"id":"-1734268085","predicate":"updateChannelMessageViews","params":[{"name":"channel_id","type":"int"},{"name":"id","type":"int"},{"name":"views","type":"int"}],"type":"Update"},{"id":"1041346555","predicate":"updates.channelDifferenceEmpty","params":[{"name":"flags","type":"#"},{"name":"final","type":"flags.0?true"},{"name":"pts","type":"int"},{"name":"timeout","type":"flags.1?int"}],"type":"updates.ChannelDifference"},{"id":"-1531132162","predicate":"updates.channelDifferenceTooLong","params":[{"name":"flags","type":"#"},{"name":"final","type":"flags.0?true"},{"name":"timeout","type":"flags.1?int"},{"name":"dialog","type":"Dialog"},{"name":"messages","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"updates.ChannelDifference"},{"id":"543450958","predicate":"updates.channelDifference","params":[{"name":"flags","type":"#"},{"name":"final","type":"flags.0?true"},{"name":"pts","type":"int"},{"name":"timeout","type":"flags.1?int"},{"name":"new_messages","type":"Vector"},{"name":"other_updates","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"updates.ChannelDifference"},{"id":"-1798033689","predicate":"channelMessagesFilterEmpty","params":[],"type":"ChannelMessagesFilter"},{"id":"-847783593","predicate":"channelMessagesFilter","params":[{"name":"flags","type":"#"},{"name":"exclude_new_messages","type":"flags.1?true"},{"name":"ranges","type":"Vector"}],"type":"ChannelMessagesFilter"},{"id":"367766557","predicate":"channelParticipant","params":[{"name":"user_id","type":"int"},{"name":"date","type":"int"}],"type":"ChannelParticipant"},{"id":"-1557620115","predicate":"channelParticipantSelf","params":[{"name":"user_id","type":"int"},{"name":"inviter_id","type":"int"},{"name":"date","type":"int"}],"type":"ChannelParticipant"},{"id":"1149094475","predicate":"channelParticipantCreator","params":[{"name":"flags","type":"#"},{"name":"user_id","type":"int"},{"name":"admin_rights","type":"ChatAdminRights"},{"name":"rank","type":"flags.0?string"}],"type":"ChannelParticipant"},{"id":"-566281095","predicate":"channelParticipantsRecent","params":[],"type":"ChannelParticipantsFilter"},{"id":"-1268741783","predicate":"channelParticipantsAdmins","params":[],"type":"ChannelParticipantsFilter"},{"id":"-1548400251","predicate":"channelParticipantsKicked","params":[{"name":"q","type":"string"}],"type":"ChannelParticipantsFilter"},{"id":"-177282392","predicate":"channels.channelParticipants","params":[{"name":"count","type":"int"},{"name":"participants","type":"Vector"},{"name":"users","type":"Vector"}],"type":"channels.ChannelParticipants"},{"id":"-791039645","predicate":"channels.channelParticipant","params":[{"name":"participant","type":"ChannelParticipant"},{"name":"users","type":"Vector"}],"type":"channels.ChannelParticipant"},{"id":"-636267638","predicate":"chatParticipantCreator","params":[{"name":"user_id","type":"int"}],"type":"ChatParticipant"},{"id":"-489233354","predicate":"chatParticipantAdmin","params":[{"name":"user_id","type":"int"},{"name":"inviter_id","type":"int"},{"name":"date","type":"int"}],"type":"ChatParticipant"},{"id":"-1232070311","predicate":"updateChatParticipantAdmin","params":[{"name":"chat_id","type":"int"},{"name":"user_id","type":"int"},{"name":"is_admin","type":"Bool"},{"name":"version","type":"int"}],"type":"Update"},{"id":"1371385889","predicate":"messageActionChatMigrateTo","params":[{"name":"channel_id","type":"int"}],"type":"MessageAction"},{"id":"-1336546578","predicate":"messageActionChannelMigrateFrom","params":[{"name":"title","type":"string"},{"name":"chat_id","type":"int"}],"type":"MessageAction"},{"id":"-1328445861","predicate":"channelParticipantsBots","params":[],"type":"ChannelParticipantsFilter"},{"id":"2013922064","predicate":"help.termsOfService","params":[{"name":"flags","type":"#"},{"name":"popup","type":"flags.0?true"},{"name":"id","type":"DataJSON"},{"name":"text","type":"string"},{"name":"entities","type":"Vector"},{"name":"min_age_confirm","type":"flags.1?int"}],"type":"help.TermsOfService"},{"id":"1753886890","predicate":"updateNewStickerSet","params":[{"name":"stickerset","type":"messages.StickerSet"}],"type":"Update"},{"id":"196268545","predicate":"updateStickerSetsOrder","params":[{"name":"flags","type":"#"},{"name":"masks","type":"flags.0?true"},{"name":"order","type":"Vector"}],"type":"Update"},{"id":"1135492588","predicate":"updateStickerSets","params":[],"type":"Update"},{"id":"-402498398","predicate":"messages.savedGifsNotModified","params":[],"type":"messages.SavedGifs"},{"id":"772213157","predicate":"messages.savedGifs","params":[{"name":"hash","type":"int"},{"name":"gifs","type":"Vector"}],"type":"messages.SavedGifs"},{"id":"-1821035490","predicate":"updateSavedGifs","params":[],"type":"Update"},{"id":"864077702","predicate":"inputBotInlineMessageMediaAuto","params":[{"name":"flags","type":"#"},{"name":"message","type":"string"},{"name":"entities","type":"flags.1?Vector"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"}],"type":"InputBotInlineMessage"},{"id":"1036876423","predicate":"inputBotInlineMessageText","params":[{"name":"flags","type":"#"},{"name":"no_webpage","type":"flags.0?true"},{"name":"message","type":"string"},{"name":"entities","type":"flags.1?Vector"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"}],"type":"InputBotInlineMessage"},{"id":"-2000710887","predicate":"inputBotInlineResult","params":[{"name":"flags","type":"#"},{"name":"id","type":"string"},{"name":"type","type":"string"},{"name":"title","type":"flags.1?string"},{"name":"description","type":"flags.2?string"},{"name":"url","type":"flags.3?string"},{"name":"thumb","type":"flags.4?InputWebDocument"},{"name":"content","type":"flags.5?InputWebDocument"},{"name":"send_message","type":"InputBotInlineMessage"}],"type":"InputBotInlineResult"},{"id":"1984755728","predicate":"botInlineMessageMediaAuto","params":[{"name":"flags","type":"#"},{"name":"message","type":"string"},{"name":"entities","type":"flags.1?Vector"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"}],"type":"BotInlineMessage"},{"id":"-1937807902","predicate":"botInlineMessageText","params":[{"name":"flags","type":"#"},{"name":"no_webpage","type":"flags.0?true"},{"name":"message","type":"string"},{"name":"entities","type":"flags.1?Vector"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"}],"type":"BotInlineMessage"},{"id":"295067450","predicate":"botInlineResult","params":[{"name":"flags","type":"#"},{"name":"id","type":"string"},{"name":"type","type":"string"},{"name":"title","type":"flags.1?string"},{"name":"description","type":"flags.2?string"},{"name":"url","type":"flags.3?string"},{"name":"thumb","type":"flags.4?WebDocument"},{"name":"content","type":"flags.5?WebDocument"},{"name":"send_message","type":"BotInlineMessage"}],"type":"BotInlineResult"},{"id":"-1803769784","predicate":"messages.botResults","params":[{"name":"flags","type":"#"},{"name":"gallery","type":"flags.0?true"},{"name":"query_id","type":"long"},{"name":"next_offset","type":"flags.1?string"},{"name":"switch_pm","type":"flags.2?InlineBotSwitchPM"},{"name":"results","type":"Vector"},{"name":"cache_time","type":"int"},{"name":"users","type":"Vector"}],"type":"messages.BotResults"},{"id":"1417832080","predicate":"updateBotInlineQuery","params":[{"name":"flags","type":"#"},{"name":"query_id","type":"long"},{"name":"user_id","type":"int"},{"name":"query","type":"string"},{"name":"geo","type":"flags.0?GeoPoint"},{"name":"offset","type":"string"}],"type":"Update"},{"id":"239663460","predicate":"updateBotInlineSend","params":[{"name":"flags","type":"#"},{"name":"user_id","type":"int"},{"name":"query","type":"string"},{"name":"geo","type":"flags.0?GeoPoint"},{"name":"id","type":"string"},{"name":"msg_id","type":"flags.1?InputBotInlineMessageID"}],"type":"Update"},{"id":"1358283666","predicate":"inputMessagesFilterVoice","params":[],"type":"MessagesFilter"},{"id":"928101534","predicate":"inputMessagesFilterMusic","params":[],"type":"MessagesFilter"},{"id":"-1107622874","predicate":"inputPrivacyKeyChatInvite","params":[],"type":"InputPrivacyKey"},{"id":"1343122938","predicate":"privacyKeyChatInvite","params":[],"type":"PrivacyKey"},{"id":"1571494644","predicate":"exportedMessageLink","params":[{"name":"link","type":"string"},{"name":"html","type":"string"}],"type":"ExportedMessageLink"},{"id":"1601666510","predicate":"messageFwdHeader","params":[{"name":"flags","type":"#"},{"name":"imported","type":"flags.7?true"},{"name":"from_id","type":"flags.0?Peer"},{"name":"from_name","type":"flags.5?string"},{"name":"date","type":"int"},{"name":"channel_post","type":"flags.2?int"},{"name":"post_author","type":"flags.3?string"},{"name":"saved_from_peer","type":"flags.4?Peer"},{"name":"saved_from_msg_id","type":"flags.4?int"},{"name":"psa_type","type":"flags.6?string"}],"type":"MessageFwdHeader"},{"id":"457133559","predicate":"updateEditChannelMessage","params":[{"name":"message","type":"Message"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"}],"type":"Update"},{"id":"-1799538451","predicate":"messageActionPinMessage","params":[],"type":"MessageAction"},{"id":"1923290508","predicate":"auth.codeTypeSms","params":[],"type":"auth.CodeType"},{"id":"1948046307","predicate":"auth.codeTypeCall","params":[],"type":"auth.CodeType"},{"id":"577556219","predicate":"auth.codeTypeFlashCall","params":[],"type":"auth.CodeType"},{"id":"1035688326","predicate":"auth.sentCodeTypeApp","params":[{"name":"length","type":"int"}],"type":"auth.SentCodeType"},{"id":"-1073693790","predicate":"auth.sentCodeTypeSms","params":[{"name":"length","type":"int"}],"type":"auth.SentCodeType"},{"id":"1398007207","predicate":"auth.sentCodeTypeCall","params":[{"name":"length","type":"int"}],"type":"auth.SentCodeType"},{"id":"-1425815847","predicate":"auth.sentCodeTypeFlashCall","params":[{"name":"pattern","type":"string"}],"type":"auth.SentCodeType"},{"id":"629866245","predicate":"keyboardButtonUrl","params":[{"name":"text","type":"string"},{"name":"url","type":"string"}],"type":"KeyboardButton"},{"id":"901503851","predicate":"keyboardButtonCallback","params":[{"name":"flags","type":"#"},{"name":"requires_password","type":"flags.0?true"},{"name":"text","type":"string"},{"name":"data","type":"bytes"}],"type":"KeyboardButton"},{"id":"-1318425559","predicate":"keyboardButtonRequestPhone","params":[{"name":"text","type":"string"}],"type":"KeyboardButton"},{"id":"-59151553","predicate":"keyboardButtonRequestGeoLocation","params":[{"name":"text","type":"string"}],"type":"KeyboardButton"},{"id":"90744648","predicate":"keyboardButtonSwitchInline","params":[{"name":"flags","type":"#"},{"name":"same_peer","type":"flags.0?true"},{"name":"text","type":"string"},{"name":"query","type":"string"}],"type":"KeyboardButton"},{"id":"1218642516","predicate":"replyInlineMarkup","params":[{"name":"rows","type":"Vector"}],"type":"ReplyMarkup"},{"id":"911761060","predicate":"messages.botCallbackAnswer","params":[{"name":"flags","type":"#"},{"name":"alert","type":"flags.1?true"},{"name":"has_url","type":"flags.3?true"},{"name":"native_ui","type":"flags.4?true"},{"name":"message","type":"flags.0?string"},{"name":"url","type":"flags.2?string"},{"name":"cache_time","type":"int"}],"type":"messages.BotCallbackAnswer"},{"id":"-415938591","predicate":"updateBotCallbackQuery","params":[{"name":"flags","type":"#"},{"name":"query_id","type":"long"},{"name":"user_id","type":"int"},{"name":"peer","type":"Peer"},{"name":"msg_id","type":"int"},{"name":"chat_instance","type":"long"},{"name":"data","type":"flags.0?bytes"},{"name":"game_short_name","type":"flags.1?string"}],"type":"Update"},{"id":"649453030","predicate":"messages.messageEditData","params":[{"name":"flags","type":"#"},{"name":"caption","type":"flags.0?true"}],"type":"messages.MessageEditData"},{"id":"-469536605","predicate":"updateEditMessage","params":[{"name":"message","type":"Message"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"}],"type":"Update"},{"id":"-1768777083","predicate":"inputBotInlineMessageMediaGeo","params":[{"name":"flags","type":"#"},{"name":"geo_point","type":"InputGeoPoint"},{"name":"heading","type":"flags.0?int"},{"name":"period","type":"flags.1?int"},{"name":"proximity_notification_radius","type":"flags.3?int"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"}],"type":"InputBotInlineMessage"},{"id":"1098628881","predicate":"inputBotInlineMessageMediaVenue","params":[{"name":"flags","type":"#"},{"name":"geo_point","type":"InputGeoPoint"},{"name":"title","type":"string"},{"name":"address","type":"string"},{"name":"provider","type":"string"},{"name":"venue_id","type":"string"},{"name":"venue_type","type":"string"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"}],"type":"InputBotInlineMessage"},{"id":"-1494368259","predicate":"inputBotInlineMessageMediaContact","params":[{"name":"flags","type":"#"},{"name":"phone_number","type":"string"},{"name":"first_name","type":"string"},{"name":"last_name","type":"string"},{"name":"vcard","type":"string"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"}],"type":"InputBotInlineMessage"},{"id":"85477117","predicate":"botInlineMessageMediaGeo","params":[{"name":"flags","type":"#"},{"name":"geo","type":"GeoPoint"},{"name":"heading","type":"flags.0?int"},{"name":"period","type":"flags.1?int"},{"name":"proximity_notification_radius","type":"flags.3?int"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"}],"type":"BotInlineMessage"},{"id":"-1970903652","predicate":"botInlineMessageMediaVenue","params":[{"name":"flags","type":"#"},{"name":"geo","type":"GeoPoint"},{"name":"title","type":"string"},{"name":"address","type":"string"},{"name":"provider","type":"string"},{"name":"venue_id","type":"string"},{"name":"venue_type","type":"string"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"}],"type":"BotInlineMessage"},{"id":"416402882","predicate":"botInlineMessageMediaContact","params":[{"name":"flags","type":"#"},{"name":"phone_number","type":"string"},{"name":"first_name","type":"string"},{"name":"last_name","type":"string"},{"name":"vcard","type":"string"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"}],"type":"BotInlineMessage"},{"id":"-1462213465","predicate":"inputBotInlineResultPhoto","params":[{"name":"id","type":"string"},{"name":"type","type":"string"},{"name":"photo","type":"InputPhoto"},{"name":"send_message","type":"InputBotInlineMessage"}],"type":"InputBotInlineResult"},{"id":"-459324","predicate":"inputBotInlineResultDocument","params":[{"name":"flags","type":"#"},{"name":"id","type":"string"},{"name":"type","type":"string"},{"name":"title","type":"flags.1?string"},{"name":"description","type":"flags.2?string"},{"name":"document","type":"InputDocument"},{"name":"send_message","type":"InputBotInlineMessage"}],"type":"InputBotInlineResult"},{"id":"400266251","predicate":"botInlineMediaResult","params":[{"name":"flags","type":"#"},{"name":"id","type":"string"},{"name":"type","type":"string"},{"name":"photo","type":"flags.0?Photo"},{"name":"document","type":"flags.1?Document"},{"name":"title","type":"flags.2?string"},{"name":"description","type":"flags.3?string"},{"name":"send_message","type":"BotInlineMessage"}],"type":"BotInlineResult"},{"id":"-1995686519","predicate":"inputBotInlineMessageID","params":[{"name":"dc_id","type":"int"},{"name":"id","type":"long"},{"name":"access_hash","type":"long"}],"type":"InputBotInlineMessageID"},{"id":"-103646630","predicate":"updateInlineBotCallbackQuery","params":[{"name":"flags","type":"#"},{"name":"query_id","type":"long"},{"name":"user_id","type":"int"},{"name":"msg_id","type":"InputBotInlineMessageID"},{"name":"chat_instance","type":"long"},{"name":"data","type":"flags.0?bytes"},{"name":"game_short_name","type":"flags.1?string"}],"type":"Update"},{"id":"1008755359","predicate":"inlineBotSwitchPM","params":[{"name":"text","type":"string"},{"name":"start_param","type":"string"}],"type":"InlineBotSwitchPM"},{"id":"863093588","predicate":"messages.peerDialogs","params":[{"name":"dialogs","type":"Vector"},{"name":"messages","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"},{"name":"state","type":"updates.State"}],"type":"messages.PeerDialogs"},{"id":"-305282981","predicate":"topPeer","params":[{"name":"peer","type":"Peer"},{"name":"rating","type":"double"}],"type":"TopPeer"},{"id":"-1419371685","predicate":"topPeerCategoryBotsPM","params":[],"type":"TopPeerCategory"},{"id":"344356834","predicate":"topPeerCategoryBotsInline","params":[],"type":"TopPeerCategory"},{"id":"104314861","predicate":"topPeerCategoryCorrespondents","params":[],"type":"TopPeerCategory"},{"id":"-1122524854","predicate":"topPeerCategoryGroups","params":[],"type":"TopPeerCategory"},{"id":"371037736","predicate":"topPeerCategoryChannels","params":[],"type":"TopPeerCategory"},{"id":"-75283823","predicate":"topPeerCategoryPeers","params":[{"name":"category","type":"TopPeerCategory"},{"name":"count","type":"int"},{"name":"peers","type":"Vector"}],"type":"TopPeerCategoryPeers"},{"id":"-567906571","predicate":"contacts.topPeersNotModified","params":[],"type":"contacts.TopPeers"},{"id":"1891070632","predicate":"contacts.topPeers","params":[{"name":"categories","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"contacts.TopPeers"},{"id":"892193368","predicate":"messageEntityMentionName","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"},{"name":"user_id","type":"int"}],"type":"MessageEntity"},{"id":"546203849","predicate":"inputMessageEntityMentionName","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"},{"name":"user_id","type":"InputUser"}],"type":"MessageEntity"},{"id":"975236280","predicate":"inputMessagesFilterChatPhotos","params":[],"type":"MessagesFilter"},{"id":"634833351","predicate":"updateReadChannelOutbox","params":[{"name":"channel_id","type":"int"},{"name":"max_id","type":"int"}],"type":"Update"},{"id":"-299124375","predicate":"updateDraftMessage","params":[{"name":"peer","type":"Peer"},{"name":"draft","type":"DraftMessage"}],"type":"Update"},{"id":"453805082","predicate":"draftMessageEmpty","params":[{"name":"flags","type":"#"},{"name":"date","type":"flags.0?int"}],"type":"DraftMessage"},{"id":"-40996577","predicate":"draftMessage","params":[{"name":"flags","type":"#"},{"name":"no_webpage","type":"flags.1?true"},{"name":"reply_to_msg_id","type":"flags.0?int"},{"name":"message","type":"string"},{"name":"entities","type":"flags.3?Vector"},{"name":"date","type":"int"}],"type":"DraftMessage"},{"id":"-1615153660","predicate":"messageActionHistoryClear","params":[],"type":"MessageAction"},{"id":"-958657434","predicate":"messages.featuredStickersNotModified","params":[{"name":"count","type":"int"}],"type":"messages.FeaturedStickers"},{"id":"-1230257343","predicate":"messages.featuredStickers","params":[{"name":"hash","type":"int"},{"name":"count","type":"int"},{"name":"sets","type":"Vector"},{"name":"unread","type":"Vector"}],"type":"messages.FeaturedStickers"},{"id":"1461528386","predicate":"updateReadFeaturedStickers","params":[],"type":"Update"},{"id":"186120336","predicate":"messages.recentStickersNotModified","params":[],"type":"messages.RecentStickers"},{"id":"586395571","predicate":"messages.recentStickers","params":[{"name":"hash","type":"int"},{"name":"packs","type":"Vector"},{"name":"stickers","type":"Vector"},{"name":"dates","type":"Vector"}],"type":"messages.RecentStickers"},{"id":"-1706939360","predicate":"updateRecentStickers","params":[],"type":"Update"},{"id":"1338747336","predicate":"messages.archivedStickers","params":[{"name":"count","type":"int"},{"name":"sets","type":"Vector"}],"type":"messages.ArchivedStickers"},{"id":"946083368","predicate":"messages.stickerSetInstallResultSuccess","params":[],"type":"messages.StickerSetInstallResult"},{"id":"904138920","predicate":"messages.stickerSetInstallResultArchive","params":[{"name":"sets","type":"Vector"}],"type":"messages.StickerSetInstallResult"},{"id":"1678812626","predicate":"stickerSetCovered","params":[{"name":"set","type":"StickerSet"},{"name":"cover","type":"Document"}],"type":"StickerSetCovered"},{"id":"-1574314746","predicate":"updateConfig","params":[],"type":"Update"},{"id":"861169551","predicate":"updatePtsChanged","params":[],"type":"Update"},{"id":"-440664550","predicate":"inputMediaPhotoExternal","params":[{"name":"flags","type":"#"},{"name":"url","type":"string"},{"name":"ttl_seconds","type":"flags.0?int"}],"type":"InputMedia"},{"id":"-78455655","predicate":"inputMediaDocumentExternal","params":[{"name":"flags","type":"#"},{"name":"url","type":"string"},{"name":"ttl_seconds","type":"flags.0?int"}],"type":"InputMedia"},{"id":"872932635","predicate":"stickerSetMultiCovered","params":[{"name":"set","type":"StickerSet"},{"name":"covers","type":"Vector"}],"type":"StickerSetCovered"},{"id":"-1361650766","predicate":"maskCoords","params":[{"name":"n","type":"int"},{"name":"x","type":"double"},{"name":"y","type":"double"},{"name":"zoom","type":"double"}],"type":"MaskCoords"},{"id":"-1744710921","predicate":"documentAttributeHasStickers","params":[],"type":"DocumentAttribute"},{"id":"1251549527","predicate":"inputStickeredMediaPhoto","params":[{"name":"id","type":"InputPhoto"}],"type":"InputStickeredMedia"},{"id":"70813275","predicate":"inputStickeredMediaDocument","params":[{"name":"id","type":"InputDocument"}],"type":"InputStickeredMedia"},{"id":"-1107729093","predicate":"game","params":[{"name":"flags","type":"#"},{"name":"id","type":"long"},{"name":"access_hash","type":"long"},{"name":"short_name","type":"string"},{"name":"title","type":"string"},{"name":"description","type":"string"},{"name":"photo","type":"Photo"},{"name":"document","type":"flags.0?Document"}],"type":"Game"},{"id":"1336154098","predicate":"inputBotInlineResultGame","params":[{"name":"id","type":"string"},{"name":"short_name","type":"string"},{"name":"send_message","type":"InputBotInlineMessage"}],"type":"InputBotInlineResult"},{"id":"1262639204","predicate":"inputBotInlineMessageGame","params":[{"name":"flags","type":"#"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"}],"type":"InputBotInlineMessage"},{"id":"-38694904","predicate":"messageMediaGame","params":[{"name":"game","type":"Game"}],"type":"MessageMedia"},{"id":"-750828557","predicate":"inputMediaGame","params":[{"name":"id","type":"InputGame"}],"type":"InputMedia"},{"id":"53231223","predicate":"inputGameID","params":[{"name":"id","type":"long"},{"name":"access_hash","type":"long"}],"type":"InputGame"},{"id":"-1020139510","predicate":"inputGameShortName","params":[{"name":"bot_id","type":"InputUser"},{"name":"short_name","type":"string"}],"type":"InputGame"},{"id":"1358175439","predicate":"keyboardButtonGame","params":[{"name":"text","type":"string"}],"type":"KeyboardButton"},{"id":"-1834538890","predicate":"messageActionGameScore","params":[{"name":"game_id","type":"long"},{"name":"score","type":"int"}],"type":"MessageAction"},{"id":"1493171408","predicate":"highScore","params":[{"name":"pos","type":"int"},{"name":"user_id","type":"int"},{"name":"score","type":"int"}],"type":"HighScore"},{"id":"-1707344487","predicate":"messages.highScores","params":[{"name":"scores","type":"Vector"},{"name":"users","type":"Vector"}],"type":"messages.HighScores"},{"id":"1258196845","predicate":"updates.differenceTooLong","params":[{"name":"pts","type":"int"}],"type":"updates.Difference"},{"id":"1081547008","predicate":"updateChannelWebPage","params":[{"name":"channel_id","type":"int"},{"name":"webpage","type":"WebPage"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"}],"type":"Update"},{"id":"-1663561404","predicate":"messages.chatsSlice","params":[{"name":"count","type":"int"},{"name":"chats","type":"Vector"}],"type":"messages.Chats"},{"id":"-599948721","predicate":"textEmpty","params":[],"type":"RichText"},{"id":"1950782688","predicate":"textPlain","params":[{"name":"text","type":"string"}],"type":"RichText"},{"id":"1730456516","predicate":"textBold","params":[{"name":"text","type":"RichText"}],"type":"RichText"},{"id":"-653089380","predicate":"textItalic","params":[{"name":"text","type":"RichText"}],"type":"RichText"},{"id":"-1054465340","predicate":"textUnderline","params":[{"name":"text","type":"RichText"}],"type":"RichText"},{"id":"-1678197867","predicate":"textStrike","params":[{"name":"text","type":"RichText"}],"type":"RichText"},{"id":"1816074681","predicate":"textFixed","params":[{"name":"text","type":"RichText"}],"type":"RichText"},{"id":"1009288385","predicate":"textUrl","params":[{"name":"text","type":"RichText"},{"name":"url","type":"string"},{"name":"webpage_id","type":"long"}],"type":"RichText"},{"id":"-564523562","predicate":"textEmail","params":[{"name":"text","type":"RichText"},{"name":"email","type":"string"}],"type":"RichText"},{"id":"2120376535","predicate":"textConcat","params":[{"name":"texts","type":"Vector"}],"type":"RichText"},{"id":"324435594","predicate":"pageBlockUnsupported","params":[],"type":"PageBlock"},{"id":"1890305021","predicate":"pageBlockTitle","params":[{"name":"text","type":"RichText"}],"type":"PageBlock"},{"id":"-1879401953","predicate":"pageBlockSubtitle","params":[{"name":"text","type":"RichText"}],"type":"PageBlock"},{"id":"-1162877472","predicate":"pageBlockAuthorDate","params":[{"name":"author","type":"RichText"},{"name":"published_date","type":"int"}],"type":"PageBlock"},{"id":"-1076861716","predicate":"pageBlockHeader","params":[{"name":"text","type":"RichText"}],"type":"PageBlock"},{"id":"-248793375","predicate":"pageBlockSubheader","params":[{"name":"text","type":"RichText"}],"type":"PageBlock"},{"id":"1182402406","predicate":"pageBlockParagraph","params":[{"name":"text","type":"RichText"}],"type":"PageBlock"},{"id":"-1066346178","predicate":"pageBlockPreformatted","params":[{"name":"text","type":"RichText"},{"name":"language","type":"string"}],"type":"PageBlock"},{"id":"1216809369","predicate":"pageBlockFooter","params":[{"name":"text","type":"RichText"}],"type":"PageBlock"},{"id":"-618614392","predicate":"pageBlockDivider","params":[],"type":"PageBlock"},{"id":"-837994576","predicate":"pageBlockAnchor","params":[{"name":"name","type":"string"}],"type":"PageBlock"},{"id":"-454524911","predicate":"pageBlockList","params":[{"name":"items","type":"Vector"}],"type":"PageBlock"},{"id":"641563686","predicate":"pageBlockBlockquote","params":[{"name":"text","type":"RichText"},{"name":"caption","type":"RichText"}],"type":"PageBlock"},{"id":"1329878739","predicate":"pageBlockPullquote","params":[{"name":"text","type":"RichText"},{"name":"caption","type":"RichText"}],"type":"PageBlock"},{"id":"391759200","predicate":"pageBlockPhoto","params":[{"name":"flags","type":"#"},{"name":"photo_id","type":"long"},{"name":"caption","type":"PageCaption"},{"name":"url","type":"flags.0?string"},{"name":"webpage_id","type":"flags.0?long"}],"type":"PageBlock"},{"id":"2089805750","predicate":"pageBlockVideo","params":[{"name":"flags","type":"#"},{"name":"autoplay","type":"flags.0?true"},{"name":"loop","type":"flags.1?true"},{"name":"video_id","type":"long"},{"name":"caption","type":"PageCaption"}],"type":"PageBlock"},{"id":"972174080","predicate":"pageBlockCover","params":[{"name":"cover","type":"PageBlock"}],"type":"PageBlock"},{"id":"-1468953147","predicate":"pageBlockEmbed","params":[{"name":"flags","type":"#"},{"name":"full_width","type":"flags.0?true"},{"name":"allow_scrolling","type":"flags.3?true"},{"name":"url","type":"flags.1?string"},{"name":"html","type":"flags.2?string"},{"name":"poster_photo_id","type":"flags.4?long"},{"name":"w","type":"flags.5?int"},{"name":"h","type":"flags.5?int"},{"name":"caption","type":"PageCaption"}],"type":"PageBlock"},{"id":"-229005301","predicate":"pageBlockEmbedPost","params":[{"name":"url","type":"string"},{"name":"webpage_id","type":"long"},{"name":"author_photo_id","type":"long"},{"name":"author","type":"string"},{"name":"date","type":"int"},{"name":"blocks","type":"Vector"},{"name":"caption","type":"PageCaption"}],"type":"PageBlock"},{"id":"1705048653","predicate":"pageBlockCollage","params":[{"name":"items","type":"Vector"},{"name":"caption","type":"PageCaption"}],"type":"PageBlock"},{"id":"52401552","predicate":"pageBlockSlideshow","params":[{"name":"items","type":"Vector"},{"name":"caption","type":"PageCaption"}],"type":"PageBlock"},{"id":"1930545681","predicate":"webPageNotModified","params":[{"name":"flags","type":"#"},{"name":"cached_page_views","type":"flags.0?int"}],"type":"WebPage"},{"id":"-88417185","predicate":"inputPrivacyKeyPhoneCall","params":[],"type":"InputPrivacyKey"},{"id":"1030105979","predicate":"privacyKeyPhoneCall","params":[],"type":"PrivacyKey"},{"id":"-580219064","predicate":"sendMessageGamePlayAction","params":[],"type":"SendMessageAction"},{"id":"-2048646399","predicate":"phoneCallDiscardReasonMissed","params":[],"type":"PhoneCallDiscardReason"},{"id":"-527056480","predicate":"phoneCallDiscardReasonDisconnect","params":[],"type":"PhoneCallDiscardReason"},{"id":"1471006352","predicate":"phoneCallDiscardReasonHangup","params":[],"type":"PhoneCallDiscardReason"},{"id":"-84416311","predicate":"phoneCallDiscardReasonBusy","params":[],"type":"PhoneCallDiscardReason"},{"id":"1852826908","predicate":"updateDialogPinned","params":[{"name":"flags","type":"#"},{"name":"pinned","type":"flags.0?true"},{"name":"folder_id","type":"flags.1?int"},{"name":"peer","type":"DialogPeer"}],"type":"Update"},{"id":"-99664734","predicate":"updatePinnedDialogs","params":[{"name":"flags","type":"#"},{"name":"folder_id","type":"flags.1?int"},{"name":"order","type":"flags.0?Vector"}],"type":"Update"},{"id":"2104790276","predicate":"dataJSON","params":[{"name":"data","type":"string"}],"type":"DataJSON"},{"id":"-2095595325","predicate":"updateBotWebhookJSON","params":[{"name":"data","type":"DataJSON"}],"type":"Update"},{"id":"-1684914010","predicate":"updateBotWebhookJSONQuery","params":[{"name":"query_id","type":"long"},{"name":"data","type":"DataJSON"},{"name":"timeout","type":"int"}],"type":"Update"},{"id":"-886477832","predicate":"labeledPrice","params":[{"name":"label","type":"string"},{"name":"amount","type":"long"}],"type":"LabeledPrice"},{"id":"-1022713000","predicate":"invoice","params":[{"name":"flags","type":"#"},{"name":"test","type":"flags.0?true"},{"name":"name_requested","type":"flags.1?true"},{"name":"phone_requested","type":"flags.2?true"},{"name":"email_requested","type":"flags.3?true"},{"name":"shipping_address_requested","type":"flags.4?true"},{"name":"flexible","type":"flags.5?true"},{"name":"phone_to_provider","type":"flags.6?true"},{"name":"email_to_provider","type":"flags.7?true"},{"name":"currency","type":"string"},{"name":"prices","type":"Vector"}],"type":"Invoice"},{"id":"-186607933","predicate":"inputMediaInvoice","params":[{"name":"flags","type":"#"},{"name":"title","type":"string"},{"name":"description","type":"string"},{"name":"photo","type":"flags.0?InputWebDocument"},{"name":"invoice","type":"Invoice"},{"name":"payload","type":"bytes"},{"name":"provider","type":"string"},{"name":"provider_data","type":"DataJSON"},{"name":"start_param","type":"string"}],"type":"InputMedia"},{"id":"-368917890","predicate":"paymentCharge","params":[{"name":"id","type":"string"},{"name":"provider_charge_id","type":"string"}],"type":"PaymentCharge"},{"id":"-1892568281","predicate":"messageActionPaymentSentMe","params":[{"name":"flags","type":"#"},{"name":"currency","type":"string"},{"name":"total_amount","type":"long"},{"name":"payload","type":"bytes"},{"name":"info","type":"flags.0?PaymentRequestedInfo"},{"name":"shipping_option_id","type":"flags.1?string"},{"name":"charge","type":"PaymentCharge"}],"type":"MessageAction"},{"id":"-2074799289","predicate":"messageMediaInvoice","params":[{"name":"flags","type":"#"},{"name":"shipping_address_requested","type":"flags.1?true"},{"name":"test","type":"flags.3?true"},{"name":"title","type":"string"},{"name":"description","type":"string"},{"name":"photo","type":"flags.0?WebDocument"},{"name":"receipt_msg_id","type":"flags.2?int"},{"name":"currency","type":"string"},{"name":"total_amount","type":"long"},{"name":"start_param","type":"string"}],"type":"MessageMedia"},{"id":"512535275","predicate":"postAddress","params":[{"name":"street_line1","type":"string"},{"name":"street_line2","type":"string"},{"name":"city","type":"string"},{"name":"state","type":"string"},{"name":"country_iso2","type":"string"},{"name":"post_code","type":"string"}],"type":"PostAddress"},{"id":"-1868808300","predicate":"paymentRequestedInfo","params":[{"name":"flags","type":"#"},{"name":"name","type":"flags.0?string"},{"name":"phone","type":"flags.1?string"},{"name":"email","type":"flags.2?string"},{"name":"shipping_address","type":"flags.3?PostAddress"}],"type":"PaymentRequestedInfo"},{"id":"-1344716869","predicate":"keyboardButtonBuy","params":[{"name":"text","type":"string"}],"type":"KeyboardButton"},{"id":"1080663248","predicate":"messageActionPaymentSent","params":[{"name":"currency","type":"string"},{"name":"total_amount","type":"long"}],"type":"MessageAction"},{"id":"-842892769","predicate":"paymentSavedCredentialsCard","params":[{"name":"id","type":"string"},{"name":"title","type":"string"}],"type":"PaymentSavedCredentials"},{"id":"475467473","predicate":"webDocument","params":[{"name":"url","type":"string"},{"name":"access_hash","type":"long"},{"name":"size","type":"int"},{"name":"mime_type","type":"string"},{"name":"attributes","type":"Vector"}],"type":"WebDocument"},{"id":"-1678949555","predicate":"inputWebDocument","params":[{"name":"url","type":"string"},{"name":"size","type":"int"},{"name":"mime_type","type":"string"},{"name":"attributes","type":"Vector"}],"type":"InputWebDocument"},{"id":"-1036396922","predicate":"inputWebFileLocation","params":[{"name":"url","type":"string"},{"name":"access_hash","type":"long"}],"type":"InputWebFileLocation"},{"id":"568808380","predicate":"upload.webFile","params":[{"name":"size","type":"int"},{"name":"mime_type","type":"string"},{"name":"file_type","type":"storage.FileType"},{"name":"mtime","type":"int"},{"name":"bytes","type":"bytes"}],"type":"upload.WebFile"},{"id":"1062645411","predicate":"payments.paymentForm","params":[{"name":"flags","type":"#"},{"name":"can_save_credentials","type":"flags.2?true"},{"name":"password_missing","type":"flags.3?true"},{"name":"bot_id","type":"int"},{"name":"invoice","type":"Invoice"},{"name":"provider_id","type":"int"},{"name":"url","type":"string"},{"name":"native_provider","type":"flags.4?string"},{"name":"native_params","type":"flags.4?DataJSON"},{"name":"saved_info","type":"flags.0?PaymentRequestedInfo"},{"name":"saved_credentials","type":"flags.1?PaymentSavedCredentials"},{"name":"users","type":"Vector"}],"type":"payments.PaymentForm"},{"id":"-784000893","predicate":"payments.validatedRequestedInfo","params":[{"name":"flags","type":"#"},{"name":"id","type":"flags.0?string"},{"name":"shipping_options","type":"flags.1?Vector"}],"type":"payments.ValidatedRequestedInfo"},{"id":"1314881805","predicate":"payments.paymentResult","params":[{"name":"updates","type":"Updates"}],"type":"payments.PaymentResult"},{"id":"1342771681","predicate":"payments.paymentReceipt","params":[{"name":"flags","type":"#"},{"name":"date","type":"int"},{"name":"bot_id","type":"int"},{"name":"invoice","type":"Invoice"},{"name":"provider_id","type":"int"},{"name":"info","type":"flags.0?PaymentRequestedInfo"},{"name":"shipping","type":"flags.1?ShippingOption"},{"name":"currency","type":"string"},{"name":"total_amount","type":"long"},{"name":"credentials_title","type":"string"},{"name":"users","type":"Vector"}],"type":"payments.PaymentReceipt"},{"id":"-74456004","predicate":"payments.savedInfo","params":[{"name":"flags","type":"#"},{"name":"has_saved_credentials","type":"flags.1?true"},{"name":"saved_info","type":"flags.0?PaymentRequestedInfo"}],"type":"payments.SavedInfo"},{"id":"-1056001329","predicate":"inputPaymentCredentialsSaved","params":[{"name":"id","type":"string"},{"name":"tmp_password","type":"bytes"}],"type":"InputPaymentCredentials"},{"id":"873977640","predicate":"inputPaymentCredentials","params":[{"name":"flags","type":"#"},{"name":"save","type":"flags.0?true"},{"name":"data","type":"DataJSON"}],"type":"InputPaymentCredentials"},{"id":"-614138572","predicate":"account.tmpPassword","params":[{"name":"tmp_password","type":"bytes"},{"name":"valid_until","type":"int"}],"type":"account.TmpPassword"},{"id":"-1239335713","predicate":"shippingOption","params":[{"name":"id","type":"string"},{"name":"title","type":"string"},{"name":"prices","type":"Vector"}],"type":"ShippingOption"},{"id":"-523384512","predicate":"updateBotShippingQuery","params":[{"name":"query_id","type":"long"},{"name":"user_id","type":"int"},{"name":"payload","type":"bytes"},{"name":"shipping_address","type":"PostAddress"}],"type":"Update"},{"id":"1563376297","predicate":"updateBotPrecheckoutQuery","params":[{"name":"flags","type":"#"},{"name":"query_id","type":"long"},{"name":"user_id","type":"int"},{"name":"payload","type":"bytes"},{"name":"info","type":"flags.0?PaymentRequestedInfo"},{"name":"shipping_option_id","type":"flags.1?string"},{"name":"currency","type":"string"},{"name":"total_amount","type":"long"}],"type":"Update"},{"id":"-6249322","predicate":"inputStickerSetItem","params":[{"name":"flags","type":"#"},{"name":"document","type":"InputDocument"},{"name":"emoji","type":"string"},{"name":"mask_coords","type":"flags.0?MaskCoords"}],"type":"InputStickerSetItem"},{"id":"-1425052898","predicate":"updatePhoneCall","params":[{"name":"phone_call","type":"PhoneCall"}],"type":"Update"},{"id":"506920429","predicate":"inputPhoneCall","params":[{"name":"id","type":"long"},{"name":"access_hash","type":"long"}],"type":"InputPhoneCall"},{"id":"1399245077","predicate":"phoneCallEmpty","params":[{"name":"id","type":"long"}],"type":"PhoneCall"},{"id":"462375633","predicate":"phoneCallWaiting","params":[{"name":"flags","type":"#"},{"name":"video","type":"flags.6?true"},{"name":"id","type":"long"},{"name":"access_hash","type":"long"},{"name":"date","type":"int"},{"name":"admin_id","type":"int"},{"name":"participant_id","type":"int"},{"name":"protocol","type":"PhoneCallProtocol"},{"name":"receive_date","type":"flags.0?int"}],"type":"PhoneCall"},{"id":"-2014659757","predicate":"phoneCallRequested","params":[{"name":"flags","type":"#"},{"name":"video","type":"flags.6?true"},{"name":"id","type":"long"},{"name":"access_hash","type":"long"},{"name":"date","type":"int"},{"name":"admin_id","type":"int"},{"name":"participant_id","type":"int"},{"name":"g_a_hash","type":"bytes"},{"name":"protocol","type":"PhoneCallProtocol"}],"type":"PhoneCall"},{"id":"-1719909046","predicate":"phoneCallAccepted","params":[{"name":"flags","type":"#"},{"name":"video","type":"flags.6?true"},{"name":"id","type":"long"},{"name":"access_hash","type":"long"},{"name":"date","type":"int"},{"name":"admin_id","type":"int"},{"name":"participant_id","type":"int"},{"name":"g_b","type":"bytes"},{"name":"protocol","type":"PhoneCallProtocol"}],"type":"PhoneCall"},{"id":"-2025673089","predicate":"phoneCall","params":[{"name":"flags","type":"#"},{"name":"p2p_allowed","type":"flags.5?true"},{"name":"video","type":"flags.6?true"},{"name":"id","type":"long"},{"name":"access_hash","type":"long"},{"name":"date","type":"int"},{"name":"admin_id","type":"int"},{"name":"participant_id","type":"int"},{"name":"g_a_or_b","type":"bytes"},{"name":"key_fingerprint","type":"long"},{"name":"protocol","type":"PhoneCallProtocol"},{"name":"connections","type":"Vector"},{"name":"start_date","type":"int"}],"type":"PhoneCall"},{"id":"1355435489","predicate":"phoneCallDiscarded","params":[{"name":"flags","type":"#"},{"name":"need_rating","type":"flags.2?true"},{"name":"need_debug","type":"flags.3?true"},{"name":"video","type":"flags.6?true"},{"name":"id","type":"long"},{"name":"reason","type":"flags.0?PhoneCallDiscardReason"},{"name":"duration","type":"flags.1?int"}],"type":"PhoneCall"},{"id":"-1655957568","predicate":"phoneConnection","params":[{"name":"id","type":"long"},{"name":"ip","type":"string"},{"name":"ipv6","type":"string"},{"name":"port","type":"int"},{"name":"peer_tag","type":"bytes"}],"type":"PhoneConnection"},{"id":"-58224696","predicate":"phoneCallProtocol","params":[{"name":"flags","type":"#"},{"name":"udp_p2p","type":"flags.0?true"},{"name":"udp_reflector","type":"flags.1?true"},{"name":"min_layer","type":"int"},{"name":"max_layer","type":"int"},{"name":"library_versions","type":"Vector"}],"type":"PhoneCallProtocol"},{"id":"-326966976","predicate":"phone.phoneCall","params":[{"name":"phone_call","type":"PhoneCall"},{"name":"users","type":"Vector"}],"type":"phone.PhoneCall"},{"id":"-2134272152","predicate":"inputMessagesFilterPhoneCalls","params":[{"name":"flags","type":"#"},{"name":"missed","type":"flags.0?true"}],"type":"MessagesFilter"},{"id":"-2132731265","predicate":"messageActionPhoneCall","params":[{"name":"flags","type":"#"},{"name":"video","type":"flags.2?true"},{"name":"call_id","type":"long"},{"name":"reason","type":"flags.0?PhoneCallDiscardReason"},{"name":"duration","type":"flags.1?int"}],"type":"MessageAction"},{"id":"2054952868","predicate":"inputMessagesFilterRoundVoice","params":[],"type":"MessagesFilter"},{"id":"-1253451181","predicate":"inputMessagesFilterRoundVideo","params":[],"type":"MessagesFilter"},{"id":"-1997373508","predicate":"sendMessageRecordRoundAction","params":[],"type":"SendMessageAction"},{"id":"608050278","predicate":"sendMessageUploadRoundAction","params":[{"name":"progress","type":"int"}],"type":"SendMessageAction"},{"id":"-242427324","predicate":"upload.fileCdnRedirect","params":[{"name":"dc_id","type":"int"},{"name":"file_token","type":"bytes"},{"name":"encryption_key","type":"bytes"},{"name":"encryption_iv","type":"bytes"},{"name":"file_hashes","type":"Vector"}],"type":"upload.File"},{"id":"-290921362","predicate":"upload.cdnFileReuploadNeeded","params":[{"name":"request_token","type":"bytes"}],"type":"upload.CdnFile"},{"id":"-1449145777","predicate":"upload.cdnFile","params":[{"name":"bytes","type":"bytes"}],"type":"upload.CdnFile"},{"id":"-914167110","predicate":"cdnPublicKey","params":[{"name":"dc_id","type":"int"},{"name":"public_key","type":"string"}],"type":"CdnPublicKey"},{"id":"1462101002","predicate":"cdnConfig","params":[{"name":"public_keys","type":"Vector"}],"type":"CdnConfig"},{"id":"-283684427","predicate":"pageBlockChannel","params":[{"name":"channel","type":"Chat"}],"type":"PageBlock"},{"id":"-892239370","predicate":"langPackString","params":[{"name":"key","type":"string"},{"name":"value","type":"string"}],"type":"LangPackString"},{"id":"1816636575","predicate":"langPackStringPluralized","params":[{"name":"flags","type":"#"},{"name":"key","type":"string"},{"name":"zero_value","type":"flags.0?string"},{"name":"one_value","type":"flags.1?string"},{"name":"two_value","type":"flags.2?string"},{"name":"few_value","type":"flags.3?string"},{"name":"many_value","type":"flags.4?string"},{"name":"other_value","type":"string"}],"type":"LangPackString"},{"id":"695856818","predicate":"langPackStringDeleted","params":[{"name":"key","type":"string"}],"type":"LangPackString"},{"id":"-209337866","predicate":"langPackDifference","params":[{"name":"lang_code","type":"string"},{"name":"from_version","type":"int"},{"name":"version","type":"int"},{"name":"strings","type":"Vector"}],"type":"LangPackDifference"},{"id":"-288727837","predicate":"langPackLanguage","params":[{"name":"flags","type":"#"},{"name":"official","type":"flags.0?true"},{"name":"rtl","type":"flags.2?true"},{"name":"beta","type":"flags.3?true"},{"name":"name","type":"string"},{"name":"native_name","type":"string"},{"name":"lang_code","type":"string"},{"name":"base_lang_code","type":"flags.1?string"},{"name":"plural_code","type":"string"},{"name":"strings_count","type":"int"},{"name":"translated_count","type":"int"},{"name":"translations_url","type":"string"}],"type":"LangPackLanguage"},{"id":"1180041828","predicate":"updateLangPackTooLong","params":[{"name":"lang_code","type":"string"}],"type":"Update"},{"id":"1442983757","predicate":"updateLangPack","params":[{"name":"difference","type":"LangPackDifference"}],"type":"Update"},{"id":"-859915345","predicate":"channelParticipantAdmin","params":[{"name":"flags","type":"#"},{"name":"can_edit","type":"flags.0?true"},{"name":"self","type":"flags.1?true"},{"name":"user_id","type":"int"},{"name":"inviter_id","type":"flags.1?int"},{"name":"promoted_by","type":"int"},{"name":"date","type":"int"},{"name":"admin_rights","type":"ChatAdminRights"},{"name":"rank","type":"flags.2?string"}],"type":"ChannelParticipant"},{"id":"470789295","predicate":"channelParticipantBanned","params":[{"name":"flags","type":"#"},{"name":"left","type":"flags.0?true"},{"name":"user_id","type":"int"},{"name":"kicked_by","type":"int"},{"name":"date","type":"int"},{"name":"banned_rights","type":"ChatBannedRights"}],"type":"ChannelParticipant"},{"id":"338142689","predicate":"channelParticipantsBanned","params":[{"name":"q","type":"string"}],"type":"ChannelParticipantsFilter"},{"id":"106343499","predicate":"channelParticipantsSearch","params":[{"name":"q","type":"string"}],"type":"ChannelParticipantsFilter"},{"id":"-421545947","predicate":"channelAdminLogEventActionChangeTitle","params":[{"name":"prev_value","type":"string"},{"name":"new_value","type":"string"}],"type":"ChannelAdminLogEventAction"},{"id":"1427671598","predicate":"channelAdminLogEventActionChangeAbout","params":[{"name":"prev_value","type":"string"},{"name":"new_value","type":"string"}],"type":"ChannelAdminLogEventAction"},{"id":"1783299128","predicate":"channelAdminLogEventActionChangeUsername","params":[{"name":"prev_value","type":"string"},{"name":"new_value","type":"string"}],"type":"ChannelAdminLogEventAction"},{"id":"1129042607","predicate":"channelAdminLogEventActionChangePhoto","params":[{"name":"prev_photo","type":"Photo"},{"name":"new_photo","type":"Photo"}],"type":"ChannelAdminLogEventAction"},{"id":"460916654","predicate":"channelAdminLogEventActionToggleInvites","params":[{"name":"new_value","type":"Bool"}],"type":"ChannelAdminLogEventAction"},{"id":"648939889","predicate":"channelAdminLogEventActionToggleSignatures","params":[{"name":"new_value","type":"Bool"}],"type":"ChannelAdminLogEventAction"},{"id":"-370660328","predicate":"channelAdminLogEventActionUpdatePinned","params":[{"name":"message","type":"Message"}],"type":"ChannelAdminLogEventAction"},{"id":"1889215493","predicate":"channelAdminLogEventActionEditMessage","params":[{"name":"prev_message","type":"Message"},{"name":"new_message","type":"Message"}],"type":"ChannelAdminLogEventAction"},{"id":"1121994683","predicate":"channelAdminLogEventActionDeleteMessage","params":[{"name":"message","type":"Message"}],"type":"ChannelAdminLogEventAction"},{"id":"405815507","predicate":"channelAdminLogEventActionParticipantJoin","params":[],"type":"ChannelAdminLogEventAction"},{"id":"-124291086","predicate":"channelAdminLogEventActionParticipantLeave","params":[],"type":"ChannelAdminLogEventAction"},{"id":"-484690728","predicate":"channelAdminLogEventActionParticipantInvite","params":[{"name":"participant","type":"ChannelParticipant"}],"type":"ChannelAdminLogEventAction"},{"id":"-422036098","predicate":"channelAdminLogEventActionParticipantToggleBan","params":[{"name":"prev_participant","type":"ChannelParticipant"},{"name":"new_participant","type":"ChannelParticipant"}],"type":"ChannelAdminLogEventAction"},{"id":"-714643696","predicate":"channelAdminLogEventActionParticipantToggleAdmin","params":[{"name":"prev_participant","type":"ChannelParticipant"},{"name":"new_participant","type":"ChannelParticipant"}],"type":"ChannelAdminLogEventAction"},{"id":"995769920","predicate":"channelAdminLogEvent","params":[{"name":"id","type":"long"},{"name":"date","type":"int"},{"name":"user_id","type":"int"},{"name":"action","type":"ChannelAdminLogEventAction"}],"type":"ChannelAdminLogEvent"},{"id":"-309659827","predicate":"channels.adminLogResults","params":[{"name":"events","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"channels.AdminLogResults"},{"id":"-368018716","predicate":"channelAdminLogEventsFilter","params":[{"name":"flags","type":"#"},{"name":"join","type":"flags.0?true"},{"name":"leave","type":"flags.1?true"},{"name":"invite","type":"flags.2?true"},{"name":"ban","type":"flags.3?true"},{"name":"unban","type":"flags.4?true"},{"name":"kick","type":"flags.5?true"},{"name":"unkick","type":"flags.6?true"},{"name":"promote","type":"flags.7?true"},{"name":"demote","type":"flags.8?true"},{"name":"info","type":"flags.9?true"},{"name":"settings","type":"flags.10?true"},{"name":"pinned","type":"flags.11?true"},{"name":"edit","type":"flags.12?true"},{"name":"delete","type":"flags.13?true"},{"name":"group_call","type":"flags.14?true"},{"name":"invites","type":"flags.15?true"}],"type":"ChannelAdminLogEventsFilter"},{"id":"511092620","predicate":"topPeerCategoryPhoneCalls","params":[],"type":"TopPeerCategory"},{"id":"-2143067670","predicate":"pageBlockAudio","params":[{"name":"audio_id","type":"long"},{"name":"caption","type":"PageCaption"}],"type":"PageBlock"},{"id":"1558266229","predicate":"popularContact","params":[{"name":"client_id","type":"long"},{"name":"importers","type":"int"}],"type":"PopularContact"},{"id":"1200788123","predicate":"messageActionScreenshotTaken","params":[],"type":"MessageAction"},{"id":"-1634752813","predicate":"messages.favedStickersNotModified","params":[],"type":"messages.FavedStickers"},{"id":"-209768682","predicate":"messages.favedStickers","params":[{"name":"hash","type":"int"},{"name":"packs","type":"Vector"},{"name":"stickers","type":"Vector"}],"type":"messages.FavedStickers"},{"id":"-451831443","predicate":"updateFavedStickers","params":[],"type":"Update"},{"id":"-1987495099","predicate":"updateChannelReadMessagesContents","params":[{"name":"channel_id","type":"int"},{"name":"messages","type":"Vector"}],"type":"Update"},{"id":"-1040652646","predicate":"inputMessagesFilterMyMentions","params":[],"type":"MessagesFilter"},{"id":"1887741886","predicate":"updateContactsReset","params":[],"type":"Update"},{"id":"-1312568665","predicate":"channelAdminLogEventActionChangeStickerSet","params":[{"name":"prev_stickerset","type":"InputStickerSet"},{"name":"new_stickerset","type":"InputStickerSet"}],"type":"ChannelAdminLogEventAction"},{"id":"-85549226","predicate":"messageActionCustomAction","params":[{"name":"message","type":"string"}],"type":"MessageAction"},{"id":"178373535","predicate":"inputPaymentCredentialsApplePay","params":[{"name":"payment_data","type":"DataJSON"}],"type":"InputPaymentCredentials"},{"id":"-905587442","predicate":"inputPaymentCredentialsAndroidPay","params":[{"name":"payment_token","type":"DataJSON"},{"name":"google_transaction_id","type":"string"}],"type":"InputPaymentCredentials"},{"id":"-419271411","predicate":"inputMessagesFilterGeo","params":[],"type":"MessagesFilter"},{"id":"-530392189","predicate":"inputMessagesFilterContacts","params":[],"type":"MessagesFilter"},{"id":"1893427255","predicate":"updateChannelAvailableMessages","params":[{"name":"channel_id","type":"int"},{"name":"available_min_id","type":"int"}],"type":"Update"},{"id":"1599903217","predicate":"channelAdminLogEventActionTogglePreHistoryHidden","params":[{"name":"new_value","type":"Bool"}],"type":"ChannelAdminLogEventAction"},{"id":"-1759532989","predicate":"inputMediaGeoLive","params":[{"name":"flags","type":"#"},{"name":"stopped","type":"flags.0?true"},{"name":"geo_point","type":"InputGeoPoint"},{"name":"heading","type":"flags.2?int"},{"name":"period","type":"flags.1?int"},{"name":"proximity_notification_radius","type":"flags.3?int"}],"type":"InputMedia"},{"id":"-1186937242","predicate":"messageMediaGeoLive","params":[{"name":"flags","type":"#"},{"name":"geo","type":"GeoPoint"},{"name":"heading","type":"flags.0?int"},{"name":"period","type":"int"},{"name":"proximity_notification_radius","type":"flags.1?int"}],"type":"MessageMedia"},{"id":"1189204285","predicate":"recentMeUrlUnknown","params":[{"name":"url","type":"string"}],"type":"RecentMeUrl"},{"id":"-1917045962","predicate":"recentMeUrlUser","params":[{"name":"url","type":"string"},{"name":"user_id","type":"int"}],"type":"RecentMeUrl"},{"id":"-1608834311","predicate":"recentMeUrlChat","params":[{"name":"url","type":"string"},{"name":"chat_id","type":"int"}],"type":"RecentMeUrl"},{"id":"-347535331","predicate":"recentMeUrlChatInvite","params":[{"name":"url","type":"string"},{"name":"chat_invite","type":"ChatInvite"}],"type":"RecentMeUrl"},{"id":"-1140172836","predicate":"recentMeUrlStickerSet","params":[{"name":"url","type":"string"},{"name":"set","type":"StickerSetCovered"}],"type":"RecentMeUrl"},{"id":"235081943","predicate":"help.recentMeUrls","params":[{"name":"urls","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"help.RecentMeUrls"},{"id":"-266911767","predicate":"channels.channelParticipantsNotModified","params":[],"type":"channels.ChannelParticipants"},{"id":"1951620897","predicate":"messages.messagesNotModified","params":[{"name":"count","type":"int"}],"type":"messages.Messages"},{"id":"482797855","predicate":"inputSingleMedia","params":[{"name":"flags","type":"#"},{"name":"media","type":"InputMedia"},{"name":"random_id","type":"long"},{"name":"message","type":"string"},{"name":"entities","type":"flags.0?Vector"}],"type":"InputSingleMedia"},{"id":"-892779534","predicate":"webAuthorization","params":[{"name":"hash","type":"long"},{"name":"bot_id","type":"int"},{"name":"domain","type":"string"},{"name":"browser","type":"string"},{"name":"platform","type":"string"},{"name":"date_created","type":"int"},{"name":"date_active","type":"int"},{"name":"ip","type":"string"},{"name":"region","type":"string"}],"type":"WebAuthorization"},{"id":"-313079300","predicate":"account.webAuthorizations","params":[{"name":"authorizations","type":"Vector"},{"name":"users","type":"Vector"}],"type":"account.WebAuthorizations"},{"id":"-1502174430","predicate":"inputMessageID","params":[{"name":"id","type":"int"}],"type":"InputMessage"},{"id":"-1160215659","predicate":"inputMessageReplyTo","params":[{"name":"id","type":"int"}],"type":"InputMessage"},{"id":"-2037963464","predicate":"inputMessagePinned","params":[],"type":"InputMessage"},{"id":"-1687559349","predicate":"messageEntityPhone","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"}],"type":"MessageEntity"},{"id":"1280209983","predicate":"messageEntityCashtag","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"}],"type":"MessageEntity"},{"id":"-1410748418","predicate":"messageActionBotAllowed","params":[{"name":"domain","type":"string"}],"type":"MessageAction"},{"id":"-55902537","predicate":"inputDialogPeer","params":[{"name":"peer","type":"InputPeer"}],"type":"InputDialogPeer"},{"id":"-445792507","predicate":"dialogPeer","params":[{"name":"peer","type":"Peer"}],"type":"DialogPeer"},{"id":"223655517","predicate":"messages.foundStickerSetsNotModified","params":[],"type":"messages.FoundStickerSets"},{"id":"1359533640","predicate":"messages.foundStickerSets","params":[{"name":"hash","type":"int"},{"name":"sets","type":"Vector"}],"type":"messages.FoundStickerSets"},{"id":"1648543603","predicate":"fileHash","params":[{"name":"offset","type":"int"},{"name":"limit","type":"int"},{"name":"hash","type":"bytes"}],"type":"FileHash"},{"id":"-104284986","predicate":"webDocumentNoProxy","params":[{"name":"url","type":"string"},{"name":"size","type":"int"},{"name":"mime_type","type":"string"},{"name":"attributes","type":"Vector"}],"type":"WebDocument"},{"id":"1968737087","predicate":"inputClientProxy","params":[{"name":"address","type":"string"},{"name":"port","type":"int"}],"type":"InputClientProxy"},{"id":"-483352705","predicate":"help.termsOfServiceUpdateEmpty","params":[{"name":"expires","type":"int"}],"type":"help.TermsOfServiceUpdate"},{"id":"686618977","predicate":"help.termsOfServiceUpdate","params":[{"name":"expires","type":"int"},{"name":"terms_of_service","type":"help.TermsOfService"}],"type":"help.TermsOfServiceUpdate"},{"id":"859091184","predicate":"inputSecureFileUploaded","params":[{"name":"id","type":"long"},{"name":"parts","type":"int"},{"name":"md5_checksum","type":"string"},{"name":"file_hash","type":"bytes"},{"name":"secret","type":"bytes"}],"type":"InputSecureFile"},{"id":"1399317950","predicate":"inputSecureFile","params":[{"name":"id","type":"long"},{"name":"access_hash","type":"long"}],"type":"InputSecureFile"},{"id":"-876089816","predicate":"inputSecureFileLocation","params":[{"name":"id","type":"long"},{"name":"access_hash","type":"long"}],"type":"InputFileLocation"},{"id":"1679398724","predicate":"secureFileEmpty","params":[],"type":"SecureFile"},{"id":"-534283678","predicate":"secureFile","params":[{"name":"id","type":"long"},{"name":"access_hash","type":"long"},{"name":"size","type":"int"},{"name":"dc_id","type":"int"},{"name":"date","type":"int"},{"name":"file_hash","type":"bytes"},{"name":"secret","type":"bytes"}],"type":"SecureFile"},{"id":"-1964327229","predicate":"secureData","params":[{"name":"data","type":"bytes"},{"name":"data_hash","type":"bytes"},{"name":"secret","type":"bytes"}],"type":"SecureData"},{"id":"2103482845","predicate":"securePlainPhone","params":[{"name":"phone","type":"string"}],"type":"SecurePlainData"},{"id":"569137759","predicate":"securePlainEmail","params":[{"name":"email","type":"string"}],"type":"SecurePlainData"},{"id":"-1658158621","predicate":"secureValueTypePersonalDetails","params":[],"type":"SecureValueType"},{"id":"1034709504","predicate":"secureValueTypePassport","params":[],"type":"SecureValueType"},{"id":"115615172","predicate":"secureValueTypeDriverLicense","params":[],"type":"SecureValueType"},{"id":"-1596951477","predicate":"secureValueTypeIdentityCard","params":[],"type":"SecureValueType"},{"id":"-1717268701","predicate":"secureValueTypeInternalPassport","params":[],"type":"SecureValueType"},{"id":"-874308058","predicate":"secureValueTypeAddress","params":[],"type":"SecureValueType"},{"id":"-63531698","predicate":"secureValueTypeUtilityBill","params":[],"type":"SecureValueType"},{"id":"-1995211763","predicate":"secureValueTypeBankStatement","params":[],"type":"SecureValueType"},{"id":"-1954007928","predicate":"secureValueTypeRentalAgreement","params":[],"type":"SecureValueType"},{"id":"-1713143702","predicate":"secureValueTypePassportRegistration","params":[],"type":"SecureValueType"},{"id":"-368907213","predicate":"secureValueTypeTemporaryRegistration","params":[],"type":"SecureValueType"},{"id":"-1289704741","predicate":"secureValueTypePhone","params":[],"type":"SecureValueType"},{"id":"-1908627474","predicate":"secureValueTypeEmail","params":[],"type":"SecureValueType"},{"id":"411017418","predicate":"secureValue","params":[{"name":"flags","type":"#"},{"name":"type","type":"SecureValueType"},{"name":"data","type":"flags.0?SecureData"},{"name":"front_side","type":"flags.1?SecureFile"},{"name":"reverse_side","type":"flags.2?SecureFile"},{"name":"selfie","type":"flags.3?SecureFile"},{"name":"translation","type":"flags.6?Vector"},{"name":"files","type":"flags.4?Vector"},{"name":"plain_data","type":"flags.5?SecurePlainData"},{"name":"hash","type":"bytes"}],"type":"SecureValue"},{"id":"-618540889","predicate":"inputSecureValue","params":[{"name":"flags","type":"#"},{"name":"type","type":"SecureValueType"},{"name":"data","type":"flags.0?SecureData"},{"name":"front_side","type":"flags.1?InputSecureFile"},{"name":"reverse_side","type":"flags.2?InputSecureFile"},{"name":"selfie","type":"flags.3?InputSecureFile"},{"name":"translation","type":"flags.6?Vector"},{"name":"files","type":"flags.4?Vector"},{"name":"plain_data","type":"flags.5?SecurePlainData"}],"type":"InputSecureValue"},{"id":"-316748368","predicate":"secureValueHash","params":[{"name":"type","type":"SecureValueType"},{"name":"hash","type":"bytes"}],"type":"SecureValueHash"},{"id":"-391902247","predicate":"secureValueErrorData","params":[{"name":"type","type":"SecureValueType"},{"name":"data_hash","type":"bytes"},{"name":"field","type":"string"},{"name":"text","type":"string"}],"type":"SecureValueError"},{"id":"12467706","predicate":"secureValueErrorFrontSide","params":[{"name":"type","type":"SecureValueType"},{"name":"file_hash","type":"bytes"},{"name":"text","type":"string"}],"type":"SecureValueError"},{"id":"-2037765467","predicate":"secureValueErrorReverseSide","params":[{"name":"type","type":"SecureValueType"},{"name":"file_hash","type":"bytes"},{"name":"text","type":"string"}],"type":"SecureValueError"},{"id":"-449327402","predicate":"secureValueErrorSelfie","params":[{"name":"type","type":"SecureValueType"},{"name":"file_hash","type":"bytes"},{"name":"text","type":"string"}],"type":"SecureValueError"},{"id":"2054162547","predicate":"secureValueErrorFile","params":[{"name":"type","type":"SecureValueType"},{"name":"file_hash","type":"bytes"},{"name":"text","type":"string"}],"type":"SecureValueError"},{"id":"1717706985","predicate":"secureValueErrorFiles","params":[{"name":"type","type":"SecureValueType"},{"name":"file_hash","type":"Vector"},{"name":"text","type":"string"}],"type":"SecureValueError"},{"id":"871426631","predicate":"secureCredentialsEncrypted","params":[{"name":"data","type":"bytes"},{"name":"hash","type":"bytes"},{"name":"secret","type":"bytes"}],"type":"SecureCredentialsEncrypted"},{"id":"-1389486888","predicate":"account.authorizationForm","params":[{"name":"flags","type":"#"},{"name":"required_types","type":"Vector"},{"name":"values","type":"Vector"},{"name":"errors","type":"Vector"},{"name":"users","type":"Vector"},{"name":"privacy_policy_url","type":"flags.0?string"}],"type":"account.AuthorizationForm"},{"id":"-2128640689","predicate":"account.sentEmailCode","params":[{"name":"email_pattern","type":"string"},{"name":"length","type":"int"}],"type":"account.SentEmailCode"},{"id":"455635795","predicate":"messageActionSecureValuesSentMe","params":[{"name":"values","type":"Vector"},{"name":"credentials","type":"SecureCredentialsEncrypted"}],"type":"MessageAction"},{"id":"-648257196","predicate":"messageActionSecureValuesSent","params":[{"name":"types","type":"Vector"}],"type":"MessageAction"},{"id":"1722786150","predicate":"help.deepLinkInfoEmpty","params":[],"type":"help.DeepLinkInfo"},{"id":"1783556146","predicate":"help.deepLinkInfo","params":[{"name":"flags","type":"#"},{"name":"update_app","type":"flags.0?true"},{"name":"message","type":"string"},{"name":"entities","type":"flags.1?Vector"}],"type":"help.DeepLinkInfo"},{"id":"289586518","predicate":"savedPhoneContact","params":[{"name":"phone","type":"string"},{"name":"first_name","type":"string"},{"name":"last_name","type":"string"},{"name":"date","type":"int"}],"type":"SavedContact"},{"id":"1304052993","predicate":"account.takeout","params":[{"name":"id","type":"long"}],"type":"account.Takeout"},{"id":"700340377","predicate":"inputTakeoutFileLocation","params":[],"type":"InputFileLocation"},{"id":"-513517117","predicate":"updateDialogUnreadMark","params":[{"name":"flags","type":"#"},{"name":"unread","type":"flags.0?true"},{"name":"peer","type":"DialogPeer"}],"type":"Update"},{"id":"-253500010","predicate":"messages.dialogsNotModified","params":[{"name":"count","type":"int"}],"type":"messages.Dialogs"},{"id":"-1625153079","predicate":"inputWebFileGeoPointLocation","params":[{"name":"geo_point","type":"InputGeoPoint"},{"name":"access_hash","type":"long"},{"name":"w","type":"int"},{"name":"h","type":"int"},{"name":"zoom","type":"int"},{"name":"scale","type":"int"}],"type":"InputWebFileLocation"},{"id":"-1255369827","predicate":"contacts.topPeersDisabled","params":[],"type":"contacts.TopPeers"},{"id":"-1685456582","predicate":"inputReportReasonCopyright","params":[],"type":"ReportReason"},{"id":"-732254058","predicate":"passwordKdfAlgoUnknown","params":[],"type":"PasswordKdfAlgo"},{"id":"4883767","predicate":"securePasswordKdfAlgoUnknown","params":[],"type":"SecurePasswordKdfAlgo"},{"id":"-1141711456","predicate":"securePasswordKdfAlgoPBKDF2HMACSHA512iter100000","params":[{"name":"salt","type":"bytes"}],"type":"SecurePasswordKdfAlgo"},{"id":"-2042159726","predicate":"securePasswordKdfAlgoSHA512","params":[{"name":"salt","type":"bytes"}],"type":"SecurePasswordKdfAlgo"},{"id":"354925740","predicate":"secureSecretSettings","params":[{"name":"secure_algo","type":"SecurePasswordKdfAlgo"},{"name":"secure_secret","type":"bytes"},{"name":"secure_secret_id","type":"long"}],"type":"SecureSecretSettings"},{"id":"982592842","predicate":"passwordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow","params":[{"name":"salt1","type":"bytes"},{"name":"salt2","type":"bytes"},{"name":"g","type":"int"},{"name":"p","type":"bytes"}],"type":"PasswordKdfAlgo"},{"id":"-1736378792","predicate":"inputCheckPasswordEmpty","params":[],"type":"InputCheckPasswordSRP"},{"id":"-763367294","predicate":"inputCheckPasswordSRP","params":[{"name":"srp_id","type":"long"},{"name":"A","type":"bytes"},{"name":"M1","type":"bytes"}],"type":"InputCheckPasswordSRP"},{"id":"-2036501105","predicate":"secureValueError","params":[{"name":"type","type":"SecureValueType"},{"name":"hash","type":"bytes"},{"name":"text","type":"string"}],"type":"SecureValueError"},{"id":"-1592506512","predicate":"secureValueErrorTranslationFile","params":[{"name":"type","type":"SecureValueType"},{"name":"file_hash","type":"bytes"},{"name":"text","type":"string"}],"type":"SecureValueError"},{"id":"878931416","predicate":"secureValueErrorTranslationFiles","params":[{"name":"type","type":"SecureValueType"},{"name":"file_hash","type":"Vector"},{"name":"text","type":"string"}],"type":"SecureValueError"},{"id":"-2103600678","predicate":"secureRequiredType","params":[{"name":"flags","type":"#"},{"name":"native_names","type":"flags.0?true"},{"name":"selfie_required","type":"flags.1?true"},{"name":"translation_required","type":"flags.2?true"},{"name":"type","type":"SecureValueType"}],"type":"SecureRequiredType"},{"id":"41187252","predicate":"secureRequiredTypeOneOf","params":[{"name":"types","type":"Vector"}],"type":"SecureRequiredType"},{"id":"-1078332329","predicate":"help.passportConfigNotModified","params":[],"type":"help.PassportConfig"},{"id":"-1600596305","predicate":"help.passportConfig","params":[{"name":"hash","type":"int"},{"name":"countries_langs","type":"DataJSON"}],"type":"help.PassportConfig"},{"id":"488313413","predicate":"inputAppEvent","params":[{"name":"time","type":"double"},{"name":"type","type":"string"},{"name":"peer","type":"long"},{"name":"data","type":"JSONValue"}],"type":"InputAppEvent"},{"id":"-1059185703","predicate":"jsonObjectValue","params":[{"name":"key","type":"string"},{"name":"value","type":"JSONValue"}],"type":"JSONObjectValue"},{"id":"1064139624","predicate":"jsonNull","params":[],"type":"JSONValue"},{"id":"-952869270","predicate":"jsonBool","params":[{"name":"value","type":"Bool"}],"type":"JSONValue"},{"id":"736157604","predicate":"jsonNumber","params":[{"name":"value","type":"double"}],"type":"JSONValue"},{"id":"-1222740358","predicate":"jsonString","params":[{"name":"value","type":"string"}],"type":"JSONValue"},{"id":"-146520221","predicate":"jsonArray","params":[{"name":"value","type":"Vector"}],"type":"JSONValue"},{"id":"-1715350371","predicate":"jsonObject","params":[{"name":"value","type":"Vector"}],"type":"JSONValue"},{"id":"-1311015810","predicate":"inputNotifyBroadcasts","params":[],"type":"InputNotifyPeer"},{"id":"-703403793","predicate":"notifyBroadcasts","params":[],"type":"NotifyPeer"},{"id":"-311786236","predicate":"textSubscript","params":[{"name":"text","type":"RichText"}],"type":"RichText"},{"id":"-939827711","predicate":"textSuperscript","params":[{"name":"text","type":"RichText"}],"type":"RichText"},{"id":"55281185","predicate":"textMarked","params":[{"name":"text","type":"RichText"}],"type":"RichText"},{"id":"483104362","predicate":"textPhone","params":[{"name":"text","type":"RichText"},{"name":"phone","type":"string"}],"type":"RichText"},{"id":"136105807","predicate":"textImage","params":[{"name":"document_id","type":"long"},{"name":"w","type":"int"},{"name":"h","type":"int"}],"type":"RichText"},{"id":"504660880","predicate":"pageBlockKicker","params":[{"name":"text","type":"RichText"}],"type":"PageBlock"},{"id":"878078826","predicate":"pageTableCell","params":[{"name":"flags","type":"#"},{"name":"header","type":"flags.0?true"},{"name":"align_center","type":"flags.3?true"},{"name":"align_right","type":"flags.4?true"},{"name":"valign_middle","type":"flags.5?true"},{"name":"valign_bottom","type":"flags.6?true"},{"name":"text","type":"flags.7?RichText"},{"name":"colspan","type":"flags.1?int"},{"name":"rowspan","type":"flags.2?int"}],"type":"PageTableCell"},{"id":"-524237339","predicate":"pageTableRow","params":[{"name":"cells","type":"Vector"}],"type":"PageTableRow"},{"id":"-1085412734","predicate":"pageBlockTable","params":[{"name":"flags","type":"#"},{"name":"bordered","type":"flags.0?true"},{"name":"striped","type":"flags.1?true"},{"name":"title","type":"RichText"},{"name":"rows","type":"Vector"}],"type":"PageBlock"},{"id":"1869903447","predicate":"pageCaption","params":[{"name":"text","type":"RichText"},{"name":"credit","type":"RichText"}],"type":"PageCaption"},{"id":"-1188055347","predicate":"pageListItemText","params":[{"name":"text","type":"RichText"}],"type":"PageListItem"},{"id":"635466748","predicate":"pageListItemBlocks","params":[{"name":"blocks","type":"Vector"}],"type":"PageListItem"},{"id":"1577484359","predicate":"pageListOrderedItemText","params":[{"name":"num","type":"string"},{"name":"text","type":"RichText"}],"type":"PageListOrderedItem"},{"id":"-1730311882","predicate":"pageListOrderedItemBlocks","params":[{"name":"num","type":"string"},{"name":"blocks","type":"Vector"}],"type":"PageListOrderedItem"},{"id":"-1702174239","predicate":"pageBlockOrderedList","params":[{"name":"items","type":"Vector"}],"type":"PageBlock"},{"id":"1987480557","predicate":"pageBlockDetails","params":[{"name":"flags","type":"#"},{"name":"open","type":"flags.0?true"},{"name":"blocks","type":"Vector"},{"name":"title","type":"RichText"}],"type":"PageBlock"},{"id":"-1282352120","predicate":"pageRelatedArticle","params":[{"name":"flags","type":"#"},{"name":"url","type":"string"},{"name":"webpage_id","type":"long"},{"name":"title","type":"flags.0?string"},{"name":"description","type":"flags.1?string"},{"name":"photo_id","type":"flags.2?long"},{"name":"author","type":"flags.3?string"},{"name":"published_date","type":"flags.4?int"}],"type":"PageRelatedArticle"},{"id":"370236054","predicate":"pageBlockRelatedArticles","params":[{"name":"title","type":"RichText"},{"name":"articles","type":"Vector"}],"type":"PageBlock"},{"id":"-1538310410","predicate":"pageBlockMap","params":[{"name":"geo","type":"GeoPoint"},{"name":"zoom","type":"int"},{"name":"w","type":"int"},{"name":"h","type":"int"},{"name":"caption","type":"PageCaption"}],"type":"PageBlock"},{"id":"-1738178803","predicate":"page","params":[{"name":"flags","type":"#"},{"name":"part","type":"flags.0?true"},{"name":"rtl","type":"flags.1?true"},{"name":"v2","type":"flags.2?true"},{"name":"url","type":"string"},{"name":"blocks","type":"Vector"},{"name":"photos","type":"Vector"},{"name":"documents","type":"Vector"},{"name":"views","type":"flags.3?int"}],"type":"Page"},{"id":"-610373422","predicate":"inputPrivacyKeyPhoneP2P","params":[],"type":"InputPrivacyKey"},{"id":"961092808","predicate":"privacyKeyPhoneP2P","params":[],"type":"PrivacyKey"},{"id":"894777186","predicate":"textAnchor","params":[{"name":"text","type":"RichText"},{"name":"name","type":"string"}],"type":"RichText"},{"id":"-1945767479","predicate":"help.supportName","params":[{"name":"name","type":"string"}],"type":"help.SupportName"},{"id":"-206688531","predicate":"help.userInfoEmpty","params":[],"type":"help.UserInfo"},{"id":"32192344","predicate":"help.userInfo","params":[{"name":"message","type":"string"},{"name":"entities","type":"Vector"},{"name":"author","type":"string"},{"name":"date","type":"int"}],"type":"help.UserInfo"},{"id":"-202219658","predicate":"messageActionContactSignUp","params":[],"type":"MessageAction"},{"id":"-1398708869","predicate":"updateMessagePoll","params":[{"name":"flags","type":"#"},{"name":"poll_id","type":"long"},{"name":"poll","type":"flags.0?Poll"},{"name":"results","type":"PollResults"}],"type":"Update"},{"id":"1823064809","predicate":"pollAnswer","params":[{"name":"text","type":"string"},{"name":"option","type":"bytes"}],"type":"PollAnswer"},{"id":"-2032041631","predicate":"poll","params":[{"name":"id","type":"long"},{"name":"flags","type":"#"},{"name":"closed","type":"flags.0?true"},{"name":"public_voters","type":"flags.1?true"},{"name":"multiple_choice","type":"flags.2?true"},{"name":"quiz","type":"flags.3?true"},{"name":"question","type":"string"},{"name":"answers","type":"Vector"},{"name":"close_period","type":"flags.4?int"},{"name":"close_date","type":"flags.5?int"}],"type":"Poll"},{"id":"997055186","predicate":"pollAnswerVoters","params":[{"name":"flags","type":"#"},{"name":"chosen","type":"flags.0?true"},{"name":"correct","type":"flags.1?true"},{"name":"option","type":"bytes"},{"name":"voters","type":"int"}],"type":"PollAnswerVoters"},{"id":"-1159937629","predicate":"pollResults","params":[{"name":"flags","type":"#"},{"name":"min","type":"flags.0?true"},{"name":"results","type":"flags.1?Vector"},{"name":"total_voters","type":"flags.2?int"},{"name":"recent_voters","type":"flags.3?Vector"},{"name":"solution","type":"flags.4?string"},{"name":"solution_entities","type":"flags.4?Vector"}],"type":"PollResults"},{"id":"261416433","predicate":"inputMediaPoll","params":[{"name":"flags","type":"#"},{"name":"poll","type":"Poll"},{"name":"correct_answers","type":"flags.0?Vector"},{"name":"solution","type":"flags.1?string"},{"name":"solution_entities","type":"flags.1?Vector"}],"type":"InputMedia"},{"id":"1272375192","predicate":"messageMediaPoll","params":[{"name":"poll","type":"Poll"},{"name":"results","type":"PollResults"}],"type":"MessageMedia"},{"id":"-264117680","predicate":"chatOnlines","params":[{"name":"onlines","type":"int"}],"type":"ChatOnlines"},{"id":"1202287072","predicate":"statsURL","params":[{"name":"url","type":"string"}],"type":"StatsURL"},{"id":"-525288402","predicate":"photoStrippedSize","params":[{"name":"type","type":"string"},{"name":"bytes","type":"bytes"}],"type":"PhotoSize"},{"id":"1605510357","predicate":"chatAdminRights","params":[{"name":"flags","type":"#"},{"name":"change_info","type":"flags.0?true"},{"name":"post_messages","type":"flags.1?true"},{"name":"edit_messages","type":"flags.2?true"},{"name":"delete_messages","type":"flags.3?true"},{"name":"ban_users","type":"flags.4?true"},{"name":"invite_users","type":"flags.5?true"},{"name":"pin_messages","type":"flags.7?true"},{"name":"add_admins","type":"flags.9?true"},{"name":"anonymous","type":"flags.10?true"},{"name":"manage_call","type":"flags.11?true"},{"name":"other","type":"flags.12?true"}],"type":"ChatAdminRights"},{"id":"-1626209256","predicate":"chatBannedRights","params":[{"name":"flags","type":"#"},{"name":"view_messages","type":"flags.0?true"},{"name":"send_messages","type":"flags.1?true"},{"name":"send_media","type":"flags.2?true"},{"name":"send_stickers","type":"flags.3?true"},{"name":"send_gifs","type":"flags.4?true"},{"name":"send_games","type":"flags.5?true"},{"name":"send_inline","type":"flags.6?true"},{"name":"embed_links","type":"flags.7?true"},{"name":"send_polls","type":"flags.8?true"},{"name":"change_info","type":"flags.10?true"},{"name":"invite_users","type":"flags.15?true"},{"name":"pin_messages","type":"flags.17?true"},{"name":"until_date","type":"int"}],"type":"ChatBannedRights"},{"id":"1421875280","predicate":"updateChatDefaultBannedRights","params":[{"name":"peer","type":"Peer"},{"name":"default_banned_rights","type":"ChatBannedRights"},{"name":"version","type":"int"}],"type":"Update"},{"id":"-433014407","predicate":"inputWallPaper","params":[{"name":"id","type":"long"},{"name":"access_hash","type":"long"}],"type":"InputWallPaper"},{"id":"1913199744","predicate":"inputWallPaperSlug","params":[{"name":"slug","type":"string"}],"type":"InputWallPaper"},{"id":"-1150621555","predicate":"channelParticipantsContacts","params":[{"name":"q","type":"string"}],"type":"ChannelParticipantsFilter"},{"id":"771095562","predicate":"channelAdminLogEventActionDefaultBannedRights","params":[{"name":"prev_banned_rights","type":"ChatBannedRights"},{"name":"new_banned_rights","type":"ChatBannedRights"}],"type":"ChannelAdminLogEventAction"},{"id":"-1895328189","predicate":"channelAdminLogEventActionStopPoll","params":[{"name":"message","type":"Message"}],"type":"ChannelAdminLogEventAction"},{"id":"471437699","predicate":"account.wallPapersNotModified","params":[],"type":"account.WallPapers"},{"id":"1881892265","predicate":"account.wallPapers","params":[{"name":"hash","type":"int"},{"name":"wallpapers","type":"Vector"}],"type":"account.WallPapers"},{"id":"-557924733","predicate":"codeSettings","params":[{"name":"flags","type":"#"},{"name":"allow_flashcall","type":"flags.0?true"},{"name":"current_number","type":"flags.1?true"},{"name":"allow_app_hash","type":"flags.4?true"}],"type":"CodeSettings"},{"id":"84438264","predicate":"wallPaperSettings","params":[{"name":"flags","type":"#"},{"name":"blur","type":"flags.1?true"},{"name":"motion","type":"flags.2?true"},{"name":"background_color","type":"flags.0?int"},{"name":"second_background_color","type":"flags.4?int"},{"name":"intensity","type":"flags.3?int"},{"name":"rotation","type":"flags.4?int"}],"type":"WallPaperSettings"},{"id":"-532532493","predicate":"autoDownloadSettings","params":[{"name":"flags","type":"#"},{"name":"disabled","type":"flags.0?true"},{"name":"video_preload_large","type":"flags.1?true"},{"name":"audio_preload_next","type":"flags.2?true"},{"name":"phonecalls_less_data","type":"flags.3?true"},{"name":"photo_size_max","type":"int"},{"name":"video_size_max","type":"int"},{"name":"file_size_max","type":"int"},{"name":"video_upload_maxbitrate","type":"int"}],"type":"AutoDownloadSettings"},{"id":"1674235686","predicate":"account.autoDownloadSettings","params":[{"name":"low","type":"AutoDownloadSettings"},{"name":"medium","type":"AutoDownloadSettings"},{"name":"high","type":"AutoDownloadSettings"}],"type":"account.AutoDownloadSettings"},{"id":"-709641735","predicate":"emojiKeyword","params":[{"name":"keyword","type":"string"},{"name":"emoticons","type":"Vector"}],"type":"EmojiKeyword"},{"id":"594408994","predicate":"emojiKeywordDeleted","params":[{"name":"keyword","type":"string"},{"name":"emoticons","type":"Vector"}],"type":"EmojiKeyword"},{"id":"1556570557","predicate":"emojiKeywordsDifference","params":[{"name":"lang_code","type":"string"},{"name":"from_version","type":"int"},{"name":"version","type":"int"},{"name":"keywords","type":"Vector"}],"type":"EmojiKeywordsDifference"},{"id":"-1519029347","predicate":"emojiURL","params":[{"name":"url","type":"string"}],"type":"EmojiURL"},{"id":"-1275374751","predicate":"emojiLanguage","params":[{"name":"lang_code","type":"string"}],"type":"EmojiLanguage"},{"id":"-1529000952","predicate":"inputPrivacyKeyForwards","params":[],"type":"InputPrivacyKey"},{"id":"1777096355","predicate":"privacyKeyForwards","params":[],"type":"PrivacyKey"},{"id":"1461304012","predicate":"inputPrivacyKeyProfilePhoto","params":[],"type":"InputPrivacyKey"},{"id":"-1777000467","predicate":"privacyKeyProfilePhoto","params":[],"type":"PrivacyKey"},{"id":"-1132476723","predicate":"fileLocationToBeDeprecated","params":[{"name":"volume_id","type":"long"},{"name":"local_id","type":"int"}],"type":"FileLocation"},{"id":"1075322878","predicate":"inputPhotoFileLocation","params":[{"name":"id","type":"long"},{"name":"access_hash","type":"long"},{"name":"file_reference","type":"bytes"},{"name":"thumb_size","type":"string"}],"type":"InputFileLocation"},{"id":"-667654413","predicate":"inputPhotoLegacyFileLocation","params":[{"name":"id","type":"long"},{"name":"access_hash","type":"long"},{"name":"file_reference","type":"bytes"},{"name":"volume_id","type":"long"},{"name":"local_id","type":"int"},{"name":"secret","type":"long"}],"type":"InputFileLocation"},{"id":"668375447","predicate":"inputPeerPhotoFileLocation","params":[{"name":"flags","type":"#"},{"name":"big","type":"flags.0?true"},{"name":"peer","type":"InputPeer"},{"name":"volume_id","type":"long"},{"name":"local_id","type":"int"}],"type":"InputFileLocation"},{"id":"230353641","predicate":"inputStickerSetThumb","params":[{"name":"stickerset","type":"InputStickerSet"},{"name":"volume_id","type":"long"},{"name":"local_id","type":"int"}],"type":"InputFileLocation"},{"id":"-11252123","predicate":"folder","params":[{"name":"flags","type":"#"},{"name":"autofill_new_broadcasts","type":"flags.0?true"},{"name":"autofill_public_groups","type":"flags.1?true"},{"name":"autofill_new_correspondents","type":"flags.2?true"},{"name":"id","type":"int"},{"name":"title","type":"string"},{"name":"photo","type":"flags.3?ChatPhoto"}],"type":"Folder"},{"id":"1908216652","predicate":"dialogFolder","params":[{"name":"flags","type":"#"},{"name":"pinned","type":"flags.2?true"},{"name":"folder","type":"Folder"},{"name":"peer","type":"Peer"},{"name":"top_message","type":"int"},{"name":"unread_muted_peers_count","type":"int"},{"name":"unread_unmuted_peers_count","type":"int"},{"name":"unread_muted_messages_count","type":"int"},{"name":"unread_unmuted_messages_count","type":"int"}],"type":"Dialog"},{"id":"1684014375","predicate":"inputDialogPeerFolder","params":[{"name":"folder_id","type":"int"}],"type":"InputDialogPeer"},{"id":"1363483106","predicate":"dialogPeerFolder","params":[{"name":"folder_id","type":"int"}],"type":"DialogPeer"},{"id":"-70073706","predicate":"inputFolderPeer","params":[{"name":"peer","type":"InputPeer"},{"name":"folder_id","type":"int"}],"type":"InputFolderPeer"},{"id":"-373643672","predicate":"folderPeer","params":[{"name":"peer","type":"Peer"},{"name":"folder_id","type":"int"}],"type":"FolderPeer"},{"id":"422972864","predicate":"updateFolderPeers","params":[{"name":"folder_peers","type":"Vector"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"}],"type":"Update"},{"id":"756118935","predicate":"inputUserFromMessage","params":[{"name":"peer","type":"InputPeer"},{"name":"msg_id","type":"int"},{"name":"user_id","type":"int"}],"type":"InputUser"},{"id":"707290417","predicate":"inputChannelFromMessage","params":[{"name":"peer","type":"InputPeer"},{"name":"msg_id","type":"int"},{"name":"channel_id","type":"int"}],"type":"InputChannel"},{"id":"398123750","predicate":"inputPeerUserFromMessage","params":[{"name":"peer","type":"InputPeer"},{"name":"msg_id","type":"int"},{"name":"user_id","type":"int"}],"type":"InputPeer"},{"id":"-1667893317","predicate":"inputPeerChannelFromMessage","params":[{"name":"peer","type":"InputPeer"},{"name":"msg_id","type":"int"},{"name":"channel_id","type":"int"}],"type":"InputPeer"},{"id":"55761658","predicate":"inputPrivacyKeyPhoneNumber","params":[],"type":"InputPrivacyKey"},{"id":"-778378131","predicate":"privacyKeyPhoneNumber","params":[],"type":"PrivacyKey"},{"id":"-1472172887","predicate":"topPeerCategoryForwardUsers","params":[],"type":"TopPeerCategory"},{"id":"-68239120","predicate":"topPeerCategoryForwardChats","params":[],"type":"TopPeerCategory"},{"id":"-1569748965","predicate":"channelAdminLogEventActionChangeLinkedChat","params":[{"name":"prev_value","type":"int"},{"name":"new_value","type":"int"}],"type":"ChannelAdminLogEventAction"},{"id":"-398136321","predicate":"messages.searchCounter","params":[{"name":"flags","type":"#"},{"name":"inexact","type":"flags.1?true"},{"name":"filter","type":"MessagesFilter"},{"name":"count","type":"int"}],"type":"messages.SearchCounter"},{"id":"280464681","predicate":"keyboardButtonUrlAuth","params":[{"name":"flags","type":"#"},{"name":"text","type":"string"},{"name":"fwd_text","type":"flags.0?string"},{"name":"url","type":"string"},{"name":"button_id","type":"int"}],"type":"KeyboardButton"},{"id":"-802258988","predicate":"inputKeyboardButtonUrlAuth","params":[{"name":"flags","type":"#"},{"name":"request_write_access","type":"flags.0?true"},{"name":"text","type":"string"},{"name":"fwd_text","type":"flags.1?string"},{"name":"url","type":"string"},{"name":"bot","type":"InputUser"}],"type":"KeyboardButton"},{"id":"-1831650802","predicate":"urlAuthResultRequest","params":[{"name":"flags","type":"#"},{"name":"request_write_access","type":"flags.0?true"},{"name":"bot","type":"User"},{"name":"domain","type":"string"}],"type":"UrlAuthResult"},{"id":"-1886646706","predicate":"urlAuthResultAccepted","params":[{"name":"url","type":"string"}],"type":"UrlAuthResult"},{"id":"-1445536993","predicate":"urlAuthResultDefault","params":[],"type":"UrlAuthResult"},{"id":"1283572154","predicate":"inputPrivacyValueAllowChatParticipants","params":[{"name":"chats","type":"Vector"}],"type":"InputPrivacyRule"},{"id":"-668769361","predicate":"inputPrivacyValueDisallowChatParticipants","params":[{"name":"chats","type":"Vector"}],"type":"InputPrivacyRule"},{"id":"415136107","predicate":"privacyValueAllowChatParticipants","params":[{"name":"chats","type":"Vector"}],"type":"PrivacyRule"},{"id":"-1397881200","predicate":"privacyValueDisallowChatParticipants","params":[{"name":"chats","type":"Vector"}],"type":"PrivacyRule"},{"id":"-1672577397","predicate":"messageEntityUnderline","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"}],"type":"MessageEntity"},{"id":"-1090087980","predicate":"messageEntityStrike","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"}],"type":"MessageEntity"},{"id":"34469328","predicate":"messageEntityBlockquote","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"}],"type":"MessageEntity"},{"id":"1786671974","predicate":"updatePeerSettings","params":[{"name":"peer","type":"Peer"},{"name":"settings","type":"PeerSettings"}],"type":"Update"},{"id":"-1078612597","predicate":"channelLocationEmpty","params":[],"type":"ChannelLocation"},{"id":"547062491","predicate":"channelLocation","params":[{"name":"geo_point","type":"GeoPoint"},{"name":"address","type":"string"}],"type":"ChannelLocation"},{"id":"-901375139","predicate":"peerLocated","params":[{"name":"peer","type":"Peer"},{"name":"expires","type":"int"},{"name":"distance","type":"int"}],"type":"PeerLocated"},{"id":"-1263546448","predicate":"updatePeerLocated","params":[{"name":"peers","type":"Vector"}],"type":"Update"},{"id":"241923758","predicate":"channelAdminLogEventActionChangeLocation","params":[{"name":"prev_value","type":"ChannelLocation"},{"name":"new_value","type":"ChannelLocation"}],"type":"ChannelAdminLogEventAction"},{"id":"-606798099","predicate":"inputReportReasonGeoIrrelevant","params":[],"type":"ReportReason"},{"id":"1401984889","predicate":"channelAdminLogEventActionToggleSlowMode","params":[{"name":"prev_value","type":"int"},{"name":"new_value","type":"int"}],"type":"ChannelAdminLogEventAction"},{"id":"1148485274","predicate":"auth.authorizationSignUpRequired","params":[{"name":"flags","type":"#"},{"name":"terms_of_service","type":"flags.0?help.TermsOfService"}],"type":"auth.Authorization"},{"id":"-666824391","predicate":"payments.paymentVerificationNeeded","params":[{"name":"url","type":"string"}],"type":"payments.PaymentResult"},{"id":"42402760","predicate":"inputStickerSetAnimatedEmoji","params":[],"type":"InputStickerSet"},{"id":"967122427","predicate":"updateNewScheduledMessage","params":[{"name":"message","type":"Message"}],"type":"Update"},{"id":"-1870238482","predicate":"updateDeleteScheduledMessages","params":[{"name":"peer","type":"Peer"},{"name":"messages","type":"Vector"}],"type":"Update"},{"id":"-797791052","predicate":"restrictionReason","params":[{"name":"platform","type":"string"},{"name":"reason","type":"string"},{"name":"text","type":"string"}],"type":"RestrictionReason"},{"id":"1012306921","predicate":"inputTheme","params":[{"name":"id","type":"long"},{"name":"access_hash","type":"long"}],"type":"InputTheme"},{"id":"-175567375","predicate":"inputThemeSlug","params":[{"name":"slug","type":"string"}],"type":"InputTheme"},{"id":"42930452","predicate":"theme","params":[{"name":"flags","type":"#"},{"name":"creator","type":"flags.0?true"},{"name":"default","type":"flags.1?true"},{"name":"id","type":"long"},{"name":"access_hash","type":"long"},{"name":"slug","type":"string"},{"name":"title","type":"string"},{"name":"document","type":"flags.2?Document"},{"name":"settings","type":"flags.3?ThemeSettings"},{"name":"installs_count","type":"int"}],"type":"Theme"},{"id":"-199313886","predicate":"account.themesNotModified","params":[],"type":"account.Themes"},{"id":"2137482273","predicate":"account.themes","params":[{"name":"hash","type":"int"},{"name":"themes","type":"Vector"}],"type":"account.Themes"},{"id":"-2112423005","predicate":"updateTheme","params":[{"name":"theme","type":"Theme"}],"type":"Update"},{"id":"-786326563","predicate":"inputPrivacyKeyAddedByPhone","params":[],"type":"InputPrivacyKey"},{"id":"1124062251","predicate":"privacyKeyAddedByPhone","params":[],"type":"PrivacyKey"},{"id":"-2027964103","predicate":"updateGeoLiveViewed","params":[{"name":"peer","type":"Peer"},{"name":"msg_id","type":"int"}],"type":"Update"},{"id":"1448076945","predicate":"updateLoginToken","params":[],"type":"Update"},{"id":"1654593920","predicate":"auth.loginToken","params":[{"name":"expires","type":"int"},{"name":"token","type":"bytes"}],"type":"auth.LoginToken"},{"id":"110008598","predicate":"auth.loginTokenMigrateTo","params":[{"name":"dc_id","type":"int"},{"name":"token","type":"bytes"}],"type":"auth.LoginToken"},{"id":"957176926","predicate":"auth.loginTokenSuccess","params":[{"name":"authorization","type":"auth.Authorization"}],"type":"auth.LoginToken"},{"id":"1474462241","predicate":"account.contentSettings","params":[{"name":"flags","type":"#"},{"name":"sensitive_enabled","type":"flags.0?true"},{"name":"sensitive_can_change","type":"flags.1?true"}],"type":"account.ContentSettings"},{"id":"-1456996667","predicate":"messages.inactiveChats","params":[{"name":"dates","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"messages.InactiveChats"},{"id":"-1012849566","predicate":"baseThemeClassic","params":[],"type":"BaseTheme"},{"id":"-69724536","predicate":"baseThemeDay","params":[],"type":"BaseTheme"},{"id":"-1212997976","predicate":"baseThemeNight","params":[],"type":"BaseTheme"},{"id":"1834973166","predicate":"baseThemeTinted","params":[],"type":"BaseTheme"},{"id":"1527845466","predicate":"baseThemeArctic","params":[],"type":"BaseTheme"},{"id":"-2077770836","predicate":"inputWallPaperNoFile","params":[],"type":"InputWallPaper"},{"id":"-1963717851","predicate":"wallPaperNoFile","params":[{"name":"flags","type":"#"},{"name":"default","type":"flags.1?true"},{"name":"dark","type":"flags.4?true"},{"name":"settings","type":"flags.2?WallPaperSettings"}],"type":"WallPaper"},{"id":"-1118798639","predicate":"inputThemeSettings","params":[{"name":"flags","type":"#"},{"name":"base_theme","type":"BaseTheme"},{"name":"accent_color","type":"int"},{"name":"message_top_color","type":"flags.0?int"},{"name":"message_bottom_color","type":"flags.0?int"},{"name":"wallpaper","type":"flags.1?InputWallPaper"},{"name":"wallpaper_settings","type":"flags.1?WallPaperSettings"}],"type":"InputThemeSettings"},{"id":"-1676371894","predicate":"themeSettings","params":[{"name":"flags","type":"#"},{"name":"base_theme","type":"BaseTheme"},{"name":"accent_color","type":"int"},{"name":"message_top_color","type":"flags.0?int"},{"name":"message_bottom_color","type":"flags.0?int"},{"name":"wallpaper","type":"flags.1?WallPaper"}],"type":"ThemeSettings"},{"id":"1421174295","predicate":"webPageAttributeTheme","params":[{"name":"flags","type":"#"},{"name":"documents","type":"flags.0?Vector"},{"name":"settings","type":"flags.1?ThemeSettings"}],"type":"WebPageAttribute"},{"id":"1123585836","predicate":"updateMessagePollVote","params":[{"name":"poll_id","type":"long"},{"name":"user_id","type":"int"},{"name":"options","type":"Vector"}],"type":"Update"},{"id":"-1567730343","predicate":"messageUserVote","params":[{"name":"user_id","type":"int"},{"name":"option","type":"bytes"},{"name":"date","type":"int"}],"type":"MessageUserVote"},{"id":"909603888","predicate":"messageUserVoteInputOption","params":[{"name":"user_id","type":"int"},{"name":"date","type":"int"}],"type":"MessageUserVote"},{"id":"244310238","predicate":"messageUserVoteMultiple","params":[{"name":"user_id","type":"int"},{"name":"options","type":"Vector"},{"name":"date","type":"int"}],"type":"MessageUserVote"},{"id":"136574537","predicate":"messages.votesList","params":[{"name":"flags","type":"#"},{"name":"count","type":"int"},{"name":"votes","type":"Vector"},{"name":"users","type":"Vector"},{"name":"next_offset","type":"flags.0?string"}],"type":"messages.VotesList"},{"id":"-1144565411","predicate":"keyboardButtonRequestPoll","params":[{"name":"flags","type":"#"},{"name":"quiz","type":"flags.0?Bool"},{"name":"text","type":"string"}],"type":"KeyboardButton"},{"id":"1981704948","predicate":"messageEntityBankCard","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"}],"type":"MessageEntity"},{"id":"-177732982","predicate":"bankCardOpenUrl","params":[{"name":"url","type":"string"},{"name":"name","type":"string"}],"type":"BankCardOpenUrl"},{"id":"1042605427","predicate":"payments.bankCardData","params":[{"name":"title","type":"string"},{"name":"open_urls","type":"Vector"}],"type":"payments.BankCardData"},{"id":"-118740917","predicate":"peerSelfLocated","params":[{"name":"expires","type":"int"}],"type":"PeerLocated"},{"id":"1949890536","predicate":"dialogFilter","params":[{"name":"flags","type":"#"},{"name":"contacts","type":"flags.0?true"},{"name":"non_contacts","type":"flags.1?true"},{"name":"groups","type":"flags.2?true"},{"name":"broadcasts","type":"flags.3?true"},{"name":"bots","type":"flags.4?true"},{"name":"exclude_muted","type":"flags.11?true"},{"name":"exclude_read","type":"flags.12?true"},{"name":"exclude_archived","type":"flags.13?true"},{"name":"id","type":"int"},{"name":"title","type":"string"},{"name":"emoticon","type":"flags.25?string"},{"name":"pinned_peers","type":"Vector"},{"name":"include_peers","type":"Vector"},{"name":"exclude_peers","type":"Vector"}],"type":"DialogFilter"},{"id":"2004110666","predicate":"dialogFilterSuggested","params":[{"name":"filter","type":"DialogFilter"},{"name":"description","type":"string"}],"type":"DialogFilterSuggested"},{"id":"654302845","predicate":"updateDialogFilter","params":[{"name":"flags","type":"#"},{"name":"id","type":"int"},{"name":"filter","type":"flags.0?DialogFilter"}],"type":"Update"},{"id":"-1512627963","predicate":"updateDialogFilterOrder","params":[{"name":"order","type":"Vector"}],"type":"Update"},{"id":"889491791","predicate":"updateDialogFilters","params":[],"type":"Update"},{"id":"-1237848657","predicate":"statsDateRangeDays","params":[{"name":"min_date","type":"int"},{"name":"max_date","type":"int"}],"type":"StatsDateRangeDays"},{"id":"-884757282","predicate":"statsAbsValueAndPrev","params":[{"name":"current","type":"double"},{"name":"previous","type":"double"}],"type":"StatsAbsValueAndPrev"},{"id":"-875679776","predicate":"statsPercentValue","params":[{"name":"part","type":"double"},{"name":"total","type":"double"}],"type":"StatsPercentValue"},{"id":"1244130093","predicate":"statsGraphAsync","params":[{"name":"token","type":"string"}],"type":"StatsGraph"},{"id":"-1092839390","predicate":"statsGraphError","params":[{"name":"error","type":"string"}],"type":"StatsGraph"},{"id":"-1901828938","predicate":"statsGraph","params":[{"name":"flags","type":"#"},{"name":"json","type":"DataJSON"},{"name":"zoom_token","type":"flags.0?string"}],"type":"StatsGraph"},{"id":"-1387279939","predicate":"messageInteractionCounters","params":[{"name":"msg_id","type":"int"},{"name":"views","type":"int"},{"name":"forwards","type":"int"}],"type":"MessageInteractionCounters"},{"id":"-1107852396","predicate":"stats.broadcastStats","params":[{"name":"period","type":"StatsDateRangeDays"},{"name":"followers","type":"StatsAbsValueAndPrev"},{"name":"views_per_post","type":"StatsAbsValueAndPrev"},{"name":"shares_per_post","type":"StatsAbsValueAndPrev"},{"name":"enabled_notifications","type":"StatsPercentValue"},{"name":"growth_graph","type":"StatsGraph"},{"name":"followers_graph","type":"StatsGraph"},{"name":"mute_graph","type":"StatsGraph"},{"name":"top_hours_graph","type":"StatsGraph"},{"name":"interactions_graph","type":"StatsGraph"},{"name":"iv_interactions_graph","type":"StatsGraph"},{"name":"views_by_source_graph","type":"StatsGraph"},{"name":"new_followers_by_source_graph","type":"StatsGraph"},{"name":"languages_graph","type":"StatsGraph"},{"name":"recent_message_interactions","type":"Vector"}],"type":"stats.BroadcastStats"},{"id":"-428884101","predicate":"inputMediaDice","params":[{"name":"emoticon","type":"string"}],"type":"InputMedia"},{"id":"1065280907","predicate":"messageMediaDice","params":[{"name":"value","type":"int"},{"name":"emoticon","type":"string"}],"type":"MessageMedia"},{"id":"-427863538","predicate":"inputStickerSetDice","params":[{"name":"emoticon","type":"string"}],"type":"InputStickerSet"},{"id":"-1728664459","predicate":"help.promoDataEmpty","params":[{"name":"expires","type":"int"}],"type":"help.PromoData"},{"id":"-1942390465","predicate":"help.promoData","params":[{"name":"flags","type":"#"},{"name":"proxy","type":"flags.0?true"},{"name":"expires","type":"int"},{"name":"peer","type":"Peer"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"},{"name":"psa_type","type":"flags.1?string"},{"name":"psa_message","type":"flags.2?string"}],"type":"help.PromoData"},{"id":"-399391402","predicate":"videoSize","params":[{"name":"flags","type":"#"},{"name":"type","type":"string"},{"name":"location","type":"FileLocation"},{"name":"w","type":"int"},{"name":"h","type":"int"},{"name":"size","type":"int"},{"name":"video_start_ts","type":"flags.0?double"}],"type":"VideoSize"},{"id":"643940105","predicate":"updatePhoneCallSignalingData","params":[{"name":"phone_call_id","type":"long"},{"name":"data","type":"bytes"}],"type":"Update"},{"id":"1634294960","predicate":"chatInvitePeek","params":[{"name":"chat","type":"Chat"},{"name":"expires","type":"int"}],"type":"ChatInvite"},{"id":"418631927","predicate":"statsGroupTopPoster","params":[{"name":"user_id","type":"int"},{"name":"messages","type":"int"},{"name":"avg_chars","type":"int"}],"type":"StatsGroupTopPoster"},{"id":"1611985938","predicate":"statsGroupTopAdmin","params":[{"name":"user_id","type":"int"},{"name":"deleted","type":"int"},{"name":"kicked","type":"int"},{"name":"banned","type":"int"}],"type":"StatsGroupTopAdmin"},{"id":"831924812","predicate":"statsGroupTopInviter","params":[{"name":"user_id","type":"int"},{"name":"invitations","type":"int"}],"type":"StatsGroupTopInviter"},{"id":"-276825834","predicate":"stats.megagroupStats","params":[{"name":"period","type":"StatsDateRangeDays"},{"name":"members","type":"StatsAbsValueAndPrev"},{"name":"messages","type":"StatsAbsValueAndPrev"},{"name":"viewers","type":"StatsAbsValueAndPrev"},{"name":"posters","type":"StatsAbsValueAndPrev"},{"name":"growth_graph","type":"StatsGraph"},{"name":"members_graph","type":"StatsGraph"},{"name":"new_members_by_source_graph","type":"StatsGraph"},{"name":"languages_graph","type":"StatsGraph"},{"name":"messages_graph","type":"StatsGraph"},{"name":"actions_graph","type":"StatsGraph"},{"name":"top_hours_graph","type":"StatsGraph"},{"name":"weekdays_graph","type":"StatsGraph"},{"name":"top_posters","type":"Vector"},{"name":"top_admins","type":"Vector"},{"name":"top_inviters","type":"Vector"},{"name":"users","type":"Vector"}],"type":"stats.MegagroupStats"},{"id":"-1096616924","predicate":"globalPrivacySettings","params":[{"name":"flags","type":"#"},{"name":"archive_and_mute_new_noncontact_peers","type":"flags.0?Bool"}],"type":"GlobalPrivacySettings"},{"id":"1667228533","predicate":"phoneConnectionWebrtc","params":[{"name":"flags","type":"#"},{"name":"turn","type":"flags.0?true"},{"name":"stun","type":"flags.1?true"},{"name":"id","type":"long"},{"name":"ip","type":"string"},{"name":"ipv6","type":"string"},{"name":"port","type":"int"},{"name":"username","type":"string"},{"name":"password","type":"string"}],"type":"PhoneConnection"},{"id":"1107543535","predicate":"help.countryCode","params":[{"name":"flags","type":"#"},{"name":"country_code","type":"string"},{"name":"prefixes","type":"flags.0?Vector"},{"name":"patterns","type":"flags.1?Vector"}],"type":"help.CountryCode"},{"id":"-1014526429","predicate":"help.country","params":[{"name":"flags","type":"#"},{"name":"hidden","type":"flags.0?true"},{"name":"iso2","type":"string"},{"name":"default_name","type":"string"},{"name":"name","type":"flags.1?string"},{"name":"country_codes","type":"Vector"}],"type":"help.Country"},{"id":"-1815339214","predicate":"help.countriesListNotModified","params":[],"type":"help.CountriesList"},{"id":"-2016381538","predicate":"help.countriesList","params":[{"name":"countries","type":"Vector"},{"name":"hash","type":"int"}],"type":"help.CountriesList"},{"id":"1163625789","predicate":"messageViews","params":[{"name":"flags","type":"#"},{"name":"views","type":"flags.0?int"},{"name":"forwards","type":"flags.1?int"},{"name":"replies","type":"flags.2?MessageReplies"}],"type":"MessageViews"},{"id":"1854571743","predicate":"updateChannelMessageForwards","params":[{"name":"channel_id","type":"int"},{"name":"id","type":"int"},{"name":"forwards","type":"int"}],"type":"Update"},{"id":"1520986705","predicate":"photoSizeProgressive","params":[{"name":"type","type":"string"},{"name":"location","type":"FileLocation"},{"name":"w","type":"int"},{"name":"h","type":"int"},{"name":"sizes","type":"Vector"}],"type":"PhotoSize"},{"id":"-1228606141","predicate":"messages.messageViews","params":[{"name":"views","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"messages.MessageViews"},{"id":"482860628","predicate":"updateReadChannelDiscussionInbox","params":[{"name":"flags","type":"#"},{"name":"channel_id","type":"int"},{"name":"top_msg_id","type":"int"},{"name":"read_max_id","type":"int"},{"name":"broadcast_id","type":"flags.0?int"},{"name":"broadcast_post","type":"flags.0?int"}],"type":"Update"},{"id":"1178116716","predicate":"updateReadChannelDiscussionOutbox","params":[{"name":"channel_id","type":"int"},{"name":"top_msg_id","type":"int"},{"name":"read_max_id","type":"int"}],"type":"Update"},{"id":"-170029155","predicate":"messages.discussionMessage","params":[{"name":"flags","type":"#"},{"name":"messages","type":"Vector"},{"name":"max_id","type":"flags.0?int"},{"name":"read_inbox_max_id","type":"flags.1?int"},{"name":"read_outbox_max_id","type":"flags.2?int"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"messages.DiscussionMessage"},{"id":"-1495959709","predicate":"messageReplyHeader","params":[{"name":"flags","type":"#"},{"name":"reply_to_msg_id","type":"int"},{"name":"reply_to_peer_id","type":"flags.0?Peer"},{"name":"reply_to_top_id","type":"flags.1?int"}],"type":"MessageReplyHeader"},{"id":"1093204652","predicate":"messageReplies","params":[{"name":"flags","type":"#"},{"name":"comments","type":"flags.0?true"},{"name":"replies","type":"int"},{"name":"replies_pts","type":"int"},{"name":"recent_repliers","type":"flags.1?Vector"},{"name":"channel_id","type":"flags.0?int"},{"name":"max_id","type":"flags.2?int"},{"name":"read_max_id","type":"flags.3?int"}],"type":"MessageReplies"},{"id":"610945826","predicate":"updatePeerBlocked","params":[{"name":"peer_id","type":"Peer"},{"name":"blocked","type":"Bool"}],"type":"Update"},{"id":"-386039788","predicate":"peerBlocked","params":[{"name":"peer_id","type":"Peer"},{"name":"date","type":"int"}],"type":"PeerBlocked"},{"id":"-13975905","predicate":"updateChannelUserTyping","params":[{"name":"flags","type":"#"},{"name":"channel_id","type":"int"},{"name":"top_msg_id","type":"flags.0?int"},{"name":"user_id","type":"int"},{"name":"action","type":"SendMessageAction"}],"type":"Update"},{"id":"-1392895362","predicate":"inputMessageCallbackQuery","params":[{"name":"id","type":"int"},{"name":"query_id","type":"long"}],"type":"InputMessage"},{"id":"-1010402965","predicate":"channelParticipantLeft","params":[{"name":"user_id","type":"int"}],"type":"ChannelParticipant"},{"id":"-531931925","predicate":"channelParticipantsMentions","params":[{"name":"flags","type":"#"},{"name":"q","type":"flags.0?string"},{"name":"top_msg_id","type":"flags.1?int"}],"type":"ChannelParticipantsFilter"},{"id":"-309990731","predicate":"updatePinnedMessages","params":[{"name":"flags","type":"#"},{"name":"pinned","type":"flags.0?true"},{"name":"peer","type":"Peer"},{"name":"messages","type":"Vector"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"}],"type":"Update"},{"id":"-2054649973","predicate":"updatePinnedChannelMessages","params":[{"name":"flags","type":"#"},{"name":"pinned","type":"flags.0?true"},{"name":"channel_id","type":"int"},{"name":"messages","type":"Vector"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"}],"type":"Update"},{"id":"464520273","predicate":"inputMessagesFilterPinned","params":[],"type":"MessagesFilter"},{"id":"-1986399595","predicate":"stats.messageStats","params":[{"name":"views_graph","type":"StatsGraph"}],"type":"stats.MessageStats"},{"id":"-1730095465","predicate":"messageActionGeoProximityReached","params":[{"name":"from_id","type":"Peer"},{"name":"to_id","type":"Peer"},{"name":"distance","type":"int"}],"type":"MessageAction"},{"id":"-668906175","predicate":"photoPathSize","params":[{"name":"type","type":"string"},{"name":"bytes","type":"bytes"}],"type":"PhotoSize"}],"methods":[{"id":"-878758099","method":"invokeAfterMsg","params":[{"name":"msg_id","type":"long"},{"name":"query","type":"!X"}],"type":"X"},{"id":"1036301552","method":"invokeAfterMsgs","params":[{"name":"msg_ids","type":"Vector"},{"name":"query","type":"!X"}],"type":"X"},{"id":"-1502141361","method":"auth.sendCode","params":[{"name":"phone_number","type":"string"},{"name":"api_id","type":"int"},{"name":"api_hash","type":"string"},{"name":"settings","type":"CodeSettings"}],"type":"auth.SentCode"},{"id":"-2131827673","method":"auth.signUp","params":[{"name":"phone_number","type":"string"},{"name":"phone_code_hash","type":"string"},{"name":"first_name","type":"string"},{"name":"last_name","type":"string"}],"type":"auth.Authorization"},{"id":"-1126886015","method":"auth.signIn","params":[{"name":"phone_number","type":"string"},{"name":"phone_code_hash","type":"string"},{"name":"phone_code","type":"string"}],"type":"auth.Authorization"},{"id":"1461180992","method":"auth.logOut","params":[],"type":"Bool"},{"id":"-1616179942","method":"auth.resetAuthorizations","params":[],"type":"Bool"},{"id":"-440401971","method":"auth.exportAuthorization","params":[{"name":"dc_id","type":"int"}],"type":"auth.ExportedAuthorization"},{"id":"-470837741","method":"auth.importAuthorization","params":[{"name":"id","type":"int"},{"name":"bytes","type":"bytes"}],"type":"auth.Authorization"},{"id":"-841733627","method":"auth.bindTempAuthKey","params":[{"name":"perm_auth_key_id","type":"long"},{"name":"nonce","type":"long"},{"name":"expires_at","type":"int"},{"name":"encrypted_message","type":"bytes"}],"type":"Bool"},{"id":"1754754159","method":"account.registerDevice","params":[{"name":"flags","type":"#"},{"name":"no_muted","type":"flags.0?true"},{"name":"token_type","type":"int"},{"name":"token","type":"string"},{"name":"app_sandbox","type":"Bool"},{"name":"secret","type":"bytes"},{"name":"other_uids","type":"Vector"}],"type":"Bool"},{"id":"813089983","method":"account.unregisterDevice","params":[{"name":"token_type","type":"int"},{"name":"token","type":"string"},{"name":"other_uids","type":"Vector"}],"type":"Bool"},{"id":"-2067899501","method":"account.updateNotifySettings","params":[{"name":"peer","type":"InputNotifyPeer"},{"name":"settings","type":"InputPeerNotifySettings"}],"type":"Bool"},{"id":"313765169","method":"account.getNotifySettings","params":[{"name":"peer","type":"InputNotifyPeer"}],"type":"PeerNotifySettings"},{"id":"-612493497","method":"account.resetNotifySettings","params":[],"type":"Bool"},{"id":"2018596725","method":"account.updateProfile","params":[{"name":"flags","type":"#"},{"name":"first_name","type":"flags.0?string"},{"name":"last_name","type":"flags.1?string"},{"name":"about","type":"flags.2?string"}],"type":"User"},{"id":"1713919532","method":"account.updateStatus","params":[{"name":"offline","type":"Bool"}],"type":"Bool"},{"id":"-1430579357","method":"account.getWallPapers","params":[{"name":"hash","type":"int"}],"type":"account.WallPapers"},{"id":"-1374118561","method":"account.reportPeer","params":[{"name":"peer","type":"InputPeer"},{"name":"reason","type":"ReportReason"}],"type":"Bool"},{"id":"227648840","method":"users.getUsers","params":[{"name":"id","type":"Vector"}],"type":"Vector"},{"id":"-902781519","method":"users.getFullUser","params":[{"name":"id","type":"InputUser"}],"type":"UserFull"},{"id":"749357634","method":"contacts.getContactIDs","params":[{"name":"hash","type":"int"}],"type":"Vector"},{"id":"-995929106","method":"contacts.getStatuses","params":[],"type":"Vector"},{"id":"-1071414113","method":"contacts.getContacts","params":[{"name":"hash","type":"int"}],"type":"contacts.Contacts"},{"id":"746589157","method":"contacts.importContacts","params":[{"name":"contacts","type":"Vector"}],"type":"contacts.ImportedContacts"},{"id":"157945344","method":"contacts.deleteContacts","params":[{"name":"id","type":"Vector"}],"type":"Updates"},{"id":"269745566","method":"contacts.deleteByPhones","params":[{"name":"phones","type":"Vector"}],"type":"Bool"},{"id":"1758204945","method":"contacts.block","params":[{"name":"id","type":"InputPeer"}],"type":"Bool"},{"id":"-1096393392","method":"contacts.unblock","params":[{"name":"id","type":"InputPeer"}],"type":"Bool"},{"id":"-176409329","method":"contacts.getBlocked","params":[{"name":"offset","type":"int"},{"name":"limit","type":"int"}],"type":"contacts.Blocked"},{"id":"1673946374","method":"messages.getMessages","params":[{"name":"id","type":"Vector"}],"type":"messages.Messages"},{"id":"-1594999949","method":"messages.getDialogs","params":[{"name":"flags","type":"#"},{"name":"exclude_pinned","type":"flags.0?true"},{"name":"folder_id","type":"flags.1?int"},{"name":"offset_date","type":"int"},{"name":"offset_id","type":"int"},{"name":"offset_peer","type":"InputPeer"},{"name":"limit","type":"int"},{"name":"hash","type":"int"}],"type":"messages.Dialogs"},{"id":"-591691168","method":"messages.getHistory","params":[{"name":"peer","type":"InputPeer"},{"name":"offset_id","type":"int"},{"name":"offset_date","type":"int"},{"name":"add_offset","type":"int"},{"name":"limit","type":"int"},{"name":"max_id","type":"int"},{"name":"min_id","type":"int"},{"name":"hash","type":"int"}],"type":"messages.Messages"},{"id":"204812012","method":"messages.search","params":[{"name":"flags","type":"#"},{"name":"peer","type":"InputPeer"},{"name":"q","type":"string"},{"name":"from_id","type":"flags.0?InputPeer"},{"name":"top_msg_id","type":"flags.1?int"},{"name":"filter","type":"MessagesFilter"},{"name":"min_date","type":"int"},{"name":"max_date","type":"int"},{"name":"offset_id","type":"int"},{"name":"add_offset","type":"int"},{"name":"limit","type":"int"},{"name":"max_id","type":"int"},{"name":"min_id","type":"int"},{"name":"hash","type":"int"}],"type":"messages.Messages"},{"id":"238054714","method":"messages.readHistory","params":[{"name":"peer","type":"InputPeer"},{"name":"max_id","type":"int"}],"type":"messages.AffectedMessages"},{"id":"469850889","method":"messages.deleteHistory","params":[{"name":"flags","type":"#"},{"name":"just_clear","type":"flags.0?true"},{"name":"revoke","type":"flags.1?true"},{"name":"peer","type":"InputPeer"},{"name":"max_id","type":"int"}],"type":"messages.AffectedHistory"},{"id":"-443640366","method":"messages.deleteMessages","params":[{"name":"flags","type":"#"},{"name":"revoke","type":"flags.0?true"},{"name":"id","type":"Vector"}],"type":"messages.AffectedMessages"},{"id":"94983360","method":"messages.receivedMessages","params":[{"name":"max_id","type":"int"}],"type":"Vector"},{"id":"1486110434","method":"messages.setTyping","params":[{"name":"flags","type":"#"},{"name":"peer","type":"InputPeer"},{"name":"top_msg_id","type":"flags.0?int"},{"name":"action","type":"SendMessageAction"}],"type":"Bool"},{"id":"1376532592","method":"messages.sendMessage","params":[{"name":"flags","type":"#"},{"name":"no_webpage","type":"flags.1?true"},{"name":"silent","type":"flags.5?true"},{"name":"background","type":"flags.6?true"},{"name":"clear_draft","type":"flags.7?true"},{"name":"peer","type":"InputPeer"},{"name":"reply_to_msg_id","type":"flags.0?int"},{"name":"message","type":"string"},{"name":"random_id","type":"long"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"},{"name":"entities","type":"flags.3?Vector"},{"name":"schedule_date","type":"flags.10?int"}],"type":"Updates"},{"id":"881978281","method":"messages.sendMedia","params":[{"name":"flags","type":"#"},{"name":"silent","type":"flags.5?true"},{"name":"background","type":"flags.6?true"},{"name":"clear_draft","type":"flags.7?true"},{"name":"peer","type":"InputPeer"},{"name":"reply_to_msg_id","type":"flags.0?int"},{"name":"media","type":"InputMedia"},{"name":"message","type":"string"},{"name":"random_id","type":"long"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"},{"name":"entities","type":"flags.3?Vector"},{"name":"schedule_date","type":"flags.10?int"}],"type":"Updates"},{"id":"-637606386","method":"messages.forwardMessages","params":[{"name":"flags","type":"#"},{"name":"silent","type":"flags.5?true"},{"name":"background","type":"flags.6?true"},{"name":"with_my_score","type":"flags.8?true"},{"name":"drop_author","type":"flags.11?true"},{"name":"drop_media_captions","type":"flags.12?true"},{"name":"from_peer","type":"InputPeer"},{"name":"id","type":"Vector"},{"name":"random_id","type":"Vector"},{"name":"to_peer","type":"InputPeer"},{"name":"schedule_date","type":"flags.10?int"}],"type":"Updates"},{"id":"-820669733","method":"messages.reportSpam","params":[{"name":"peer","type":"InputPeer"}],"type":"Bool"},{"id":"913498268","method":"messages.getPeerSettings","params":[{"name":"peer","type":"InputPeer"}],"type":"PeerSettings"},{"id":"-1115507112","method":"messages.report","params":[{"name":"peer","type":"InputPeer"},{"name":"id","type":"Vector"},{"name":"reason","type":"ReportReason"}],"type":"Bool"},{"id":"1013621127","method":"messages.getChats","params":[{"name":"id","type":"Vector"}],"type":"messages.Chats"},{"id":"998448230","method":"messages.getFullChat","params":[{"name":"chat_id","type":"int"}],"type":"messages.ChatFull"},{"id":"-599447467","method":"messages.editChatTitle","params":[{"name":"chat_id","type":"int"},{"name":"title","type":"string"}],"type":"Updates"},{"id":"-900957736","method":"messages.editChatPhoto","params":[{"name":"chat_id","type":"int"},{"name":"photo","type":"InputChatPhoto"}],"type":"Updates"},{"id":"-106911223","method":"messages.addChatUser","params":[{"name":"chat_id","type":"int"},{"name":"user_id","type":"InputUser"},{"name":"fwd_limit","type":"int"}],"type":"Updates"},{"id":"-530505962","method":"messages.deleteChatUser","params":[{"name":"chat_id","type":"int"},{"name":"user_id","type":"InputUser"}],"type":"Updates"},{"id":"164303470","method":"messages.createChat","params":[{"name":"users","type":"Vector"},{"name":"title","type":"string"}],"type":"Updates"},{"id":"-304838614","method":"updates.getState","params":[],"type":"updates.State"},{"id":"630429265","method":"updates.getDifference","params":[{"name":"flags","type":"#"},{"name":"pts","type":"int"},{"name":"pts_total_limit","type":"flags.0?int"},{"name":"date","type":"int"},{"name":"qts","type":"int"}],"type":"updates.Difference"},{"id":"1926525996","method":"photos.updateProfilePhoto","params":[{"name":"id","type":"InputPhoto"}],"type":"photos.Photo"},{"id":"-1980559511","method":"photos.uploadProfilePhoto","params":[{"name":"flags","type":"#"},{"name":"file","type":"flags.0?InputFile"},{"name":"video","type":"flags.1?InputFile"},{"name":"video_start_ts","type":"flags.2?double"}],"type":"photos.Photo"},{"id":"-2016444625","method":"photos.deletePhotos","params":[{"name":"id","type":"Vector"}],"type":"Vector"},{"id":"-1291540959","method":"upload.saveFilePart","params":[{"name":"file_id","type":"long"},{"name":"file_part","type":"int"},{"name":"bytes","type":"bytes"}],"type":"Bool"},{"id":"-1319462148","method":"upload.getFile","params":[{"name":"flags","type":"#"},{"name":"precise","type":"flags.0?true"},{"name":"cdn_supported","type":"flags.1?true"},{"name":"location","type":"InputFileLocation"},{"name":"offset","type":"int"},{"name":"limit","type":"int"}],"type":"upload.File"},{"id":"-990308245","method":"help.getConfig","params":[],"type":"Config"},{"id":"531836966","method":"help.getNearestDc","params":[],"type":"NearestDc"},{"id":"1378703997","method":"help.getAppUpdate","params":[{"name":"source","type":"string"}],"type":"help.AppUpdate"},{"id":"1295590211","method":"help.getInviteText","params":[],"type":"help.InviteText"},{"id":"-1848823128","method":"photos.getUserPhotos","params":[{"name":"user_id","type":"InputUser"},{"name":"offset","type":"int"},{"name":"max_id","type":"long"},{"name":"limit","type":"int"}],"type":"photos.Photos"},{"id":"651135312","method":"messages.getDhConfig","params":[{"name":"version","type":"int"},{"name":"random_length","type":"int"}],"type":"messages.DhConfig"},{"id":"-162681021","method":"messages.requestEncryption","params":[{"name":"user_id","type":"InputUser"},{"name":"random_id","type":"int"},{"name":"g_a","type":"bytes"}],"type":"EncryptedChat"},{"id":"1035731989","method":"messages.acceptEncryption","params":[{"name":"peer","type":"InputEncryptedChat"},{"name":"g_b","type":"bytes"},{"name":"key_fingerprint","type":"long"}],"type":"EncryptedChat"},{"id":"-304536635","method":"messages.discardEncryption","params":[{"name":"chat_id","type":"int"}],"type":"Bool"},{"id":"2031374829","method":"messages.setEncryptedTyping","params":[{"name":"peer","type":"InputEncryptedChat"},{"name":"typing","type":"Bool"}],"type":"Bool"},{"id":"2135648522","method":"messages.readEncryptedHistory","params":[{"name":"peer","type":"InputEncryptedChat"},{"name":"max_date","type":"int"}],"type":"Bool"},{"id":"1157265941","method":"messages.sendEncrypted","params":[{"name":"flags","type":"#"},{"name":"silent","type":"flags.0?true"},{"name":"peer","type":"InputEncryptedChat"},{"name":"random_id","type":"long"},{"name":"data","type":"bytes"}],"type":"messages.SentEncryptedMessage"},{"id":"1431914525","method":"messages.sendEncryptedFile","params":[{"name":"flags","type":"#"},{"name":"silent","type":"flags.0?true"},{"name":"peer","type":"InputEncryptedChat"},{"name":"random_id","type":"long"},{"name":"data","type":"bytes"},{"name":"file","type":"InputEncryptedFile"}],"type":"messages.SentEncryptedMessage"},{"id":"852769188","method":"messages.sendEncryptedService","params":[{"name":"peer","type":"InputEncryptedChat"},{"name":"random_id","type":"long"},{"name":"data","type":"bytes"}],"type":"messages.SentEncryptedMessage"},{"id":"1436924774","method":"messages.receivedQueue","params":[{"name":"max_qts","type":"int"}],"type":"Vector"},{"id":"1259113487","method":"messages.reportEncryptedSpam","params":[{"name":"peer","type":"InputEncryptedChat"}],"type":"Bool"},{"id":"-562337987","method":"upload.saveBigFilePart","params":[{"name":"file_id","type":"long"},{"name":"file_part","type":"int"},{"name":"file_total_parts","type":"int"},{"name":"bytes","type":"bytes"}],"type":"Bool"},{"id":"-1043505495","method":"initConnection","params":[{"name":"flags","type":"#"},{"name":"api_id","type":"int"},{"name":"device_model","type":"string"},{"name":"system_version","type":"string"},{"name":"app_version","type":"string"},{"name":"system_lang_code","type":"string"},{"name":"lang_pack","type":"string"},{"name":"lang_code","type":"string"},{"name":"proxy","type":"flags.0?InputClientProxy"},{"name":"params","type":"flags.1?JSONValue"},{"name":"query","type":"!X"}],"type":"X"},{"id":"-1663104819","method":"help.getSupport","params":[],"type":"help.Support"},{"id":"916930423","method":"messages.readMessageContents","params":[{"name":"id","type":"Vector"}],"type":"messages.AffectedMessages"},{"id":"655677548","method":"account.checkUsername","params":[{"name":"username","type":"string"}],"type":"Bool"},{"id":"1040964988","method":"account.updateUsername","params":[{"name":"username","type":"string"}],"type":"User"},{"id":"301470424","method":"contacts.search","params":[{"name":"q","type":"string"},{"name":"limit","type":"int"}],"type":"contacts.Found"},{"id":"-623130288","method":"account.getPrivacy","params":[{"name":"key","type":"InputPrivacyKey"}],"type":"account.PrivacyRules"},{"id":"-906486552","method":"account.setPrivacy","params":[{"name":"key","type":"InputPrivacyKey"},{"name":"rules","type":"Vector"}],"type":"account.PrivacyRules"},{"id":"1099779595","method":"account.deleteAccount","params":[{"name":"reason","type":"string"}],"type":"Bool"},{"id":"150761757","method":"account.getAccountTTL","params":[],"type":"AccountDaysTTL"},{"id":"608323678","method":"account.setAccountTTL","params":[{"name":"ttl","type":"AccountDaysTTL"}],"type":"Bool"},{"id":"-627372787","method":"invokeWithLayer","params":[{"name":"layer","type":"int"},{"name":"query","type":"!X"}],"type":"X"},{"id":"-113456221","method":"contacts.resolveUsername","params":[{"name":"username","type":"string"}],"type":"contacts.ResolvedPeer"},{"id":"-2108208411","method":"account.sendChangePhoneCode","params":[{"name":"phone_number","type":"string"},{"name":"settings","type":"CodeSettings"}],"type":"auth.SentCode"},{"id":"1891839707","method":"account.changePhone","params":[{"name":"phone_number","type":"string"},{"name":"phone_code_hash","type":"string"},{"name":"phone_code","type":"string"}],"type":"User"},{"id":"71126828","method":"messages.getStickers","params":[{"name":"emoticon","type":"string"},{"name":"hash","type":"int"}],"type":"messages.Stickers"},{"id":"479598769","method":"messages.getAllStickers","params":[{"name":"hash","type":"int"}],"type":"messages.AllStickers"},{"id":"954152242","method":"account.updateDeviceLocked","params":[{"name":"period","type":"int"}],"type":"Bool"},{"id":"1738800940","method":"auth.importBotAuthorization","params":[{"name":"flags","type":"int"},{"name":"api_id","type":"int"},{"name":"api_hash","type":"string"},{"name":"bot_auth_token","type":"string"}],"type":"auth.Authorization"},{"id":"-1956073268","method":"messages.getWebPagePreview","params":[{"name":"flags","type":"#"},{"name":"message","type":"string"},{"name":"entities","type":"flags.3?Vector"}],"type":"MessageMedia"},{"id":"-484392616","method":"account.getAuthorizations","params":[],"type":"account.Authorizations"},{"id":"-545786948","method":"account.resetAuthorization","params":[{"name":"hash","type":"long"}],"type":"Bool"},{"id":"1418342645","method":"account.getPassword","params":[],"type":"account.Password"},{"id":"-1663767815","method":"account.getPasswordSettings","params":[{"name":"password","type":"InputCheckPasswordSRP"}],"type":"account.PasswordSettings"},{"id":"-1516564433","method":"account.updatePasswordSettings","params":[{"name":"password","type":"InputCheckPasswordSRP"},{"name":"new_settings","type":"account.PasswordInputSettings"}],"type":"Bool"},{"id":"-779399914","method":"auth.checkPassword","params":[{"name":"password","type":"InputCheckPasswordSRP"}],"type":"auth.Authorization"},{"id":"-661144474","method":"auth.requestPasswordRecovery","params":[],"type":"auth.PasswordRecovery"},{"id":"1319464594","method":"auth.recoverPassword","params":[{"name":"code","type":"string"}],"type":"auth.Authorization"},{"id":"-1080796745","method":"invokeWithoutUpdates","params":[{"name":"query","type":"!X"}],"type":"X"},{"id":"234312524","method":"messages.exportChatInvite","params":[{"name":"peer","type":"InputPeer"}],"type":"ExportedChatInvite"},{"id":"1051570619","method":"messages.checkChatInvite","params":[{"name":"hash","type":"string"}],"type":"ChatInvite"},{"id":"1817183516","method":"messages.importChatInvite","params":[{"name":"hash","type":"string"}],"type":"Updates"},{"id":"639215886","method":"messages.getStickerSet","params":[{"name":"stickerset","type":"InputStickerSet"}],"type":"messages.StickerSet"},{"id":"-946871200","method":"messages.installStickerSet","params":[{"name":"stickerset","type":"InputStickerSet"},{"name":"archived","type":"Bool"}],"type":"messages.StickerSetInstallResult"},{"id":"-110209570","method":"messages.uninstallStickerSet","params":[{"name":"stickerset","type":"InputStickerSet"}],"type":"Bool"},{"id":"-421563528","method":"messages.startBot","params":[{"name":"bot","type":"InputUser"},{"name":"peer","type":"InputPeer"},{"name":"random_id","type":"long"},{"name":"start_param","type":"string"}],"type":"Updates"},{"id":"-1877938321","method":"help.getAppChangelog","params":[{"name":"prev_app_version","type":"string"}],"type":"Updates"},{"id":"1468322785","method":"messages.getMessagesViews","params":[{"name":"peer","type":"InputPeer"},{"name":"id","type":"Vector"},{"name":"increment","type":"Bool"}],"type":"messages.MessageViews"},{"id":"-871347913","method":"channels.readHistory","params":[{"name":"channel","type":"InputChannel"},{"name":"max_id","type":"int"}],"type":"Bool"},{"id":"-2067661490","method":"channels.deleteMessages","params":[{"name":"channel","type":"InputChannel"},{"name":"id","type":"Vector"}],"type":"messages.AffectedMessages"},{"id":"-787622117","method":"channels.deleteUserHistory","params":[{"name":"channel","type":"InputChannel"},{"name":"user_id","type":"InputUser"}],"type":"messages.AffectedHistory"},{"id":"-32999408","method":"channels.reportSpam","params":[{"name":"channel","type":"InputChannel"},{"name":"user_id","type":"InputUser"},{"name":"id","type":"Vector"}],"type":"Bool"},{"id":"-1383294429","method":"channels.getMessages","params":[{"name":"channel","type":"InputChannel"},{"name":"id","type":"Vector"}],"type":"messages.Messages"},{"id":"306054633","method":"channels.getParticipants","params":[{"name":"channel","type":"InputChannel"},{"name":"filter","type":"ChannelParticipantsFilter"},{"name":"offset","type":"int"},{"name":"limit","type":"int"},{"name":"hash","type":"int"}],"type":"channels.ChannelParticipants"},{"id":"1416484774","method":"channels.getParticipant","params":[{"name":"channel","type":"InputChannel"},{"name":"user_id","type":"InputUser"}],"type":"channels.ChannelParticipant"},{"id":"176122811","method":"channels.getChannels","params":[{"name":"id","type":"Vector"}],"type":"messages.Chats"},{"id":"141781513","method":"channels.getFullChannel","params":[{"name":"channel","type":"InputChannel"}],"type":"messages.ChatFull"},{"id":"1029681423","method":"channels.createChannel","params":[{"name":"flags","type":"#"},{"name":"broadcast","type":"flags.0?true"},{"name":"megagroup","type":"flags.1?true"},{"name":"for_import","type":"flags.3?true"},{"name":"title","type":"string"},{"name":"about","type":"string"},{"name":"geo_point","type":"flags.2?InputGeoPoint"},{"name":"address","type":"flags.2?string"}],"type":"Updates"},{"id":"-751007486","method":"channels.editAdmin","params":[{"name":"channel","type":"InputChannel"},{"name":"user_id","type":"InputUser"},{"name":"admin_rights","type":"ChatAdminRights"},{"name":"rank","type":"string"}],"type":"Updates"},{"id":"1450044624","method":"channels.editTitle","params":[{"name":"channel","type":"InputChannel"},{"name":"title","type":"string"}],"type":"Updates"},{"id":"-248621111","method":"channels.editPhoto","params":[{"name":"channel","type":"InputChannel"},{"name":"photo","type":"InputChatPhoto"}],"type":"Updates"},{"id":"283557164","method":"channels.checkUsername","params":[{"name":"channel","type":"InputChannel"},{"name":"username","type":"string"}],"type":"Bool"},{"id":"890549214","method":"channels.updateUsername","params":[{"name":"channel","type":"InputChannel"},{"name":"username","type":"string"}],"type":"Bool"},{"id":"615851205","method":"channels.joinChannel","params":[{"name":"channel","type":"InputChannel"}],"type":"Updates"},{"id":"-130635115","method":"channels.leaveChannel","params":[{"name":"channel","type":"InputChannel"}],"type":"Updates"},{"id":"429865580","method":"channels.inviteToChannel","params":[{"name":"channel","type":"InputChannel"},{"name":"users","type":"Vector"}],"type":"Updates"},{"id":"-1072619549","method":"channels.deleteChannel","params":[{"name":"channel","type":"InputChannel"}],"type":"Updates"},{"id":"51854712","method":"updates.getChannelDifference","params":[{"name":"flags","type":"#"},{"name":"force","type":"flags.0?true"},{"name":"channel","type":"InputChannel"},{"name":"filter","type":"ChannelMessagesFilter"},{"name":"pts","type":"int"},{"name":"limit","type":"int"}],"type":"updates.ChannelDifference"},{"id":"-1444503762","method":"messages.editChatAdmin","params":[{"name":"chat_id","type":"int"},{"name":"user_id","type":"InputUser"},{"name":"is_admin","type":"Bool"}],"type":"Bool"},{"id":"363051235","method":"messages.migrateChat","params":[{"name":"chat_id","type":"int"}],"type":"Updates"},{"id":"1271290010","method":"messages.searchGlobal","params":[{"name":"flags","type":"#"},{"name":"folder_id","type":"flags.0?int"},{"name":"q","type":"string"},{"name":"filter","type":"MessagesFilter"},{"name":"min_date","type":"int"},{"name":"max_date","type":"int"},{"name":"offset_rate","type":"int"},{"name":"offset_peer","type":"InputPeer"},{"name":"offset_id","type":"int"},{"name":"limit","type":"int"}],"type":"messages.Messages"},{"id":"2016638777","method":"messages.reorderStickerSets","params":[{"name":"flags","type":"#"},{"name":"masks","type":"flags.0?true"},{"name":"order","type":"Vector"}],"type":"Bool"},{"id":"864953444","method":"messages.getDocumentByHash","params":[{"name":"sha256","type":"bytes"},{"name":"size","type":"int"},{"name":"mime_type","type":"string"}],"type":"Document"},{"id":"-2084618926","method":"messages.getSavedGifs","params":[{"name":"hash","type":"int"}],"type":"messages.SavedGifs"},{"id":"846868683","method":"messages.saveGif","params":[{"name":"id","type":"InputDocument"},{"name":"unsave","type":"Bool"}],"type":"Bool"},{"id":"1364105629","method":"messages.getInlineBotResults","params":[{"name":"flags","type":"#"},{"name":"bot","type":"InputUser"},{"name":"peer","type":"InputPeer"},{"name":"geo_point","type":"flags.0?InputGeoPoint"},{"name":"query","type":"string"},{"name":"offset","type":"string"}],"type":"messages.BotResults"},{"id":"-346119674","method":"messages.setInlineBotResults","params":[{"name":"flags","type":"#"},{"name":"gallery","type":"flags.0?true"},{"name":"private","type":"flags.1?true"},{"name":"query_id","type":"long"},{"name":"results","type":"Vector"},{"name":"cache_time","type":"int"},{"name":"next_offset","type":"flags.2?string"},{"name":"switch_pm","type":"flags.3?InlineBotSwitchPM"}],"type":"Bool"},{"id":"570955184","method":"messages.sendInlineBotResult","params":[{"name":"flags","type":"#"},{"name":"silent","type":"flags.5?true"},{"name":"background","type":"flags.6?true"},{"name":"clear_draft","type":"flags.7?true"},{"name":"hide_via","type":"flags.11?true"},{"name":"peer","type":"InputPeer"},{"name":"reply_to_msg_id","type":"flags.0?int"},{"name":"random_id","type":"long"},{"name":"query_id","type":"long"},{"name":"id","type":"string"},{"name":"schedule_date","type":"flags.10?int"}],"type":"Updates"},{"id":"-432034325","method":"channels.exportMessageLink","params":[{"name":"flags","type":"#"},{"name":"grouped","type":"flags.0?true"},{"name":"thread","type":"flags.1?true"},{"name":"channel","type":"InputChannel"},{"name":"id","type":"int"}],"type":"ExportedMessageLink"},{"id":"527021574","method":"channels.toggleSignatures","params":[{"name":"channel","type":"InputChannel"},{"name":"enabled","type":"Bool"}],"type":"Updates"},{"id":"1056025023","method":"auth.resendCode","params":[{"name":"phone_number","type":"string"},{"name":"phone_code_hash","type":"string"}],"type":"auth.SentCode"},{"id":"520357240","method":"auth.cancelCode","params":[{"name":"phone_number","type":"string"},{"name":"phone_code_hash","type":"string"}],"type":"Bool"},{"id":"-39416522","method":"messages.getMessageEditData","params":[{"name":"peer","type":"InputPeer"},{"name":"id","type":"int"}],"type":"messages.MessageEditData"},{"id":"1224152952","method":"messages.editMessage","params":[{"name":"flags","type":"#"},{"name":"no_webpage","type":"flags.1?true"},{"name":"peer","type":"InputPeer"},{"name":"id","type":"int"},{"name":"message","type":"flags.11?string"},{"name":"media","type":"flags.14?InputMedia"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"},{"name":"entities","type":"flags.3?Vector"},{"name":"schedule_date","type":"flags.15?int"}],"type":"Updates"},{"id":"-2091549254","method":"messages.editInlineBotMessage","params":[{"name":"flags","type":"#"},{"name":"no_webpage","type":"flags.1?true"},{"name":"id","type":"InputBotInlineMessageID"},{"name":"message","type":"flags.11?string"},{"name":"media","type":"flags.14?InputMedia"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"},{"name":"entities","type":"flags.3?Vector"}],"type":"Bool"},{"id":"-1824339449","method":"messages.getBotCallbackAnswer","params":[{"name":"flags","type":"#"},{"name":"game","type":"flags.1?true"},{"name":"peer","type":"InputPeer"},{"name":"msg_id","type":"int"},{"name":"data","type":"flags.0?bytes"},{"name":"password","type":"flags.2?InputCheckPasswordSRP"}],"type":"messages.BotCallbackAnswer"},{"id":"-712043766","method":"messages.setBotCallbackAnswer","params":[{"name":"flags","type":"#"},{"name":"alert","type":"flags.1?true"},{"name":"query_id","type":"long"},{"name":"message","type":"flags.0?string"},{"name":"url","type":"flags.2?string"},{"name":"cache_time","type":"int"}],"type":"Bool"},{"id":"-728224331","method":"contacts.getTopPeers","params":[{"name":"flags","type":"#"},{"name":"correspondents","type":"flags.0?true"},{"name":"bots_pm","type":"flags.1?true"},{"name":"bots_inline","type":"flags.2?true"},{"name":"phone_calls","type":"flags.3?true"},{"name":"forward_users","type":"flags.4?true"},{"name":"forward_chats","type":"flags.5?true"},{"name":"groups","type":"flags.10?true"},{"name":"channels","type":"flags.15?true"},{"name":"offset","type":"int"},{"name":"limit","type":"int"},{"name":"hash","type":"int"}],"type":"contacts.TopPeers"},{"id":"451113900","method":"contacts.resetTopPeerRating","params":[{"name":"category","type":"TopPeerCategory"},{"name":"peer","type":"InputPeer"}],"type":"Bool"},{"id":"-462373635","method":"messages.getPeerDialogs","params":[{"name":"peers","type":"Vector"}],"type":"messages.PeerDialogs"},{"id":"-1137057461","method":"messages.saveDraft","params":[{"name":"flags","type":"#"},{"name":"no_webpage","type":"flags.1?true"},{"name":"reply_to_msg_id","type":"flags.0?int"},{"name":"peer","type":"InputPeer"},{"name":"message","type":"string"},{"name":"entities","type":"flags.3?Vector"}],"type":"Bool"},{"id":"1782549861","method":"messages.getAllDrafts","params":[],"type":"Updates"},{"id":"766298703","method":"messages.getFeaturedStickers","params":[{"name":"hash","type":"int"}],"type":"messages.FeaturedStickers"},{"id":"1527873830","method":"messages.readFeaturedStickers","params":[{"name":"id","type":"Vector"}],"type":"Bool"},{"id":"1587647177","method":"messages.getRecentStickers","params":[{"name":"flags","type":"#"},{"name":"attached","type":"flags.0?true"},{"name":"hash","type":"int"}],"type":"messages.RecentStickers"},{"id":"958863608","method":"messages.saveRecentSticker","params":[{"name":"flags","type":"#"},{"name":"attached","type":"flags.0?true"},{"name":"id","type":"InputDocument"},{"name":"unsave","type":"Bool"}],"type":"Bool"},{"id":"-1986437075","method":"messages.clearRecentStickers","params":[{"name":"flags","type":"#"},{"name":"attached","type":"flags.0?true"}],"type":"Bool"},{"id":"1475442322","method":"messages.getArchivedStickers","params":[{"name":"flags","type":"#"},{"name":"masks","type":"flags.0?true"},{"name":"offset_id","type":"long"},{"name":"limit","type":"int"}],"type":"messages.ArchivedStickers"},{"id":"457157256","method":"account.sendConfirmPhoneCode","params":[{"name":"hash","type":"string"},{"name":"settings","type":"CodeSettings"}],"type":"auth.SentCode"},{"id":"1596029123","method":"account.confirmPhone","params":[{"name":"phone_code_hash","type":"string"},{"name":"phone_code","type":"string"}],"type":"Bool"},{"id":"-122669393","method":"channels.getAdminedPublicChannels","params":[{"name":"flags","type":"#"},{"name":"by_location","type":"flags.0?true"},{"name":"check_limit","type":"flags.1?true"}],"type":"messages.Chats"},{"id":"1706608543","method":"messages.getMaskStickers","params":[{"name":"hash","type":"int"}],"type":"messages.AllStickers"},{"id":"-866424884","method":"messages.getAttachedStickers","params":[{"name":"media","type":"InputStickeredMedia"}],"type":"Vector"},{"id":"-1907842680","method":"auth.dropTempAuthKeys","params":[{"name":"except_auth_keys","type":"Vector"}],"type":"Bool"},{"id":"-1896289088","method":"messages.setGameScore","params":[{"name":"flags","type":"#"},{"name":"edit_message","type":"flags.0?true"},{"name":"force","type":"flags.1?true"},{"name":"peer","type":"InputPeer"},{"name":"id","type":"int"},{"name":"user_id","type":"InputUser"},{"name":"score","type":"int"}],"type":"Updates"},{"id":"363700068","method":"messages.setInlineGameScore","params":[{"name":"flags","type":"#"},{"name":"edit_message","type":"flags.0?true"},{"name":"force","type":"flags.1?true"},{"name":"id","type":"InputBotInlineMessageID"},{"name":"user_id","type":"InputUser"},{"name":"score","type":"int"}],"type":"Bool"},{"id":"-400399203","method":"messages.getGameHighScores","params":[{"name":"peer","type":"InputPeer"},{"name":"id","type":"int"},{"name":"user_id","type":"InputUser"}],"type":"messages.HighScores"},{"id":"258170395","method":"messages.getInlineGameHighScores","params":[{"name":"id","type":"InputBotInlineMessageID"},{"name":"user_id","type":"InputUser"}],"type":"messages.HighScores"},{"id":"218777796","method":"messages.getCommonChats","params":[{"name":"user_id","type":"InputUser"},{"name":"max_id","type":"int"},{"name":"limit","type":"int"}],"type":"messages.Chats"},{"id":"-341307408","method":"messages.getAllChats","params":[{"name":"except_ids","type":"Vector"}],"type":"messages.Chats"},{"id":"-333262899","method":"help.setBotUpdatesStatus","params":[{"name":"pending_updates_count","type":"int"},{"name":"message","type":"string"}],"type":"Bool"},{"id":"852135825","method":"messages.getWebPage","params":[{"name":"url","type":"string"},{"name":"hash","type":"int"}],"type":"WebPage"},{"id":"-1489903017","method":"messages.toggleDialogPin","params":[{"name":"flags","type":"#"},{"name":"pinned","type":"flags.0?true"},{"name":"peer","type":"InputDialogPeer"}],"type":"Bool"},{"id":"991616823","method":"messages.reorderPinnedDialogs","params":[{"name":"flags","type":"#"},{"name":"force","type":"flags.0?true"},{"name":"folder_id","type":"int"},{"name":"order","type":"Vector"}],"type":"Bool"},{"id":"-692498958","method":"messages.getPinnedDialogs","params":[{"name":"folder_id","type":"int"}],"type":"messages.PeerDialogs"},{"id":"-1440257555","method":"bots.sendCustomRequest","params":[{"name":"custom_method","type":"string"},{"name":"params","type":"DataJSON"}],"type":"DataJSON"},{"id":"-434028723","method":"bots.answerWebhookJSONQuery","params":[{"name":"query_id","type":"long"},{"name":"data","type":"DataJSON"}],"type":"Bool"},{"id":"619086221","method":"upload.getWebFile","params":[{"name":"location","type":"InputWebFileLocation"},{"name":"offset","type":"int"},{"name":"limit","type":"int"}],"type":"upload.WebFile"},{"id":"-1712285883","method":"payments.getPaymentForm","params":[{"name":"msg_id","type":"int"}],"type":"payments.PaymentForm"},{"id":"-1601001088","method":"payments.getPaymentReceipt","params":[{"name":"msg_id","type":"int"}],"type":"payments.PaymentReceipt"},{"id":"1997180532","method":"payments.validateRequestedInfo","params":[{"name":"flags","type":"#"},{"name":"save","type":"flags.0?true"},{"name":"msg_id","type":"int"},{"name":"info","type":"PaymentRequestedInfo"}],"type":"payments.ValidatedRequestedInfo"},{"id":"730364339","method":"payments.sendPaymentForm","params":[{"name":"flags","type":"#"},{"name":"msg_id","type":"int"},{"name":"requested_info_id","type":"flags.0?string"},{"name":"shipping_option_id","type":"flags.1?string"},{"name":"credentials","type":"InputPaymentCredentials"}],"type":"payments.PaymentResult"},{"id":"1151208273","method":"account.getTmpPassword","params":[{"name":"password","type":"InputCheckPasswordSRP"},{"name":"period","type":"int"}],"type":"account.TmpPassword"},{"id":"578650699","method":"payments.getSavedInfo","params":[],"type":"payments.SavedInfo"},{"id":"-667062079","method":"payments.clearSavedInfo","params":[{"name":"flags","type":"#"},{"name":"credentials","type":"flags.0?true"},{"name":"info","type":"flags.1?true"}],"type":"Bool"},{"id":"-436833542","method":"messages.setBotShippingResults","params":[{"name":"flags","type":"#"},{"name":"query_id","type":"long"},{"name":"error","type":"flags.0?string"},{"name":"shipping_options","type":"flags.1?Vector"}],"type":"Bool"},{"id":"163765653","method":"messages.setBotPrecheckoutResults","params":[{"name":"flags","type":"#"},{"name":"success","type":"flags.1?true"},{"name":"query_id","type":"long"},{"name":"error","type":"flags.0?string"}],"type":"Bool"},{"id":"-251435136","method":"stickers.createStickerSet","params":[{"name":"flags","type":"#"},{"name":"masks","type":"flags.0?true"},{"name":"animated","type":"flags.1?true"},{"name":"user_id","type":"InputUser"},{"name":"title","type":"string"},{"name":"short_name","type":"string"},{"name":"thumb","type":"flags.2?InputDocument"},{"name":"stickers","type":"Vector"}],"type":"messages.StickerSet"},{"id":"-143257775","method":"stickers.removeStickerFromSet","params":[{"name":"sticker","type":"InputDocument"}],"type":"messages.StickerSet"},{"id":"-4795190","method":"stickers.changeStickerPosition","params":[{"name":"sticker","type":"InputDocument"},{"name":"position","type":"int"}],"type":"messages.StickerSet"},{"id":"-2041315650","method":"stickers.addStickerToSet","params":[{"name":"stickerset","type":"InputStickerSet"},{"name":"sticker","type":"InputStickerSetItem"}],"type":"messages.StickerSet"},{"id":"1369162417","method":"messages.uploadMedia","params":[{"name":"peer","type":"InputPeer"},{"name":"media","type":"InputMedia"}],"type":"MessageMedia"},{"id":"1430593449","method":"phone.getCallConfig","params":[],"type":"DataJSON"},{"id":"1124046573","method":"phone.requestCall","params":[{"name":"flags","type":"#"},{"name":"video","type":"flags.0?true"},{"name":"user_id","type":"InputUser"},{"name":"random_id","type":"int"},{"name":"g_a_hash","type":"bytes"},{"name":"protocol","type":"PhoneCallProtocol"}],"type":"phone.PhoneCall"},{"id":"1003664544","method":"phone.acceptCall","params":[{"name":"peer","type":"InputPhoneCall"},{"name":"g_b","type":"bytes"},{"name":"protocol","type":"PhoneCallProtocol"}],"type":"phone.PhoneCall"},{"id":"788404002","method":"phone.confirmCall","params":[{"name":"peer","type":"InputPhoneCall"},{"name":"g_a","type":"bytes"},{"name":"key_fingerprint","type":"long"},{"name":"protocol","type":"PhoneCallProtocol"}],"type":"phone.PhoneCall"},{"id":"399855457","method":"phone.receivedCall","params":[{"name":"peer","type":"InputPhoneCall"}],"type":"Bool"},{"id":"-1295269440","method":"phone.discardCall","params":[{"name":"flags","type":"#"},{"name":"video","type":"flags.0?true"},{"name":"peer","type":"InputPhoneCall"},{"name":"duration","type":"int"},{"name":"reason","type":"PhoneCallDiscardReason"},{"name":"connection_id","type":"long"}],"type":"Updates"},{"id":"1508562471","method":"phone.setCallRating","params":[{"name":"flags","type":"#"},{"name":"user_initiative","type":"flags.0?true"},{"name":"peer","type":"InputPhoneCall"},{"name":"rating","type":"int"},{"name":"comment","type":"string"}],"type":"Updates"},{"id":"662363518","method":"phone.saveCallDebug","params":[{"name":"peer","type":"InputPhoneCall"},{"name":"debug","type":"DataJSON"}],"type":"Bool"},{"id":"536919235","method":"upload.getCdnFile","params":[{"name":"file_token","type":"bytes"},{"name":"offset","type":"int"},{"name":"limit","type":"int"}],"type":"upload.CdnFile"},{"id":"-1691921240","method":"upload.reuploadCdnFile","params":[{"name":"file_token","type":"bytes"},{"name":"request_token","type":"bytes"}],"type":"Vector"},{"id":"1375900482","method":"help.getCdnConfig","params":[],"type":"CdnConfig"},{"id":"-219008246","method":"langpack.getLangPack","params":[{"name":"lang_pack","type":"string"},{"name":"lang_code","type":"string"}],"type":"LangPackDifference"},{"id":"-269862909","method":"langpack.getStrings","params":[{"name":"lang_pack","type":"string"},{"name":"lang_code","type":"string"},{"name":"keys","type":"Vector"}],"type":"Vector"},{"id":"-845657435","method":"langpack.getDifference","params":[{"name":"lang_pack","type":"string"},{"name":"lang_code","type":"string"},{"name":"from_version","type":"int"}],"type":"LangPackDifference"},{"id":"1120311183","method":"langpack.getLanguages","params":[{"name":"lang_pack","type":"string"}],"type":"Vector"},{"id":"1920559378","method":"channels.editBanned","params":[{"name":"channel","type":"InputChannel"},{"name":"user_id","type":"InputUser"},{"name":"banned_rights","type":"ChatBannedRights"}],"type":"Updates"},{"id":"870184064","method":"channels.getAdminLog","params":[{"name":"flags","type":"#"},{"name":"channel","type":"InputChannel"},{"name":"q","type":"string"},{"name":"events_filter","type":"flags.0?ChannelAdminLogEventsFilter"},{"name":"admins","type":"flags.1?Vector"},{"name":"max_id","type":"long"},{"name":"min_id","type":"long"},{"name":"limit","type":"int"}],"type":"channels.AdminLogResults"},{"id":"1302676017","method":"upload.getCdnFileHashes","params":[{"name":"file_token","type":"bytes"},{"name":"offset","type":"int"}],"type":"Vector"},{"id":"-914493408","method":"messages.sendScreenshotNotification","params":[{"name":"peer","type":"InputPeer"},{"name":"reply_to_msg_id","type":"int"},{"name":"random_id","type":"long"}],"type":"Updates"},{"id":"-359881479","method":"channels.setStickers","params":[{"name":"channel","type":"InputChannel"},{"name":"stickerset","type":"InputStickerSet"}],"type":"Bool"},{"id":"567151374","method":"messages.getFavedStickers","params":[{"name":"hash","type":"int"}],"type":"messages.FavedStickers"},{"id":"-1174420133","method":"messages.faveSticker","params":[{"name":"id","type":"InputDocument"},{"name":"unfave","type":"Bool"}],"type":"Bool"},{"id":"-357180360","method":"channels.readMessageContents","params":[{"name":"channel","type":"InputChannel"},{"name":"id","type":"Vector"}],"type":"Bool"},{"id":"-2020263951","method":"contacts.resetSaved","params":[],"type":"Bool"},{"id":"1180140658","method":"messages.getUnreadMentions","params":[{"name":"peer","type":"InputPeer"},{"name":"offset_id","type":"int"},{"name":"add_offset","type":"int"},{"name":"limit","type":"int"},{"name":"max_id","type":"int"},{"name":"min_id","type":"int"}],"type":"messages.Messages"},{"id":"-1355375294","method":"channels.deleteHistory","params":[{"name":"channel","type":"InputChannel"},{"name":"max_id","type":"int"}],"type":"Bool"},{"id":"1036054804","method":"help.getRecentMeUrls","params":[{"name":"referer","type":"string"}],"type":"help.RecentMeUrls"},{"id":"-356796084","method":"channels.togglePreHistoryHidden","params":[{"name":"channel","type":"InputChannel"},{"name":"enabled","type":"Bool"}],"type":"Updates"},{"id":"251759059","method":"messages.readMentions","params":[{"name":"peer","type":"InputPeer"}],"type":"messages.AffectedHistory"},{"id":"-1144759543","method":"messages.getRecentLocations","params":[{"name":"peer","type":"InputPeer"},{"name":"limit","type":"int"},{"name":"hash","type":"int"}],"type":"messages.Messages"},{"id":"-872345397","method":"messages.sendMultiMedia","params":[{"name":"flags","type":"#"},{"name":"silent","type":"flags.5?true"},{"name":"background","type":"flags.6?true"},{"name":"clear_draft","type":"flags.7?true"},{"name":"peer","type":"InputPeer"},{"name":"reply_to_msg_id","type":"flags.0?int"},{"name":"multi_media","type":"Vector"},{"name":"schedule_date","type":"flags.10?int"}],"type":"Updates"},{"id":"1347929239","method":"messages.uploadEncryptedFile","params":[{"name":"peer","type":"InputEncryptedChat"},{"name":"file","type":"InputEncryptedFile"}],"type":"EncryptedFile"},{"id":"405695855","method":"account.getWebAuthorizations","params":[],"type":"account.WebAuthorizations"},{"id":"755087855","method":"account.resetWebAuthorization","params":[{"name":"hash","type":"long"}],"type":"Bool"},{"id":"1747789204","method":"account.resetWebAuthorizations","params":[],"type":"Bool"},{"id":"-1028140917","method":"messages.searchStickerSets","params":[{"name":"flags","type":"#"},{"name":"exclude_featured","type":"flags.0?true"},{"name":"q","type":"string"},{"name":"hash","type":"int"}],"type":"messages.FoundStickerSets"},{"id":"-956147407","method":"upload.getFileHashes","params":[{"name":"location","type":"InputFileLocation"},{"name":"offset","type":"int"}],"type":"Vector"},{"id":"749019089","method":"help.getTermsOfServiceUpdate","params":[],"type":"help.TermsOfServiceUpdate"},{"id":"-294455398","method":"help.acceptTermsOfService","params":[{"name":"id","type":"DataJSON"}],"type":"Bool"},{"id":"-1299661699","method":"account.getAllSecureValues","params":[],"type":"Vector"},{"id":"1936088002","method":"account.getSecureValue","params":[{"name":"types","type":"Vector"}],"type":"Vector"},{"id":"-1986010339","method":"account.saveSecureValue","params":[{"name":"value","type":"InputSecureValue"},{"name":"secure_secret_id","type":"long"}],"type":"SecureValue"},{"id":"-1199522741","method":"account.deleteSecureValue","params":[{"name":"types","type":"Vector"}],"type":"Bool"},{"id":"-1865902923","method":"users.setSecureValueErrors","params":[{"name":"id","type":"InputUser"},{"name":"errors","type":"Vector"}],"type":"Bool"},{"id":"-1200903967","method":"account.getAuthorizationForm","params":[{"name":"bot_id","type":"int"},{"name":"scope","type":"string"},{"name":"public_key","type":"string"}],"type":"account.AuthorizationForm"},{"id":"-419267436","method":"account.acceptAuthorization","params":[{"name":"bot_id","type":"int"},{"name":"scope","type":"string"},{"name":"public_key","type":"string"},{"name":"value_hashes","type":"Vector"},{"name":"credentials","type":"SecureCredentialsEncrypted"}],"type":"Bool"},{"id":"-1516022023","method":"account.sendVerifyPhoneCode","params":[{"name":"phone_number","type":"string"},{"name":"settings","type":"CodeSettings"}],"type":"auth.SentCode"},{"id":"1305716726","method":"account.verifyPhone","params":[{"name":"phone_number","type":"string"},{"name":"phone_code_hash","type":"string"},{"name":"phone_code","type":"string"}],"type":"Bool"},{"id":"1880182943","method":"account.sendVerifyEmailCode","params":[{"name":"email","type":"string"}],"type":"account.SentEmailCode"},{"id":"-323339813","method":"account.verifyEmail","params":[{"name":"email","type":"string"},{"name":"code","type":"string"}],"type":"Bool"},{"id":"1072547679","method":"help.getDeepLinkInfo","params":[{"name":"path","type":"string"}],"type":"help.DeepLinkInfo"},{"id":"-2098076769","method":"contacts.getSaved","params":[],"type":"Vector"},{"id":"-2092831552","method":"channels.getLeftChannels","params":[{"name":"offset","type":"int"}],"type":"messages.Chats"},{"id":"-262453244","method":"account.initTakeoutSession","params":[{"name":"flags","type":"#"},{"name":"contacts","type":"flags.0?true"},{"name":"message_users","type":"flags.1?true"},{"name":"message_chats","type":"flags.2?true"},{"name":"message_megagroups","type":"flags.3?true"},{"name":"message_channels","type":"flags.4?true"},{"name":"files","type":"flags.5?true"},{"name":"file_max_size","type":"flags.5?int"}],"type":"account.Takeout"},{"id":"489050862","method":"account.finishTakeoutSession","params":[{"name":"flags","type":"#"},{"name":"success","type":"flags.0?true"}],"type":"Bool"},{"id":"486505992","method":"messages.getSplitRanges","params":[],"type":"Vector"},{"id":"911373810","method":"invokeWithMessagesRange","params":[{"name":"range","type":"MessageRange"},{"name":"query","type":"!X"}],"type":"X"},{"id":"-1398145746","method":"invokeWithTakeout","params":[{"name":"takeout_id","type":"long"},{"name":"query","type":"!X"}],"type":"X"},{"id":"-1031349873","method":"messages.markDialogUnread","params":[{"name":"flags","type":"#"},{"name":"unread","type":"flags.0?true"},{"name":"peer","type":"InputDialogPeer"}],"type":"Bool"},{"id":"585256482","method":"messages.getDialogUnreadMarks","params":[],"type":"Vector"},{"id":"-2062238246","method":"contacts.toggleTopPeers","params":[{"name":"enabled","type":"Bool"}],"type":"Bool"},{"id":"2119757468","method":"messages.clearAllDrafts","params":[],"type":"Bool"},{"id":"-1735311088","method":"help.getAppConfig","params":[],"type":"JSONValue"},{"id":"1862465352","method":"help.saveAppLog","params":[{"name":"events","type":"Vector"}],"type":"Bool"},{"id":"-966677240","method":"help.getPassportConfig","params":[{"name":"hash","type":"int"}],"type":"help.PassportConfig"},{"id":"1784243458","method":"langpack.getLanguage","params":[{"name":"lang_pack","type":"string"},{"name":"lang_code","type":"string"}],"type":"LangPackLanguage"},{"id":"-760547348","method":"messages.updatePinnedMessage","params":[{"name":"flags","type":"#"},{"name":"silent","type":"flags.0?true"},{"name":"unpin","type":"flags.1?true"},{"name":"pm_oneside","type":"flags.2?true"},{"name":"peer","type":"InputPeer"},{"name":"id","type":"int"}],"type":"Updates"},{"id":"-1881204448","method":"account.confirmPasswordEmail","params":[{"name":"code","type":"string"}],"type":"Bool"},{"id":"2055154197","method":"account.resendPasswordEmail","params":[],"type":"Bool"},{"id":"-1043606090","method":"account.cancelPasswordEmail","params":[],"type":"Bool"},{"id":"-748624084","method":"help.getSupportName","params":[],"type":"help.SupportName"},{"id":"59377875","method":"help.getUserInfo","params":[{"name":"user_id","type":"InputUser"}],"type":"help.UserInfo"},{"id":"1723407216","method":"help.editUserInfo","params":[{"name":"user_id","type":"InputUser"},{"name":"message","type":"string"},{"name":"entities","type":"Vector"}],"type":"help.UserInfo"},{"id":"-1626880216","method":"account.getContactSignUpNotification","params":[],"type":"Bool"},{"id":"-806076575","method":"account.setContactSignUpNotification","params":[{"name":"silent","type":"Bool"}],"type":"Bool"},{"id":"1398240377","method":"account.getNotifyExceptions","params":[{"name":"flags","type":"#"},{"name":"compare_sound","type":"flags.1?true"},{"name":"peer","type":"flags.0?InputNotifyPeer"}],"type":"Updates"},{"id":"283795844","method":"messages.sendVote","params":[{"name":"peer","type":"InputPeer"},{"name":"msg_id","type":"int"},{"name":"options","type":"Vector"}],"type":"Updates"},{"id":"1941660731","method":"messages.getPollResults","params":[{"name":"peer","type":"InputPeer"},{"name":"msg_id","type":"int"}],"type":"Updates"},{"id":"1848369232","method":"messages.getOnlines","params":[{"name":"peer","type":"InputPeer"}],"type":"ChatOnlines"},{"id":"-2127811866","method":"messages.getStatsURL","params":[{"name":"flags","type":"#"},{"name":"dark","type":"flags.0?true"},{"name":"peer","type":"InputPeer"},{"name":"params","type":"string"}],"type":"StatsURL"},{"id":"-554301545","method":"messages.editChatAbout","params":[{"name":"peer","type":"InputPeer"},{"name":"about","type":"string"}],"type":"Bool"},{"id":"-1517917375","method":"messages.editChatDefaultBannedRights","params":[{"name":"peer","type":"InputPeer"},{"name":"banned_rights","type":"ChatBannedRights"}],"type":"Updates"},{"id":"-57811990","method":"account.getWallPaper","params":[{"name":"wallpaper","type":"InputWallPaper"}],"type":"WallPaper"},{"id":"-578472351","method":"account.uploadWallPaper","params":[{"name":"file","type":"InputFile"},{"name":"mime_type","type":"string"},{"name":"settings","type":"WallPaperSettings"}],"type":"WallPaper"},{"id":"1817860919","method":"account.saveWallPaper","params":[{"name":"wallpaper","type":"InputWallPaper"},{"name":"unsave","type":"Bool"},{"name":"settings","type":"WallPaperSettings"}],"type":"Bool"},{"id":"-18000023","method":"account.installWallPaper","params":[{"name":"wallpaper","type":"InputWallPaper"},{"name":"settings","type":"WallPaperSettings"}],"type":"Bool"},{"id":"-1153722364","method":"account.resetWallPapers","params":[],"type":"Bool"},{"id":"1457130303","method":"account.getAutoDownloadSettings","params":[],"type":"account.AutoDownloadSettings"},{"id":"1995661875","method":"account.saveAutoDownloadSettings","params":[{"name":"flags","type":"#"},{"name":"low","type":"flags.0?true"},{"name":"high","type":"flags.1?true"},{"name":"settings","type":"AutoDownloadSettings"}],"type":"Bool"},{"id":"899735650","method":"messages.getEmojiKeywords","params":[{"name":"lang_code","type":"string"}],"type":"EmojiKeywordsDifference"},{"id":"352892591","method":"messages.getEmojiKeywordsDifference","params":[{"name":"lang_code","type":"string"},{"name":"from_version","type":"int"}],"type":"EmojiKeywordsDifference"},{"id":"1318675378","method":"messages.getEmojiKeywordsLanguages","params":[{"name":"lang_codes","type":"Vector"}],"type":"Vector"},{"id":"-709817306","method":"messages.getEmojiURL","params":[{"name":"lang_code","type":"string"}],"type":"EmojiURL"},{"id":"1749536939","method":"folders.editPeerFolders","params":[{"name":"folder_peers","type":"Vector"}],"type":"Updates"},{"id":"472471681","method":"folders.deleteFolder","params":[{"name":"folder_id","type":"int"}],"type":"Updates"},{"id":"1932455680","method":"messages.getSearchCounters","params":[{"name":"peer","type":"InputPeer"},{"name":"filters","type":"Vector"}],"type":"Vector"},{"id":"-170208392","method":"channels.getGroupsForDiscussion","params":[],"type":"messages.Chats"},{"id":"1079520178","method":"channels.setDiscussionGroup","params":[{"name":"broadcast","type":"InputChannel"},{"name":"group","type":"InputChannel"}],"type":"Bool"},{"id":"-482388461","method":"messages.requestUrlAuth","params":[{"name":"peer","type":"InputPeer"},{"name":"msg_id","type":"int"},{"name":"button_id","type":"int"}],"type":"UrlAuthResult"},{"id":"-148247912","method":"messages.acceptUrlAuth","params":[{"name":"flags","type":"#"},{"name":"write_allowed","type":"flags.0?true"},{"name":"peer","type":"InputPeer"},{"name":"msg_id","type":"int"},{"name":"button_id","type":"int"}],"type":"UrlAuthResult"},{"id":"1336717624","method":"messages.hidePeerSettingsBar","params":[{"name":"peer","type":"InputPeer"}],"type":"Bool"},{"id":"-386636848","method":"contacts.addContact","params":[{"name":"flags","type":"#"},{"name":"add_phone_privacy_exception","type":"flags.0?true"},{"name":"id","type":"InputUser"},{"name":"first_name","type":"string"},{"name":"last_name","type":"string"},{"name":"phone","type":"string"}],"type":"Updates"},{"id":"-130964977","method":"contacts.acceptContact","params":[{"name":"id","type":"InputUser"}],"type":"Updates"},{"id":"-1892102881","method":"channels.editCreator","params":[{"name":"channel","type":"InputChannel"},{"name":"user_id","type":"InputUser"},{"name":"password","type":"InputCheckPasswordSRP"}],"type":"Updates"},{"id":"-750207932","method":"contacts.getLocated","params":[{"name":"flags","type":"#"},{"name":"background","type":"flags.1?true"},{"name":"geo_point","type":"InputGeoPoint"},{"name":"self_expires","type":"flags.0?int"}],"type":"Updates"},{"id":"1491484525","method":"channels.editLocation","params":[{"name":"channel","type":"InputChannel"},{"name":"geo_point","type":"InputGeoPoint"},{"name":"address","type":"string"}],"type":"Bool"},{"id":"-304832784","method":"channels.toggleSlowMode","params":[{"name":"channel","type":"InputChannel"},{"name":"seconds","type":"int"}],"type":"Updates"},{"id":"-490575781","method":"messages.getScheduledHistory","params":[{"name":"peer","type":"InputPeer"},{"name":"hash","type":"int"}],"type":"messages.Messages"},{"id":"-1111817116","method":"messages.getScheduledMessages","params":[{"name":"peer","type":"InputPeer"},{"name":"id","type":"Vector"}],"type":"messages.Messages"},{"id":"-1120369398","method":"messages.sendScheduledMessages","params":[{"name":"peer","type":"InputPeer"},{"name":"id","type":"Vector"}],"type":"Updates"},{"id":"1504586518","method":"messages.deleteScheduledMessages","params":[{"name":"peer","type":"InputPeer"},{"name":"id","type":"Vector"}],"type":"Updates"},{"id":"473805619","method":"account.uploadTheme","params":[{"name":"flags","type":"#"},{"name":"file","type":"InputFile"},{"name":"thumb","type":"flags.0?InputFile"},{"name":"file_name","type":"string"},{"name":"mime_type","type":"string"}],"type":"Document"},{"id":"-2077048289","method":"account.createTheme","params":[{"name":"flags","type":"#"},{"name":"slug","type":"string"},{"name":"title","type":"string"},{"name":"document","type":"flags.2?InputDocument"},{"name":"settings","type":"flags.3?InputThemeSettings"}],"type":"Theme"},{"id":"1555261397","method":"account.updateTheme","params":[{"name":"flags","type":"#"},{"name":"format","type":"string"},{"name":"theme","type":"InputTheme"},{"name":"slug","type":"flags.0?string"},{"name":"title","type":"flags.1?string"},{"name":"document","type":"flags.2?InputDocument"},{"name":"settings","type":"flags.3?InputThemeSettings"}],"type":"Theme"},{"id":"-229175188","method":"account.saveTheme","params":[{"name":"theme","type":"InputTheme"},{"name":"unsave","type":"Bool"}],"type":"Bool"},{"id":"2061776695","method":"account.installTheme","params":[{"name":"flags","type":"#"},{"name":"dark","type":"flags.0?true"},{"name":"format","type":"flags.1?string"},{"name":"theme","type":"flags.1?InputTheme"}],"type":"Bool"},{"id":"-1919060949","method":"account.getTheme","params":[{"name":"format","type":"string"},{"name":"theme","type":"InputTheme"},{"name":"document_id","type":"long"}],"type":"Theme"},{"id":"676939512","method":"account.getThemes","params":[{"name":"format","type":"string"},{"name":"hash","type":"int"}],"type":"account.Themes"},{"id":"-1313598185","method":"auth.exportLoginToken","params":[{"name":"api_id","type":"int"},{"name":"api_hash","type":"string"},{"name":"except_ids","type":"Vector"}],"type":"auth.LoginToken"},{"id":"-1783866140","method":"auth.importLoginToken","params":[{"name":"token","type":"bytes"}],"type":"auth.LoginToken"},{"id":"-392909491","method":"auth.acceptLoginToken","params":[{"name":"token","type":"bytes"}],"type":"Authorization"},{"id":"-1250643605","method":"account.setContentSettings","params":[{"name":"flags","type":"#"},{"name":"sensitive_enabled","type":"flags.0?true"}],"type":"Bool"},{"id":"-1952756306","method":"account.getContentSettings","params":[],"type":"account.ContentSettings"},{"id":"300429806","method":"channels.getInactiveChannels","params":[],"type":"messages.InactiveChats"},{"id":"1705865692","method":"account.getMultiWallPapers","params":[{"name":"wallpapers","type":"Vector"}],"type":"Vector"},{"id":"-1200736242","method":"messages.getPollVotes","params":[{"name":"flags","type":"#"},{"name":"peer","type":"InputPeer"},{"name":"id","type":"int"},{"name":"option","type":"flags.0?bytes"},{"name":"offset","type":"flags.1?string"},{"name":"limit","type":"int"}],"type":"messages.VotesList"},{"id":"-1257951254","method":"messages.toggleStickerSets","params":[{"name":"flags","type":"#"},{"name":"uninstall","type":"flags.0?true"},{"name":"archive","type":"flags.1?true"},{"name":"unarchive","type":"flags.2?true"},{"name":"stickersets","type":"Vector"}],"type":"Bool"},{"id":"779736953","method":"payments.getBankCardData","params":[{"name":"number","type":"string"}],"type":"payments.BankCardData"},{"id":"-241247891","method":"messages.getDialogFilters","params":[],"type":"Vector"},{"id":"-1566780372","method":"messages.getSuggestedDialogFilters","params":[],"type":"Vector"},{"id":"450142282","method":"messages.updateDialogFilter","params":[{"name":"flags","type":"#"},{"name":"id","type":"int"},{"name":"filter","type":"flags.0?DialogFilter"}],"type":"Bool"},{"id":"-983318044","method":"messages.updateDialogFiltersOrder","params":[{"name":"order","type":"Vector"}],"type":"Bool"},{"id":"-1421720550","method":"stats.getBroadcastStats","params":[{"name":"flags","type":"#"},{"name":"dark","type":"flags.0?true"},{"name":"channel","type":"InputChannel"}],"type":"stats.BroadcastStats"},{"id":"1646092192","method":"stats.loadAsyncGraph","params":[{"name":"flags","type":"#"},{"name":"token","type":"string"},{"name":"x","type":"flags.0?long"}],"type":"StatsGraph"},{"id":"-1707717072","method":"stickers.setStickerSetThumb","params":[{"name":"stickerset","type":"InputStickerSet"},{"name":"thumb","type":"InputDocument"}],"type":"messages.StickerSet"},{"id":"-2141370634","method":"bots.setBotCommands","params":[{"name":"commands","type":"Vector"}],"type":"Bool"},{"id":"1608974939","method":"messages.getOldFeaturedStickers","params":[{"name":"offset","type":"int"},{"name":"limit","type":"int"},{"name":"hash","type":"int"}],"type":"messages.FeaturedStickers"},{"id":"-1063816159","method":"help.getPromoData","params":[],"type":"help.PromoData"},{"id":"505748629","method":"help.hidePromoData","params":[{"name":"peer","type":"InputPeer"}],"type":"Bool"},{"id":"-8744061","method":"phone.sendSignalingData","params":[{"name":"peer","type":"InputPhoneCall"},{"name":"data","type":"bytes"}],"type":"Bool"},{"id":"-589330937","method":"stats.getMegagroupStats","params":[{"name":"flags","type":"#"},{"name":"dark","type":"flags.0?true"},{"name":"channel","type":"InputChannel"}],"type":"stats.MegagroupStats"},{"id":"-349483786","method":"account.getGlobalPrivacySettings","params":[],"type":"GlobalPrivacySettings"},{"id":"517647042","method":"account.setGlobalPrivacySettings","params":[{"name":"settings","type":"GlobalPrivacySettings"}],"type":"GlobalPrivacySettings"},{"id":"125807007","method":"help.dismissSuggestion","params":[{"name":"suggestion","type":"string"}],"type":"Bool"},{"id":"1935116200","method":"help.getCountriesList","params":[{"name":"lang_code","type":"string"},{"name":"hash","type":"int"}],"type":"help.CountriesList"},{"id":"615875002","method":"messages.getReplies","params":[{"name":"peer","type":"InputPeer"},{"name":"msg_id","type":"int"},{"name":"offset_id","type":"int"},{"name":"offset_date","type":"int"},{"name":"add_offset","type":"int"},{"name":"limit","type":"int"},{"name":"max_id","type":"int"},{"name":"min_id","type":"int"},{"name":"hash","type":"int"}],"type":"messages.Messages"},{"id":"1147761405","method":"messages.getDiscussionMessage","params":[{"name":"peer","type":"InputPeer"},{"name":"msg_id","type":"int"}],"type":"messages.DiscussionMessage"},{"id":"-147740172","method":"messages.readDiscussion","params":[{"name":"peer","type":"InputPeer"},{"name":"msg_id","type":"int"},{"name":"read_max_id","type":"int"}],"type":"Bool"},{"id":"698914348","method":"contacts.blockFromReplies","params":[{"name":"flags","type":"#"},{"name":"delete_message","type":"flags.0?true"},{"name":"delete_history","type":"flags.1?true"},{"name":"report_spam","type":"flags.2?true"},{"name":"msg_id","type":"int"}],"type":"Updates"},{"id":"1445996571","method":"stats.getMessagePublicForwards","params":[{"name":"channel","type":"InputChannel"},{"name":"msg_id","type":"int"},{"name":"offset_rate","type":"int"},{"name":"offset_peer","type":"InputPeer"},{"name":"offset_id","type":"int"},{"name":"limit","type":"int"}],"type":"messages.Messages"},{"id":"-1226791947","method":"stats.getMessageStats","params":[{"name":"flags","type":"#"},{"name":"dark","type":"flags.0?true"},{"name":"channel","type":"InputChannel"},{"name":"msg_id","type":"int"}],"type":"stats.MessageStats"},{"id":"-265962357","method":"messages.unpinAllMessages","params":[{"name":"peer","type":"InputPeer"}],"type":"messages.AffectedHistory"}]} \ No newline at end of file diff --git a/data/core.telegram.org/type/DialogFilter.html b/data/core.telegram.org/type/DialogFilter.html deleted file mode 100644 index 71e99a9b9a..0000000000 --- a/data/core.telegram.org/type/DialogFilter.html +++ /dev/null @@ -1,143 +0,0 @@ - - - - - DialogFilter - - - - - - - - - - - - - -
- -
-
-
- -

DialogFilter

- -

Dialog filter (folders)

-

-
dialogFilter#7438f7e8 flags:# contacts:flags.0?true non_contacts:flags.1?true groups:flags.2?true broadcasts:flags.3?true bots:flags.4?true exclude_muted:flags.11?true exclude_read:flags.12?true exclude_archived:flags.13?true id:int title:string emoticon:flags.25?string pinned_peers:Vector<InputPeer> include_peers:Vector<InputPeer> exclude_peers:Vector<InputPeer> = DialogFilter;

-

Constructors

- - - - - - - - - - - - - -
ConstructorDescription
dialogFilterDialog filter (folder)
- -
- -
-
- -
- - - - - - diff --git a/data/core.telegram.org/type/DocumentAttribute.html b/data/core.telegram.org/type/DocumentAttribute.html deleted file mode 100644 index 263f3d074e..0000000000 --- a/data/core.telegram.org/type/DocumentAttribute.html +++ /dev/null @@ -1,173 +0,0 @@ - - - - - DocumentAttribute - - - - - - - - - - - - - -
- -
-
-
- -

DocumentAttribute

- -

Various possible attributes of a document (used to define if it's a sticker, a GIF, a video, a mask sticker, an image, an audio, and so on)

-

-
documentAttributeImageSize#6c37c15c w:int h:int = DocumentAttribute;
-documentAttributeAnimated#11b58939 = DocumentAttribute;
-documentAttributeSticker#6319d612 flags:# mask:flags.1?true alt:string stickerset:InputStickerSet mask_coords:flags.0?MaskCoords = DocumentAttribute;
-documentAttributeVideo#ef02ce6 flags:# round_message:flags.0?true supports_streaming:flags.1?true duration:int w:int h:int = DocumentAttribute;
-documentAttributeAudio#9852f9c6 flags:# voice:flags.10?true duration:int title:flags.0?string performer:flags.1?string waveform:flags.2?bytes = DocumentAttribute;
-documentAttributeFilename#15590068 file_name:string = DocumentAttribute;
-documentAttributeHasStickers#9801d2f7 = DocumentAttribute;

-

Constructors

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ConstructorDescription
documentAttributeImageSizeDefines the width and height of an image uploaded as document
documentAttributeAnimatedDefines an animated GIF
documentAttributeStickerDefines a sticker
documentAttributeVideoDefines a video
documentAttributeAudioRepresents an audio file
documentAttributeFilenameA simple document with a file name
documentAttributeHasStickersWhether the current document has stickers attached
- -
- -
-
- -
- - - - - - diff --git a/data/core.telegram.org/type/PollAnswerVoters.html b/data/core.telegram.org/type/PollAnswerVoters.html deleted file mode 100644 index d223cf63e2..0000000000 --- a/data/core.telegram.org/type/PollAnswerVoters.html +++ /dev/null @@ -1,143 +0,0 @@ - - - - - PollAnswerVoters - - - - - - - - - - - - - -
- -
-
-
- -

PollAnswerVoters

- -

How users voted on a certain poll answer

-

-
pollAnswerVoters#3b6ddad2 flags:# chosen:flags.0?true correct:flags.1?true option:bytes voters:int = PollAnswerVoters;

-

Constructors

- - - - - - - - - - - - - -
ConstructorDescription
pollAnswerVotersA poll answer, and how users voted on it
- -
- -
-
- -
- - - - - - diff --git a/data/core.telegram.org/type/SecureData.html b/data/core.telegram.org/type/SecureData.html deleted file mode 100644 index 45416ea568..0000000000 --- a/data/core.telegram.org/type/SecureData.html +++ /dev/null @@ -1,146 +0,0 @@ - - - - - SecureData - - - - - - - - - - - - - -
- -
-
-
- -

SecureData

- -

Secure passport data, for more info see the passport docs »

-

-
secureData#8aeabec3 data:bytes data_hash:bytes secret:bytes = SecureData;

-

Constructors

- - - - - - - - - - - - - -
ConstructorDescription
secureDataSecure data
-

Related pages

-

Telegram Passport Manual

-

Telegram Passport Encryption Details

- -
- -
-
- -
- - - - - - diff --git a/data/core.telegram.org/type/SecureValueHash.html b/data/core.telegram.org/type/SecureValueHash.html deleted file mode 100644 index 7bd165fcc5..0000000000 --- a/data/core.telegram.org/type/SecureValueHash.html +++ /dev/null @@ -1,143 +0,0 @@ - - - - - SecureValueHash - - - - - - - - - - - - - -
- -
-
- - -
-
- -
- - - - - - diff --git a/data/core.telegram.org/type/WallPaper.html b/data/core.telegram.org/type/WallPaper.html deleted file mode 100644 index a9e674d540..0000000000 --- a/data/core.telegram.org/type/WallPaper.html +++ /dev/null @@ -1,172 +0,0 @@ - - - - - WallPaper - - - - - - - - - - - - - -
- -
-
-
- -

WallPaper

- -

Object contains info on a wallpaper.

-

-
wallPaper#a437c3ed id:long flags:# creator:flags.0?true default:flags.1?true pattern:flags.3?true dark:flags.4?true access_hash:long slug:string document:Document settings:flags.2?WallPaperSettings = WallPaper;
-wallPaperNoFile#8af40b25 flags:# default:flags.1?true dark:flags.4?true settings:flags.2?WallPaperSettings = WallPaper;
-
----functions---
-
-account.getWallPaper#fc8ddbea wallpaper:InputWallPaper = WallPaper;
-account.uploadWallPaper#dd853661 file:InputFile mime_type:string settings:WallPaperSettings = WallPaper;

-

Constructors

- - - - - - - - - - - - - - - - - -
ConstructorDescription
wallPaperWallpaper settings.
wallPaperNoFileNo file wallpaper
-

Methods

- - - - - - - - - - - - - - - - - -
MethodDescription
account.getWallPaperGet info about a certain wallpaper
account.uploadWallPaperCreate and upload a new wallpaper
- -
- -
-
- -
- - - - - - diff --git a/data/core.telegram.org/type/account.PasswordInputSettings b/data/core.telegram.org/type/account.PasswordInputSettings deleted file mode 100644 index 4f1d1be3be..0000000000 --- a/data/core.telegram.org/type/account.PasswordInputSettings +++ /dev/null @@ -1,146 +0,0 @@ - - - - - account.PasswordInputSettings - - - - - - - - - - - - - -
- -
-
-
- -

account.PasswordInputSettings

- -

Constructor for setting up a new 2FA SRP password

-

-
account.passwordInputSettings#c23727c9 flags:# new_algo:flags.0?PasswordKdfAlgo new_password_hash:flags.0?bytes hint:flags.0?string email:flags.1?string new_secure_settings:flags.2?SecureSecretSettings = account.PasswordInputSettings;

-

Constructors

- - - - - - - - - - - - - -
ConstructorDescription
account.passwordInputSettingsSettings for setting up a new password
-

Related pages

-

Two-factor authentication

-

How to login to a user's account if they have enabled 2FA, how to change password.

- -
- -
-
- -
- - - - - - diff --git a/data/core.telegram.org/type/help.PromoData b/data/core.telegram.org/type/help.PromoData deleted file mode 100644 index 22e708e247..0000000000 --- a/data/core.telegram.org/type/help.PromoData +++ /dev/null @@ -1,167 +0,0 @@ - - - - - help.PromoData - - - - - - - - - - - - - -
- -
-
-
- -

help.PromoData

- -

Info about pinned MTProxy or Public Service Announcement peers.

-

-
help.promoDataEmpty#98f6ac75 expires:int = help.PromoData;
-help.promoData#8c39793f flags:# proxy:flags.0?true expires:int peer:Peer chats:Vector<Chat> users:Vector<User> psa_type:flags.1?string psa_message:flags.2?string = help.PromoData;
-
----functions---
-
-help.getPromoData#c0977421 = help.PromoData;

-

Constructors

- - - - - - - - - - - - - - - - - -
ConstructorDescription
help.promoDataEmptyNo PSA/MTProxy info is available
help.promoDataMTProxy/Public Service Announcement information
-

Methods

- - - - - - - - - - - - - -
MethodDescription
help.getPromoDataGet MTProxy/Public Service Announcement information
- -
- -
-
- -
- - - - - - diff --git a/data/core.telegram.org/type/messages.FavedStickers b/data/core.telegram.org/type/messages.FavedStickers deleted file mode 100644 index a0ccb34ea5..0000000000 --- a/data/core.telegram.org/type/messages.FavedStickers +++ /dev/null @@ -1,167 +0,0 @@ - - - - - Messages.FavedStickers - - - - - - - - - - - - - -
- -
-
-
- -

Messages.FavedStickers

- -

Favorited stickers

-

-
messages.favedStickersNotModified#9e8fa6d3 = messages.FavedStickers;
-messages.favedStickers#f37f2f16 hash:int packs:Vector<StickerPack> stickers:Vector<Document> = messages.FavedStickers;
-
----functions---
-
-messages.getFavedStickers#21ce0b0e hash:int = messages.FavedStickers;

-

Constructors

- - - - - - - - - - - - - - - - - -
ConstructorDescription
messages.favedStickersNotModifiedNo new favorited stickers were found
messages.favedStickersFavorited stickers
-

Methods

- - - - - - - - - - - - - -
MethodDescription
messages.getFavedStickersGet faved stickers
- -
- -
-
- -
- - - - - - diff --git a/data/core.telegram.org/type/payments.ValidatedRequestedInfo b/data/core.telegram.org/type/payments.ValidatedRequestedInfo deleted file mode 100644 index c263fbf71a..0000000000 --- a/data/core.telegram.org/type/payments.ValidatedRequestedInfo +++ /dev/null @@ -1,162 +0,0 @@ - - - - - Payments.ValidatedRequestedInfo - - - - - - - - - - - - - -
- -
-
-
- -

Payments.ValidatedRequestedInfo

- -

Validated requested info

-

-
payments.validatedRequestedInfo#d1451883 flags:# id:flags.0?string shipping_options:flags.1?Vector<ShippingOption> = payments.ValidatedRequestedInfo;
-
----functions---
-
-payments.validateRequestedInfo#770a8e74 flags:# save:flags.0?true msg_id:int info:PaymentRequestedInfo = payments.ValidatedRequestedInfo;

-

Constructors

- - - - - - - - - - - - - -
ConstructorDescription
payments.validatedRequestedInfoValidated user-provided info
-

Methods

- - - - - - - - - - - - - -
MethodDescription
payments.validateRequestedInfoSubmit requested order information for validation
- -
- -
-
- -
- - - - - - diff --git a/data/core.telegram.org/widgets/login.html b/data/core.telegram.org/widgets/login.html deleted file mode 100644 index b0cd268ee0..0000000000 --- a/data/core.telegram.org/widgets/login.html +++ /dev/null @@ -1,404 +0,0 @@ - - - - - Telegram Login Widget - - - - - - - - - - - - - - -
- -
-
-
- -

Telegram Login Widget

- -
-

The Telegram login widget is a simple way to authorize users on your website.
Check out this post for a general overview of the widget.

-
-

Setting up a bot

-

To use the login widget, you'll need a Telegram bot.

-

We strongly recommend that the profile picture of the bot you use for authorization corresponds with your website‘s logo, and that the bot’s name reflects that connection.

-

Users will see this message when they log into your website:

-
- -
- -

It is more likely that users will log in if your bot has a name and logo they expect to see.

-

Linking your domain to the bot

-

Once you have chosen a bot, send the /setdomain command to @Botfather to link your website's domain to the bot. Then configure your widget below and embed the code on your website.

-

Widget configuration

-

-
- -
-
-
- -
- -
- - -
- Log in below to load your bots with linked domains -
-
- -
- -
- - - -
-
- -
-
- -
- -
- - -
-
- -
- -
- - -
-
- -
- -
- -
-
- -
- -
- -
-
- -
-
-
-
-
-

-

Receiving authorization data

-

After a successful authorization, the widget can return data in two ways:

-
    -
  • by redirecting the user to the URL specified in the data-auth-url attribute with the following parameters: id, first_name, last_name, username, photo_url, auth_date and hash;
  • -
  • by calling the callback function data-onauth with the JSON-object containing id, first_name, last_name, username, photo_url, auth_date and hash fields.
  • -
-

Checking authorization

-

You can verify the authentication and the integrity of the data received by comparing the received hash parameter with the hexadecimal representation of the HMAC-SHA-256 signature of the data-check-string with the SHA256 hash of the bot's token used as a secret key.

-

Data-check-string is a concatenation of all received fields, sorted in alphabetical order, in the format key=<value> with a line feed character ('\n', 0x0A) used as separator – e.g., 'auth_date=<auth_date>\nfirst_name=<first_name>\nid=<id>\nusername=<username>'.

-

The full check might look like:

-
data_check_string = ...
-secret_key = SHA256(<bot_token>)
-if (hex(HMAC_SHA256(data_check_string, secret_key)) == hash) {
-  // data is from Telegram
-}
-

To prevent the use of outdated data, you can additionally check the auth_date field, which contains a Unix timestamp when the authentication was received.

-

Sample implementation

-

You can find sample PHP code for checking authorization and receiving data about a logged in user on this page.

-
- -
- -
-
- -
- - - - - - - - - diff --git a/data/corefork.telegram.org/api/file_reference.html b/data/corefork.telegram.org/api/file_reference.html deleted file mode 100644 index 68d510056d..0000000000 --- a/data/corefork.telegram.org/api/file_reference.html +++ /dev/null @@ -1,125 +0,0 @@ - - - - - File references - - - - - - - - - - - - - -
- -
-
-
- -

File references

- -

File references are strings of bytes, that can be encountered in the file_reference fields of document and photo objects.

-

They must be cached by the client, along with the origin context where the document/photo object was found, in order to be refetched when the file reference expires.

-

Example implementation of a reference database: MadelineProto, android, telegram desktop, tdlib.

-

Another example:

-

Assume you receive a message from your friend: that message contains a messageMediaPhoto with a photo.

-

Your client has to cache not only the file_reference field of the photo, but also the context in which the file reference was seen (in this case, a message coming from a specific user).

-

The context info is in this case, an origin context of type message, containing the message ID and the peer ID of the chat/channel/user where the message was seen.

-

The context info has to be associated with the file reference: when downloading a file using upload.getFile, a FILE_REFERENCE_EXPIRED error (or another error starting with FILE_REFERENCE_) may be returned.
-If this happens, the context info must be used to refetch the object that contained the file reference: in this example, the peer info and the message ID have to be used with channels.getMessages or messages.getMessages to refetch the message, recache the file reference and use it in a new file download request.

-

More than one origin context can be associated to one file reference, for greater resilience (in the case of a message that was deleted in one chat but was also forwarded in another chat, the file reference can be refetched from the second chat, instead).

-

Origin contexts for objects returned by method calls with certain parameters can be considered, too (for example, in the case of favorited sticker sets returned by messages.getFavedStickers).

- -
- -
-
- -
- - - - - - diff --git a/data/corefork.telegram.org/api/optimisation.html b/data/corefork.telegram.org/api/optimisation.html deleted file mode 100644 index f019ebd00e..0000000000 --- a/data/corefork.telegram.org/api/optimisation.html +++ /dev/null @@ -1,150 +0,0 @@ - - - - - Client-Side Optimization - - - - - - - - - - - - - -
- -
-
-
- -

Client-Side Optimization

- -

Simplified Acknowledgment of Message Delivery

-

An outgoing message may be considered sent once the server has assigned it an identifier. Normally, a client would learn of this from the result of the messages.sendMessage method. -The MTProto server provides a mechanism for “quick acknowledgments". Upon receiving such an acknowledgment, the client may be certain that the call to the send message method has at least been fully received by the server and placed in a processing queue, and can inform the user that the delivery was successful. -It is possible that the server’s actual response will never be received by the client (an interrupted connection; or the app restarts at exactly the wrong time). To correctly handle these situations, you can use a special type of notification generated by the server when updates.getDifference is called: updateMessageID. When processing this notification, the client can use the random_id identifier to associate the previously transmitted message with the one delivered to the server. -If such a notification is not issued when updates.getDifference is called for one of the previously sent messages, the message must be marked as undelivered.

-

Server Salt

-

Server salt is a 64-bit number added to every outgoing and incoming message. At present, a single salt’s lifespan is 1 hour, following which it is considered invalid and the server will return an error for all the messages that contain it. The error message will contain the correct salt, which may be immediately used for sending. Given this approach, there will always be a period of waiting before the client receives a new salt if it connects to the server less frequently than once an hour. -For improved performance, there is a special get_future_salts method, which fetches in advance a list of the salts that will be valid during the course of a specified period of time following the call (1 day, for example). A start time and an end time are specified for each salt. The salts overlap one another by half an hour. We recommend always using the record with the longest remaining lifespan.

-

Downloading Files and Uploading Data to the Server

-

We recommend that separate connections and sessions be created for these tasks. Remember that the extra sessions must be deleted when no longer needed. -It makes sense to download files over several connections (optimally to have a pool). When uploading data to a server one connection is enough to achieve the best results.

-

The file handling API is designed to perform data operations in parts. In its simplest implementation, the process of uploading files to a server looks like this: send a query, wait for a response, send the next query, etc. This approach does not optimize the use of network resources and the ping time has a huge effect. -The upload and download process is optimal when two or more queries are continuously being executed through one connection. In this arrangement, uploading to the server would look like this:

-
    -
  1. Send Query 1
  2. -
  3. Send Query 2
  4. -
  5. Wait for a response to Query 1
  6. -
  7. Send Query 3
  8. -
  9. Wait for a response to Query 2
  10. -
  11. Send Query 4
  12. -
  13. etc.
  14. -
-

This will help reduce the effect of ping latency and maximize the channel workload.

-

Sending Messages in Bulk

-

Sometimes a client needs to transmit several send message method calls to the server all at once in a single message or in several consecutive messages. However, the server may execute these requests out of order (queries are handled by different servers to improve performance, which introduces a degree of randomness to the process). -This requires that dependencies be explicitly stated when processing queries by using the function

-
invokeAfterMsg#cb9f372d {X:Type} msg_id:long query:!X = X;
-

Actually, this means padding the beginning of the query with the 32-bit number 0xcb9f372d and the 64-bit message identifier of the query on which the current query is dependent.

-

Grouping Updates

-

Generating updates (notifications about various server events) and delivering them to the client form two different parts of the system (respectively, the messenger API and MTProto). By itself, MTProto cannot modify in any way the data transmitted to the client, and the server API cannot respond to client-MTProto connection events. -Imagine the situation where a client loses its connection (or is intentionally disconnected from the network) for some time. If lots of different events occur before a new connection is established (contacts come online, typing event messages are sent), then when a connection is established the client will receive lots of data containing all of the intervening events, despite the fact that most of the data is obsolete. -The grouping of messages has been introduced to optimize such situations. If new events occur and the client has not managed to “collect” the previously generated updates, then the server API can combine them into a single package.

-

A client is able to control when the MTProto server begins to consider that the connection has been lost and grouping can begin (the earlier this occurs when there is no connection, the better for the client). This functionality is implemented through a special type of Ping message, ping_delay_disconnect, which specifies a time delay following which the server will close the current connection and start grouping messages.

-

It makes sense to combine the transmission of ping_delay_disconnect with that of other recurring tasks, such as updating the user status (account.updateStatus).

-

Setting the Typing Status

-

If a contact is not online, there is no need to invoke messages.setTyping.

- -
- -
-
- -
- - - - - - diff --git a/data/corefork.telegram.org/api/push-updates.html b/data/corefork.telegram.org/api/push-updates.html deleted file mode 100644 index a1fcc8fc75..0000000000 --- a/data/corefork.telegram.org/api/push-updates.html +++ /dev/null @@ -1,985 +0,0 @@ - - - - - Handling PUSH-notifications - - - - - - - - - - - - - -
- -
-
-
- -

Handling PUSH-notifications

- -
- -

Configuring the application

-

To be able to send APNS notifications to Apple servers or GCM notifications to Google servers, application certificates (APNS) or an application key (GCM) must be specified in the application settings.

-

Subscribing to notifications

-

To subscribe to notifications, the client must invoke the account.registerDevice query, passing in token_type and token as parameters that identify the current device. It is useful to repeat this query at least once every 24 hours or when restarting the application. Use account.unregisterDevice to unsubscribe.

-

The following modes are supported:

-
    -
  • 1 - APNS (device token for apple push)
  • -
  • 2 - FCM (firebase token for google firebase)
  • -
  • 3 - MPNS (channel URI for microsoft push)
  • -
  • 4 - Deprecated: Simple push (endpoint for firefox's simple push API)
  • -
  • 5 - Ubuntu phone (token for ubuntu push)
  • -
  • 6 - Blackberry (token for blackberry push)
  • -
  • 7 - MTProto separate session
  • -
  • 8 - WNS (windows push)
  • -
  • 9 - APNS VoIP (token for apple push VoIP)
  • -
  • 10 - Web push (web push, see below)
  • -
  • 11 - MPNS VoIP (token for microsoft push VoIP)
  • -
  • 12 - Tizen (token for tizen push)
  • -
-

For 10 web push, the token must be a JSON-encoded object with the following keys:

-
    -
  • endpoint: Absolute URL exposed by the push service where the application server can send push messages
  • -
  • keys: P-256 elliptic curve Diffie-Hellman parameters in the following object
      -
    • p256dh: Base64url-encoded P-256 elliptic curve Diffie-Hellman public key
    • -
    • auth: Base64url-encoded authentication secret
    • -
    -
  • -
-

Notification encryption

-

For FCM and APNS VoIP, an optional encryption key used to encrypt push notifications can be passed to account.registerDevice (secret). This key (auth_key) is used to encrypt the payloads using MTProto v2.

-

The FCM payload will be a JSON payload, containing a p field with the base64-encoded encrypted MTProto payload. After decryption, the result will be a JSON object, prefixed by a 32-bit little-endian integer with the length of the JSON payload. As usual, make sure to follow all security checks as described in the MTProto docs.

-

Example implementation.

-

As mentioned above, payloads can also be encrypted using P-256 Elliptic Curve Diffie-Hellman when using web push.

-

Notification structure

-

An (optionally encrypted) notification is provided as a JSON object in the following format:

-
{
-  "data": {
-    "loc_key": "CHAT_MESSAGE_CONTACT",
-    "loc_args": ["John Doe", "My magical group", "Contact Exchange"],
-    "user_id": 14124122,
-    "custom": {
-      "chat_id": 241233,
-      "msg_id": 123
-    },
-    "sound": "sound1.mp3",
-  }
-}
-

Each notification has several parameters that describe it.

-

Notification type

-

data.loc_key - A string literal in the form /[A-Z_0-9]+/, which summarizes the notification. For example, CHAT_MESSAGE_TEXT.

-

Notification text arguments

-

data.loc_args - A list or arguments which, when inserted into a template, produce a readable notification.

-

Custom parameters

-

data.custom - Parameters which are be passed into the application when a notification is opened.

-

Sound

-

data.sound - The name of an audio file to be played.

-

User id

-

data.user_id - ID of the account to which the PUSH notification should be delivered, in case of clients with multiple accounts active and running.

-

Processing notifications

-

In principle, data.loc_key, data.custom, and an Internet connection are sufficient to generate a notification. Obviously, if possible, when generating a visual notification you need not use all of the transmitted data and may rely on the information already stored on the client. But if a user or a chat is not cached locally, the values passed in loc_args may also be used. data.user_id is the ID of the account to which the PUSH notification should be delivered, in case of clients with multiple accounts active and running.

-

Service notifications

-

The following notifications can be used to update app settings.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
TypeExtra custom argumentsDescription
DC_UPDATEdc - number of the data-center
addr - server address with port number in the format 111.112.113.114:443
In case the client gets this notification, it is necessary to add the received server address to the list of possible addresses. In case the address of the first DC was passed (dc=1), it is recommended to call it immediately using help.getConfig to update dc-configuration.
MESSAGE_DELETEDchannel_id: For channels and supergroups, Channel/supergroup identifier
chat_id: For chats, Chat identifier
from_id: For PMs, Author identifier
messages: Comma-separated IDs of messages that were deleted
Messages were deleted, remove multiple notifications for this chat
READ_HISTORYchannel_id: For channels and supergroups, Channel/supergroup identifier
chat_id: For chats, Chat identifier
from_id: For PMs, Author identifier
max_id: Maximum ID of read messages
Message history was read, remove multiple notifications for this chat
GEO_LIVE_PENDING Any of the live locations currently being shared should be updated
SESSION_REVOKE Logout and remove DB for specified session by data.user_id, only apply if coming from an MTProto-encrypted payload
MESSAGE_MUTED Sent rarely, every 10th message in chats or once per 15 sec in PM, to update badge or download messages
-

Possible Notifications

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
TypeTemplate exampleArgumentsExtra custom arguments
MESSAGE_PLAYLIST{1} sent you {2} music files1. User name
2. Number of audio files that were sent
attachb64: Base64-encoded version of the attached media
chat_from_id: Groups only, message author identifier
edit_date: When was the message last edited
from_id: Author identifier
mention: Whether the user was mentioned in the message
msg_id: ID of the message
silent: Whether the message was posted silently (no notification should be issued)
MESSAGE_DOCS{1} sent you {2} files1. User name
2. Number of documents that were sent
attachb64: Base64-encoded version of the attached media (related to the first message)
chat_from_id: Groups only, message author identifier (related to the first message)
edit_date: When was the message last edited (related to the first message)
from_id: Author identifier (related to the first message)
mention: Whether the user was mentioned in the message (related to the first message)
msg_id: ID of the message (related to the first message)
silent: Whether the message was posted silently (no notification should be issued) (related to the first message)
CHAT_MESSAGE_PLAYLIST{1} sent {3} music files to the group {2}1. User name
2. Group name
3. Number of audio files that were sent
attachb64: Base64-encoded version of the attached media
chat_from_id: Groups only, message author identifier
chat_id: Chat identifier
edit_date: When was the message last edited
mention: Whether the user was mentioned in the message
msg_id: ID of the message
silent: Whether the message was posted silently (no notification should be issued)
CHAT_MESSAGE_DOCS{1} sent {3} files to the group {2}1. User name
2. Group name
3. Number of documents that were sent
attachb64: Base64-encoded version of the attached media (related to the first message)
chat_from_id: Groups only, message author identifier (related to the first message)
chat_id: Chat identifier (related to the first message)
edit_date: When was the message last edited (related to the first message)
mention: Whether the user was mentioned in the message (related to the first message)
msg_id: ID of the message (related to the first message)
silent: Whether the message was posted silently (no notification should be issued) (related to the first message)
CHANNEL_MESSAGE_PLAYLIST{1} posted {2} music files1. Channel name
2. Number of audio files that were posted
attachb64: Base64-encoded version of the attached media
channel_id: Channel/supergroup identifier
chat_from_id: Groups only, message author identifier
edit_date: When was the message last edited
mention: Whether the user was mentioned in the message
msg_id: ID of the message
silent: Whether the message was posted silently (no notification should be issued)
CHANNEL_MESSAGE_DOCS{1} posted {2} files1. Channel name
2. Number of documents that were posted
attachb64: Base64-encoded version of the attached media (related to the first message)
channel_id: Channel/supergroup identifier (related to the first message)
chat_from_id: Groups only, message author identifier (related to the first message)
edit_date: When was the message last edited (related to the first message)
mention: Whether the user was mentioned in the message (related to the first message)
msg_id: ID of the message (related to the first message)
silent: Whether the message was posted silently (no notification should be issued) (related to the first message)
MESSAGE_TEXT{1}: {2}1. Message author
2. Message body
attachb64: Base64-encoded version of the attached media
chat_from_id: Groups only, message author identifier
edit_date: When was the message last edited
from_id: Author identifier
mention: Whether the user was mentioned in the message
msg_id: ID of the message
scheduled: Whether this is a scheduled message
silent: Whether the message was posted silently (no notification should be issued)
MESSAGE_NOTEXT{1} sent you a message1. Message authorattachb64: Base64-encoded version of the attached media
chat_from_id: Groups only, message author identifier
edit_date: When was the message last edited
from_id: Author identifier
mention: Whether the user was mentioned in the message
msg_id: ID of the message
scheduled: Whether this is a scheduled message
silent: Whether the message was posted silently (no notification should be issued)
MESSAGE_PHOTO{1} sent you a photo1. Message authorattachb64: Base64-encoded version of the attached media
chat_from_id: Groups only, message author identifier
edit_date: When was the message last edited
from_id: Author identifier
mention: Whether the user was mentioned in the message
msg_id: ID of the message
scheduled: Whether this is a scheduled message
silent: Whether the message was posted silently (no notification should be issued)
MESSAGE_PHOTO_SECRET{1} sent you a self-destructing photo1. User nameattachb64: Base64-encoded version of the attached media
chat_from_id: Groups only, message author identifier
edit_date: When was the message last edited
from_id: Author identifier
mention: Whether the user was mentioned in the message
msg_id: ID of the message
scheduled: Whether this is a scheduled message
silent: Whether the message was posted silently (no notification should be issued)
MESSAGE_VIDEO{1} sent you a video1. Message authorattachb64: Base64-encoded version of the attached media
chat_from_id: Groups only, message author identifier
edit_date: When was the message last edited
from_id: Author identifier
mention: Whether the user was mentioned in the message
msg_id: ID of the message
scheduled: Whether this is a scheduled message
silent: Whether the message was posted silently (no notification should be issued)
MESSAGE_VIDEO_SECRET{1} sent you a self-destructing video1. User nameattachb64: Base64-encoded version of the attached media
chat_from_id: Groups only, message author identifier
edit_date: When was the message last edited
from_id: Author identifier
mention: Whether the user was mentioned in the message
msg_id: ID of the message
scheduled: Whether this is a scheduled message
silent: Whether the message was posted silently (no notification should be issued)
MESSAGE_SCREENSHOT{1} took a screenshot1. User nameattachb64: Base64-encoded version of the attached media
chat_from_id: Groups only, message author identifier
edit_date: When was the message last edited
from_id: Author identifier
mention: Whether the user was mentioned in the message
msg_id: ID of the message
scheduled: Whether this is a scheduled message
silent: Whether the message was posted silently (no notification should be issued)
MESSAGE_ROUND{1} sent you a video message1. User nameattachb64: Base64-encoded version of the attached media
chat_from_id: Groups only, message author identifier
edit_date: When was the message last edited
from_id: Author identifier
mention: Whether the user was mentioned in the message
msg_id: ID of the message
scheduled: Whether this is a scheduled message
silent: Whether the message was posted silently (no notification should be issued)
MESSAGE_DOC{1} sent you a file1. User nameattachb64: Base64-encoded version of the attached media
chat_from_id: Groups only, message author identifier
edit_date: When was the message last edited
from_id: Author identifier
mention: Whether the user was mentioned in the message
msg_id: ID of the message
scheduled: Whether this is a scheduled message
silent: Whether the message was posted silently (no notification should be issued)
MESSAGE_STICKER{1} sent you a {2}sticker1. User name
2. Sticker emoji with included trailing space or empty string
attachb64: Base64-encoded version of the attached media
chat_from_id: Groups only, message author identifier
edit_date: When was the message last edited
from_id: Author identifier
mention: Whether the user was mentioned in the message
msg_id: ID of the message
scheduled: Whether this is a scheduled message
silent: Whether the message was posted silently (no notification should be issued)
MESSAGE_AUDIO{1} sent you a voice message1. Message authorattachb64: Base64-encoded version of the attached media
chat_from_id: Groups only, message author identifier
edit_date: When was the message last edited
from_id: Author identifier
mention: Whether the user was mentioned in the message
msg_id: ID of the message
scheduled: Whether this is a scheduled message
silent: Whether the message was posted silently (no notification should be issued)
MESSAGE_CONTACT{1} shared a contact {2} with you1. User name
2. Contact name
attachb64: Base64-encoded version of the attached media
chat_from_id: Groups only, message author identifier
edit_date: When was the message last edited
from_id: Author identifier
mention: Whether the user was mentioned in the message
msg_id: ID of the message
scheduled: Whether this is a scheduled message
silent: Whether the message was posted silently (no notification should be issued)
MESSAGE_QUIZ{1} sent you a quiz {2}1. User name
2. Quiz name
attachb64: Base64-encoded version of the attached media
chat_from_id: Groups only, message author identifier
edit_date: When was the message last edited
from_id: Author identifier
mention: Whether the user was mentioned in the message
msg_id: ID of the message
scheduled: Whether this is a scheduled message
silent: Whether the message was posted silently (no notification should be issued)
MESSAGE_GEO{1} sent you a map1. Message authorattachb64: Base64-encoded version of the attached media
chat_from_id: Groups only, message author identifier
edit_date: When was the message last edited
from_id: Author identifier
mention: Whether the user was mentioned in the message
msg_id: ID of the message
scheduled: Whether this is a scheduled message
silent: Whether the message was posted silently (no notification should be issued)
MESSAGE_GEOLIVE{1} started sharing their live location1. User nameattachb64: Base64-encoded version of the attached media
chat_from_id: Groups only, message author identifier
edit_date: When was the message last edited
from_id: Author identifier
mention: Whether the user was mentioned in the message
msg_id: ID of the message
scheduled: Whether this is a scheduled message
silent: Whether the message was posted silently (no notification should be issued)
MESSAGE_POLL{1} sent you a poll {2}1. User name
2. Poll name
attachb64: Base64-encoded version of the attached media
chat_from_id: Groups only, message author identifier
edit_date: When was the message last edited
from_id: Author identifier
mention: Whether the user was mentioned in the message
msg_id: ID of the message
scheduled: Whether this is a scheduled message
silent: Whether the message was posted silently (no notification should be issued)
MESSAGE_GIF{1} sent you a GIF1. User nameattachb64: Base64-encoded version of the attached media
chat_from_id: Groups only, message author identifier
edit_date: When was the message last edited
from_id: Author identifier
mention: Whether the user was mentioned in the message
msg_id: ID of the message
scheduled: Whether this is a scheduled message
silent: Whether the message was posted silently (no notification should be issued)
MESSAGE_GAME{1} invited you to play {2}1. User name
2. Game name
attachb64: Base64-encoded version of the attached media
chat_from_id: Groups only, message author identifier
edit_date: When was the message last edited
from_id: Author identifier
mention: Whether the user was mentioned in the message
msg_id: ID of the message
scheduled: Whether this is a scheduled message
silent: Whether the message was posted silently (no notification should be issued)
MESSAGE_GAME_SCORE{1} scored {3} in game {2}1. User name
2. Game name
3. Score
attachb64: Base64-encoded version of the attached media
chat_from_id: Groups only, message author identifier
edit_date: When was the message last edited
from_id: Author identifier
mention: Whether the user was mentioned in the message
msg_id: ID of the message
scheduled: Whether this is a scheduled message
silent: Whether the message was posted silently (no notification should be issued)
MESSAGE_INVOICE{1} sent you an invoice for {2}1. User name
2. Product
attachb64: Base64-encoded version of the attached media
chat_from_id: Groups only, message author identifier
edit_date: When was the message last edited
from_id: Author identifier
mention: Whether the user was mentioned in the message
msg_id: ID of the message
scheduled: Whether this is a scheduled message
silent: Whether the message was posted silently (no notification should be issued)
MESSAGE_FWDS{1} forwarded you {2} messages1. User name
2. Number of messages that were forwarded
attachb64: Base64-encoded version of the attached media (related to the first message)
chat_from_id: Groups only, message author identifier (related to the first message)
edit_date: When was the message last edited (related to the first message)
from_id: Author identifier (related to the first message)
mention: Whether the user was mentioned in the message (related to the first message)
msg_id: ID of the message (related to the first message)
silent: Whether the message was posted silently (no notification should be issued) (related to the first message)
MESSAGE_PHOTOS{1} sent you {2} photos1. User name
2. Number of photos that were sent
attachb64: Base64-encoded version of the attached media (related to the first message)
chat_from_id: Groups only, message author identifier (related to the first message)
edit_date: When was the message last edited (related to the first message)
from_id: Author identifier (related to the first message)
mention: Whether the user was mentioned in the message (related to the first message)
msg_id: ID of the message (related to the first message)
silent: Whether the message was posted silently (no notification should be issued) (related to the first message)
MESSAGE_VIDEOS{1} sent you {2} videos1. User name
2. Number of videos that were sent
attachb64: Base64-encoded version of the attached media (related to the first message)
chat_from_id: Groups only, message author identifier (related to the first message)
edit_date: When was the message last edited (related to the first message)
from_id: Author identifier (related to the first message)
mention: Whether the user was mentioned in the message (related to the first message)
msg_id: ID of the message (related to the first message)
silent: Whether the message was posted silently (no notification should be issued) (related to the first message)
MESSAGES{1} sent you an album1. User namefrom_id: author identifier
CHANNEL_MESSAGE_TEXT{1}: {2}1. Channel name
2. Message body
attachb64: Base64-encoded version of the attached media
channel_id: Channel/supergroup identifier
chat_from_id: Groups only, message author identifier
edit_date: When was the message last edited
mention: Whether the user was mentioned in the message
msg_id: ID of the message
scheduled: Whether this is a scheduled message
silent: Whether the message was posted silently (no notification should be issued)
CHANNEL_MESSAGE_NOTEXT{1} posted a message1. Channel nameattachb64: Base64-encoded version of the attached media
channel_id: Channel/supergroup identifier
chat_from_id: Groups only, message author identifier
edit_date: When was the message last edited
mention: Whether the user was mentioned in the message
msg_id: ID of the message
scheduled: Whether this is a scheduled message
silent: Whether the message was posted silently (no notification should be issued)
CHANNEL_MESSAGE_PHOTO{1} posted a photo1. Channel nameattachb64: Base64-encoded version of the attached media
channel_id: Channel/supergroup identifier
chat_from_id: Groups only, message author identifier
edit_date: When was the message last edited
mention: Whether the user was mentioned in the message
msg_id: ID of the message
scheduled: Whether this is a scheduled message
silent: Whether the message was posted silently (no notification should be issued)
CHANNEL_MESSAGE_VIDEO{1} posted a video1. Channel nameattachb64: Base64-encoded version of the attached media
channel_id: Channel/supergroup identifier
chat_from_id: Groups only, message author identifier
edit_date: When was the message last edited
mention: Whether the user was mentioned in the message
msg_id: ID of the message
scheduled: Whether this is a scheduled message
silent: Whether the message was posted silently (no notification should be issued)
CHANNEL_MESSAGE_ROUND{1} posted a video message1. Channel nameattachb64: Base64-encoded version of the attached media
channel_id: Channel/supergroup identifier
chat_from_id: Groups only, message author identifier
edit_date: When was the message last edited
mention: Whether the user was mentioned in the message
msg_id: ID of the message
scheduled: Whether this is a scheduled message
silent: Whether the message was posted silently (no notification should be issued)
CHANNEL_MESSAGE_DOC{1} posted a file1. Message authorattachb64: Base64-encoded version of the attached media
channel_id: Channel/supergroup identifier
chat_from_id: Groups only, message author identifier
edit_date: When was the message last edited
mention: Whether the user was mentioned in the message
msg_id: ID of the message
scheduled: Whether this is a scheduled message
silent: Whether the message was posted silently (no notification should be issued)
CHANNEL_MESSAGE_STICKER{1} posted a {2}sticker1. Channel name
2. Sticker emoji with included trailing space or empty string
attachb64: Base64-encoded version of the attached media
channel_id: Channel/supergroup identifier
chat_from_id: Groups only, message author identifier
edit_date: When was the message last edited
mention: Whether the user was mentioned in the message
msg_id: ID of the message
scheduled: Whether this is a scheduled message
silent: Whether the message was posted silently (no notification should be issued)
CHANNEL_MESSAGE_AUDIO{1} posted a voice message1. Message authorattachb64: Base64-encoded version of the attached media
channel_id: Channel/supergroup identifier
chat_from_id: Groups only, message author identifier
edit_date: When was the message last edited
mention: Whether the user was mentioned in the message
msg_id: ID of the message
scheduled: Whether this is a scheduled message
silent: Whether the message was posted silently (no notification should be issued)
CHANNEL_MESSAGE_CONTACT{1} posted a contact {2}1. Message author
2. Contact name
attachb64: Base64-encoded version of the attached media
channel_id: Channel/supergroup identifier
chat_from_id: Groups only, message author identifier
edit_date: When was the message last edited
mention: Whether the user was mentioned in the message
msg_id: ID of the message
scheduled: Whether this is a scheduled message
silent: Whether the message was posted silently (no notification should be issued)
CHANNEL_MESSAGE_GEO{1} posted a map1. Channel nameattachb64: Base64-encoded version of the attached media
channel_id: Channel/supergroup identifier
chat_from_id: Groups only, message author identifier
edit_date: When was the message last edited
mention: Whether the user was mentioned in the message
msg_id: ID of the message
scheduled: Whether this is a scheduled message
silent: Whether the message was posted silently (no notification should be issued)
CHANNEL_MESSAGE_GEOLIVE{1} posted a live location1. Channel nameattachb64: Base64-encoded version of the attached media
channel_id: Channel/supergroup identifier
chat_from_id: Groups only, message author identifier
edit_date: When was the message last edited
mention: Whether the user was mentioned in the message
msg_id: ID of the message
scheduled: Whether this is a scheduled message
silent: Whether the message was posted silently (no notification should be issued)
CHANNEL_MESSAGE_POLL{1} posted a poll {2}1. Channel name
2. Poll name
attachb64: Base64-encoded version of the attached media
channel_id: Channel/supergroup identifier
chat_from_id: Groups only, message author identifier
edit_date: When was the message last edited
mention: Whether the user was mentioned in the message
msg_id: ID of the message
scheduled: Whether this is a scheduled message
silent: Whether the message was posted silently (no notification should be issued)
CHANNEL_MESSAGE_QUIZ{1} posted a quiz {2}1. Channel name
2. Quiz name
attachb64: Base64-encoded version of the attached media
channel_id: Channel/supergroup identifier
chat_from_id: Groups only, message author identifier
edit_date: When was the message last edited
mention: Whether the user was mentioned in the message
msg_id: ID of the message
scheduled: Whether this is a scheduled message
silent: Whether the message was posted silently (no notification should be issued)
CHANNEL_MESSAGE_GIF{1} posted a GIF1. Channel nameattachb64: Base64-encoded version of the attached media
channel_id: Channel/supergroup identifier
chat_from_id: Groups only, message author identifier
edit_date: When was the message last edited
mention: Whether the user was mentioned in the message
msg_id: ID of the message
scheduled: Whether this is a scheduled message
silent: Whether the message was posted silently (no notification should be issued)
CHANNEL_MESSAGE_GAME{1} invited you to play {2}1. Message author
2. Game name
attachb64: Base64-encoded version of the attached media
channel_id: Channel/supergroup identifier
chat_from_id: Groups only, message author identifier
edit_date: When was the message last edited
mention: Whether the user was mentioned in the message
msg_id: ID of the message
scheduled: Whether this is a scheduled message
silent: Whether the message was posted silently (no notification should be issued)
CHANNEL_MESSAGE_GAME_SCORE{1} scored {3} in game {2}1. User
2. Game name
3. Score
attachb64: Base64-encoded version of the attached media
channel_id: Channel/supergroup identifier
chat_from_id: Groups only, message author identifier
edit_date: When was the message last edited
mention: Whether the user was mentioned in the message
msg_id: ID of the message
scheduled: Whether this is a scheduled message
silent: Whether the message was posted silently (no notification should be issued)
CHANNEL_MESSAGE_FWDS{1} posted {2} forwarded messages1. Message author
2. Number of forwarded messages
attachb64: Base64-encoded version of the attached media (related to the first message)
channel_id: Channel/supergroup identifier (related to the first message)
chat_from_id: Groups only, message author identifier (related to the first message)
edit_date: When was the message last edited (related to the first message)
mention: Whether the user was mentioned in the message (related to the first message)
msg_id: ID of the message (related to the first message)
silent: Whether the message was posted silently (no notification should be issued) (related to the first message)
CHANNEL_MESSAGE_PHOTOS{1} posted {2} photos1. Channel name
2. Number of photos that was sent
attachb64: Base64-encoded version of the attached media (related to the first message)
channel_id: Channel/supergroup identifier (related to the first message)
chat_from_id: Groups only, message author identifier (related to the first message)
edit_date: When was the message last edited (related to the first message)
mention: Whether the user was mentioned in the message (related to the first message)
msg_id: ID of the message (related to the first message)
silent: Whether the message was posted silently (no notification should be issued) (related to the first message)
CHANNEL_MESSAGE_VIDEOS{1} posted {2} videos1. Channel name
2. Number of videos that were posted
attachb64: Base64-encoded version of the attached media (related to the first message)
channel_id: Channel/supergroup identifier (related to the first message)
chat_from_id: Groups only, message author identifier (related to the first message)
edit_date: When was the message last edited (related to the first message)
mention: Whether the user was mentioned in the message (related to the first message)
msg_id: ID of the message (related to the first message)
silent: Whether the message was posted silently (no notification should be issued) (related to the first message)
CHANNEL_MESSAGES{1} posted an album1. Message authorattachb64: Base64-encoded version of the attached media (related to the first message)
channel_id: Channel/supergroup identifier (related to the first message)
chat_from_id: Groups only, message author identifier (related to the first message)
edit_date: When was the message last edited (related to the first message)
mention: Whether the user was mentioned in the message (related to the first message)
msg_id: ID of the message (related to the first message)
silent: Whether the message was posted silently (no notification should be issued) (related to the first message)
CHAT_MESSAGE_TEXT{1}@{2}: {3}1. Message author
2. Chat name
3. Message body
attachb64: Base64-encoded version of the attached media
chat_from_id: Groups only, message author identifier
chat_id: Chat identifier
edit_date: When was the message last edited
mention: Whether the user was mentioned in the message
msg_id: ID of the message
scheduled: Whether this is a scheduled message
silent: Whether the message was posted silently (no notification should be issued)
CHAT_MESSAGE_NOTEXT{1} sent a message to the group {2}1. Message author
2. Chat name
attachb64: Base64-encoded version of the attached media
chat_from_id: Groups only, message author identifier
chat_id: Chat identifier
edit_date: When was the message last edited
mention: Whether the user was mentioned in the message
msg_id: ID of the message
scheduled: Whether this is a scheduled message
silent: Whether the message was posted silently (no notification should be issued)
CHAT_MESSAGE_PHOTO{1} sent a photo to the group {2}1. Message author
2. Chat name
attachb64: Base64-encoded version of the attached media
chat_from_id: Groups only, message author identifier
chat_id: Chat identifier
edit_date: When was the message last edited
mention: Whether the user was mentioned in the message
msg_id: ID of the message
scheduled: Whether this is a scheduled message
silent: Whether the message was posted silently (no notification should be issued)
CHAT_MESSAGE_VIDEO{1} sent a video to the group {2}1. Message author
2. Chat name
attachb64: Base64-encoded version of the attached media
chat_from_id: Groups only, message author identifier
chat_id: Chat identifier
edit_date: When was the message last edited
mention: Whether the user was mentioned in the message
msg_id: ID of the message
scheduled: Whether this is a scheduled message
silent: Whether the message was posted silently (no notification should be issued)
CHAT_MESSAGE_ROUND{1} sent a video message to the group {2}1. User name
2. Group name
attachb64: Base64-encoded version of the attached media
chat_from_id: Groups only, message author identifier
chat_id: Chat identifier
edit_date: When was the message last edited
mention: Whether the user was mentioned in the message
msg_id: ID of the message
scheduled: Whether this is a scheduled message
silent: Whether the message was posted silently (no notification should be issued)
CHAT_MESSAGE_DOC{1} sent a file to the group {2}1. User name
2. Group name
attachb64: Base64-encoded version of the attached media
chat_from_id: Groups only, message author identifier
chat_id: Chat identifier
edit_date: When was the message last edited
mention: Whether the user was mentioned in the message
msg_id: ID of the message
scheduled: Whether this is a scheduled message
silent: Whether the message was posted silently (no notification should be issued)
CHAT_MESSAGE_STICKER{1} sent a {3}sticker to the group {2}1. User name
2. Group name
3. Sticker emoji with included trailing space or empty string
attachb64: Base64-encoded version of the attached media
chat_from_id: Groups only, message author identifier
chat_id: Chat identifier
edit_date: When was the message last edited
mention: Whether the user was mentioned in the message
msg_id: ID of the message
scheduled: Whether this is a scheduled message
silent: Whether the message was posted silently (no notification should be issued)
CHAT_MESSAGE_AUDIO{1} sent a voice message to the group {2}1. Message author
2. Chat name
attachb64: Base64-encoded version of the attached media
chat_from_id: Groups only, message author identifier
chat_id: Chat identifier
edit_date: When was the message last edited
mention: Whether the user was mentioned in the message
msg_id: ID of the message
scheduled: Whether this is a scheduled message
silent: Whether the message was posted silently (no notification should be issued)
CHAT_MESSAGE_CONTACT{1} shared a contact {3} in the group {2}1. User name
2. Group name
3. Contact name
attachb64: Base64-encoded version of the attached media
chat_from_id: Groups only, message author identifier
chat_id: Chat identifier
edit_date: When was the message last edited
mention: Whether the user was mentioned in the message
msg_id: ID of the message
scheduled: Whether this is a scheduled message
silent: Whether the message was posted silently (no notification should be issued)
CHAT_MESSAGE_GEO{1} sent a map to the group {2}1. Message author
2. Chat name
attachb64: Base64-encoded version of the attached media
chat_from_id: Groups only, message author identifier
chat_id: Chat identifier
edit_date: When was the message last edited
mention: Whether the user was mentioned in the message
msg_id: ID of the message
scheduled: Whether this is a scheduled message
silent: Whether the message was posted silently (no notification should be issued)
CHAT_MESSAGE_GEOLIVE{1} started sharing their live location with {2}1. User name
2. Group name
attachb64: Base64-encoded version of the attached media
chat_from_id: Groups only, message author identifier
chat_id: Chat identifier
edit_date: When was the message last edited
mention: Whether the user was mentioned in the message
msg_id: ID of the message
scheduled: Whether this is a scheduled message
silent: Whether the message was posted silently (no notification should be issued)
CHAT_MESSAGE_POLL{1} sent a poll {3} to the group {2}1. User name
2. Group name
3. Poll name
attachb64: Base64-encoded version of the attached media
chat_from_id: Groups only, message author identifier
chat_id: Chat identifier
edit_date: When was the message last edited
mention: Whether the user was mentioned in the message
msg_id: ID of the message
scheduled: Whether this is a scheduled message
silent: Whether the message was posted silently (no notification should be issued)
CHAT_MESSAGE_QUIZ{1} sent a quiz {3} to the group {2}1. User name
2. Group name
3. Quiz name
attachb64: Base64-encoded version of the attached media
chat_from_id: Groups only, message author identifier
chat_id: Chat identifier
edit_date: When was the message last edited
mention: Whether the user was mentioned in the message
msg_id: ID of the message
scheduled: Whether this is a scheduled message
silent: Whether the message was posted silently (no notification should be issued)
CHAT_MESSAGE_GIF{1} sent a GIF to the group {2}1. User name
2. Group name
attachb64: Base64-encoded version of the attached media
chat_from_id: Groups only, message author identifier
chat_id: Chat identifier
edit_date: When was the message last edited
mention: Whether the user was mentioned in the message
msg_id: ID of the message
scheduled: Whether this is a scheduled message
silent: Whether the message was posted silently (no notification should be issued)
CHAT_MESSAGE_GAME{1} invited the group {2} to play {3}.1. User name
2. Group name
3. Game name
attachb64: Base64-encoded version of the attached media
chat_from_id: Groups only, message author identifier
chat_id: Chat identifier
edit_date: When was the message last edited
mention: Whether the user was mentioned in the message
msg_id: ID of the message
scheduled: Whether this is a scheduled message
silent: Whether the message was posted silently (no notification should be issued)
CHAT_MESSAGE_GAME_SCORE{1} scored {4} in game {3} in the group {2}1. User name
2. Group name
3. Game name
4. Score
attachb64: Base64-encoded version of the attached media
chat_from_id: Groups only, message author identifier
chat_id: Chat identifier
edit_date: When was the message last edited
mention: Whether the user was mentioned in the message
msg_id: ID of the message
scheduled: Whether this is a scheduled message
silent: Whether the message was posted silently (no notification should be issued)
CHAT_MESSAGE_INVOICE{1} sent an invoice to the group {2} for {3}1. User name
2. Group name
3. Product name
attachb64: Base64-encoded version of the attached media
chat_from_id: Groups only, message author identifier
chat_id: Chat identifier
edit_date: When was the message last edited
mention: Whether the user was mentioned in the message
msg_id: ID of the message
scheduled: Whether this is a scheduled message
silent: Whether the message was posted silently (no notification should be issued)
CHAT_CREATED{1} invited you to the group {2}1. Message author
2. Chat name
chat_id: chat identifier
CHAT_TITLE_EDITED{1} edited the group's {2} name1. User name
2. Group name
chat_id: chat identifier
CHAT_PHOTO_EDITED{1} edited the group's {2} photo1. Message author
2. Chat name
chat_from_id: Message author identifier
chat_id: chat identifier
msg_id: ID of the message
CHAT_ADD_MEMBER{1} invited {3} to the group {2}1. Message author
2. Chat name
3. New participant name
chat_id: chat identifier
CHAT_ADD_YOU{1} invited you to the group {2}1. User name
2. Group name
chat_id: chat identifier
CHAT_DELETE_MEMBER{1} kicked {3} from the group {2}1. Message author
2. Chat name
3. Dropped participant name
chat_id: chat identifier
CHAT_DELETE_YOU{1} kicked you from the group {2}1. Message author
2. Chat name
chat_id: chat identifier
CHAT_LEFT{1} has left the group {2}1. Message author
2. Chat name
chat_id: chat identifier
CHAT_RETURNED{1} has returned to the group {2}1. Message author
2. Chat name
chat_id: chat identifier
CHAT_JOINED{1} has joined the group {2}1. User name
2. Group name
chat_id: chat identifier
CHAT_MESSAGE_FWDS{1} forwarded {3} messages to the group {2}1. User name
2. Group name
3. Number of messages that were forwarded
attachb64: Base64-encoded version of the attached media (related to the first message)
chat_from_id: Groups only, message author identifier (related to the first message)
chat_id: Chat identifier (related to the first message)
edit_date: When was the message last edited (related to the first message)
mention: Whether the user was mentioned in the message (related to the first message)
msg_id: ID of the message (related to the first message)
silent: Whether the message was posted silently (no notification should be issued) (related to the first message)
CHAT_MESSAGE_PHOTOS{1} sent {3} photos to the group {2}1. User name
2. Group name
3. Number of photos that were sent
attachb64: Base64-encoded version of the attached media (related to the first message)
chat_from_id: Groups only, message author identifier (related to the first message)
chat_id: Chat identifier (related to the first message)
edit_date: When was the message last edited (related to the first message)
mention: Whether the user was mentioned in the message (related to the first message)
msg_id: ID of the message (related to the first message)
silent: Whether the message was posted silently (no notification should be issued) (related to the first message)
CHAT_MESSAGE_VIDEOS{1} sent {3} videos to the group {2}1. User name
2. Group name
3. Number of videos that were sent
attachb64: Base64-encoded version of the attached media (related to the first message)
chat_from_id: Groups only, message author identifier (related to the first message)
chat_id: Chat identifier (related to the first message)
edit_date: When was the message last edited (related to the first message)
mention: Whether the user was mentioned in the message (related to the first message)
msg_id: ID of the message (related to the first message)
silent: Whether the message was posted silently (no notification should be issued) (related to the first message)
CHAT_MESSAGES{1} sent an album to the group {2}1. User name
2. Group name
chat_from_id: Message author identifier
chat_id: chat identifier
mention: Whether the user was mentioned in the message
PINNED_TEXT{1} pinned "{2}"1. User name
2. Message body
attachb64: Base64-encoded version of the attached media
channel_id: For channels and supergroups, Channel/supergroup identifier
chat_from_id: Groups only, message author identifier
chat_id: For chats, Chat identifier
edit_date: When was the message last edited
from_id: For PMs, Author identifier
mention: Whether the user was mentioned in the message
msg_id: ID of the message
silent: Whether the message was posted silently (no notification should be issued)
PINNED_TEXT{1} pinned "{3}" in the group {2}1. User name
2. Group name
3. Message body
attachb64: Base64-encoded version of the attached media
channel_id: For channels and supergroups, Channel/supergroup identifier
chat_from_id: Groups only, message author identifier
chat_id: For chats, Chat identifier
edit_date: When was the message last edited
from_id: For PMs, Author identifier
mention: Whether the user was mentioned in the message
msg_id: ID of the message
silent: Whether the message was posted silently (no notification should be issued)
PINNED_NOTEXT{1} pinned a message1. User nameattachb64: Base64-encoded version of the attached media
channel_id: For channels and supergroups, Channel/supergroup identifier
chat_from_id: Groups only, message author identifier
chat_id: For chats, Chat identifier
edit_date: When was the message last edited
from_id: For PMs, Author identifier
mention: Whether the user was mentioned in the message
msg_id: ID of the message
silent: Whether the message was posted silently (no notification should be issued)
PINNED_NOTEXT{1} pinned a message in the group {2}1. User name
2. Group name
attachb64: Base64-encoded version of the attached media
channel_id: For channels and supergroups, Channel/supergroup identifier
chat_from_id: Groups only, message author identifier
chat_id: For chats, Chat identifier
edit_date: When was the message last edited
from_id: For PMs, Author identifier
mention: Whether the user was mentioned in the message
msg_id: ID of the message
silent: Whether the message was posted silently (no notification should be issued)
PINNED_PHOTO{1} pinned a photo1. User nameattachb64: Base64-encoded version of the attached media
channel_id: For channels and supergroups, Channel/supergroup identifier
chat_from_id: Groups only, message author identifier
chat_id: For chats, Chat identifier
edit_date: When was the message last edited
from_id: For PMs, Author identifier
mention: Whether the user was mentioned in the message
msg_id: ID of the message
silent: Whether the message was posted silently (no notification should be issued)
PINNED_PHOTO{1} pinned a photo in the group {2}1. User name
2. Group name
attachb64: Base64-encoded version of the attached media
channel_id: For channels and supergroups, Channel/supergroup identifier
chat_from_id: Groups only, message author identifier
chat_id: For chats, Chat identifier
edit_date: When was the message last edited
from_id: For PMs, Author identifier
mention: Whether the user was mentioned in the message
msg_id: ID of the message
silent: Whether the message was posted silently (no notification should be issued)
PINNED_VIDEO{1} pinned a video1. User nameattachb64: Base64-encoded version of the attached media
channel_id: For channels and supergroups, Channel/supergroup identifier
chat_from_id: Groups only, message author identifier
chat_id: For chats, Chat identifier
edit_date: When was the message last edited
from_id: For PMs, Author identifier
mention: Whether the user was mentioned in the message
msg_id: ID of the message
silent: Whether the message was posted silently (no notification should be issued)
PINNED_VIDEO{1} pinned a video in the group {2}1. User name
2. Group name
attachb64: Base64-encoded version of the attached media
channel_id: For channels and supergroups, Channel/supergroup identifier
chat_from_id: Groups only, message author identifier
chat_id: For chats, Chat identifier
edit_date: When was the message last edited
from_id: For PMs, Author identifier
mention: Whether the user was mentioned in the message
msg_id: ID of the message
silent: Whether the message was posted silently (no notification should be issued)
PINNED_ROUND{1} pinned a video message1. User nameattachb64: Base64-encoded version of the attached media
channel_id: For channels and supergroups, Channel/supergroup identifier
chat_from_id: Groups only, message author identifier
chat_id: For chats, Chat identifier
edit_date: When was the message last edited
from_id: For PMs, Author identifier
mention: Whether the user was mentioned in the message
msg_id: ID of the message
silent: Whether the message was posted silently (no notification should be issued)
PINNED_ROUND{1} pinned a video message in the group {2}1. User name
2. Group name
attachb64: Base64-encoded version of the attached media
channel_id: For channels and supergroups, Channel/supergroup identifier
chat_from_id: Groups only, message author identifier
chat_id: For chats, Chat identifier
edit_date: When was the message last edited
from_id: For PMs, Author identifier
mention: Whether the user was mentioned in the message
msg_id: ID of the message
silent: Whether the message was posted silently (no notification should be issued)
PINNED_DOC{1} pinned a file1. User nameattachb64: Base64-encoded version of the attached media
channel_id: For channels and supergroups, Channel/supergroup identifier
chat_from_id: Groups only, message author identifier
chat_id: For chats, Chat identifier
edit_date: When was the message last edited
from_id: For PMs, Author identifier
mention: Whether the user was mentioned in the message
msg_id: ID of the message
silent: Whether the message was posted silently (no notification should be issued)
PINNED_DOC{1} pinned a file in the group {2}1. User name
2. Group name
attachb64: Base64-encoded version of the attached media
channel_id: For channels and supergroups, Channel/supergroup identifier
chat_from_id: Groups only, message author identifier
chat_id: For chats, Chat identifier
edit_date: When was the message last edited
from_id: For PMs, Author identifier
mention: Whether the user was mentioned in the message
msg_id: ID of the message
silent: Whether the message was posted silently (no notification should be issued)
PINNED_STICKER{1} pinned a {2}sticker1. User name
2. Sticker emoji with included trailing space or empty string
attachb64: Base64-encoded version of the attached media
channel_id: For channels and supergroups, Channel/supergroup identifier
chat_from_id: Groups only, message author identifier
chat_id: For chats, Chat identifier
edit_date: When was the message last edited
from_id: For PMs, Author identifier
mention: Whether the user was mentioned in the message
msg_id: ID of the message
silent: Whether the message was posted silently (no notification should be issued)
PINNED_STICKER{1} pinned a {3}sticker in the group {2}1. User name
2. Group name
3. Sticker emoji with included trailing space or empty string
attachb64: Base64-encoded version of the attached media
channel_id: For channels and supergroups, Channel/supergroup identifier
chat_from_id: Groups only, message author identifier
chat_id: For chats, Chat identifier
edit_date: When was the message last edited
from_id: For PMs, Author identifier
mention: Whether the user was mentioned in the message
msg_id: ID of the message
silent: Whether the message was posted silently (no notification should be issued)
PINNED_AUDIO{1} pinned a voice message1. User nameattachb64: Base64-encoded version of the attached media
channel_id: For channels and supergroups, Channel/supergroup identifier
chat_from_id: Groups only, message author identifier
chat_id: For chats, Chat identifier
edit_date: When was the message last edited
from_id: For PMs, Author identifier
mention: Whether the user was mentioned in the message
msg_id: ID of the message
silent: Whether the message was posted silently (no notification should be issued)
PINNED_AUDIO{1} pinned a voice message in the group {2}1. User name
2. Group name
attachb64: Base64-encoded version of the attached media
channel_id: For channels and supergroups, Channel/supergroup identifier
chat_from_id: Groups only, message author identifier
chat_id: For chats, Chat identifier
edit_date: When was the message last edited
from_id: For PMs, Author identifier
mention: Whether the user was mentioned in the message
msg_id: ID of the message
silent: Whether the message was posted silently (no notification should be issued)
PINNED_CONTACT{1} pinned a contact {2}1. User name
2. Contact name
attachb64: Base64-encoded version of the attached media
channel_id: For channels and supergroups, Channel/supergroup identifier
chat_from_id: Groups only, message author identifier
chat_id: For chats, Chat identifier
edit_date: When was the message last edited
from_id: For PMs, Author identifier
mention: Whether the user was mentioned in the message
msg_id: ID of the message
silent: Whether the message was posted silently (no notification should be issued)
PINNED_CONTACT{1} pinned a contact {3} in the group {2}1. User name
2. Group name
3. Contact name
attachb64: Base64-encoded version of the attached media
channel_id: For channels and supergroups, Channel/supergroup identifier
chat_from_id: Groups only, message author identifier
chat_id: For chats, Chat identifier
edit_date: When was the message last edited
from_id: For PMs, Author identifier
mention: Whether the user was mentioned in the message
msg_id: ID of the message
silent: Whether the message was posted silently (no notification should be issued)
PINNED_GEO{1} pinned a map1. User nameattachb64: Base64-encoded version of the attached media
channel_id: For channels and supergroups, Channel/supergroup identifier
chat_from_id: Groups only, message author identifier
chat_id: For chats, Chat identifier
edit_date: When was the message last edited
from_id: For PMs, Author identifier
mention: Whether the user was mentioned in the message
msg_id: ID of the message
silent: Whether the message was posted silently (no notification should be issued)
PINNED_GEO{1} pinned a map in the group {2}1. User name
2. Group name
attachb64: Base64-encoded version of the attached media
channel_id: For channels and supergroups, Channel/supergroup identifier
chat_from_id: Groups only, message author identifier
chat_id: For chats, Chat identifier
edit_date: When was the message last edited
from_id: For PMs, Author identifier
mention: Whether the user was mentioned in the message
msg_id: ID of the message
silent: Whether the message was posted silently (no notification should be issued)
PINNED_GEOLIVE{1} pinned a live location1. User nameattachb64: Base64-encoded version of the attached media
channel_id: For channels and supergroups, Channel/supergroup identifier
chat_from_id: Groups only, message author identifier
chat_id: For chats, Chat identifier
edit_date: When was the message last edited
from_id: For PMs, Author identifier
mention: Whether the user was mentioned in the message
msg_id: ID of the message
silent: Whether the message was posted silently (no notification should be issued)
PINNED_GEOLIVE{1} pinned a live location in the group {2}1. User name
2. Group name
attachb64: Base64-encoded version of the attached media
channel_id: For channels and supergroups, Channel/supergroup identifier
chat_from_id: Groups only, message author identifier
chat_id: For chats, Chat identifier
edit_date: When was the message last edited
from_id: For PMs, Author identifier
mention: Whether the user was mentioned in the message
msg_id: ID of the message
silent: Whether the message was posted silently (no notification should be issued)
PINNED_POLL{1} pinned a poll {2}1. User name
2. Poll name
attachb64: Base64-encoded version of the attached media
channel_id: For channels and supergroups, Channel/supergroup identifier
chat_from_id: Groups only, message author identifier
chat_id: For chats, Chat identifier
edit_date: When was the message last edited
from_id: For PMs, Author identifier
mention: Whether the user was mentioned in the message
msg_id: ID of the message
silent: Whether the message was posted silently (no notification should be issued)
PINNED_POLL{1} pinned a poll {3} in the group {2}1. User name
2. Group name
3. Poll name
attachb64: Base64-encoded version of the attached media
channel_id: For channels and supergroups, Channel/supergroup identifier
chat_from_id: Groups only, message author identifier
chat_id: For chats, Chat identifier
edit_date: When was the message last edited
from_id: For PMs, Author identifier
mention: Whether the user was mentioned in the message
msg_id: ID of the message
silent: Whether the message was posted silently (no notification should be issued)
PINNED_QUIZ{1} pinned a quiz {2}1. User name
2. Quiz name
attachb64: Base64-encoded version of the attached media
channel_id: For channels and supergroups, Channel/supergroup identifier
chat_from_id: Groups only, message author identifier
chat_id: For chats, Chat identifier
edit_date: When was the message last edited
from_id: For PMs, Author identifier
mention: Whether the user was mentioned in the message
msg_id: ID of the message
silent: Whether the message was posted silently (no notification should be issued)
PINNED_QUIZ{1} pinned a quiz {3} in the group {2}1. User name
2. Group name
3. Quiz name
attachb64: Base64-encoded version of the attached media
channel_id: For channels and supergroups, Channel/supergroup identifier
chat_from_id: Groups only, message author identifier
chat_id: For chats, Chat identifier
edit_date: When was the message last edited
from_id: For PMs, Author identifier
mention: Whether the user was mentioned in the message
msg_id: ID of the message
silent: Whether the message was posted silently (no notification should be issued)
PINNED_GAME{1} pinned a game1. User nameattachb64: Base64-encoded version of the attached media
channel_id: For channels and supergroups, Channel/supergroup identifier
chat_from_id: Groups only, message author identifier
chat_id: For chats, Chat identifier
edit_date: When was the message last edited
from_id: For PMs, Author identifier
mention: Whether the user was mentioned in the message
msg_id: ID of the message
silent: Whether the message was posted silently (no notification should be issued)
PINNED_GAME{1} pinned a game in the group {2}1. User name
2. Group name
attachb64: Base64-encoded version of the attached media
channel_id: For channels and supergroups, Channel/supergroup identifier
chat_from_id: Groups only, message author identifier
chat_id: For chats, Chat identifier
edit_date: When was the message last edited
from_id: For PMs, Author identifier
mention: Whether the user was mentioned in the message
msg_id: ID of the message
silent: Whether the message was posted silently (no notification should be issued)
PINNED_GAME_SCORE{1} pinned a game score1. User nameattachb64: Base64-encoded version of the attached media
channel_id: For channels and supergroups, Channel/supergroup identifier
chat_from_id: Groups only, message author identifier
chat_id: For chats, Chat identifier
edit_date: When was the message last edited
from_id: For PMs, Author identifier
mention: Whether the user was mentioned in the message
msg_id: ID of the message
silent: Whether the message was posted silently (no notification should be issued)
PINNED_GAME_SCORE{1} pinned a game score in the group {2}1. User name
2. Group name
attachb64: Base64-encoded version of the attached media
channel_id: For channels and supergroups, Channel/supergroup identifier
chat_from_id: Groups only, message author identifier
chat_id: For chats, Chat identifier
edit_date: When was the message last edited
from_id: For PMs, Author identifier
mention: Whether the user was mentioned in the message
msg_id: ID of the message
silent: Whether the message was posted silently (no notification should be issued)
PINNED_INVOICE{1} pinned an invoice1. User nameattachb64: Base64-encoded version of the attached media
channel_id: For channels and supergroups, Channel/supergroup identifier
chat_from_id: Groups only, message author identifier
chat_id: For chats, Chat identifier
edit_date: When was the message last edited
from_id: For PMs, Author identifier
mention: Whether the user was mentioned in the message
msg_id: ID of the message
silent: Whether the message was posted silently (no notification should be issued)
PINNED_INVOICE{1} pinned an invoice in the group {2}1. User name
2. Group name
attachb64: Base64-encoded version of the attached media
channel_id: For channels and supergroups, Channel/supergroup identifier
chat_from_id: Groups only, message author identifier
chat_id: For chats, Chat identifier
edit_date: When was the message last edited
from_id: For PMs, Author identifier
mention: Whether the user was mentioned in the message
msg_id: ID of the message
silent: Whether the message was posted silently (no notification should be issued)
PINNED_GIF{1} pinned a GIF1. User nameattachb64: Base64-encoded version of the attached media
channel_id: For channels and supergroups, Channel/supergroup identifier
chat_from_id: Groups only, message author identifier
chat_id: For chats, Chat identifier
edit_date: When was the message last edited
from_id: For PMs, Author identifier
mention: Whether the user was mentioned in the message
msg_id: ID of the message
silent: Whether the message was posted silently (no notification should be issued)
PINNED_GIF{1} pinned a GIF in the group {2}1. User name
2. Group name
attachb64: Base64-encoded version of the attached media
channel_id: For channels and supergroups, Channel/supergroup identifier
chat_from_id: Groups only, message author identifier
chat_id: For chats, Chat identifier
edit_date: When was the message last edited
from_id: For PMs, Author identifier
mention: Whether the user was mentioned in the message
msg_id: ID of the message
silent: Whether the message was posted silently (no notification should be issued)
CONTACT_JOINED{1} joined Telegram!1. Contact namecontact_id: contact identifier
AUTH_UNKNOWNNew login from unrecognized device {1}1. Device name 
AUTH_REGIONNew login from unrecognized device {1}, location: {2}1. Device name
2. Location
 
ENCRYPTION_REQUESTYou have a new message encryption_id: secret chat identifier
ENCRYPTION_ACCEPTYou have a new message encryption_id: secret chat identifier
ENCRYPTED_MESSAGEYou have a new message encryption_id: secret chat identifier
random_id: message identifier
LOCKED_MESSAGEYou have a new message  
PHONE_CALL_REQUEST{1} is calling you!1. User namecall_ah: Call access hash
call_id: Call ID
PHONE_CALL_MISSEDYou missed a call from {1}1. User name 
MESSAGE_ANNOUNCEMENT{1}1. Announcementannouncement: Announcement: roughly equivalent to a message received from the service notifications (Telegram Notifications, id 777000) user, but must be delivered via push notifications, without contacting the API.
- -
- -
-
- -
- - - - - - - - diff --git a/data/corefork.telegram.org/constructor/account.privacyRules b/data/corefork.telegram.org/constructor/account.privacyRules deleted file mode 100644 index 76a71383de..0000000000 --- a/data/corefork.telegram.org/constructor/account.privacyRules +++ /dev/null @@ -1,157 +0,0 @@ - - - - - account.privacyRules - - - - - - - - - - - - - -
- -
-
-
- -

account.privacyRules

- -

Privacy rules

-

- -
-
account.privacyRules#50a04e45 rules:Vector<PrivacyRule> chats:Vector<Chat> users:Vector<User> = account.PrivacyRules;

-

Parameters

- - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
rulesVector<PrivacyRule>Privacy rules
chatsVector<Chat>Chats to which the rules apply
usersVector<User>Users to which the rules apply
-

Type

-

account.PrivacyRules

- -
- -
-
- -
- - - - - - diff --git a/data/corefork.telegram.org/constructor/auth.exportedAuthorization b/data/corefork.telegram.org/constructor/auth.exportedAuthorization deleted file mode 100644 index 2576127a56..0000000000 --- a/data/corefork.telegram.org/constructor/auth.exportedAuthorization +++ /dev/null @@ -1,152 +0,0 @@ - - - - - auth.exportedAuthorization - - - - - - - - - - - - - -
- -
-
-
- -

auth.exportedAuthorization

- -

Data for copying of authorization between data centres.

-

- -
-
auth.exportedAuthorization#b434e2b8 id:long bytes:bytes = auth.ExportedAuthorization;

-

Parameters

- - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
idintcurrent user identifier
bytesbytesauthorizes key
-

Type

-

auth.ExportedAuthorization

- -
- -
-
- -
- - - - - - diff --git a/data/corefork.telegram.org/constructor/channelAdminLogEventActionParticipantToggleAdmin.html b/data/corefork.telegram.org/constructor/channelAdminLogEventActionParticipantToggleAdmin.html deleted file mode 100644 index bcace98ea3..0000000000 --- a/data/corefork.telegram.org/constructor/channelAdminLogEventActionParticipantToggleAdmin.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - channelAdminLogEventActionParticipantToggleAdmin - - - - - - - - - - - - - -
- -
-
-
- -

channelAdminLogEventActionParticipantToggleAdmin

- -

The admin rights of a user were changed

-

- -
-
channelAdminLogEventActionParticipantToggleAdmin#d5676710 prev_participant:ChannelParticipant new_participant:ChannelParticipant = ChannelAdminLogEventAction;

-

Parameters

- - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
prev_participantChannelParticipantPrevious admin rights
new_participantChannelParticipantNew admin rights
-

Type

-

ChannelAdminLogEventAction

-

Related pages

-

Admin, banned, default rights

-

How to handle admin permissions, granular bans and global permissions in channels, groups and supergroups.

- -
- -
-
- -
- - - - - - diff --git a/data/corefork.telegram.org/constructor/channelLocation.html b/data/corefork.telegram.org/constructor/channelLocation.html deleted file mode 100644 index 35d66dbd99..0000000000 --- a/data/corefork.telegram.org/constructor/channelLocation.html +++ /dev/null @@ -1,152 +0,0 @@ - - - - - channelLocation - - - - - - - - - - - - - -
- -
-
-
- -

channelLocation

- -

Geographical location of supergroup (geogroups)

-

- -
-
channelLocation#209b82db geo_point:GeoPoint address:string = ChannelLocation;

-

Parameters

- - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
geo_pointGeoPointGeographical location of supergrup
addressstringTextual description of the address
-

Type

-

ChannelLocation

- -
- -
-
- -
- - - - - - diff --git a/data/corefork.telegram.org/constructor/documentAttributeImageSize.html b/data/corefork.telegram.org/constructor/documentAttributeImageSize.html deleted file mode 100644 index d995035d55..0000000000 --- a/data/corefork.telegram.org/constructor/documentAttributeImageSize.html +++ /dev/null @@ -1,152 +0,0 @@ - - - - - documentAttributeImageSize - - - - - - - - - - - - - -
- -
-
-
- -

documentAttributeImageSize

- -

Defines the width and height of an image uploaded as document

-

- -
-
documentAttributeImageSize#6c37c15c w:int h:int = DocumentAttribute;

-

Parameters

- - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wintWidth of image
hintHeight of image
-

Type

-

DocumentAttribute

- -
- -
-
- -
- - - - - - diff --git a/data/corefork.telegram.org/constructor/inputClientProxy.html b/data/corefork.telegram.org/constructor/inputClientProxy.html deleted file mode 100644 index ffa5745730..0000000000 --- a/data/corefork.telegram.org/constructor/inputClientProxy.html +++ /dev/null @@ -1,154 +0,0 @@ - - - - - inputClientProxy - - - - - - - - - - - - - -
- -
-
-
- -

inputClientProxy

- -

Info about an MTProxy used to connect.

-

- -
-
inputClientProxy#75588b3f address:string port:int = InputClientProxy;

-

Parameters

- - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
addressstringProxy address
portintProxy port
-

Type

-

InputClientProxy

-

Related pages

-

MTProto transports

- -
- -
-
- -
- - - - - - diff --git a/data/corefork.telegram.org/constructor/inputUserEmpty.html b/data/corefork.telegram.org/constructor/inputUserEmpty.html deleted file mode 100644 index 0eed14c750..0000000000 --- a/data/corefork.telegram.org/constructor/inputUserEmpty.html +++ /dev/null @@ -1,132 +0,0 @@ - - - - - inputUserEmpty - - - - - - - - - - - - - -
- -
-
-
- -

inputUserEmpty

- -

Empty constructor, does not define a user.

-

- -
-
inputUserEmpty#b98886cf = InputUser;

-

Parameters

-

This constructor does not require any parameters.

-

Type

-

InputUser

- -
- -
-
- -
- - - - - - diff --git a/data/corefork.telegram.org/constructor/inputWebDocument.html b/data/corefork.telegram.org/constructor/inputWebDocument.html deleted file mode 100644 index 891628d770..0000000000 --- a/data/corefork.telegram.org/constructor/inputWebDocument.html +++ /dev/null @@ -1,165 +0,0 @@ - - - - - inputWebDocument - - - - - - - - - - - - - -
- -
-
-
- -

inputWebDocument

- -

The document

-

- -
-
inputWebDocument#9bed434d url:string size:int mime_type:string attributes:Vector<DocumentAttribute> = InputWebDocument;

-

Parameters

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
urlstringRemote document URL to be downloaded using the appropriate method
sizeintRemote file size
mime_typestringMime type
attributesVector<DocumentAttribute>Attributes for media types
-

Type

-

InputWebDocument

-

Related pages

-

Uploading and Downloading Files

-

How to transfer large data batches correctly.

- -
- -
-
- -
- - - - - - diff --git a/data/corefork.telegram.org/constructor/messageActionChannelMigrateFrom.html b/data/corefork.telegram.org/constructor/messageActionChannelMigrateFrom.html deleted file mode 100644 index f87e731df8..0000000000 --- a/data/corefork.telegram.org/constructor/messageActionChannelMigrateFrom.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - messageActionChannelMigrateFrom - - - - - - - - - - - - - -
- -
-
-
- -

messageActionChannelMigrateFrom

- -

Indicates the channel was migrated from the specified chat

-

- -
-
messageActionChannelMigrateFrom#ea3948e9 title:string chat_id:long = MessageAction;

-

Parameters

- - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
titlestringThe old chat tite
chat_idintThe old chat ID
-

Type

-

MessageAction

-

Related pages

-

Channels

-

How to handle channels, supergroups, groups, and what's the difference between them.

- -
- -
-
- -
- - - - - - diff --git a/data/corefork.telegram.org/constructor/messageActionSetChatTheme.html b/data/corefork.telegram.org/constructor/messageActionSetChatTheme.html deleted file mode 100644 index d5ee06e469..0000000000 --- a/data/corefork.telegram.org/constructor/messageActionSetChatTheme.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - Page not found - - - - - - - - - - - - - -
- -
-
-
- -

Page not found

- -
The page has not been saved
- -
- -
-
- -
- - - - - - diff --git a/data/corefork.telegram.org/constructor/messageUserVoteMultiple.html b/data/corefork.telegram.org/constructor/messageUserVoteMultiple.html deleted file mode 100644 index 4fce4f7e6c..0000000000 --- a/data/corefork.telegram.org/constructor/messageUserVoteMultiple.html +++ /dev/null @@ -1,157 +0,0 @@ - - - - - messageUserVoteMultiple - - - - - - - - - - - - - -
- -
-
-
- -

messageUserVoteMultiple

- -

How a user voted in a multiple-choice poll

-

- -
-
messageUserVoteMultiple#8a65e557 user_id:long options:Vector<bytes> date:int = MessageUserVote;

-

Parameters

- - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
user_idintUser ID
optionsVector<bytes>Options chosen by the user
dateintWhen did the user cast their votes
-

Type

-

MessageUserVote

- -
- -
-
- -
- - - - - - diff --git a/data/corefork.telegram.org/constructor/messages.discussionMessage b/data/corefork.telegram.org/constructor/messages.discussionMessage deleted file mode 100644 index 155a26827d..0000000000 --- a/data/corefork.telegram.org/constructor/messages.discussionMessage +++ /dev/null @@ -1,180 +0,0 @@ - - - - - messages.discussionMessage - - - - - - - - - - - - - -
- -
-
-
- -

messages.discussionMessage

- -

Information about a message thread

-

- -
-
messages.discussionMessage#a6341782 flags:# messages:Vector<Message> max_id:flags.0?int read_inbox_max_id:flags.1?int read_outbox_max_id:flags.2?int unread_count:int chats:Vector<Chat> users:Vector<User> = messages.DiscussionMessage;

-

Parameters

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
flags#Flags, see TL conditional fields
messagesVector<Message>Discussion messages
max_idflags.0?intMessage ID of latest reply in this thread
read_inbox_max_idflags.1?intMessage ID of latest read incoming message in this thread
read_outbox_max_idflags.2?intMessage ID of latest read outgoing message in this thread
chatsVector<Chat>Chats mentioned in constructor
usersVector<User>Users mentioned in constructor
-

Type

-

messages.DiscussionMessage

-

Related pages

-

Threads

-

Telegram allows commenting on a channel post or on a generic supergroup message, thanks to message threads.

- -
- -
-
- -
- - - - - - diff --git a/data/corefork.telegram.org/constructor/messages.foundStickerSetsNotModified b/data/corefork.telegram.org/constructor/messages.foundStickerSetsNotModified deleted file mode 100644 index 1317f70851..0000000000 --- a/data/corefork.telegram.org/constructor/messages.foundStickerSetsNotModified +++ /dev/null @@ -1,132 +0,0 @@ - - - - - messages.foundStickerSetsNotModified - - - - - - - - - - - - - -
- -
-
-
- -

messages.foundStickerSetsNotModified

- -

No further results were found

-

- -
-
messages.foundStickerSetsNotModified#d54b65d = messages.FoundStickerSets;

-

Parameters

-

This constructor does not require any parameters.

-

Type

-

messages.FoundStickerSets

- -
- -
-
- -
- - - - - - diff --git a/data/corefork.telegram.org/constructor/messages.searchCounter b/data/corefork.telegram.org/constructor/messages.searchCounter deleted file mode 100644 index 175b98749b..0000000000 --- a/data/corefork.telegram.org/constructor/messages.searchCounter +++ /dev/null @@ -1,165 +0,0 @@ - - - - - messages.searchCounter - - - - - - - - - - - - - -
- -
-
-
- -

messages.searchCounter

- -

Indicates how many results would be found by a messages.search call with the same parameters

-

- -
-
messages.searchCounter#e844ebff flags:# inexact:flags.1?true filter:MessagesFilter count:int = messages.SearchCounter;

-

Parameters

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
flags#Flags, see TL conditional fields
inexactflags.1?trueIf set, the results may be inexact
filterMessagesFilterProvided message filter
countintNumber of results that were found server-side
-

Type

-

messages.SearchCounter

-

Related pages

-

messages.search

-

Gets back found messages

- -
- -
-
- -
- - - - - - diff --git a/data/corefork.telegram.org/constructor/messages.sentEncryptedFile b/data/corefork.telegram.org/constructor/messages.sentEncryptedFile deleted file mode 100644 index 1a123f1f2d..0000000000 --- a/data/corefork.telegram.org/constructor/messages.sentEncryptedFile +++ /dev/null @@ -1,152 +0,0 @@ - - - - - messages.sentEncryptedFile - - - - - - - - - - - - - -
- -
-
-
- -

messages.sentEncryptedFile

- -

Message with a file enclosure sent to a protected chat

-

- -
-
messages.sentEncryptedFile#9493ff32 date:int file:EncryptedFile = messages.SentEncryptedMessage;

-

Parameters

- - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
dateintSending date
fileEncryptedFileAttached file
-

Type

-

messages.SentEncryptedMessage

- -
- -
-
- -
- - - - - - diff --git a/data/corefork.telegram.org/constructor/peerBlocked.html b/data/corefork.telegram.org/constructor/peerBlocked.html deleted file mode 100644 index 4f6847aa89..0000000000 --- a/data/corefork.telegram.org/constructor/peerBlocked.html +++ /dev/null @@ -1,152 +0,0 @@ - - - - - peerBlocked - - - - - - - - - - - - - -
- -
-
-
- -

peerBlocked

- -

Information about a blocked peer

-

- -
-
peerBlocked#e8fd8014 peer_id:Peer date:int = PeerBlocked;

-

Parameters

- - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
peer_idPeerPeer ID
dateintWhen was the peer blocked
-

Type

-

PeerBlocked

- -
- -
-
- -
- - - - - - diff --git a/data/corefork.telegram.org/constructor/replyKeyboardMarkup.html b/data/corefork.telegram.org/constructor/replyKeyboardMarkup.html deleted file mode 100644 index f1a6eaa2a7..0000000000 --- a/data/corefork.telegram.org/constructor/replyKeyboardMarkup.html +++ /dev/null @@ -1,167 +0,0 @@ - - - - - replyKeyboardMarkup - - - - - - - - - - - - - -
- -
-
-
- -

replyKeyboardMarkup

- -

Bot keyboard

-

- -
-
replyKeyboardMarkup#85dd99d1 flags:# resize:flags.0?true single_use:flags.1?true selective:flags.2?true rows:Vector<KeyboardButtonRow> placeholder:flags.3?string = ReplyMarkup;

-

Parameters

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
flags#Flags, see TL conditional fields
resizeflags.0?trueRequests clients to resize the keyboard vertically for optimal fit (e.g., make the keyboard smaller if there are just two rows of buttons). If not set, the custom keyboard is always of the same height as the app's standard keyboard.
single_useflags.1?trueRequests clients to hide the keyboard as soon as it's been used. The keyboard will still be available, but clients will automatically display the usual letter-keyboard in the chat – the user can press a special button in the input field to see the custom keyboard again.
selectiveflags.2?trueUse this parameter if you want to show the keyboard to specific users only. Targets: 1) users that are @mentioned in the text of the Message object; 2) if the bot's message is a reply (has reply_to_message_id), sender of the original message.

Example: A user requests to change the bot‘s language, bot replies to the request with a keyboard to select the new language. Other users in the group don’t see the keyboard.
rowsVector<KeyboardButtonRow>Button row
-

Type

-

ReplyMarkup

- -
- -
-
- -
- - - - - - diff --git a/data/corefork.telegram.org/constructor/sendMessageGeoLocationAction.html b/data/corefork.telegram.org/constructor/sendMessageGeoLocationAction.html deleted file mode 100644 index 00f1c431bb..0000000000 --- a/data/corefork.telegram.org/constructor/sendMessageGeoLocationAction.html +++ /dev/null @@ -1,132 +0,0 @@ - - - - - sendMessageGeoLocationAction - - - - - - - - - - - - - -
- -
-
-
- -

sendMessageGeoLocationAction

- -

User is selecting a location to share.

-

- -
-
sendMessageGeoLocationAction#176f8ba1 = SendMessageAction;

-

Parameters

-

This constructor does not require any parameters.

-

Type

-

SendMessageAction

- -
- -
-
- -
- - - - - - diff --git a/data/corefork.telegram.org/constructor/updateDeleteMessages.html b/data/corefork.telegram.org/constructor/updateDeleteMessages.html deleted file mode 100644 index ba8cc5244e..0000000000 --- a/data/corefork.telegram.org/constructor/updateDeleteMessages.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - updateDeleteMessages - - - - - - - - - - - - - -
- -
-
-
- -

updateDeleteMessages

- -

Messages were deleted.

-

- -
-
updateDeleteMessages#a20db0e5 messages:Vector<int> pts:int pts_count:int = Update;

-

Parameters

- - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
messagesVector<int>List of identifiers of deleted messages
ptsintNew quality of actions in a message box
pts_countintNumber of generated events
-

Type

-

Update

-

Related pages

-

Working with Updates

-

How to subscribe to updates and handle them properly.

- -
- -
-
- -
- - - - - - diff --git a/data/corefork.telegram.org/constructor/updateNotifySettings.html b/data/corefork.telegram.org/constructor/updateNotifySettings.html deleted file mode 100644 index 2a680c13f5..0000000000 --- a/data/corefork.telegram.org/constructor/updateNotifySettings.html +++ /dev/null @@ -1,152 +0,0 @@ - - - - - updateNotifySettings - - - - - - - - - - - - - -
- -
-
-
- -

updateNotifySettings

- -

Changes in notification settings.

-

- -
-
updateNotifySettings#bec268ef peer:NotifyPeer notify_settings:PeerNotifySettings = Update;

-

Parameters

- - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
peerNotifyPeerNofication source
notify_settingsPeerNotifySettingsNew notification settings
-

Type

-

Update

- -
- -
-
- -
- - - - - - diff --git a/data/corefork.telegram.org/method/account.checkUsername b/data/corefork.telegram.org/method/account.checkUsername deleted file mode 100644 index 8bda2e9eaf..0000000000 --- a/data/corefork.telegram.org/method/account.checkUsername +++ /dev/null @@ -1,167 +0,0 @@ - - - - - account.checkUsername - - - - - - - - - - - - - -
- -
-
-
- -

account.checkUsername

- -

Validates a username and checks availability.

-

- -
-
boolFalse#bc799737 = Bool;
-boolTrue#997275b5 = Bool;
----functions---
-account.checkUsername#2714d86c username:string = Bool;

-

Parameters

- - - - - - - - - - - - - - - -
NameTypeDescription
usernamestringusername
Accepted characters: A-z (case-insensitive), 0-9 and underscores.
Length: 5-32 characters.
-

Result

-

Return Bool result on whether the passed username can be used.

-

Possible errors

- - - - - - - - - - - - - - - -
CodeTypeDescription
400USERNAME_INVALIDUnacceptable username
- -
- -
-
- -
- - - - - - diff --git a/data/corefork.telegram.org/method/account.confirmPhone b/data/corefork.telegram.org/method/account.confirmPhone deleted file mode 100644 index 42d7d59d3e..0000000000 --- a/data/corefork.telegram.org/method/account.confirmPhone +++ /dev/null @@ -1,180 +0,0 @@ - - - - - account.confirmPhone - - - - - - - - - - - - - -
- -
-
-
- -

account.confirmPhone

- -

Confirm a phone number to cancel account deletion, for more info click here »

-

- -
-
boolFalse#bc799737 = Bool;
-boolTrue#997275b5 = Bool;
----functions---
-account.confirmPhone#5f2178c3 phone_code_hash:string phone_code:string = Bool;

-

Parameters

- - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
phone_code_hashstringPhone code hash, for more info click here »
phone_codestringSMS code, for more info click here »
-

Result

-

Bool

-

Possible errors

- - - - - - - - - - - - - - - - - - - - -
CodeTypeDescription
400CODE_HASH_INVALIDCode hash invalid
400PHONE_CODE_EMPTYphone_code is missing
-

Related pages

-

Account deletion

-

How to reset an account if the 2FA password was forgotten.

- -
- -
-
- -
- - - - - - diff --git a/data/corefork.telegram.org/method/auth.sendCode b/data/corefork.telegram.org/method/auth.sendCode deleted file mode 100644 index 6a370a9802..0000000000 --- a/data/corefork.telegram.org/method/auth.sendCode +++ /dev/null @@ -1,241 +0,0 @@ - - - - - auth.sendCode - - - - - - - - - - - - - -
- -
-
-
- -

auth.sendCode

- -

Send the verification code for login

-

- -
-
auth.sentCode#5e002502 flags:# type:auth.SentCodeType phone_code_hash:string next_type:flags.1?auth.CodeType timeout:flags.2?int = auth.SentCode;
----functions---
-auth.sendCode#a677244f phone_number:string api_id:int api_hash:string settings:CodeSettings = auth.SentCode;

-

Parameters

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
phone_numberstringPhone number in international format
api_idintApplication identifier (see App configuration)
api_hashstringApplication secret hash (see App configuration)
settingsCodeSettingsSettings for the code type to send
-

Result

-

The method returns an auth.SentCode object with information on the message sent.

-

Possible errors

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
CodeTypeDescription
400API_ID_INVALIDAPI ID invalid
400API_ID_PUBLISHED_FLOODThis API id was published somewhere, you can't use it now
401AUTH_KEY_PERM_EMPTYThe temporary auth key must be binded to the permanent auth key to use these methods.
400INPUT_REQUEST_TOO_LONGThe request is too big
303NETWORK_MIGRATE_XRepeat the query to data-center X
303PHONE_MIGRATE_XRepeat the query to data-center X
400PHONE_NUMBER_APP_SIGNUP_FORBIDDENYou can't sign up using this app
400PHONE_NUMBER_BANNEDThe provided phone number is banned from telegram
400PHONE_NUMBER_FLOODYou asked for the code too many times.
400PHONE_NUMBER_INVALIDInvalid phone number
406PHONE_PASSWORD_FLOODYou have tried logging in too many times
400PHONE_PASSWORD_PROTECTEDThis phone is password protected
400SMS_CODE_CREATE_FAILEDAn error occurred while creating the SMS code
- -
- -
-
- -
- - - - - - diff --git a/data/corefork.telegram.org/method/channels.getParticipants b/data/corefork.telegram.org/method/channels.getParticipants deleted file mode 100644 index bbe0f7a8bf..0000000000 --- a/data/corefork.telegram.org/method/channels.getParticipants +++ /dev/null @@ -1,208 +0,0 @@ - - - - - channels.getParticipants - - - - - - - - - - - - - -
- -
-
-
- -

channels.getParticipants

- -

Get the participants of a supergroup/channel

-

- -
-
channels.channelParticipants#9ab0feaf count:int participants:Vector<ChannelParticipant> chats:Vector<Chat> users:Vector<User> = channels.ChannelParticipants;
-channels.channelParticipantsNotModified#f0173fe9 = channels.ChannelParticipants;
----functions---
-channels.getParticipants#77ced9d0 channel:InputChannel filter:ChannelParticipantsFilter offset:int limit:int hash:long = channels.ChannelParticipants;

-

Parameters

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
channelInputChannelChannel
filterChannelParticipantsFilterWhich participant types to fetch
offsetintOffset
limitintLimit
hashintHash
-

Result

-

channels.ChannelParticipants

-

Possible errors

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
CodeTypeDescription
400CHANNEL_INVALIDThe provided channel is invalid
400CHANNEL_PRIVATEYou haven't joined this channel/supergroup
400CHAT_ADMIN_REQUIREDYou must be an admin in this chat to do this
400INPUT_CONSTRUCTOR_INVALIDThe provided constructor is invalid
-

Bots can use this method

-

Related pages

-

Pagination in the API

-

How to fetch results from large lists of objects.

-

Channels

-

How to handle channels, supergroups, groups, and what's the difference between them.

- -
- -
-
- -
- - - - - - diff --git a/data/corefork.telegram.org/method/messages.createChat b/data/corefork.telegram.org/method/messages.createChat deleted file mode 100644 index c2a27c25a4..0000000000 --- a/data/corefork.telegram.org/method/messages.createChat +++ /dev/null @@ -1,197 +0,0 @@ - - - - - messages.createChat - - - - - - - - - - - - - -
- -
-
-
- -

messages.createChat

- -

Creates a new chat.

-

- -
-
updatesTooLong#e317af7e = Updates;
-updateShortMessage#313bc7f8 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int user_id:long message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?long reply_to:flags.3?MessageReplyHeader entities:flags.7?Vector<MessageEntity> ttl_period:flags.25?int = Updates;
-updateShortChatMessage#4d6deea5 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int from_id:long chat_id:long message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?long reply_to:flags.3?MessageReplyHeader entities:flags.7?Vector<MessageEntity> ttl_period:flags.25?int = Updates;
-updateShort#78d4dec1 update:Update date:int = Updates;
-updatesCombined#725b04c3 updates:Vector<Update> users:Vector<User> chats:Vector<Chat> date:int seq_start:int seq:int = Updates;
-updates#74ae4240 updates:Vector<Update> users:Vector<User> chats:Vector<Chat> date:int seq:int = Updates;
-updateShortSentMessage#9015e101 flags:# out:flags.1?true id:int pts:int pts_count:int date:int media:flags.9?MessageMedia entities:flags.7?Vector<MessageEntity> ttl_period:flags.25?int = Updates;
----functions---
-messages.createChat#9cb126e users:Vector<InputUser> title:string = Updates;

-

Parameters

- - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
usersVector<InputUser>List of user IDs to be invited
titlestringChat name
-

Result

-

Updates

-

Possible errors

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
CodeTypeDescription
400CHAT_INVALIDInvalid chat
400CHAT_TITLE_EMPTYNo chat title provided
400INPUT_USER_DEACTIVATEDThe specified user was deleted
400USERS_TOO_FEWNot enough users (to create a chat, for example)
403USER_RESTRICTEDYou're spamreported, you can't create channels or chats.
- -
- -
-
- -
- - - - - - diff --git a/data/corefork.telegram.org/method/messages.getAllStickers b/data/corefork.telegram.org/method/messages.getAllStickers deleted file mode 100644 index c16dba6bf1..0000000000 --- a/data/corefork.telegram.org/method/messages.getAllStickers +++ /dev/null @@ -1,153 +0,0 @@ - - - - - messages.getAllStickers - - - - - - - - - - - - - -
- -
-
-
- -

messages.getAllStickers

- -

Get all installed stickers

-

- -
-
messages.allStickersNotModified#e86602c3 = messages.AllStickers;
-messages.allStickers#cdbbcebb hash:long sets:Vector<StickerSet> = messages.AllStickers;
----functions---
-messages.getAllStickers#b8a0a1a8 hash:long = messages.AllStickers;

-

Parameters

- - - - - - - - - - - - - - - -
NameTypeDescription
hashintHash for pagination, for more info click here
-

Result

-

messages.AllStickers

-

Related pages

-

Pagination in the API

-

How to fetch results from large lists of objects.

- -
- -
-
- -
- - - - - - diff --git a/data/corefork.telegram.org/method/messages.getChats b/data/corefork.telegram.org/method/messages.getChats deleted file mode 100644 index d6fd1c1865..0000000000 --- a/data/corefork.telegram.org/method/messages.getChats +++ /dev/null @@ -1,173 +0,0 @@ - - - - - messages.getChats - - - - - - - - - - - - - -
- -
-
-
- -

messages.getChats

- -

Returns chat basic info on their IDs.

-

- -
-
messages.chats#64ff9fd5 chats:Vector<Chat> = messages.Chats;
-messages.chatsSlice#9cd81144 count:int chats:Vector<Chat> = messages.Chats;
----functions---
-messages.getChats#49e9528f id:Vector<long> = messages.Chats;

-

Parameters

- - - - - - - - - - - - - - - -
NameTypeDescription
idVector<int>List of chat IDs
-

Result

-

messages.Chats

-

Possible errors

- - - - - - - - - - - - - - - - - - - - -
CodeTypeDescription
400CHAT_ID_INVALIDThe provided chat id is invalid
400PEER_ID_INVALIDThe provided peer id is invalid
-

Bots can use this method

- -
- -
-
- -
- - - - - - diff --git a/data/corefork.telegram.org/method/messages.getStickers b/data/corefork.telegram.org/method/messages.getStickers deleted file mode 100644 index c2096bfa29..0000000000 --- a/data/corefork.telegram.org/method/messages.getStickers +++ /dev/null @@ -1,158 +0,0 @@ - - - - - messages.getStickers - - - - - - - - - - - - - -
- -
-
-
- -

messages.getStickers

- -

Get stickers by emoji

-

- -
-
messages.stickersNotModified#f1749a22 = messages.Stickers;
-messages.stickers#30a6ec7e hash:long stickers:Vector<Document> = messages.Stickers;
----functions---
-messages.getStickers#d5a5d3a1 emoticon:string hash:long = messages.Stickers;

-

Parameters

- - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
emoticonstringThe emoji
hashintHash for pagination, for more info click here
-

Result

-

messages.Stickers

-

Related pages

-

Pagination in the API

-

How to fetch results from large lists of objects.

- -
- -
-
- -
- - - - - - diff --git a/data/corefork.telegram.org/method/messages.readDiscussion b/data/corefork.telegram.org/method/messages.readDiscussion deleted file mode 100644 index 43221573c7..0000000000 --- a/data/corefork.telegram.org/method/messages.readDiscussion +++ /dev/null @@ -1,164 +0,0 @@ - - - - - messages.readDiscussion - - - - - - - - - - - - - -
- -
-
-
- -

messages.readDiscussion

- -

Mark a thread as read

-

- -
-
boolFalse#bc799737 = Bool;
-boolTrue#997275b5 = Bool;
----functions---
-messages.readDiscussion#f731a9f4 peer:InputPeer msg_id:int read_max_id:int = Bool;

-

Parameters

- - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
peerInputPeerGroup ID
msg_idintID of message that started the thread
read_max_idintID up to which thread messages were read
-

Result

-

Bool

-

Bots can use this method

-

Related pages

-

Threads

-

Telegram allows commenting on a channel post or on a generic supergroup message, thanks to message threads.

- -
- -
-
- -
- - - - - - diff --git a/data/corefork.telegram.org/method/messages.reorderStickerSets b/data/corefork.telegram.org/method/messages.reorderStickerSets deleted file mode 100644 index a98700c7a6..0000000000 --- a/data/corefork.telegram.org/method/messages.reorderStickerSets +++ /dev/null @@ -1,160 +0,0 @@ - - - - - messages.reorderStickerSets - - - - - - - - - - - - - -
- -
-
-
- -

messages.reorderStickerSets

- -

Reorder installed stickersets

-

- -
-
boolFalse#bc799737 = Bool;
-boolTrue#997275b5 = Bool;
----functions---
-messages.reorderStickerSets#78337739 flags:# masks:flags.0?true order:Vector<long> = Bool;

-

Parameters

- - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
flags#Flags, see TL conditional fields
masksflags.0?trueReorder mask stickersets
orderVector<long>New stickerset order by stickerset IDs
-

Result

-

Bool

- -
- -
-
- -
- - - - - - diff --git a/data/corefork.telegram.org/method/phone.discardGroupCall b/data/corefork.telegram.org/method/phone.discardGroupCall deleted file mode 100644 index f73c402df5..0000000000 --- a/data/corefork.telegram.org/method/phone.discardGroupCall +++ /dev/null @@ -1,115 +0,0 @@ - - - - - Page not found - - - - - - - - - - - - - -
- -
-
-
- -

Page not found

- -
The page has not been saved
- -
- -
-
- -
- - - - - - diff --git a/data/corefork.telegram.org/method/phone.exportGroupCallInvite b/data/corefork.telegram.org/method/phone.exportGroupCallInvite deleted file mode 100644 index f73c402df5..0000000000 --- a/data/corefork.telegram.org/method/phone.exportGroupCallInvite +++ /dev/null @@ -1,115 +0,0 @@ - - - - - Page not found - - - - - - - - - - - - - -
- -
-
-
- -

Page not found

- -
The page has not been saved
- -
- -
-
- -
- - - - - - diff --git a/data/corefork.telegram.org/method/stats.getMessageStats b/data/corefork.telegram.org/method/stats.getMessageStats deleted file mode 100644 index 87289453db..0000000000 --- a/data/corefork.telegram.org/method/stats.getMessageStats +++ /dev/null @@ -1,185 +0,0 @@ - - - - - stats.getMessageStats - - - - - - - - - - - - - -
- -
-
-
- -

stats.getMessageStats

- -

Get message statistics

-

- -
-
stats.messageStats#8999f295 views_graph:StatsGraph = stats.MessageStats;
----functions---
-stats.getMessageStats#b6e0a3f5 flags:# dark:flags.0?true channel:InputChannel msg_id:int = stats.MessageStats;

-

Parameters

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
flags#Flags, see TL conditional fields
darkflags.0?trueWhether to enable dark theme for graph colors
channelInputChannelChannel ID
msg_idintMessage ID
-

Result

-

stats.MessageStats

-

Possible errors

- - - - - - - - - - - - - - - -
CodeTypeDescription
400CHAT_ADMIN_REQUIREDYou must be an admin in this chat to do this
-

Bots can use this method

-

Related pages

-

Channel statistics

-

Telegram offers detailed channel statistics for channels and supergroups.

- -
- -
-
- -
- - - - - - diff --git a/data/corefork.telegram.org/method/stats.loadAsyncGraph b/data/corefork.telegram.org/method/stats.loadAsyncGraph deleted file mode 100644 index 2e110710df..0000000000 --- a/data/corefork.telegram.org/method/stats.loadAsyncGraph +++ /dev/null @@ -1,188 +0,0 @@ - - - - - stats.loadAsyncGraph - - - - - - - - - - - - - -
- -
-
-
- -

stats.loadAsyncGraph

- -

Load channel statistics graph asynchronously

-

- -
-
statsGraphAsync#4a27eb2d token:string = StatsGraph;
-statsGraphError#bedc9822 error:string = StatsGraph;
-statsGraph#8ea464b6 flags:# json:DataJSON zoom_token:flags.0?string = StatsGraph;
----functions---
-stats.loadAsyncGraph#621d5fa0 flags:# token:string x:flags.0?long = StatsGraph;

-

Parameters

- - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
flags#Flags, see TL conditional fields
tokenstringGraph token from statsGraphAsync constructor
xflags.0?longZoom value, if required
-

Result

-

StatsGraph

-

Possible errors

- - - - - - - - - - - - - - - - - - - - -
CodeTypeDescription
400GRAPH_INVALID_RELOADInvalid graph token provided, please reload the stats and provide the updated token
400GRAPH_OUTDATED_RELOADThe graph is outdated, please get a new async token using stats.getBroadcastStats
-

Related pages

-

statsGraphAsync

-

This channel statistics graph must be generated asynchronously using stats.loadAsyncGraph to reduce server load

-

Channel statistics

-

Telegram offers detailed channel statistics for channels and supergroups.

- -
- -
-
- -
- - - - - - diff --git a/data/corefork.telegram.org/methods.html b/data/corefork.telegram.org/methods.html deleted file mode 100644 index 26e570e29b..0000000000 --- a/data/corefork.telegram.org/methods.html +++ /dev/null @@ -1,2084 +0,0 @@ - - - - - Methods - - - - - - - - - - - - - -
- -
-
-
- -

Methods

- -

Accepting the Terms of Service

- - - - - - - - - - - - - - - - - -
NameDescription
help.getTermsOfServiceUpdateLook for updates of telegram's terms of service
help.acceptTermsOfServiceAccept the new terms of service
-

Dealing with spam and ToS violations

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameDescription
account.reportPeerReport a peer for violation of telegram's Terms of Service
channels.reportSpamReports some messages from a user in a supergroup as spam; requires administrator rights in the supergroup
messages.reportReport a message in a chat for violation of telegram's Terms of Service
messages.reportSpamReport a new incoming chat for spam, if the peer settings of the chat allow us to do that
messages.reportEncryptedSpamReport a secret chat for spam
-

Fetching configuration

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameDescription
help.getAppChangelogGet changelog of current app.
Typically, an updates constructor will be returned, containing one or more updateServiceNotification updates with app-specific changelogs.
help.getAppConfigGet app-specific configuration, see client configuration for more info on the result.
help.getAppUpdateReturns information on update availability for the current application.
help.getConfigReturns current configuration, including data center configuration.
help.getInviteTextReturns localized text of a text message with an invitation.
help.getNearestDcReturns info on data centre nearest to the user.
help.getSupportReturns the support user for the 'ask a question' feature.
help.getSupportNameGet localized name of the telegram support user
help.getCountriesListGet name, ISO code, localized name and phone codes/patterns of all available countries
help.dismissSuggestionDismiss a suggestion
-

Login via QR code

- - - - - - - - - - - - - - - - - - - - - -
NameDescription
auth.exportLoginTokenGenerate a login token, for login via QR code.
The generated login token should be encoded using base64url, then shown as a tg://login?token=base64encodedtoken URL in the QR code.

For more info, see login via QR code.
auth.acceptLoginTokenAccept QR code login token, logging in the app that generated it.

Returns info about the new session.

For more info, see login via QR code.
auth.importLoginTokenLogin using a redirected login token, generated in case of DC mismatch during QR code login.

For more info, see login via QR code.
-

Miscellaneous

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameDescription
help.saveAppLogSaves logs of application on the server.
initConnectionInitialize connection
invokeAfterMsgInvokes a query after successfull completion of one of the previous queries.
invokeAfterMsgsInvokes a query after a successfull completion of previous queries
invokeWithLayerInvoke the specified query using the specified API layer
invokeWithoutUpdatesInvoke a request without subscribing the used connection for updates (this is enabled by default for file queries).
-

Registration/Authorization

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameDescription
auth.bindTempAuthKeyBinds a temporary authorization key temp_auth_key_id to the permanent authorization key perm_auth_key_id. Each permanent key may only be bound to one temporary key at a time, binding a new temporary key overwrites the previous one.

For more information, see Perfect Forward Secrecy.
auth.cancelCodeCancel the login verification code
auth.checkPasswordTry logging to an account protected by a 2FA password.
auth.dropTempAuthKeysDelete all temporary authorization keys except for the ones specified
auth.exportAuthorizationReturns data for copying authorization to another data-centre.
auth.importAuthorizationLogs in a user using a key transmitted from his native data-centre.
auth.importBotAuthorizationLogin as a bot
auth.logOutLogs out the user.
auth.recoverPasswordReset the 2FA password using the recovery code sent using auth.requestPasswordRecovery.
auth.requestPasswordRecoveryRequest recovery code of a 2FA password, only for accounts with a recovery email configured.
auth.resendCodeResend the login code via another medium, the phone code type is determined by the return value of the previous auth.sendCode/auth.resendCode: see login for more info.
auth.resetAuthorizationsTerminates all user's authorized sessions except for the current one.

After calling this method it is necessary to reregister the current device using the method account.registerDevice
auth.sendCodeSend the verification code for login
auth.signInSigns in a user with a validated phone number.
auth.signUpRegisters a validated phone number in the system.
-

Working with GDPR export

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameDescription
account.initTakeoutSessionIntialize account takeout session
account.finishTakeoutSessionFinish account takeout session
messages.getSplitRangesGet message ranges for saving the user's chat history
channels.getLeftChannelsGet a list of channels/supergroups we left
invokeWithMessagesRangeInvoke with the given message range
invokeWithTakeoutInvoke a method within a takeout session
-

Working with GIFs (actually MPEG4 GIFs)

- - - - - - - - - - - - - - - - - - - - - -
NameDescription
messages.getSavedGifsGet saved GIFs
messages.saveGifAdd GIF to saved gifs list
messages.searchGifsSearch for GIFs
-

Working with Public Service Announcement and MTProxy channels

- - - - - - - - - - - - - - - - - -
NameDescription
help.hidePromoDataHide MTProxy/Public Service Announcement information
help.getPromoDataGet MTProxy/Public Service Announcement information
-

Working with TSF (internal use only)

- - - - - - - - - - - - - - - - - -
NameDescription
help.editUserInfoInternal use
help.getUserInfoInternal use
-

Working with 2FA login

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameDescription
account.confirmPasswordEmailVerify an email to use as 2FA recovery method.
account.resendPasswordEmailResend the code to verify an email to use as 2FA recovery method.
account.cancelPasswordEmailCancel the code that was sent to verify an email to use as 2FA recovery method.
account.getPasswordObtain configuration for two-factor authorization with password
account.getPasswordSettingsGet private info associated to the password info (recovery email, telegram passport info & so on)
account.updatePasswordSettingsSet a new 2FA password
-

Working with Seamless Telegram Login

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameDescription
messages.requestUrlAuthGet more info about a Seamless Telegram Login authorization request, for more info click here »
messages.acceptUrlAuthUse this to accept a Seamless Telegram Login authorization request, for more info click here »
account.getWebAuthorizationsGet web login widget authorizations
account.resetWebAuthorizationLog out an active web telegram login session
account.resetWebAuthorizationsReset all active web telegram login sessions
-

Working with VoIP calls

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameDescription
phone.acceptCallAccept incoming call
phone.confirmCallComplete phone call E2E encryption key exchange »
phone.discardCallRefuse or end running call
phone.getCallConfigGet phone call configuration to be passed to libtgvoip's shared config
phone.receivedCallOptional: notify the server that the user is currently busy in a call: this will automatically refuse all incoming phone calls until the current phone call is ended.
phone.requestCallStart a telegram phone call
phone.saveCallDebugSend phone call debug data to server
phone.sendSignalingDataSend VoIP signaling data
phone.setCallRatingRate a call
-

Working with channels/supergroups/geogroups

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameDescription
channels.createChannelCreate a supergroup/channel.
channels.getInactiveChannelsGet inactive channels and supergroups
channels.deleteChannelDelete a channel/supergroup
channels.deleteHistoryDelete the history of a supergroup
channels.deleteMessagesDelete messages in a channel/supergroup
channels.deleteUserHistoryDelete all messages sent by a certain user in a supergroup
channels.editAdminModify the admin rights of a user in a supergroup/channel.
channels.editBannedBan/unban/kick a user in a supergroup/channel.
channels.editCreatorTransfer channel ownership
channels.editLocationEdit location of geogroup
channels.editPhotoChange the photo of a channel/supergroup
channels.editTitleEdit the name of a channel/supergroup
channels.exportMessageLinkGet link and embed info of a message in a channel/supergroup
channels.getAdminLogGet the admin log of a channel/supergroup
channels.getAdminedPublicChannelsGet channels/supergroups/geogroups we're admin in. Usually called when the user exceeds the limit for owned public channels/supergroups/geogroups, and the user is given the choice to remove one of his channels/supergroups/geogroups.
channels.getChannelsGet info about channels/supergroups
channels.getFullChannelGet full info about a channel
channels.getGroupsForDiscussionGet all groups that can be used as discussion groups.

Returned legacy group chats must be first upgraded to supergroups before they can be set as a discussion group.
To set a returned supergroup as a discussion group, access to its old messages must be enabled using channels.togglePreHistoryHidden, first.
channels.getMessagesGet channel/supergroup messages
channels.getParticipantGet info about a channel/supergroup participant
channels.getParticipantsGet the participants of a supergroup/channel
channels.inviteToChannelInvite users to a channel/supergroup
channels.joinChannelJoin a channel/supergroup
channels.leaveChannelLeave a channel/supergroup
channels.readHistoryMark channel/supergroup history as read
channels.readMessageContentsMark channel/supergroup message contents as read
channels.setDiscussionGroupAssociate a group to a channel as discussion group for that channel
channels.setStickersAssociate a stickerset to the supergroup
channels.togglePreHistoryHiddenHide/unhide message history for new channel/supergroup users
channels.toggleSignaturesEnable/disable message signatures in channels
channels.toggleSlowModeToggle supergroup slow mode: if enabled, users will only be able to send one message every seconds seconds
messages.getStatsURLReturns URL with the chat statistics. Currently this method can be used only for channels
-

Working with chats/supergroups/channels

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameDescription
messages.addChatUserAdds a user to a chat and sends a service message on it.
messages.checkChatInviteCheck the validity of a chat invite link and get basic info about it
messages.createChatCreates a new chat.
messages.deleteChatUserDeletes a user from a chat and sends a service message on it.
messages.editChatAboutEdit the description of a group/supergroup/channel.
messages.editChatAdminMake a user admin in a legacy group.
messages.editChatDefaultBannedRightsEdit the default banned rights of a channel/supergroup/group.
messages.editChatPhotoChanges chat photo and sends a service message on it
messages.editChatTitleChanages chat name and sends a service message on it.
messages.exportChatInviteExport an invite link for a chat
messages.getAllChatsGet all chats, channels and supergroups
messages.getChatsReturns chat basic info on their IDs.
messages.getCommonChatsGet chats in common with a user
messages.getFullChatReturns full chat info according to its ID.
messages.importChatInviteImport a chat invite and join a private chat/supergroup/channel
messages.migrateChatTurn a legacy group into a supergroup
-

Working with deep links

- - - - - - - - - - - - - - - - - - - - - -
NameDescription
messages.startBotStart a conversation with a bot using a deep linking parameter
help.getDeepLinkInfoGet info about a t.me link
help.getRecentMeUrlsGet recently used t.me links
-

Working with files

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameDescription
help.getCdnConfigGet configuration for CDN file downloads.
upload.getCdnFileDownload a CDN file.
upload.getCdnFileHashesGet SHA256 hashes for verifying downloaded CDN files
upload.reuploadCdnFileRequest a reupload of a certain file to a CDN DC.
upload.getFileReturns content of a whole file or its part.
upload.getFileHashesGet SHA256 hashes for verifying downloaded files
upload.getWebFileReturns content of an HTTP file or a part, by proxying the request through telegram.
upload.saveBigFilePartSaves a part of a large file (over 10Mb in size) to be later passed to one of the methods.
upload.saveFilePartSaves a part of file for futher sending to one of the methods.
messages.uploadEncryptedFileUpload encrypted file and associate it to a secret chat
messages.uploadMediaUpload a file and associate it to a chat (without actually sending it to the chat)
messages.getDocumentByHashGet a document by its SHA256 hash, mainly used for gifs
-

Working with instant view pages

- - - - - - - - - - - - - - - - - -
NameDescription
messages.getWebPageGet instant view page
messages.getWebPagePreviewGet preview of webpage
-

Working with secret chats

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameDescription
messages.setEncryptedTypingSend typing event by the current user to a secret chat.
messages.readEncryptedHistoryMarks message history within a secret chat as read.
messages.acceptEncryptionConfirms creation of a secret chat
messages.discardEncryptionCancels a request for creation and/or delete info on secret chat.
messages.requestEncryptionSends a request to start a secret chat to the user.
messages.sendEncryptedSends a text message to a secret chat.
messages.sendEncryptedFileSends a message with a file attachment to a secret chat
messages.sendEncryptedServiceSends a service message to a secret chat.
messages.getDhConfigReturns configuration parameters for Diffie-Hellman key generation. Can also return a random sequence of bytes of required length.
messages.receivedQueueConfirms receipt of messages in a secret chat by client, cancels push notifications.
-

Working with telegram passport

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameDescription
account.sendVerifyEmailCodeSend the verification email code for telegram passport.
account.verifyEmailVerify an email address for telegram passport.
account.sendVerifyPhoneCodeSend the verification phone code for telegram passport.
account.verifyPhoneVerify a phone number for telegram passport.
account.acceptAuthorizationSends a Telegram Passport authorization form, effectively sharing data with the service
account.getAuthorizationFormReturns a Telegram Passport authorization form for sharing data with a service
account.getAuthorizationsGet logged-in sessions
account.deleteSecureValueDelete stored Telegram Passport documents, for more info see the passport docs »
account.getAllSecureValuesGet all saved Telegram Passport documents, for more info see the passport docs »
account.getSecureValueGet saved Telegram Passport document, for more info see the passport docs »
account.saveSecureValueSecurely save Telegram Passport document, for more info see the passport docs »
help.getPassportConfigGet passport configuration
users.setSecureValueErrorsNotify the user that the sent passport data contains some errors The user will not be able to re-submit their Passport data to you until the errors are fixed (the contents of the field for which you returned the error must change).

Use this if the data submitted by the user doesn't satisfy the standards your service requires for any reason. For example, if a birthday date seems invalid, a submitted document is blurry, a scan shows evidence of tampering, etc. Supply some details in the error message to make sure the user knows how to correct the issues.
-

Working with updates

- - - - - - - - - - - - - - - - - - - - - -
NameDescription
updates.getChannelDifferenceReturns the difference between the current state of updates of a certain channel and transmitted.
updates.getDifferenceGet new updates.
updates.getStateReturns a current state of updates.
-

Working with bot inline queries and callback buttons

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameDescription
messages.getInlineBotResultsQuery an inline bot
messages.setInlineBotResultsAnswer an inline query, for bots only
messages.sendInlineBotResultSend a result obtained using messages.getInlineBotResults.
messages.getBotCallbackAnswerPress an inline callback button and get a callback answer from the bot
messages.setBotCallbackAnswerSet the callback answer to a user button press (bots only)
messages.editInlineBotMessageEdit an inline bot message
-

Working with bots

- - - - - - - - - - - - - -
NameDescription
bots.setBotCommandsSet bot command list
-

Working with bots (internal bot API use)

- - - - - - - - - - - - - - - - - - - - - -
NameDescription
bots.answerWebhookJSONQueryAnswers a custom query; for bots only
bots.sendCustomRequestSends a custom request; for bots only
help.setBotUpdatesStatusInforms the server about the number of pending bot updates if they haven't been processed for a long time; for bots only
-

Working with cloud themes

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameDescription
account.updateThemeUpdate theme
account.uploadThemeUpload theme
account.getThemesGet installed themes
account.createThemeCreate a theme
account.installThemeInstall a theme
account.saveThemeSave a theme
account.getThemeGet theme information
-

Working with contacts and top peers

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameDescription
account.getContactSignUpNotificationWhether the user will receive notifications when contacts sign up
account.setContactSignUpNotificationToggle contact sign up notifications
contacts.acceptContactIf the peer settings of a new user allow us to add him as contact, add that user as contact
contacts.addContactAdd an existing telegram user as contact.

Use contacts.importContacts to add contacts by phone number, without knowing their Telegram ID.
contacts.blockAdds the user to the blacklist.
contacts.deleteByPhonesDelete contacts by phone number
contacts.deleteContactsDeletes several contacts from the list.
contacts.getBlockedReturns the list of blocked users.
contacts.getContactIDsGet contact by telegram IDs
contacts.getContactsReturns the current user's contact list.
contacts.getLocatedGet contacts near you
contacts.getSavedGet all contacts
contacts.getStatusesReturns the list of contact statuses.
contacts.getTopPeersGet most used peers
contacts.importContactsImports contacts: saves a full list on the server, adds already registered contacts to the contact list, returns added contacts and their info.

Use contacts.addContact to add Telegram contacts without actually using their phone number.
contacts.resetSavedDelete saved contacts
contacts.resetTopPeerRatingReset rating of top peer
contacts.searchReturns users found by username substring.
contacts.toggleTopPeersEnable/disable top peers
contacts.unblockDeletes the user from the blacklist.
-

Working with credit cards

- - - - - - - - - - - - - -
NameDescription
payments.getBankCardDataGet info about a credit card
-

Working with dialogs

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameDescription
messages.getDialogsReturns the current user dialog list.
messages.getPeerDialogsGet dialog info of specified peers
messages.getPinnedDialogsGet pinned dialogs
messages.toggleDialogPinPin/unpin a dialog
messages.reorderPinnedDialogsReorder pinned dialogs
messages.getDialogUnreadMarksGet dialogs manually marked as unread
messages.markDialogUnreadManually mark dialog as unread
messages.getPeerSettingsGet peer settings
messages.hidePeerSettingsBarShould be called after the user hides the report spam/add as contact bar of a new chat, effectively prevents the user from executing the actions specified in the peer's settings.
messages.getOnlinesGet count of online users in a chat
messages.sendScreenshotNotificationNotify the other user in a private chat that a screenshot of the chat was taken
messages.setTypingSends a current user typing event (see SendMessageAction for all event types) to a conversation partner or group.
-

Working with drafts

- - - - - - - - - - - - - - - - - - - - - -
NameDescription
messages.clearAllDraftsClear all drafts.
messages.getAllDraftsSave get all message drafts.
messages.saveDraftSave a message draft associated to a chat.
-

Working with emoji keywords

- - - - - - - - - - - - - - - - - - - - - - - - - -
NameDescription
messages.getEmojiKeywordsGet localized emoji keywords
messages.getEmojiKeywordsDifferenceGet changed emoji keywords
messages.getEmojiKeywordsLanguagesGet info about an emoji keyword localization
messages.getEmojiURLReturns an HTTP URL which can be used to automatically log in into translation platform and suggest new emoji replacements. The URL will be valid for 30 seconds after generation
-

Working with folders

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameDescription
messages.updateDialogFiltersOrderReorder folders
messages.getDialogFiltersGet folders
messages.getSuggestedDialogFiltersGet suggested folders
messages.updateDialogFilterUpdate folder
folders.deleteFolderDelete a peer folder
folders.editPeerFoldersEdit peers in peer folder
-

Working with games

- - - - - - - - - - - - - - - - - - - - - - - - - -
NameDescription
messages.getGameHighScoresGet highscores of a game
messages.getInlineGameHighScoresGet highscores of a game sent using an inline bot
messages.setGameScoreUse this method to set the score of the specified user in a game sent as a normal message (bots only).
messages.setInlineGameScoreUse this method to set the score of the specified user in a game sent as an inline message (bots only).
-

Working with localization packs

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameDescription
langpack.getDifferenceGet new strings in languagepack
langpack.getLangPackGet localization pack strings
langpack.getLanguageGet information about a language in a localization pack
langpack.getLanguagesGet information about all languages in a localization pack
langpack.getStringsGet strings from a language pack
-

Working with media autodownload settings

- - - - - - - - - - - - - - - - - -
NameDescription
account.getAutoDownloadSettingsGet media autodownload settings
account.saveAutoDownloadSettingsChange media autodownload settings
-

Working with message threads

- - - - - - - - - - - - - - - - - - - - - - - - - -
NameDescription
messages.getRepliesGet messages in a reply thread
contacts.blockFromRepliesStop getting notifications about thread replies of a certain user in @replies
messages.getDiscussionMessageGet discussion message from the associated discussion group of a channel to show it on top of the comment section, without actually joining the group
messages.readDiscussionMark a thread as read
-

Working with message reactions

- - - - - - - - - - - - - - - - - - - - - -
NameDescription
messages.getMessagesReactionsGet message reactions
messages.sendReactionSend reaction to message
messages.getMessageReactionsListGet full message reaction list
-

Working with messages

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameDescription
messages.deleteHistoryDeletes communication history.
messages.deleteMessagesDeletes messages by their identifiers.
messages.editMessageEdit message
messages.forwardMessagesForwards messages by their IDs.
messages.getHistoryGets back the conversation history with one interlocutor / within a chat
messages.getMessageEditDataFind out if a media message's caption can be edited
messages.getMessagesReturns the list of messages by their IDs.
messages.getMessagesViewsGet and increase the view counter of a message sent or forwarded from a channel
messages.getRecentLocationsGet live location history of a certain user
messages.getSearchCountersGet the number of results that would be found by a messages.search call with the same parameters
messages.getUnreadMentionsGet unread messages where we were mentioned
messages.readHistoryMarks message history as read.
messages.readMentionsMark mentions as read
messages.readMessageContentsNotifies the sender about the recipient having listened a voice message or watched a video.
messages.receivedMessagesConfirms receipt of messages by a client, cancels PUSH-notification sending.
messages.searchGets back found messages
messages.searchGlobalSearch for messages and peers globally
messages.sendMediaSend a media
messages.sendMessageSends a message to a chat
messages.sendMultiMediaSend an album or grouped media
messages.updatePinnedMessagePin a message
messages.unpinAllMessagesUnpin all pinned messages
-

Working with notification settings

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameDescription
account.registerDeviceRegister device to receive PUSH notifications
account.unregisterDeviceDeletes a device by its token, stops sending PUSH-notifications to it.
account.updateDeviceLockedWhen client-side passcode lock feature is enabled, will not show message texts in incoming PUSH notifications.
account.getNotifyExceptionsReturns list of chats with non-default notification settings
account.getNotifySettingsGets current notification settings for a given user/group, from all users/all groups.
account.updateNotifySettingsEdits notification settings from a given user/group, from all users/all groups.
account.resetNotifySettingsResets all notification settings from users and groups.
-

Working with other users

- - - - - - - - - - - - - - - - - -
NameDescription
users.getFullUserReturns extended user info by ID.
users.getUsersReturns basic user info according to their identifiers.
-

Working with payments

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameDescription
payments.getSavedInfoGet saved payment information
payments.clearSavedInfoClear saved payment information
payments.getPaymentFormGet a payment form
payments.validateRequestedInfoSubmit requested order information for validation
messages.setBotShippingResultsIf you sent an invoice requesting a shipping address and the parameter is_flexible was specified, the bot will receive an updateBotShippingQuery update. Use this method to reply to shipping queries.
account.getTmpPasswordGet temporary payment password
payments.sendPaymentFormSend compiled payment form
messages.setBotPrecheckoutResultsOnce the user has confirmed their payment and shipping details, the bot receives an updateBotPrecheckoutQuery update.
Use this method to respond to such pre-checkout queries.
Note: Telegram must receive an answer within 10 seconds after the pre-checkout query was sent.
payments.getPaymentReceiptGet payment receipt
-

Working with polls

- - - - - - - - - - - - - - - - - - - - - -
NameDescription
messages.getPollResultsGet poll results
messages.getPollVotesGet poll results for non-anonymous polls
messages.sendVoteVote in a poll
-

Working with scheduled messages

- - - - - - - - - - - - - - - - - - - - - - - - - -
NameDescription
messages.sendScheduledMessagesSend scheduled messages right away
messages.getScheduledHistoryGet scheduled messages
messages.deleteScheduledMessagesDelete scheduled messages
messages.getScheduledMessagesGet scheduled messages
-

Working with sensitive content (NSFW)

- - - - - - - - - - - - - - - - - -
NameDescription
account.getContentSettingsGet sensitive content settings
account.setContentSettingsSet sensitive content settings (for viewing or hiding NSFW content)
-

Working with sponsored proxies

- - - - - - - - - - - - - -
NameDescription
help.getProxyDataGet promotion info of the currently-used MTProxy
-

Working with statistics

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameDescription
stats.loadAsyncGraphLoad channel statistics graph asynchronously
stats.getBroadcastStatsGet channel statistics
stats.getMessagePublicForwardsObtains a list of messages, indicating to which other public channels was a channel message forwarded.
Will return a list of messages with peer_id equal to the public channel to which this message was forwarded.
stats.getMegagroupStatsGet supergroup statistics
stats.getMessageStatsGet message statistics
-

Working with stickers

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameDescription
messages.getOldFeaturedStickersMethod for fetching previously featured stickers
messages.toggleStickerSetsApply changes to multiple stickersets
stickers.setStickerSetThumbSet stickerset thumbnail
stickers.addStickerToSetAdd a sticker to a stickerset, bots only. The sticker set must have been created by the bot.
stickers.changeStickerPositionChanges the absolute position of a sticker in the set to which it belongs; for bots only. The sticker set must have been created by the bot
stickers.createStickerSetCreate a stickerset, bots only.
stickers.removeStickerFromSetRemove a sticker from the set where it belongs, bots only. The sticker set must have been created by the bot.
messages.clearRecentStickersClear recent stickers
messages.faveStickerMark a sticker as favorite
messages.getAllStickersGet all installed stickers
messages.getArchivedStickersGet all archived stickers
messages.getAttachedStickersGet stickers attached to a photo or video
messages.getFavedStickersGet faved stickers
messages.getFeaturedStickersGet featured stickers
messages.getMaskStickersGet installed mask stickers
messages.getRecentStickersGet recent stickers
messages.getStickerSetGet info about a stickerset
messages.getStickersGet stickers by emoji
messages.saveRecentStickerAdd/remove sticker from recent stickers list
messages.installStickerSetInstall a stickerset
messages.readFeaturedStickersMark new featured stickers as read
messages.reorderStickerSetsReorder installed stickersets
messages.searchStickerSetsSearch for stickersets
messages.uninstallStickerSetUninstall a stickerset
-

Working with the user's account

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameDescription
account.changePhoneChange the phone number of the current account
account.confirmPhoneConfirm a phone number to cancel account deletion, for more info click here »
account.deleteAccountDelete the user's account from the telegram servers. Can be used, for example, to delete the account of a user that provided the login code, but forgot the 2FA password and no recovery method is configured.
account.getAccountTTLGet days to live of account
account.getPrivacyGet privacy settings of current account
account.resetAuthorizationLog out an active authorized session by its hash
account.sendChangePhoneCodeVerify a new phone number to associate to the current account
account.sendConfirmPhoneCodeSend confirmation code to cancel account deletion, for more info click here »
account.setAccountTTLSet account self-destruction period
account.setPrivacyChange privacy settings of current account
account.setGlobalPrivacySettingsSet global privacy settings
account.getGlobalPrivacySettingsGet global privacy settings
account.updateProfileUpdates user profile.
account.updateStatusUpdates online user status.
-

Working with user profile pictures

- - - - - - - - - - - - - - - - - - - - - - - - - -
NameDescription
photos.deletePhotosDeletes profile photos.
photos.getUserPhotosReturns the list of user photos.
photos.updateProfilePhotoInstalls a previously uploaded photo as a profile photo.
photos.uploadProfilePhotoUpdates current user profile photo.
-

Working with usernames

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameDescription
channels.checkUsernameCheck if a username is free and can be assigned to a channel/supergroup
channels.updateUsernameChange the username of a supergroup/channel
account.updateUsernameChanges username for the current user.
account.checkUsernameValidates a username and checks availability.
contacts.resolveUsernameResolve a @username to get peer info
-

Working with wallpapers

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameDescription
account.getMultiWallPapersGet info about multiple wallpapers
account.getWallPaperGet info about a certain wallpaper
account.getWallPapersReturns a list of available wallpapers.
account.installWallPaperInstall wallpaper
account.resetWallPapersDelete installed wallpapers
account.saveWallPaperInstall/uninstall wallpaper
account.uploadWallPaperCreate and upload a new wallpaper
- -
- -
-
- -
- - - - - - diff --git a/data/corefork.telegram.org/mtproto/TL-dependent.html b/data/corefork.telegram.org/mtproto/TL-dependent.html deleted file mode 100644 index a6c150155e..0000000000 --- a/data/corefork.telegram.org/mtproto/TL-dependent.html +++ /dev/null @@ -1,236 +0,0 @@ - - - - - TL-dependent - - - - - - - - - - - - - -
- -
-
-
- -

TL-dependent

- -

Main article: TL Language.

-

In certain cases, types may depend not only on other types (polymorphism), but also on the parameters of another type (dependent types). The TL language provides very limited support for this functionality: dependence is only allowed on a natural parameter whose type is designated using # (alias nat, but this is private -- TL doesn’t currently support this synonym). Values of type # are serialized as 32-bit signed numbers from 0 to 2^31-1.

-

Example: integer tuples (vectors)

-

Suppose we want to use induction to define the types “one integer”, “two integers”, and “three integers”. We could try to define them as follows:

-
empty = Empty;
-single x:int = Single;
-pair x:int y:int = Pair;
-triple x:int y:int z:int = Triple;
-quadruple x:int y:int z:int t:int = Quadruple;
-...
-

or as:

-
empty = Empty;
-single x:int empty = Single;
-pair x:int y:single = Pair;
-triple x:int yz:pair = Triple;
-quadruple x:int yzt:triple = Quadruple;
-

or as:

-
tnil = Tuple0;
-tcons0 hd:int tl:Tuple0 = Tuple1;
-tcons1 hd:int tl:Tuple1 = Tuple2;
-tcons2 hd:int tl:Tuple2 = Tuple3;
-...
-tcons_n hd:int tl:Tuple_n = Tuple_(n+1)
-

The first two variations lead to the same serialization. For example, (2 3 9):%triple and (2 (3 9)):%triple serialize as three 32-bit numbers: 2 3 9. The last variation better emphasizes the inductive version of the definition, but it uses boxed types. This is good from a theoretical perspective, but it leads to “superfluous” constructor names in serialization.

-

Therefore, we will write %Type-Ident to indicate the bare type that corresponds to the boxed type Type-Ident with a single constructor. If this constructor is named constructor, then according to the definition %Type-Ident = %constructor. Now we can write our definition like this:

-
tnil = Tuple0;
-tcons_n hd:int tl:%Tuple_n = Tuple_(n+1)
-

If we now abstract n out of the name of the type name and make it like a parameter for a polymorphic (dependent, to be more exact) type, then something like the following can be written in a suitable functional language:

-
NewType Tuple (n : #) :=
-| tnil = Tuple 0
-| tcons n:# hd:int tl:%(Tuple n) = Tuple (S n)
-EndType;
-

In the TL language, it looks like this:

-
tnil = Tuple 0;
-tcons {n:#} hd:int tl:%(Tuple n) = Tuple (S n);
-

The function S : # -> # and the constant O : # (it is 0) are the function for the next natural number (S n = n + 1) and the constant null. Therefore, the type # (alias nat) behaves as if it were defined in TL using the constructors

-
O = nat;
-S nat = nat;
-

or, using syntax more typical of other functional languages,

-
NewType nat :=
-| O
-| S nat
-EndType;
-

Types of all defined combinators:

-
O : #
-S : # -> #
-Tuple : # -> Type
-tnil : Tuple 0
-tcons : forall n : #, int -> Tuple n -> Tuple (S n)
-

or

-
Tuple : forall n : #, Type;
-tcons : forall n : #, forall hd : int, forall tl : Tuple n, Tuple (S n)
-

Note that in this case the constructor tnil does not depend on the parameter n, while tcons does.

-

In an analogous manner, it is possible to define a complete binary tree of height h with strings in the leaf nodes:

-
tleaf value:string = BinTree 0;
-tnode {h:#} left:(BinTree h) right:(BinTree h) = BinTree (S h);
-

Or a random tree whose leaf nodes are all a distance of h from the root and whose nodes are all labeled with integers:

-
hleaf value:int = Tree 0;
-hnode {n:#} left:(Tree n) next:(Tree (S n)) = Tree (S n)
-hnil {n:#} = Tree (S n)
-

Another version:

-
hleaf' value:int = Tree' 0;
-hnode' {n:#} children:(list (Tree' n)) = Tree' (S n)
-

Polymorphic dependent types

-

Let us try to define a type Tuple X n whose values are n-tuples of type X values. In this way, Tuple will be simultaneously polymorphic and dependent:

-
Tuple : Type -> # -> Type;
-

In the familiar syntax of functional languages:

-
NewType Tuple {X : Type} {n : #} :=
-| vnil : Tuple X 0
-| vcons {n:#} hd:X tl:%(Tuple X n) : Tuple X (S n)
-EndType
-

or, in TL syntax,

-
vnil {X:Type} = Tuple X 0;
-vcons {X:Type} {n:#} tl:(%Tuple X n) = Tuple X S n
-

In the end we obtain terms for the following types:

-
vnil : forall X : Type, Tuple X 0
-vcons : forall X : Type, forall n : #, X -> Tuple X n -> Tuple X (S n)
-

or

-
vnil : forall X : Type, Tuple X 0
-vcons : forall X : Type, forall n : #, forall hd : X, forall tl : Tuple X n, Tuple X (S n)
-

Dependent sums

-

The Tuple we just defined differs from the built-in Vector type. Specifically, the Vector type formally depends on a single argument (a type), but our Tuple depends on two (a type and a number):

-
Tuple : Type -> # -> Type;
-Vector : Type -> Type;
-

The built-in Vector could be defined in terms of our Tuple using “summing across all n : #":

-
vector {X:Type} n:# v:(%Tuple X n) = Vector X;
-

Nevertheless, our Tuple has its advantages. For example, we can define data types such as:

-
matrix_10x10 a:(%Tuple (%Tuple double 10) 10) = Matrix_10x10;
-

In any event, remember that during calculation of the matrix_10x10 combinator’s number, all parentheses must be removed and the CRC32 of the string matrix_10x10 a:%Tuple %Tuple double 10 10 = Matrix_10x10 must be computed.

-

Moreover, we can define arbitrarily-sized matrices:

-
matrix {X:Type} m:# n:# a:(%Tuple (%Tuple X m) n) = Matrix X;
-

In this case using vector would result in storing the length of a row (m) in each row, e.g. n times.

-

Note that the serializations of values of type %Tuple X n and vector X (also known as %vector X and %Vector X) nearly match when n > 0: in both cases we obtain a single 32-bit number (equal to n-1 or n depending on the version) followed by the serializations of n objects of type X. (This is slightly untrue: values of type %Tuple X n can only be serialized if n is a constant or value known from one of the preceding fields of the enclosing entry; but then this n won’t be serialized explicitly anywhere).

-

Special syntax for repetitions

-

In view of the importance of the construction presented above, it is built into the TL language in the following manner. A substructure in the form of [ array-field-name ":" ] [ nat-ident "" ] "[" field-descr ... "]” may be used in the declaration of any combinator, where nat-ident* is the name of any previously encountered field of type # (if it is not explicitly indicated, the most recent is used). In abstract, this substructure is equivalent to:

-
aux_type *field-descr* ... = AuxType;
-*current_constructor* ... [ *array-field-name* ":" ] (%Tuple aux_type *nat-ident*)
-

For example, 10x10 matrices, vectors, and arbitrary matrices may be defined in the following way:

-
matrix {X:Type} m:# n:# a:n*[ m*[ X ] ] = Matrix X;
-matrix_10x10 a:10*[ 10*[ double ]] = Matrix_10x10;
-vector {X:Type} # [ X ] = Vector X;
-

We have already encountered the last version as a “definition” of the “built-in type” Vector.

-

Of course, several fields, as complex as desired, may be within the repeating part. Furthermore, besides using n as a repeat counter, one may use expressions of the form (n+const) and (const+n), where const is a small nonnegative constant, which are shorthand for S (S ( ... (S n) ... )):

-
repeat_np1 n:# a:(S n)*[ key:string value:string ] = Dictionary;
-

To calculate the CRC32 these expressions are converted to expressions of the form (const+X) without internal spaces. Additionally, the * in this case is not set off by spaces on the left and right.

-

Serialization of dependent types

-

Serialization of dependent types and polymorphic types is not a fundamental challenge: we have combinators with non-zero arity with Type values. For example, the type Tuple double 10 : Type serializes to 'Tuple' '%double' 10. Note that at present in practice there is virtually no need to serialize types, whether dependent or not.

-

Optional combinator parameters in TL

-

Optional combinator parameters in TL must possess the following properties:

-
    -
  • -

    Optional parameters must be precisely ythe combinator’s first several arguments;

    -
  • -
  • -

    The value of any optional parameter must be entirely determined by the combinator’s result type.

    -
  • -
-

For example, in cons {X:Type} hd:X tl:(list X) = list X the parameter X may be made optional, because it is located at the very beginning of the argument list and is unambiguously determined by the list X result type. Similarly, in tcons {X:Type} {n:#} hd:X tl:(%Tuple X n) = Tuple X (S n) the values of X and n are completely determined based on the Tuple X (S n) result type, therefore they made be made optional parameters.

-

It usually makes sense to move all of a constructor’s arguments satisfying the second condition to the beginning of the list, arrange them in the order they appear in the result type’s parameters, and make them optional. Given such an approach, the full version of a constructor is rarely needed -- only when we want to transmit the value of the polymorphic or dependent type as a value of type Object. In all other cases, the type of the expected value from the context is already known, which means that all optional parameters can be recovered during decomposition.

-

See also Optional combinator parameters and their values.

- -
- -
-
- -
- - - - - - diff --git a/data/corefork.telegram.org/mtproto/mtproto-transports.html b/data/corefork.telegram.org/mtproto/mtproto-transports.html deleted file mode 100644 index fb33f73019..0000000000 --- a/data/corefork.telegram.org/mtproto/mtproto-transports.html +++ /dev/null @@ -1,293 +0,0 @@ - - - - - MTProto transports - - - - - - - - - - - - - -
- -
-
-
- -

MTProto transports

- -
- -

Here's a list of MTProto transport protocols (see the ISO/OSI recap for a full explanation):

- -

The server recognizes these different protocols (and distinguishes them from HTTP, too) by the header. -Additionally, the following transport features can be used:

- -

Example implementations for these protocols can be seen in tdlib and MadelineProto.

-

Abridged

-

The lightest protocol available.

-
    -
  • Overhead: Very small
  • -
  • Minimum envelope length: 1 byte
  • -
  • Maximum envelope length: 4 bytes
  • -
-

Payload structure:

-
+-+----...----+
-|l|  payload  |
-+-+----...----+
-OR
-
-+-+---+----...----+
-|h|len|  payload  +
-+-+---+----...----+
-

Before sending anything into the underlying socket (see transports), the client must first send 0xef as the first byte (the server will not send 0xef as the first byte in the first reply).
-Then, payloads are wrapped in the following envelope:

-
    -
  • Length: payload length, divided by four, and encoded as a single byte, only if the resulting packet length is a value between 0x01..0x7e.
  • -
  • Payload: the MTProto payload
  • -
-

If the packet length divided by four is bigger than or equal to 127 (>= 0x7f), the following envelope must be used, instead:

-
    -
  • Header: A single byte of value 0x7f
  • -
  • Length: payload length, divided by four, and encoded as 3 length bytes (little endian)
  • -
  • Payload: the MTProto payload
  • -
-

Intermediate

-

In case 4-byte data alignment is needed, an intermediate version of the original protocol may be used.

-
    -
  • Overhead: small
  • -
  • Minimum envelope length: 4 bytes
  • -
  • Maximum envelope length: 4 bytes
  • -
-

Payload structure:

-
+----+----...----+
-+len.+  payload  +
-+----+----...----+
-

Before sending anything into the underlying socket (see transports), the client must first send 0xeeeeeeee as the first int (four bytes, the server will not send 0xeeeeeeee as the first int in the first reply).
-Then, payloads are wrapped in the following envelope:

-
    -
  • Length: payload length encoded as 4 length bytes (little endian)
  • -
  • Payload: the MTProto payload
  • -
-

Padded intermediate

-

Padded version of the intermediate protocol, to use with obfuscation enabled to bypass ISP blocks.

-
    -
  • Overhead: small-medium
  • -
  • Minimum envelope length: random
  • -
  • Maximum envelope length: random
  • -
-

Before sending anything into the underlying socket (see transports), the client must first send 0xdddddddd as the first int (four bytes, the server will not send 0xdddddddd as the first int in the first reply).
-Then, payloads are wrapped in the following envelope:

-
+----+----...----+----...----+
-|tlen|  payload  |  padding  |
-+----+----...----+----...----+
-

Envelope description:

-
    -
  • Total length: payload+padding length encoded as 4 length bytes (little endian)
  • -
  • Payload: the MTProto payload
  • -
  • Padding: A random padding string of length 0-15
  • -
-

Full

-

The basic MTProto transport protocol

-
    -
  • Overhead: medium
  • -
  • Minimum envelope length: 12 bytes (length+seqno+crc)
  • -
  • Maximum envelope length: 12 bytes (length+seqno+crc)
  • -
-

Payload structure:

-
+----+----+----...----+----+
-|len.|seq.|  payload  |crc.|
-+----+----+----...----+----+
-

Envelope description:

-
    -
  • Length: length+seqno+payload+crc length encoded as 4 length bytes (little endian, the length of the length field must be included, too)
  • -
  • Seqno: the TCP sequence number for this TCP connection (different from the MTProto sequence number): the first packet sent is numbered 0, the next one 1, etc.
  • -
  • payload: MTProto payload
  • -
  • crc: 4 CRC32 bytes computed using length, sequence number, and payload together.
  • -
-

Transport features

-

Additionally, the following transport features can be used:

-

Quick ack

-

These MTProto transport protocols have support for quick acknowledgment. -In this case, the client sets the highest-order length bit in the query packet, and the server responds with a special 4 bytes as a separate packet. -They are the 32 higher-order bits of SHA256 of the encrypted portion of the packet prepended by 32 bytes from the authorization key (the same hash as computed for verifying the message key), with the most significant bit set to make clear that this is not the length of a regular server response packet; if the abridged version is used, bswap is applied to these four bytes.

-

Transport errors

-

In the event of a transport error (missing auth key, transport flood, etc.), the server may send a packet with a signed little-endian number of 4 bytes, whose absolute value contains the error code (the error itself is actually negative).

-

For example, error Code 403 corresponds to situations where the corresponding HTTP error would have been returned by the HTTP protocol.

-

Error 404 (auth key not found) is returned when the specified auth key ID cannot be found by the DC.

-

Error 429 (transport flood) is returned when too many transport connections are established to the same IP in a too short lapse of time, or if any of the container/service message limits are reached.

-

Transport obfuscation

-

Transport obfuscation is required to use the websocket transports.

-

Transport obfuscation to prevent ISP blocks is implemented using the following protocol, situated under the MTProto transport in the ISO/OSI stack, see the recap; this means that the payload is first wrapped in the MTProto transport envelope (all transports are supported), and then obfuscated:

-

Prior to establishing the connection (and eventually sending the protocol header of a specific MTProto transport), a 64-byte (512-bit) random initialization payload is generated. -During the generation process, special care must be taken in order to avoid a situation where that the first int (first four bytes) of the random string are equal to one of the known protocol identifiers (see above).
-In particular, the first four bytes must not be equal to 0xdddddddd (padded intermediate), 0xeeeeeeee (intermediate), POST, GET, HEAD, or any of the HTTP methods that are accepted by the MTProto servers.
-The first byte must also not be equal to 0xef (abridged). -Bytes 4-8 must also not be equal to 0x00000000, since that would indicate use of the full transport with the initial TCP sequence number (0).

-

The protocol identifier, if present, must be inserted in the initialization payload at byte offset 56: if its length is less than 4, it must be padded using the protocol identifier itself, to make its length 4 (0xef => 0xefefefef): the standalone protocol identifier must be not be sent aftwerwards.

-

This protocol is also (but not exclusively) used when connecting to MTProxies: only in this case, the DC ID in a specially encoded form must also be inserted in the initialization payload at offset 60. -The encoding simply consist of the DC ID in two-byte signed little-endian form; 10000 has to be added to the DC ID to connect to the test servers; it has to be made negative if the DC we're connecting to is a media (not CDN) DC.

-

Next, a secondary initialization payload is generated by reversing the primary intialization payload.

-

Two keys are extracted from both initialization payloads, using bytes at offsets 8-40: the key extracted from the primary payload is used as encryption key, the key extracted from the secondary payload is used as decryption key.

-

Two IVs are extracted from both initialization payloads, using bytes at offsets 40-56: the IV extracted from the primary payload is used as encryption IV, the IV extracted from the secondary payload is used as decryption IV.

-

Only if using MTProxy, the secret is used to provide connection with the MTProxy server. -The secret is a 16-byte string, usually distributed in its hexadecimal form along with the MTProxy host and port.

-

Often, a 17-byte version of the secret can be found: this simply indicates that the client should use a specific MTProto transport (based on the first byte, usually it's 0xdd, to indicate that the padded intermediate protocol should be used 0xdddddddd; however, clients should default to the padded intermediate transport whenever an additional byte in the secret is encountered).

-

The extracted encryption and decryption keys must be concatenated with the secret (the first byte of which should be ignored if it's the 17-byte version), and the SHA256 hash of such string should be used as encryption/decryption key.

-

The obtained encryption and decryption key/IV pairs must then be used with AES-256-CTR to encrypt and decrypt all outgoing and incoming payloads.

-

The first thing that must be encrypted using the encryption key is the initialization payload itself. -Then bytes 56-64 of the encrypted initialization payload are substituted in the original initialization payload: this is the part that contains the constant MTProto transport protocol identifier and the DC ID (only for MTProxies).

-

The final initialization payload must then be sent in the socket as first 64 bytes after the TCP handshake.

-

Example pseudocode for the generation of an MTProxy connection payload (media DC 4) using the obfuscated padded intermediate transport. -Warning: do not use the specified proxy secret in any MTProxy exposed on the internet.

-
protocol := 0xdddddddd
-dc := 0xfcff
-
-while 1:
-    init := (56 random bytes) + protocol + dc + (2 random bytes)
-
-    if init[0] == 0xef:
-      continue
-
-    first_int := substr(init, 0, 4)
-    if first_int == 0x44414548 || first_int == 0x54534f50 || first_int == 0x20544547 || first_int == 0x4954504f || first_int == 0x02010316 || first_int == 0xdddddddd || first_int == 0xeeeeeeee:
-      continue
-
-    second_int := substr(init, 0, 4)
-    if second_int == 0x00000000:
-      continue
-
-    break
-
-initRev := strrev(init)
-
-encryptKey := substr(init, 8, 32)
-encryptIV := substr(init, 40, 16)
-
-decryptKey := substr(initRev, 8, 32)
-decryptIV := substr(initRev, 40, 16)
-
-secret := substr(0xdd99999999999999999999999999999999, 1, 16)
-
-encryptKey = SHA256(encryptKey + secret)
-decryptKey = SHA256(decryptKey + secret)
-
-encryptedInit := CTR(encryptKey, encryptIV, init)
-
-finalInit := substr(init, 0, 56) + substr(encryptedInit, 56, 8)
-
-write(finalInit)
- -
- -
-
- -
- - - - - - - - diff --git a/data/corefork.telegram.org/type/ChannelAdminLogEventAction.html b/data/corefork.telegram.org/type/ChannelAdminLogEventAction.html deleted file mode 100644 index 5c29fa1151..0000000000 --- a/data/corefork.telegram.org/type/ChannelAdminLogEventAction.html +++ /dev/null @@ -1,255 +0,0 @@ - - - - - ChannelAdminLogEventAction - - - - - - - - - - - - - -
- -
-
-
- -

ChannelAdminLogEventAction

- -

Channel admin log event

-

- -
-
channelAdminLogEventActionChangeTitle#e6dfb825 prev_value:string new_value:string = ChannelAdminLogEventAction;
-channelAdminLogEventActionChangeAbout#55188a2e prev_value:string new_value:string = ChannelAdminLogEventAction;
-channelAdminLogEventActionChangeUsername#6a4afc38 prev_value:string new_value:string = ChannelAdminLogEventAction;
-channelAdminLogEventActionChangePhoto#434bd2af prev_photo:Photo new_photo:Photo = ChannelAdminLogEventAction;
-channelAdminLogEventActionToggleInvites#1b7907ae new_value:Bool = ChannelAdminLogEventAction;
-channelAdminLogEventActionToggleSignatures#26ae0971 new_value:Bool = ChannelAdminLogEventAction;
-channelAdminLogEventActionUpdatePinned#e9e82c18 message:Message = ChannelAdminLogEventAction;
-channelAdminLogEventActionEditMessage#709b2405 prev_message:Message new_message:Message = ChannelAdminLogEventAction;
-channelAdminLogEventActionDeleteMessage#42e047bb message:Message = ChannelAdminLogEventAction;
-channelAdminLogEventActionParticipantJoin#183040d3 = ChannelAdminLogEventAction;
-channelAdminLogEventActionParticipantLeave#f89777f2 = ChannelAdminLogEventAction;
-channelAdminLogEventActionParticipantInvite#e31c34d8 participant:ChannelParticipant = ChannelAdminLogEventAction;
-channelAdminLogEventActionParticipantToggleBan#e6d83d7e prev_participant:ChannelParticipant new_participant:ChannelParticipant = ChannelAdminLogEventAction;
-channelAdminLogEventActionParticipantToggleAdmin#d5676710 prev_participant:ChannelParticipant new_participant:ChannelParticipant = ChannelAdminLogEventAction;
-channelAdminLogEventActionChangeStickerSet#b1c3caa7 prev_stickerset:InputStickerSet new_stickerset:InputStickerSet = ChannelAdminLogEventAction;
-channelAdminLogEventActionTogglePreHistoryHidden#5f5c95f1 new_value:Bool = ChannelAdminLogEventAction;
-channelAdminLogEventActionDefaultBannedRights#2df5fc0a prev_banned_rights:ChatBannedRights new_banned_rights:ChatBannedRights = ChannelAdminLogEventAction;
-channelAdminLogEventActionStopPoll#8f079643 message:Message = ChannelAdminLogEventAction;
-channelAdminLogEventActionChangeLinkedChat#50c7ac8 prev_value:long new_value:long = ChannelAdminLogEventAction;
-channelAdminLogEventActionChangeLocation#e6b76ae prev_value:ChannelLocation new_value:ChannelLocation = ChannelAdminLogEventAction;
-channelAdminLogEventActionToggleSlowMode#53909779 prev_value:int new_value:int = ChannelAdminLogEventAction;
-channelAdminLogEventActionStartGroupCall#23209745 call:InputGroupCall = ChannelAdminLogEventAction;
-channelAdminLogEventActionDiscardGroupCall#db9f9140 call:InputGroupCall = ChannelAdminLogEventAction;
-channelAdminLogEventActionParticipantMute#f92424d2 participant:GroupCallParticipant = ChannelAdminLogEventAction;
-channelAdminLogEventActionParticipantUnmute#e64429c0 participant:GroupCallParticipant = ChannelAdminLogEventAction;
-channelAdminLogEventActionToggleGroupCallSetting#56d6a247 join_muted:Bool = ChannelAdminLogEventAction;
-channelAdminLogEventActionParticipantJoinByInvite#5cdada77 invite:ExportedChatInvite = ChannelAdminLogEventAction;
-channelAdminLogEventActionExportedInviteDelete#5a50fca4 invite:ExportedChatInvite = ChannelAdminLogEventAction;
-channelAdminLogEventActionExportedInviteRevoke#410a134e invite:ExportedChatInvite = ChannelAdminLogEventAction;
-channelAdminLogEventActionExportedInviteEdit#e90ebb59 prev_invite:ExportedChatInvite new_invite:ExportedChatInvite = ChannelAdminLogEventAction;
-channelAdminLogEventActionParticipantVolume#3e7f6847 participant:GroupCallParticipant = ChannelAdminLogEventAction;
-channelAdminLogEventActionChangeHistoryTTL#6e941a38 prev_value:int new_value:int = ChannelAdminLogEventAction;
-channelAdminLogEventActionChangeTheme#fe69018d prev_value:string new_value:string = ChannelAdminLogEventAction;

-

Constructors

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ConstructorDescription
channelAdminLogEventActionChangeTitleChannel/supergroup title was changed
channelAdminLogEventActionChangeAboutThe description was changed
channelAdminLogEventActionChangeUsernameChannel/supergroup username was changed
channelAdminLogEventActionChangePhotoThe channel/supergroup's picture was changed
channelAdminLogEventActionToggleInvitesInvites were enabled/disabled
channelAdminLogEventActionToggleSignaturesChannel signatures were enabled/disabled
channelAdminLogEventActionUpdatePinnedA message was pinned
channelAdminLogEventActionEditMessageA message was edited
channelAdminLogEventActionDeleteMessageA message was deleted
channelAdminLogEventActionParticipantJoinA user has joined the group (in the case of big groups, info of the user that has joined isn't shown)
channelAdminLogEventActionParticipantLeaveA user left the channel/supergroup (in the case of big groups, info of the user that has joined isn't shown)
channelAdminLogEventActionParticipantInviteA user was invited to the group
channelAdminLogEventActionParticipantToggleBanThe banned rights of a user were changed
channelAdminLogEventActionParticipantToggleAdminThe admin rights of a user were changed
channelAdminLogEventActionChangeStickerSetThe supergroup's stickerset was changed
channelAdminLogEventActionTogglePreHistoryHiddenThe hidden prehistory setting was changed
channelAdminLogEventActionDefaultBannedRightsThe default banned rights were modified
channelAdminLogEventActionStopPollA poll was stopped
channelAdminLogEventActionChangeLinkedChatThe linked chat was changed
channelAdminLogEventActionChangeLocationThe geogroup location was changed
channelAdminLogEventActionToggleSlowModeSlow mode setting for supergroups was changed
- -
- -
-
- -
- - - - - - diff --git a/data/corefork.telegram.org/type/Contact.html b/data/corefork.telegram.org/type/Contact.html deleted file mode 100644 index 16e200bfe2..0000000000 --- a/data/corefork.telegram.org/type/Contact.html +++ /dev/null @@ -1,143 +0,0 @@ - - - - - Contact - - - - - - - - - - - - - -
- -
-
-
- -

Contact

- -

A contact of the current user.

-

- -
-
contact#145ade0b user_id:long mutual:Bool = Contact;

-

Constructors

- - - - - - - - - - - - - -
ConstructorDescription
contactA contact of the current user that is registered in the system.
- -
- -
-
- -
- - - - - - diff --git a/data/corefork.telegram.org/type/InputStickerSetItem.html b/data/corefork.telegram.org/type/InputStickerSetItem.html deleted file mode 100644 index 927af061cc..0000000000 --- a/data/corefork.telegram.org/type/InputStickerSetItem.html +++ /dev/null @@ -1,143 +0,0 @@ - - - - - InputStickerSetItem - - - - - - - - - - - - - -
- -
-
-
- -

InputStickerSetItem

- -

Sticker

-

- -
-
inputStickerSetItem#ffa0a496 flags:# document:InputDocument emoji:string mask_coords:flags.0?MaskCoords = InputStickerSetItem;

-

Constructors

- - - - - - - - - - - - - -
ConstructorDescription
inputStickerSetItemSticker in a stickerset
- -
- -
-
- -
- - - - - - diff --git a/data/corefork.telegram.org/type/InputThemeSettings.html b/data/corefork.telegram.org/type/InputThemeSettings.html deleted file mode 100644 index 72e287863c..0000000000 --- a/data/corefork.telegram.org/type/InputThemeSettings.html +++ /dev/null @@ -1,143 +0,0 @@ - - - - - InputThemeSettings - - - - - - - - - - - - - -
- -
-
-
- -

InputThemeSettings

- -

Theme settings

-

- -
-
inputThemeSettings#8fde504f flags:# message_colors_animated:flags.2?true base_theme:BaseTheme accent_color:int outbox_accent_color:flags.3?int message_colors:flags.0?Vector<int> wallpaper:flags.1?InputWallPaper wallpaper_settings:flags.1?WallPaperSettings = InputThemeSettings;

-

Constructors

- - - - - - - - - - - - - -
ConstructorDescription
inputThemeSettingsTheme settings
- -
- -
-
- -
- - - - - - diff --git a/data/corefork.telegram.org/type/PageTableCell.html b/data/corefork.telegram.org/type/PageTableCell.html deleted file mode 100644 index 5489709d58..0000000000 --- a/data/corefork.telegram.org/type/PageTableCell.html +++ /dev/null @@ -1,143 +0,0 @@ - - - - - PageTableCell - - - - - - - - - - - - - -
- -
-
-
- -

PageTableCell

- -

Represents a table in an instant view table

-

- -
-
pageTableCell#34566b6a flags:# header:flags.0?true align_center:flags.3?true align_right:flags.4?true valign_middle:flags.5?true valign_bottom:flags.6?true text:flags.7?RichText colspan:flags.1?int rowspan:flags.2?int = PageTableCell;

-

Constructors

- - - - - - - - - - - - - -
ConstructorDescription
pageTableCellTable cell
- -
- -
-
- -
- - - - - - diff --git a/data/corefork.telegram.org/type/Poll.html b/data/corefork.telegram.org/type/Poll.html deleted file mode 100644 index e33ecc4861..0000000000 --- a/data/corefork.telegram.org/type/Poll.html +++ /dev/null @@ -1,143 +0,0 @@ - - - - - Poll - - - - - - - - - - - - - -
- -
-
-
- -

Poll

- -

Indicates a poll message

-

- -
-
poll#86e18161 id:long flags:# closed:flags.0?true public_voters:flags.1?true multiple_choice:flags.2?true quiz:flags.3?true question:string answers:Vector<PollAnswer> close_period:flags.4?int close_date:flags.5?int = Poll;

-

Constructors

- - - - - - - - - - - - - -
ConstructorDescription
pollPoll
- -
- -
-
- -
- - - - - - diff --git a/data/corefork.telegram.org/type/PostAddress.html b/data/corefork.telegram.org/type/PostAddress.html deleted file mode 100644 index dbc19b830a..0000000000 --- a/data/corefork.telegram.org/type/PostAddress.html +++ /dev/null @@ -1,143 +0,0 @@ - - - - - PostAddress - - - - - - - - - - - - - -
- -
-
-
- -

PostAddress

- -

Shipping address

-

- -
-
postAddress#1e8caaeb street_line1:string street_line2:string city:string state:string country_iso2:string post_code:string = PostAddress;

-

Constructors

- - - - - - - - - - - - - -
ConstructorDescription
postAddressShipping address
- -
- -
-
- -
- - - - - - diff --git a/data/corefork.telegram.org/type/VideoSize.html b/data/corefork.telegram.org/type/VideoSize.html deleted file mode 100644 index 7258eadf72..0000000000 --- a/data/corefork.telegram.org/type/VideoSize.html +++ /dev/null @@ -1,143 +0,0 @@ - - - - - VideoSize - - - - - - - - - - - - - -
- -
-
-
- -

VideoSize

- -

Represents an animated video thumbnail

-

- -
-
videoSize#de33b094 flags:# type:string w:int h:int size:int video_start_ts:flags.0?double = VideoSize;

-

Constructors

- - - - - - - - - - - - - -
ConstructorDescription
videoSizeAnimated profile picture in MPEG4 format
- -
- -
-
- -
- - - - - - diff --git a/data/corefork.telegram.org/type/account.SentChangePhoneCode b/data/corefork.telegram.org/type/account.SentChangePhoneCode deleted file mode 100644 index 3423b6f21f..0000000000 --- a/data/corefork.telegram.org/type/account.SentChangePhoneCode +++ /dev/null @@ -1,128 +0,0 @@ - - - - - Account.SentChangePhoneCode - - - - - - - - - - - - - -
- -
-
-
- -

Account.SentChangePhoneCode

- -

Sent phone code

-

- -
-

- -
- -
-
- -
- - - - - - diff --git a/data/corefork.telegram.org/type/messages.HistoryImport b/data/corefork.telegram.org/type/messages.HistoryImport deleted file mode 100644 index d5ee06e469..0000000000 --- a/data/corefork.telegram.org/type/messages.HistoryImport +++ /dev/null @@ -1,115 +0,0 @@ - - - - - Page not found - - - - - - - - - - - - - -
- -
-
-
- -

Page not found

- -
The page has not been saved
- -
- -
-
- -
- - - - - - diff --git a/data/corefork.telegram.org/type/updates.Difference b/data/corefork.telegram.org/type/updates.Difference deleted file mode 100644 index f2caeeb4fe..0000000000 --- a/data/corefork.telegram.org/type/updates.Difference +++ /dev/null @@ -1,177 +0,0 @@ - - - - - updates.Difference - - - - - - - - - - - - - -
- -
-
-
- -

updates.Difference

- -

Occurred changes.

-

- -
-
updates.differenceEmpty#5d75a138 date:int seq:int = updates.Difference;
-updates.difference#f49ca0 new_messages:Vector<Message> new_encrypted_messages:Vector<EncryptedMessage> other_updates:Vector<Update> chats:Vector<Chat> users:Vector<User> state:updates.State = updates.Difference;
-updates.differenceSlice#a8fb1981 new_messages:Vector<Message> new_encrypted_messages:Vector<EncryptedMessage> other_updates:Vector<Update> chats:Vector<Chat> users:Vector<User> intermediate_state:updates.State = updates.Difference;
-updates.differenceTooLong#4afe8f6d pts:int = updates.Difference;
-
----functions---
-
-updates.getDifference#25939651 flags:# pts:int pts_total_limit:flags.0?int date:int qts:int = updates.Difference;

-

Constructors

- - - - - - - - - - - - - - - - - - - - - - - - - -
ConstructorDescription
updates.differenceEmptyNo events.
updates.differenceFull list of occurred events.
updates.differenceSliceIncomplete list of occurred events.
updates.differenceTooLongThe difference is too long, and the specified state must be used to refetch updates.
-

Methods

- - - - - - - - - - - - - -
MethodDescription
updates.getDifferenceGet new updates.
- -
- -
-
- -
- - - - - - diff --git a/data/instantview.telegram.org/checklist.html b/data/instantview.telegram.org/checklist.html deleted file mode 100644 index dbe616dfea..0000000000 --- a/data/instantview.telegram.org/checklist.html +++ /dev/null @@ -1,624 +0,0 @@ - - - - - Checklist – Instant View - - - - - - - - - - - - - - -
- -
-
-
-
-
-
- -
-
-
-
-
-
-
-
-
- -
-
-
-
-

A Guide to Good Templates

- -
- -
- -
- -

This page lists general rules and detailed clarifications for creating good Instant View templates for news articles.

-

For more info on templates, see our Introduction and Sample Templates.

-

General Rules

-

Instant View templates must meet these five basic requirements:

-

1. IVs must only be generated for pages that need them

-

Instant View pages work best with relatively static articles. Dynamic pages (such as the main page of a news site) that are constantly refreshed with new links and media don't need IV.

-

Templates should only generate IV pages for articles and should not affect service areas of websites, as well as any other sections unsuitable for IV. IV pages should not be generated for articles that have content which is not supported in IV since this would result in unacceptable loss of information (e.g., IV pages don't support dynamic maps — if you generate an IV page for a wiki article with a dynamic map, the IV version will be missing a key element).

-

2. All essential content must be preserved

-

IV pages should show the entire text of the article, along with all its formatting, media, and embedded content. This includes headings, subheadings, quotes, captions, photos, videos, links, etc.

-

3. Unnecessary elements must be removed

-

IV pages should display only the source’s content – removing all interface elements, advertisments and irrelevant embedded material.

-

4. Template must process all the pages it covers

-

Pages with irregular elements should be processed correctly. All media, embeds, quotes and separators should be properly displayed.

-

5. No extraneous info may be added

-

Any attempt to add content that is not present on the original page will cause your template to be rejected.

-

You may include the username of websites’ official channels in Instant View templates. The username is assigned to the channel property, and to be considered official, the channel must be labeled as such by the company or person who published it (on its website or social media).

-
-

More detailed criteria and clarifications are available below.

-
-
-

Submitting Templates

-

You can submit your template for review as soon as it covers a sufficient number of articles. Make sure you've enabled Track Changes for at least 10-15 different pages on the target website and that all IV pages are generated correctly.

-

When ready, simply tap Submit Template next to a template in the My Templates section:

-
- -

Submitting a template from My Templates

- -

Finding Issues

-

Anyone can check how well Instant View templates process articles on their respective websites, and may submit feedback using the Report Issue button.

-

Click to select and highlight incorrectly parsed blocks in the source page or in the Instant View result and provide a detailed explanation of what is wrong (check the criteria below for ideas). The author of the template will be able to see all issues, fix and resubmit their work.

-
-

Perfect Templates

-

To make it easier to report issues in Instant View templates, we’ve compiled this list of characteristics that make a perfect template. Please use the list below as a reference when looking for issues in templates.

-

1. IV Targets: Must Generate

-

Templates must generate Instant View pages for all relevant pages on the target website.

-

1.1. Pages with static article-like content

-
    -
  • News articles
  • -
  • Blog posts
  • -
  • Guides
  • -
  • Wiki entries
  • -
  • Documentation
  • -
  • Etc.
  • -
-
-

Tip: It may be a good idea to identify a common feature of all the IV-positive pages and add rules so that the template only applies to them. Note that these pages only need IV pages if their essential content is supported in the IV format — otherwise, see 2.3.

-
-

2. IV Targets: Must NOT Generate

-

Templates must not generate Instant View content for pages of the following types:

-

2.1. Pages with dynamic content

-
    -
  • Dynamically updated lists of articles
  • -
  • Catalogs
  • -
  • Forum threads
  • -
  • Search pages and search results
  • -
  • Etc.
  • -
-
-

Tip: IV pages are cached. As articles get older, their cached IV pages update less frequently. Any pages that update content in real time would subsequently display outdated IV pages to users — which is unacceptable.

-
-

2.2. Pages that require significant interaction

-
    -
  • Service areas of websites, such as Contact pages with forms
  • -
  • Store areas of websites, such as pages where users can buy products
  • -
  • Etc.
  • -
-
-

Tip: While it's possible to modify interactive components of a page into simple links, the IV format was primarily designed to allow Telegram users to enjoy web content in a quick and uniform way. Interacting with websites, buying things, writing reviews, etc. are outside of the current scope for IVs.

-
-

2.3. Pages featuring content not supported by the IV format

-
    -
  • Pages with unsupported embedded content that can't be displayed
  • -
  • Any other unsupported content
  • -
-
-

Tip: The rule is simple. If an essential part of an article is not available in the Instant View format, an IV page must not be generated. In most cases, this will happen automatically but template creators can further protect their templates from data loss by marking any unsupported essential content using the @unsupported function. See this section for advice on handling unsupported videos.

-
-

2.4. Inaccessible pages

-
    -
  • Pages that are fully or partially behind a paywall.
  • -
  • Pages that are only accessible after logging in, etc.
  • -
-

3. Essential Content

-

All essential content must be presented on the Instant View page.

-

3.1. General properties

-
    -
  • The title must be shown on the IV page (may need to include the kicker).
  • -
  • The subtitle must be shown on the IV page if a subtitle exists in the source.
  • -
  • The date of publication must be shown on the IV page if the date of publication is mentioned anywhere in the source (including meta tags).
  • -
-

These properties are also essential, but not always present or supported in IV:

-
    -
  • Author name can be shown on the IV page if an author is specified in the source.
  • -
  • Author name on the IV page can link to the author URL if an author URL is specified in the source.
  • -
  • The main image can be shown as a cover on the IV page if a suitable image exists in the source.
  • -
  • NEW Right-To-Left pages (Arabic, Persian, Hebrew, etc.) must have the dir="rtl" attribute set.
  • -
-
-

Important: See our Clarifications below for tips on how to best process cover images, date and time, author names and URLs, and other tricky elements.

-
-

3.2. Link preview

-
    -
  • The link preview must include a photo if a suitable image or document exist in the source.
  • -
  • If the page has a cover but the metadata contains no image or contains the generic site logo, you must use the cover as the photo.
  • -
  • The link preview requires a description.
  • -
  • If a short description exists in the source, it must be used for the link preview (OpenGraph descriptions, lead sections, etc.).
  • -
  • If the description in the metadata (routinely) doesn’t describe the contents of the article, your template must create a description using the subtitle or lead section, first paragraph, etc.
  • -
  • The site_name property must include the name that users see on the main page of the website (examples here).
  • -
  • It is advisable to generate proper link previews even for pages that do not generate an IV.
  • -
-
-

Note: Telegram apps will show site_name in the header of the IV. It must match the name that users see on the main page of the website (see examples) and it must not contain any additional data. For this reason metadata should not be used blindly. If the main page doesn’t display a site name, use the name they use on social networks (Telegram channels have priority).

-
-

3.3. Supported elements

-
    -
  • All important media (images, videos, slideshows, and other content that is relevant to the article) that exists in the source must be formatted accordingly.
  • -
  • Media captions must be included with the corresponding media, provided they exist in the source and can be reliably identified.
  • -
  • Credits in quotes and media captions must be formatted correctly.
  • -
  • Dividers must be converted to simplified dividers on the IV page if dividers exist in the source.
  • -
  • Anchor links must work properly on IV page if anchor links exist in the source.
  • -
-
-

Tip: Check that pages featuring unsupported content do not generate IV pages. In most cases, this will happen automatically, but it is a good idea to confirm this before submitting your template. Mark any unsupported essential content using the @unsupported function. See this section for advice on handling unsupported videos.

-
-

4. Content to be Removed

-

Anything that is not essential to the article in question should be removed from the Instant View page, including:

-
    -
  • Main navigation bars and menus (essential navigation may be adjusted to simple links)
  • -
  • Top bars
  • -
  • Side bars (can potentially be adjusted and appended to bottom of IV page)
  • -
  • Footers
  • -
  • Unsupported widgets (check supported embeds)
  • -
  • Advertisements
  • -
  • Banners
  • -
  • Social media links and buttons, including “Share” and “Like”
  • -
  • Other buttons (if it is essential, it must be simplified into a link)
  • -
  • Etc.
  • -
-

5. Extraneous Content

-

The resulting IV page may not contain any content not present in the original.

-
    -
  • No signatures or information about the template's author
  • -
  • No extra links or ads of any kind
  • -
  • Etc.
  • -
-
-

Tip: You may display the official Telegram channel of the website that published the article at the top of the IV page (by using the channel property). To be considered official, the channel must be labelled as such somewhere on the source website (doesn't have to be on the same page as the original article).

-
-

6. Clarifications

-
-

Below are some clarifications for the trickier aspects of creating perfect Instant View templates.

-
-

GENERAL PROPERTIES

-

6.1.1 Author name

-

Author name is required only if it is presented in the source article in a consistent, clear and identifiable way (in an html block with particular properties), especially if there's a name of an actual person.

-

In less obvious cases, what the user sees when viewing the original article in a browser has priority over invisible meta-information. Names of actual people are always preferable over entity names like 'team' or the name of the website.

-

You may omit the author in cases where no name can be seen by a regular user opening the original article in the browser. You may omit the name when there's no identifiable person, only the website's 'team', 'editors', 'website name' etc.

-

Absent author names for articles in which no author can be easily identified by a regular viewing user are not considered an issue.

-

6.1.2 Date and time

-

The date of publication is obligatory for news publications. It must be obtained by any means possible, including meta tags, etc. If the date is specified correctly, time is optional.

-

If conflicting dates are stored in multiple places on the source page, preference should be given to the time that is visible to an ordinary user who views the page in a browser.

-

The IV editor's 'Preview' section will always show the date/time in UTC format, while the 'Original' section may use a different time zone. It is possible for a perfect template to display a date/time that looks different than the original.

-

Support for time zones is optional, unless the time zone is reliably identifiable from the source, in which case it’s obligatory.

-
-

Tip: If given 'date published' and 'date last edited', use 'date published' for articles. For wiki-like entries 'date last edited' must be used.

-
-

6.1.3 Subtitle

-

A subtitle is a subordinate title of a published work or article giving additional information about its content. If this is present in the original article, a subtitle is required. Here's an example of a subtitle:

-
- -

A Subtitle

-
- -

Few publications actually use subtitles. More commonly, short summary sentences are shown below the title (and are called standfirst in the UK). These summary sentences are usually short and are not part of the article's text. It is advisable but not required to represent them as subtitle elements. Here's an example:

-
- -

A Summary

- -

6.1.4 Lead paragraph

-

Many publications use a slightly different style for their lead paragraphs. Unlike subtitles and summaries, the lead paragraph is part of the article's text. Even if the lead uses a different style from the rest of the text, it is less desirable to present it as a subtitle — but this is not a critical issue.

-

If the lead paragraph uses a different style, it is recommended to use bold or italic text.

-
- -

A summary, then lead in bold

- -

In the example above, the lead paragraph is highlighted in bold: “TAXI giant Uber has reportedly fired over 20 workers following an internal investigation into sexual harassment allegations.”

-

The article then continues: “The company told staff of the layoffs on Tuesday and related claims by law firm Perkins Coie, a person close with the case told Bloomberg.” It would be acceptable to present the “TAXI giant Uber…” paragraph as bold, or italic, or plain text.

-
-

Tip: Generally, it is advisable to avoid setting too much text as the subtitle. If the website publishes summaries that take an entire paragraph or even multiple paragraphs, it's better to use italic/bold text instead of the subtitle element to represent this content in IV.

-
-

6.1.5 Kicker

-

Kickers are separately formatted parts of the title supported in IV 2.0 with the kicker property. The kicker property must be set if a kicker is present and its text is actually a part of the title/story (see 'UBER SEX CLAIMS' on the screenshot above).

-

If the kicker represents a regular section or category into which the article falls, (e.g. 'CRIME: Seventy suitcases stolen from Heathrow airport'), it should be omitted. Missing section/category kickers are not considered an issue.

-

IMAGES AND MEDIA

-

6.2.1 Image quality

-

When several image resolutions are available and can be extracted reliably, the IV page should use better quality images (within reason). The optimal resolution range is 1280px-2560px, using larger images is pointless. Note that images that are too large (>5 MB) will fail to load. We recommend updating your template to IV 2.1 to automatically extract optimal images from the srcset attribute.

-

If for some reason it is only technically possible to obtain low-resolution versions of images (lower than 320px) for a page, but its original web version has high-resolution images, the page should not generate an IV.

-
-

Note: For the Icon type, we highly recommend setting the correct size using the width/height attributes so that they appear the same way in IV as they do in the text. Otherwise, you risk grabbing the 3x version of an emoji and displaying it as a full-blown image.

-
-

See also: Infographics

-

6.2.2 Cover images

-

It is obligatory to use a cover image:

-
    -
  • If the image is present on the page and described in the source as “featured-img”, “cover”, “lead_img”, “main_image”, etc.
  • -
  • When the article has a cover on the source website (above the title or subtitle).
  • -
-

In other cases, cover images are optional:

-
    -
  • We recommend setting a cover If there's a suitable image directly below the title/subtitle.
  • -
  • While it is possible to use GIFs and videos as cover, in most cases, it's better to leave these elements in the body of the article.
  • -
-

Sometimes, a cover is less desirable:

-
    -
  • In single-image, single-video, or single-GIF articles with no significant text.
  • -
  • When text on the cover image repeats the title.
  • -
  • Images from meta-tags are not recommended: they might be suitable, but are usually designed with sharing widgets in mind and don’t work well in the IV environment.
  • -
-

A cover must not be set if:

-
    -
  • The chosen image is clearly inappropriate for the cover.
  • -
  • The chosen image appears several paragraphs into the article and it is possible to reliably identify this.
  • -
  • The cover image is duplicated in the article.
  • -
  • Several images appear in the article one after another. In this case, the template should not break the sequence by extracting one of them as a cover (example).
  • -
-
-

Tip: Cover images can also have captions in IV, don't lose them.

-
-

6.2.3 Galleries and slideshows

-

Slideshows are required only if the source article shows several photos or other media as a slideshow or gallery. If this is the case, do the following:
- Present all images in the IV as a gallery, if possible.
- If that's not possible, keep a link to the full gallery.
- If none of the above are possible, generate no IV for the page.

-

If the source has several ordinary images/videos/GIFs following each other in the source, you may also convert them into a slideshow, but this is purely optional. This makes more sense in cases when images serve as additional content (e.g., a long text about a new car which is followed by ten images of the car).

-

We will not accept issue reports based on presence or absence of slideshows for ordinary images following each other in the source article.

-

EXCEPTION! Slideshows must not be used when:

-
    -
  • The slideshow fetches unrelated images (e.g. an illustration and a disclaimer).
  • -
  • The article consists entirely of a slideshow (and its caption/description) and there's no other content.
  • -
  • The article uses images/videos/GIFs with captions as the main medium (e.g.: travel blogs that show many photos with captions, step-by-step crafting guides, cooking recipes, etc.).
  • -
-

In the cases above, use images with captions (or even plain paragraph text) following one another.

-
-

Tip: Remember that captions should be preserved for all images in the source. If you lose captions for images you've put into a slideshow, it's a valid issue. IV Slideshows support both a caption for the entire slideshows and different captions for each individual element.

-
-

6.2.4 Captions

-

Any captions present in the source article must be preserved. This includes captions for the cover image and captions for all individual elements of slideshows.

-
- -

All Captions Preserved

-
- -

If the image has no caption, but has meaningful text in the alt attribute, you may use that text as the caption. This is optional, we will not accept issue reports about alt-text missing from captions.

-
-

Tip: Please don't include meaningless alt-text as captions (e.g., the PlayStation blog always puts the name of the corresponding game in the alt attribute of all screenshots – there's no need to reproduce that on the IV page.)

-
-

6.2.5 Media credits

-

IV 2.0 supports a dedicated <cite> tag for credits in media captions. Credits in captions must be preserved and placed inside the appropriate tag, provided it is possible to reliably identify them.

-

6.2.6 Infographics

-

Tall infographic images are currently unreadable in Telegram apps. If there’s a reliable way to identify them (e.g., consistently used attributes or a specific section on the website that only contains infographics) the IV must add an image link to the full version of the image. If there is no reliable way to identify such images and they are not consistently featured on the website, it is acceptable to leave infographics as ordinary photos.

-

LINKS

-

6.3.1 Image links

-

In IV 2.0, <img> tags support the attribute href to make the image clickable. It must be used to preserve the link behind the image if it leads to some different page or content.

-

Image links are required only if they are meaningful. If the link opens the same image in a higher resolution, it must be removed. Exception: Infographics.

-

6.3.2 Related Articles and other “More” links

-

IV 2.0 supports a dedicated type for RelatedArticles. Related articles are relatively static individual links or blocks of articles which are thematically related to the current one. They don't have to be located on the same domain.

-

It is obligatory to format “Related articles” links using the new <related> tag and/or remove other “More” links, provided all these links can be extracted from the article without endangering essential information.

-

We designed the RelatedArticles block to deliver a better IV-reading experience to users. The IV engine automatically checks whether articles in the <related> block have an IV, you don't need to worry about this.

-
-

If pages have no IV, they will not be displayed. If this results in an empty block, it will not be displayed.

-
-

There are cases when you must not use RelatedArticles:

-

1. Keep but don’t format as Related

-
    -
  • Links that can’t be safely and reliably extracted from the article text.
  • -
  • Links that are part of essential content for the article (without which the article makes no sense).
  • -
  • Navigational links to the other parts of multipart articles.
  • -
-
-

Never put essential links into <related>, they will be lost if the page they are leading to doesn’t have an IV.

-
-

2. Remove

-
    -
  • “More” blocks that show different links each time the page is reloaded.
  • -
  • (Consistently) random unrelated articles.
  • -
  • Dynamic lists of "Latest articles from this category”, “More articles by this author”, “Featured articles”, etc.
  • -
  • Lists of categories (links to dynamic lists).
  • -
  • External links leading to “Partner sites” (e.g., You won't believe what this game does to people!).
  • -
-

6.3.2.1. Formatting Related Articles

-

It is sufficient to put links into <related>. You only need the <a> – the IV engine will handle the rest (title, description, etc.). Your IV may only have one block of related articles at the end of the page. If the source has several blocks, merge them together or choose which one to keep.

-

Headers
Only one header may be present for the block of related articles at the end of the page. We will not accept reports about missing headers on Related blocks (unless the header contains critical information).

-

Note that if a header for a related article is not reliably extractable from the body, you must not use <related> for that link. (Otherwise, if the link gets no IV, the text will have a hanging header).

-

“Inline” blocks
You may leave “inline” related links in the middle the article. If you do, these <related> blocks must not have headers (unless the header contains critical information).

-

6.3.3 Channel links

-

You may display the official channel of the website that published the article on the IV page by using the channel property:

-
- -

Official Channel Link

-
- -

This channel link is optional. We will not accept issue reports based on the absence or presence of a channel link, with one exception:

-

If the channel property is set, the channel it is pointing to must be the official channel. To be considered official, the channel must be labelled as such somewhere on the source website (doesn't have to be on the same page as the original article).

-

6.3.4 Source links

-

Some articles include a link to their source. This link could be inserted at the end of the article in the format via <a href="https://example.org">Website Name</a>. A word with a similar meaning could be used instead of 'via' for websites in other languages.

-

6.3.5 Author links

-

Author links are optional. If there's a clearly identifiable author and they have a page on the target website, use that one. In more ambiguous cases, use what the regular viewing user can see in the original article or omit the link altogether.

-
-

Tip: IV only supports one author URL per article. If there are several in the article, it's permissible to choose one or omit them altogether.

-
-

6.3.6 Social media links

-

Sharing buttons and other interface-based links must be removed as per Rule 4.

-

Many articles include something like “check out our Facebook page” at the end of the text. Such links must be removed if they are placed in a reliably identifiable container.

-

6.3.7 Multi-page articles

-

To parse several pages into one IV, update your template to IV 2.1 (which skips canonical redirects by default) and use the inline function. Make sure to check in-app to see if your solution is working. The IV should open correctly when users share a link to any part of the article.

-

If pages can’t be safely assembled into one IV, navigation must be preserved. Please confirm that navigation is working and all further pages open correctly. If navigation can’t be preserved, the article must not generate an IV.

-

Never format links to the other parts of an article as related. This may break navigation if one part of the article fails to generate IV (since related articles without IVs are omitted in the block).

-

UNSUPPORTED CONTENT

-

Pages that display unsupported content (e.g. an interactive map widget) must not generate IVs.

-

Important: We will accept issue reports requesting to generate IVs for pages with content previously deemed unsupported if you include a link to a template that fully supports the content in question. This does not apply to supporting content from popular widgets that are likely to get official support in the future, see the list below.

-

6.4.1 Complex tables

-

IV 2.0 includes support for Tables. IVs can now be generated for articles with simple tables. However, complex tables may not render through existing means, and must be tagged as @unsupported.

-

Important: We will accept issue reports requesting to generate IVs for pages with content previously deemed unsupported if you include a link to a template that fully supports the content in question.

-

6.4.2 Video/Audio from unsupported players

-
    -
  • If the unsupported widget has an iFrame version, make it into an <iframe>. If you do that, the IV page will not be generated due to unsupported content, but things will work out of the box if and when we support that widget.
  • -
  • If it is not possible to represent the widget as an iFrame, but it is possible to get a direct link to the video/audio, use that link to generate a <video> or <audio> with the correct src attribute.
  • -
  • Otherwise, mark the object with the @unsupported function.
  • -
-
-

If an article that is otherwise supported includes a video or an audio track that would cause it to become unsupported, it is acceptable to include a link to the video instead of unsupporting the article. If there’s no other content on the page, it must not generate an IV.

-
-

6.4.3 Auxiliary widgets

-

Some pages include unsupported widgets that are not essential for the understanding of the article. A local news site may show a weather forecast widget on their pages. A business newspaper may show a stock price ticker for the companies covered in the article. Some websites include “And what would you do?” polls at the end of some of their articles to increase user engagement.

-

Such non-essential widgets may be omitted in IV. Warning: Make sure that this dynamic auxiliary data doesn't get added to the static IV page.

-

6.4.4 Popular Widgets

-

Telegram is likely to support the following popular widgets in the future:

-
    -
  • Reddit
  • -
  • Spotify
  • -
  • Getty images
  • -
  • Imgur
  • -
  • Coub
  • -
  • Soundbank
  • -
  • JW Player
  • -
  • Twitter Timeline
  • -
  • Infogram
  • -
  • VK Post
  • -
  • WordPress Embed Post
  • -
  • Yandex.music
  • -
-

Supporting content from these widgets is optional since it will eventually become available through official means.

-

OTHER

-

6.5.1 Subdomains

-

Subdomains that present content in a similar way to the higher-level domain must be supported.

-

If a subdomain looks like a separate website, supporting it is optional. We will accept issue reports if a template generates broken IV pages for any subdomain.

-
-

Note: We will add the necessary redirects so that Telegram apps will show IVs for articles on the main domain when users share links to the mobile version. It is not necessary to support pages from the mobile version.

-
-

6.5.2 Service areas

-

Non-article pages are strictly optional, unless there’s interactive content – in which case they must not generate IVs. This includes Terms of Service, Privacy Policies, About sections, Contacts sections and special “Print” versions of articles.

-

6.5.3 Single-media pages

-

Support for pages that only contain a single media item (photo, GIF, video, etc.) is required if:

-
    -
  • The pages are routinely accessible to users through the main navigation of the website and include other data like title, date, etc.
  • -
  • Such pages are the main medium for the domain in question (e.g. Pikabu.ru)
  • -
-

If the single-media page contains unsupported media, it must not generate an IV. See 6.4.2 Unsupported Video and Audio content.

-

In all other cases, supporting single-media pages is optional.

-

6.5.4 Ancient lore

-

Support for news articles from 2015 and earlier is optional. We won’t accept issue reports on news articles posted before 2016 if the template correctly handles articles published recently.

-

6.5.5 Quotes

-

Quotes must be formatted to match their appearance in the source article, provided it is possible to identify them (and their type) in a reliable way. Line breaks in quotes must be preserved.

-

Quotes support <cite> tags. If a quote includes an author, it must be formatted accordingly (provided the author can be reliably identified in the source).

-
-

7. Checklist Changelog

-

We will be updating this document with further clarifications as new issues arise.

-

Mar 20 2019

-
-

Don’t miss the IV 2.1 update.

-
-

Checklist 2.2:

-

Expanded clarifications

-
    -
  • 3.2, Link Preview: site_name must include the name that users see on the main page of the website; cover photo must be used in preview if metadata is empty or contains site logo; template must generate proper description if metadata is unsuitable
  • -
  • 3.3, Supported Elements: Credits must be supported in media captions and quotes
  • -
  • 6.1.2, Date and Time: Time is optional if the date is set correctly; time zones are optional, unless reliably identifiable in the source
  • -
  • 6.2.1, Image Quality: for issues to be accepted, the difference in image quality must be significant; higher resolution images must be reliably extractable; note
  • -
  • 6.3.1, Image links: Must be preserved if they are meaningful
  • -
  • 6.3.2, Related articles: Details on when RelatedArticles must not be used; Formatting guidelines
  • -
  • 6.4, Unsupported content: Optional to extract content from popular widgets which are scheduled for official Telegram support, even if another template does this
  • -
  • 6.4.2, Unsupported Video/Audio: Possible to include a link to an audio/video instead of unsupporting an otherwise fine article
  • -
  • 6.5.1, Subdomains: Added a note on mobile versions
  • -
-

Added NEW clarifications

- -
-

Feb 6 2019

-

Checklist 2.1

-
    -
  • Related Articles (6.3.2). Considerably expanded guidelines. Now obligatory to put related links into the new “Related articles” block, provided they are reliably identifiable in the source. Other links should be removed, see full details.
  • -
  • Cover Images (6.2.2). Added conditions when covers are obligatory.
  • -
  • Galleries and Slideshows (6.2.3). Added detailed explanations on gallery usage.
  • -
-
-

Feb 2 2019

-

Checklist 2.0: Changes for the Second Instant View Contest

-

The Clarifications section has been rewritten to better organize the lore we've accumulated during and after the previous contest. These clarifications have been updated:

-
    -
  • Tables are supported (if they are not too complex).
  • -
  • Nested lists (and lists inside tables) are supported.
  • -
  • RTL-support has been introduced and is obligatory for RTL pages.
  • -
  • Related Articles got a dedicated element (UPDATED 6.02, see guidelines!).
  • -
  • Image links are supported.
  • -
  • Added guidelines on image quality.
  • -
  • Updated guidelines for cover images
  • -
  • The new Icon type requires careful handling.
  • -
  • Media credits can be formatted properly (if separable from caption).
  • -
  • Kickers in titles got a dedicated element for certain cases.
  • -
  • Added guidelines for supporting subdomains.
  • -
  • Updated guidelines for social media links
  • -
  • Updated the guidelines for site_name in link previews.
  • -
-

Don't forget to check out what's new in IV 2.0 to know what your templates are now able to support.

-
- -
-
-
-
-
- - - - - - - - - - - - - - diff --git a/data/instantview.telegram.org/rules.html b/data/instantview.telegram.org/rules.html deleted file mode 100644 index cdf8fc994b..0000000000 --- a/data/instantview.telegram.org/rules.html +++ /dev/null @@ -1,251 +0,0 @@ - - - - - Contest Rules - Instant View - - - - - - - - - - - -
- -
-
-
-
-
-
- -
-
-
-
-
-
-
-
-
- -
-
-
-
-

Template Competition Rules

- -
- -
- -
- -

We are holding a new $300,000+ 2-month competition (4 Feb 2019 - 4 April 2019) to create Instant View Templates for news websites and blogs, $100 per template. Everyone is welcome to participate!

-

Goal

-

The goal of the competition is to use Telegram's Instant View Editor to create perfect Instant View templates for as many websites as possible from our suggested domains list.

-

Starting on February, 4, we will be adding 500 new domains to our list of targets approximately every 10 days. The contest will end when all of the 3000+ target domains get a winning template. We expect this to take 2 months.

-
-

Subscribe to the IV contest channel »

-
-

Prizes

-

The first person to submit a fully valid and working template for one of the websites on our list gets $100 for each website they conquered ahead of the others.*

-

The winner will be the person who creates the greatest number of perfect templates (without valid issues) that cover the largest number of domains from our targets list. The winner will be awarded $10,000 in addition to the payout from their individual templates. For the second place, we will award a $5,000 prize on top of the payouts for the individual templates.

-

How to submit?

-

You can submit your template to the contest as soon as it covers a sufficient number of articles. Make sure you've enabled Track Changes for at least 10-15 different pages on the target website and all IV pages are generated correctly.

-

When ready, simply tap Submit to Contest next to a template in My Templates section:

-
- -

Submit to Contest from My Templates

- -

We strongly recommend that you make sure that your template satisfies all the criteria for a perfect template before you submit. If you revoke your template to make any adjustments and resubmit it later, the template will lose its place at the top of the list. You could still win in case all the templates that were submitted before your fix also have valid issues, but it's better not to take chances.

-

For the same reason, if you see that your template has some issues, it is best to fix them and resubmit as soon as possible.

-

Finding issues

-

Anyone can check the results (but not the code) of any templates that were submitted for the contest. This means you can take a couple of links and see if a template processes them correctly into perfect Instant View pages (see detailed criteria here).

-

If you see any issues, report them using the Report Issue button. Click to select and highlight incorrectly parsed blocks in the source page or in the Instant View result and provide a detailed explanation of what is wrong (check the general criteria and detailed rules). The author of the template will be able to see all issues, fix and resubmit their work. Note that it is the date of the latest resubmission that counts for the purposes of determining the winner.

-

Determining winners

-

The contest for each individual domain from the list of targets begins when the first corresponding IV template is published. The earliest submitted template is considered the winning candidate and participants get three days (72 hours) to find valid issues with that template.

-

Telegram arbiters will check all issues, accept valid ones and decline non-issues and duplicates. If the winning candidate is rejected, the second-earliest submitted template takes its place.

-

If the reporting period ends with no valid issues accepted on the leading template, participants may no longer create new issues for that template. They still can – and should – create issues on any other templates which were submitted less than 72 hours ago.

-

Arbiters will perform a final check on all remaining issues for the domain – they may also create and accept new issues of their own. If arbiters find no valid issues with the template, it is declared the winner.

-

Fallen leaders

-

If the leading template is rejected as a result of the final check, the contest is reopened and participants may submit issues again.

-
-

Note that the 72-hour reporting period is always calculated from the moment when the template was submitted. This means that if there are two templates for a domain submitted at the same time, and the leading one falls, the second one has the potential to win instantly, if the arbiters find no issues with it. It is important to submit issues for all templates, not just the currently winning one.

-
-

If as a result of this process all templates are rejected because none of them was able to achieve perfection, the contest for the domain starts again as soon as a new template is submitted. In some circumstances, Telegram may decide that the domain is unsuitable for IV and remove it from the contest.

-

Share the work — share the prize

-

When a template wins the competition for a particular domain, the users who helped the author to identify and fix issues will get a share of the prize at the end of the contest. We will award $2 per each of the 25 most recently submitted valid issues. This money (up to $50 per winning template) will be deducted from the template author's reward.

-

This way, if a template wins after other users found many issues with it, the author may get only $50 and the rest will be distributed among their helpers. Authors who submitted perfect templates right away will get the entire $100 for each of their templates when they win.

-

Receiving rewards

-

Rewards will be paid out after the contest ends – when all target domains are either declared unsuitable for IV or get a perfect template. We aim at completing the contest within approximately 2 months.

-

For operational purposes, payouts to both template makers and their helpers who identified issues start at $200. Note that rewards below $200 earned in the First Instant View Contest count towards the minimum limit in this Second Contest.

-

Criteria for a good template

-
-

For more info on templates, see our Introduction and Sample Templates.

-
-

To be considered in the competition, the template must fulfil at least these five basic requirements:

-

1. IVs must only be generated for pages that need them

-

Instant View pages work best with relatively static articles. Dynamic pages, such as the main page of a news site that contains ever-changing lists of links to new articles, would hardly benefit from the IV treatment.

-

You must make sure that your template only generates IV pages for articles and does not affect service areas of the website, as well as any other sections unsuitable for IV. You must also make sure that IV pages are not generated for articles that have content that is not supported in IV. If such a page were generated, it would result in unacceptable loss of information (e.g., IV pages don‘t support dynamic maps — if you generate an IV page for a wiki article that consists of a dynamic map, the user won’t see any useful info from the article).

-

Your template must have successfully passed automatic checks on at least 10-15 URLs from the target domain. Read more about automatic checks and tracking changes.

-

2. All essential content must be represented

-

Your IV page should show the entire text of the article, along with all the headings and subheadings, quotes, cover and other photos, videos, and other kinds of embedded content from the source page.

-

3. Unnecessary elements must be eliminated

-

Your IV page must display the pure content of the source. Remove any bits of interface, ads, and any irrelevant embedded content.

-

4. Template must process any of the pages it covers

-

Check whether pages with irregular elements are processed correctly. Pay special attention that various types of media, embedded elements, quotes, and separators are all displayed nicely. Check at least 10-15 different links before submitting your template to the competition.

-

5. No extraneous info may be added

-

Any attempts to add content that is not present on the original page will lead to the rejection of the template.

-

It is allowed to assign the username of the official channel of the website that published the article to the channel property. To be considered official, the channel must be named as such by the relevant company or person (on the website itself or on social media).

-
-

Perfect Templates

-

What's listed above are the general guidelines. If you're looking for more precise information on what a perfect template is (and is not), see the Perfect Template Checklist.

-
- -
-
-
-
-
- - - - - - - - - - - - - - diff --git a/data/macos.telegram.org.html b/data/macos.telegram.org.html deleted file mode 100644 index 1b7f3e350b..0000000000 --- a/data/macos.telegram.org.html +++ /dev/null @@ -1,415 +0,0 @@ - - - - - Telegram for macOS - - - - - - - - - - - - - - - - - - - -
-
- -
-
- - -
- -
- - - - - -
-
This software is available under GPL v2 license.

Source code is available on GitHub.

Beta version
-
- -
- -
-
-

Version history

- -

8.0 2021-09-02

-
    -
  • Live Streams, Flexible Forwarding, Jump to Next Channel and More
  • -
  • Live Stream to an unlimited number of viewers in groups and channels.
  • -
  • Remove sender names before forwarding.
  • -
  • Trending Stickers are now shown above 'Recently Used'.
  • -
  • Set stickers or GIFs as your profile video — or as profile videos for your groups or channels.
  • -
  • Profile pictures in groups follow the messages as you scroll the chat.
  • -
  • There's more! View the full list of changes in-app or on our blog.
  • -
- -

7.9 2021-08-02

-
    -
  • Video Calls with up to 1000 Viewers, Video Messages 2.0 and More
  • -
  • Group Video Calls 2.0
  • -
  • Group Video Calls now support up to 1000 video viewers, as well as unlimited audio-only listeners.
  • -
  • To start a Group Video Call, create a Voice Chat from the info page of any group where you are an admin — then turn your video on.
  • -
  • Video Messages 2.0
  • -
  • Enjoy higher resolution from video messages in your chats.
  • -
  • Timestamps
  • -
  • Add timestamps like '0:45' to video captions and replies to automatically create links that play the video from that specific moment.
  • -
  • Screen Sharing with Sound
  • -
  • Share your screen in 1-on-1 video calls, as well as group video calls.
  • -
- -

7.8.1 2021-07-15

-
    -
  • Improved group video calls in voice chats.
  • -
- -

7.8 2021-06-25

-
    -
  • Group Video Calls
  • -
  • Start video conferences from Voice Chats in any group.
  • -
  • Share your screen or video from your camera with up to 30 participants (limit to be increased soon).
  • -
  • Talk without video with an unlimited number of participants.
  • -
  • Create voice chats from the info page of any group where you are an admin.
  • -
  • Group video calls are supported natively on all devices, including iPads and laptops.
  • -
- -

7.7 2021-04-28

-
    -
  • Scheduled Voice Chats
  • -
  • Schedule voice chats to let participants know about them in advance.
  • -
  • View a countdown to the voice chat and get notified when it starts.
  • -
  • Who is Who in Voice Chats
  • -
  • Browse full-sized profile pictures and expanded bios directly in the list of participants.
  • -
  • Update your profile pic and bio from the voice chat window.
  • -
  • Payments 2.0
  • -
  • Offer real goods and services for sale in any group, channel or bot – Telegram doesn't charge a commission.
  • -
  • Pay for goods directly using one of 8 integrated payment providers – Telegram doesn't see your payment info.
  • -
- -

7.6 2021-03-19

-
    -
  • VOICE CHATS 2.0: CHANNELS, MILLIONS OF LISTENERS, RECORDED CHATS, ADMIN TOOLS
  • -
  • Millions of Concurrent Listeners
  • -
  • Start limitless Voice Chats in Groups and Channels.
  • -
  • Host discussions that can be listened to by millions of people simultaneously.
  • -
  • Voice Chat Recordings
  • -
  • Record voice chats to share or publish in Channels later.
  • -
  • See that a chat is being recorded from the red dot next to its title.
  • -
  • Improved List of Participants
  • -
  • See user bio texts right from the list of participants.
  • -
  • Raise your hand to show admins you want to speak.
  • -
  • Management Tools
  • -
  • Create separate Voice Chat Invite Links for listeners or speakers.
  • -
  • Change the title of your Voice Chat to give people an idea of the current topic.
  • -
  • Join Voice Chats as one of your Channels to hide your personal account.
  • -
- -

7.5.1 2021-03-05

-
    -
  • AUTO-DELETE, INVITE LINKS 2.0 AND MORE
  • -
  • Auto-Delete Messages
  • -
  • Set messages to auto-delete for everyone 24 hours or 7 days after sending.
  • -
  • Control auto-delete settings in any of your chats, as well as in groups and channels where you are an admin.
  • -
  • To enable auto-delete, press and hold on any message > Select > Clear Chat in the top left corner.
  • -
  • New Invite Links for Groups and Channels
  • -
  • Create invite links that work for a limited time or a limited number of uses.
  • -
  • See which users joined using your, or your admins’, invite links.
  • -
  • To manage invite links, open your group or channel Profile > Edit > Invite Links.
  • -
  • Groups with Unlimited Members
  • -
  • Convert groups that are approaching the member limit into unlimited Broadcast Groups.
  • -
- -

7.4 2021-01-29

-
    -
  • Adjust volume for individual participants of a voice chat.
  • -
  • Report fake groups or channels impersonating famous people or organizations by opening their Profile > More > Report.
  • -
  • Bug fixes and minor improvements.
  • -
- -

7.3 2020-12-24

-
    -
  • Voice Chats Done Right
  • -
  • Voice Chats in Groups
  • -
  • Turn any of your group chats into a hop-on, hop-off conference call.
  • -
  • Choose 'Start Voice Chat' under in the profile of any group where you are an admin to create a voice chat.
  • -
  • Get up to several thousand participants in each voice chat.
  • -
  • Control the number of speakers with flexible admin tools.
  • -
  • Sticker Outlines
  • -
  • Download stickers faster and watch shimmering outlines as they load.
  • -
- -

7.2.4 2020-11-29

-
    -
  • Added support for new ARM processors. Entering Hyperspace.
  • -
- -

7.2.3 2020-11-18

-
    -
  • Fixed a wisdom tooth.
  • -
  • Say 'bug fixes' again. Say 'bug fixes' again, I dare you. I DOUBLE DARE YOU!
  • -
  • The sun is shining, the icon is sweet.
  • -
- -

7.2.1 2020-11-09

-
    -
  • PINNED MESSAGES 2.0, PLAYLISTS AND MORE
  • -
  • Multiple Pinned Messages
  • -
  • Pin several messages in any chat, including one-on-one chats.
  • -
  • Jump between pinned messages or open them all on a separate page via the top bar.
  • -
  • Playlists and More
  • -
  • Send several music tracks as a playlist.
  • -
  • View detailed statistics about the performance of individual posts in your channels.
  • -
  • Send a :slot_machine: emoji to any chat to try your luck.
  • -
- -

7.1 2020-10-02

-
    -
  • ANONYMOUS GROUP ADMINS, CHANNEL COMMENTS AND MORE
  • -
  • Anonymous Group Admins
  • -
  • Turn on 'Remain Anonymous' in an admin's Permissions to let them post on behalf of the group and become invisible in the list of members.
  • -
  • Channel Comments
  • -
  • Comment on posts in channels that have a discussion group.
  • -
  • Get notified about replies to your comments via the new Replies chat (if you are not a member in the discussion group).
  • -
  • Silent Messages, now in Secret Chats
  • -
  • Send messages silently in Secret Chats by holding the Send button.
  • -
- -

7.0.1 2020-09-07

-
    -
  • Yes, Video Calls (alpha version)
  • -
  • Telegram turns 7 years old!
  • -
  • Thank you for your support over all these years. Because of you, this year Telegram reached 400 million active users and is now one of the top 10 most downloaded apps in the world.
  • -
  • To celebrate our 7th anniversary together, we are launching the first version of the feature you’ve been asking for – ultra secure and fast Video Calls.
  • -
- -

6.3.1 2020-07-31

-
    -
  • PROFILE VIDEOS, 2 GB FILE SHARING, AND MORE
  • -
  • Telegram is now among the top 10 most downloaded and most used apps in the world.
  • -
  • Increased limits for sending files
  • -
  • Share and store unlimited files of any type, now up to 2 GB each.
  • -
  • Profile Videos
  • -
  • Set a Profile Video instead of a static picture.
  • -
  • Quickly change back to a previous profile photo or video by tapping ‘Set as Main’.
  • -
  • Mini-thumbnails, Group Stats and More
  • -
  • See what media is in a message thanks to new mini-thumbnails in the chat list, message search and notifications.
  • -
  • View detailed statistics for the large groups you own.
  • -
  • If you're getting too much attention, flip a switch in Privacy and Security settings to automatically archive and mute all new chats from non-contacts.
  • -
  • Send a single football emoji to see if you score a goal.
  • -
- -

6.2.5 2020-07-22

-
    -
  • Bug fixes and minor improvements.
  • -
- -

6.2.3 2020-06-18

-
    -
  • Better GIFs
  • -
  • Enjoy greatly enhanced loading times for GIFs.
  • -
  • Quickly find GIFs in emoji-based sections covering the most popular emotions.
  • -
  • Check the Trending Tab for the top reactions of the day.
  • -
  • Bug fixes and other minor improvements.
  • -
- -

6.1.4 2020-05-07

-
    -
  • Bug fixes and other improvements.
  • -
- -

6.1.2 2020-04-30

-
    -
  • 400 MILLION USERS, QUIZZES 2.0 AND €400K FOR QUIZ CREATORS.
  • -
  • Access Shared Media faster from fully redesigned profile pages.
  • -
  • Use the new brush tools in the photo editor to draw on photos when sending or editing.
  • -
  • If you have too many folders, try the alternative mode with folder tabs on the left.
  • -
  • Send a single dart emoji to see if you hit the bullseye.
  • -
  • Add explanations that appear after users respond to a quiz question.
  • -
  • See how much time you have left to answer a question from @QuizBot with the new countdown animation.
  • -
  • Quiz Creator Contest
  • -
  • Participate in Telegram's €400,000 contest by using @QuizBot to create and publish an educational test on any subject.
  • -
- -

6.0 2020-03-30

-
    -
  • Chat Folders and More
  • -
  • Organize chats into Chat Folders if you have too many chats.
  • -
  • Create custom folders with flexible settings, or use default recommendations.
  • -
  • Pin an unlimited number of chats in each folder.
  • -
  • Archive chats to hide them from "All chats". Muted chats will always stay in the Archive.
  • -
  • View detailed statistics about the growth of your large channels and the performance of their posts.
  • -
  • Send 🎲 to any chat to try your luck and get a random number from the animated dice.
  • -
  • Send 🦠, 🤒, 😷, 🤕, 🤧, 🤢, 🤮, 🧼, 💉, 💊 or 🚑 to try out the new animated emoji.
  • -
- -

5.9.3 2020-02-23

-
    -
  • Bug fixes and minor improvements.
  • -
- -

5.9.2 2020-02-20

-
    -
  • Increased stability, optimized memory usage.
  • -
  • Bug fixes and minor improvements.
  • -
  • The oracle would like to know what you think of the color blue.
  • -
- -

5.9.1 2020-01-23

-
    -
  • Polls 2.0: Open Polls, Multiple Answers, and Quiz Mode
  • -
  • Create three new kinds of polls.
  • -
  • See who voted in Open Polls with non-anonymous results.
  • -
  • Vote for several options in polls that allow Multiple Answers.
  • -
  • Try to guess the correct answer in Quiz-style polls.
  • -
  • Explore various ways of combining the different poll options.
  • -
  • Just like before, you can add polls from the attachment menu in any group or channel.
  • -
- -

5.8.1 2019-10-30

-
    -
  • Mute chats for a specific time.
  • -
  • Switch between accounts from the improved status bar menu.
  • -
  • Enjoy improved design and animations (e.g. try clicking and holding on a sticker to preview).
  • -
  • Look for new bugs that were introduced while we were fixing the old ones.
  • -
- -

5.8 2019-10-22

-
    -
  • Enhanced design and other improvements.
  • -
  • Bug fixes.
  • -
- -

5.8 2019-10-21

-
    -
  • Enhanced design and other improvements.
  • -
- -

5.7 2019-09-09

-
    -
  • SCHEDULED MESSAGES
  • -
  • Hold the 'Send' button and select 'Schedule Message' to automatically send something at a specified time.
  • -
  • Schedule reminders for yourself in the 'Saved Messages' chat.
  • -
  • Get a notification when any of your scheduled messages are sent.
  • -
  • CUSTOM CLOUD THEMES
  • -
  • Choose a custom accent color and quickly create a new theme in Settings > Appearance.
  • -
  • Share your themes with other users on Telegram across platforms.
  • -
  • Update your theme for all its users when you change something.
  • -
  • NEW PRIVACY SETTINGS AND MORE
  • -
  • Choose who can find you on Telegram when they add your number to their phone contacts.
  • -
  • Share documents to Telegram from your favorite apps using the Share Extension.
  • -
  • Send a single 😁, 😧, 😡, 💩, 😢 or 😮 to check out what's new in the animated emoji department.
  • -
- -
- -
-
-
- -
-
-
- - - - - - - diff --git a/data/telegram.org/android.html b/data/telegram.org/android.html deleted file mode 100644 index e73cd939b0..0000000000 --- a/data/telegram.org/android.html +++ /dev/null @@ -1,79 +0,0 @@ - - - - - Telegram for Android - - - - - - - - - - - - - - - - - - - -
-
- -
-
-
- -
- - -

Telegram for Android

-
-
You can download Telegram for your Android device here. This version has fewer restrictions and receives automatic updates directly from telegram.org
- - - -
-

How to Install Telegram?

-
This video shows how to install Telegram on your Android device. See this page for detailed steps on various versions of Android.
-
- -
-
More comfortable with installing apps
from the Google Play Store?

Download Telegram from Google Play
-
-
- -
-
-
- - - - - - - diff --git a/data/telegram.org/api.html b/data/telegram.org/api.html deleted file mode 100644 index 5dc7f2477e..0000000000 --- a/data/telegram.org/api.html +++ /dev/null @@ -1,284 +0,0 @@ - - - - - Telegram Messenger - - - - - - - - - - - - - - - - - - - -
-
- -
-
-
- - - - - - -
- -

Why Telegram?

- -
-
-
-
-

Simple

-
Telegram is so simple you already know how to use it.
-
-
- -
-
-
-

Private

-
Telegram messages are heavily encrypted and can self-destruct.
-
-
- -
-
-
-

Synced

-
Telegram lets you access your chats from multiple devices.
-
-
- -
-
-
-

Fast

-
Telegram delivers messages faster than any other application.
-
-
- -
-
-
-

Powerful

-
Telegram has no limits on the size of your media and chats.
-
-
- -
-
-
-

Open

-
Telegram has an open API and source code free for everyone.
-
-
- -
-
-
-

Secure

-
Telegram keeps your messages safe from hacker attacks.
-
-
- -
-
-
-

Social

-
Telegram groups can hold up to 200,000 members.
-
-
- -
-
-
-

Expressive

-
Telegram lets you completely customize your messenger.
-
-
-
- -
- -
- -
-
-
- - - - - - - - diff --git a/data/telegram.org/blog.html b/data/telegram.org/blog.html deleted file mode 100644 index 3846a1517b..0000000000 --- a/data/telegram.org/blog.html +++ /dev/null @@ -1,268 +0,0 @@ - - - - - Telegram Blog - - - - - - - - - - - - - - - - - - - -
-
- -
-
-
-

Telegram News

-
-
- -
-

Live Streams, Flexible Forwarding, Jump to Next Channel, Trending Stickers and More

-
Telegram 8.0 brings live streams with unlimited viewers to groups and channels, options to…
-
-
Aug 31, 2021
-
- -
-

Video Calls with up to 1000 Viewers, Video Messages 2.0, Video Playback Speed and More

-
This update takes video to the next level. Group video calls now have up to 1000 viewers,…
-
-
Jul 30, 2021
-
- -
-

Group Video Calls

-
Today's update lets you turn on your camera or share your screen during Voice Chats in groups – on all devices, including tablets and desktops. This brings voice chats to a whole new…
-
-
Jun 25, 2021
-
- -
-

Animated Backgrounds

-
In addition to Group Video Calls, this update adds animated backgrounds and message sending animations, as well as a new menu button for bots, new ways to import stickers, reminders…
-
-
Jun 25, 2021
-
- -
-

Payments 2.0, Scheduled Voice Chats, New Web Versions

-
This update brings Payments 2.0 for all Telegram chats, Scheduling and Mini Profiles for Voice Chats, new versions of Telegram Web for…
-
-
Apr 26, 2021
-
- -
-

Voice Chats 2.0: Channels, Millions of Listeners, Recorded Chats, Admin Tools

-
Voice Chats first appeared in December, adding a new dimension of live talk to Telegram groups. Starting today, they become available in…
-
-
Mar 19, 2021
-
- -
-

Auto-Delete, Widgets and Expiring Invite Links

-
This update brings an auto-delete timer for messages in any chat, as well as new flexible invite links and faster access to your chats…
-
-
Feb 23, 2021
-
- -
-

Moving Chat History from Other Apps

-
Over 100 million new users joined Telegram this January, seeking more privacy and freedom. But what about the messages and memories that remain in older apps? Starting today, everyone…
-
-
Jan 28, 2021
-
- -
-

Voice Chats Done Right

-
Today, Telegram groups get an entire new dimension with Voice Chats – persistent conference calls that members can join and leave as they please. Our 12th update in 2020 brings them…
-
-
Dec 23, 2020
-
- -
-

Pinned Messages 2.0, Improved Live Locations, Playlists and More

-
Halloween is just around the corner and we've assembled choice tools to help organize your trick-or-treating. Practice your voodoo skills…
-
-
Oct 30, 2020
-
- -
-

Search Filters, Anonymous Admins, Channel Comments and More

-
Your personal Telegram Cloud is endless and full of spicy memes – to help you find your way around it, we're introducing Search Filters.…
-
-
Sep 30, 2020
-
- -
-

Video Calls and Seven Years of Telegram

-
Today marks seven years of Telegram. In 2013, we began as a small app focused on secure messaging and have since grown into a platform with over 400M users. Now this platform also…
-
-
Aug 14, 2020
-
- -
-

Profile Videos, 2 GB File Sharing, Group Stats, Improved People Nearby and More

-
Today's update brings Profile Videos along with improved People Nearby features, unlimited file sharing with up to 2 Gigabytes per file…
-
-
Jul 26, 2020
-
- -
-

Video Editor, Animated Photos, Better GIFs and More

-
In 2015, Telegram released the most powerful photo editor to be implemented in a messaging app, letting you enhance image quality and add…
-
-
Jun 4, 2020
-
- -
-

400 Million Users, 20,000 Stickers, Quizzes 2.0 and €400K for Creators of Educational Tests

-
Telegram has reached 400,000,000 monthly users, up from 300 million a year ago. Every day…
-
-
Apr 24, 2020
-
- -
-

Coronavirus News and Verified Channels

-
Channels are a tool for broadcasting your public messages to large audiences. They offer a unique opportunity to reach people directly, sending a notification to their phones with…
-
-
Apr 3, 2020
-
- -
-

Chat Folders, Archive, Channel Stats and More

-
Many of our users rely on Telegram for their work and studies, even more so in the last weeks. To make sure everyone's chat lists can handle…
-
-
Mar 30, 2020
-
- -
-

New Profiles, Fast Media Viewer and People Nearby 2.0

-
Hundreds of millions rely on Telegram to share precious moments with their loved ones. Today we're making it easier to relive shared memories…
-
-
Feb 13, 2020
-
- -
-

Polls 2.0: Visible Votes, Multiple Answers, and Quiz Mode

-
Since we first added polls for groups and channels, they've been used for everything from deciding where to have lunch to organizing leaderless…
-
-
Jan 23, 2020
-
- -
-

Verifiable Builds, New Theme Editor, Send When Online and So Much More

-
Introducing Reproducible Apps, Theme Editor 2.0, Send When Online and So Much More
-
-
Jan 1, 2020
-
-
- -
- -
-
-
- - - - - - - diff --git a/data/telegram.org/blog/400-million.html b/data/telegram.org/blog/400-million.html deleted file mode 100644 index 7b8c22dc55..0000000000 --- a/data/telegram.org/blog/400-million.html +++ /dev/null @@ -1,272 +0,0 @@ - - - - - 400 Million Users, 20,000 Stickers, Quizzes 2.0 and €400K for Creators of Educational Tests - - - - - - - - - - - - - - - - - - - -
-
- -
-
-
- -
-
-

400 Million Users, 20,000 Stickers, Quizzes 2.0 and €400K for Creators of Educational Tests

- -
- -
- -
- 400 Million Users, 20,000 stickers, Quizzes 2.0 and €400K for Quiz Creators -
- -

Telegram has reached 400,000,000 monthly users, up from 300 million a year ago.

-

Every day at least 1.5 million new users sign up for Telegram. Features like folders, cloud storage and desktop support make Telegram ideal for remote work and study during the quarantine. It's no wonder Telegram is the #1 most downloaded social media application in over 20 countries – people all over the world are switching to Telegram at an accelerating pace.

-
- Telegram's growth over the last 7 years. -
- -

When we started Telegram 7 years ago, we assumed that people will always choose freedom and quality over restrictions and mediocrity. As the gap in popularity between Telegram and its older competitors narrows, we find more and more validity in that original assumption. Thank you for being smart and free!

-

What's next, you might ask? The current global lockdown highlighted the need for a trusted video communication tool. Video calls in 2020 are much like messaging in 2013. There are apps that are either secure or usable, but not both. We'd like to fix that, and we will focus on bringing you secure group video calls in 2020.

-

When will they be ready? You'll be the first to know when we're done, promise. So stop asking. 😈

-

Better Quizzes

-

We added Quiz Mode to Telegram Polls back in January, allowing users to flex their trivia muscles. In recent weeks, we witnessed a surge of more serious educational tests and quizzes created using @QuizBot. Today's update upgrades quizzes with educational features.

-

You can now add explanations that appear as users respond to quiz questions, helping them learn from their mistakes, or giving them more context. Explanations make Telegram quizzes suitable not only for testing knowledge — but also for spreading it.

-
- -
- -
-

For example, update the app and try this test on Telegram History and Features.

-
-

When you create a quiz via @QuizBot, you can set a timer for questions. Timers add to the competitive element of Telegram quizzes, which are often used for exam preparation in student group chats. With the new countdown animation, everyone can see how much time they have left.

-

€400K for Creators of Educational Tests

-

With 2 billion students currently away from schools, the world is in dire need of online educational tools. We’d like to contribute to solving this problem by creating a database of educational tests for all subjects and levels. To do that, today we’re announcing a crowd-sourcing initiative in which we will distribute EUR 400,000 among creators of educational tests.

-

To take part, use @QuizBot to create and publish an original educational test on any subject at any difficulty level, in any language. Feel free to choose anything from basic Medieval European History in English to Mikrobiologie für Experten auf Deutsch – and add any media you require to your questions, but make sure all intellectual property rights are respected.

-

We will publish the quizzes you submit in a searchable directory. Based on their quality and popularity we will then announce the winners in several stages. Submissions for the first stage end on May 15.

-
-

Subscribe to the @contest channel for updates on this and other competitions we run. Last year alone, we distributed 2 Million Euro among the winners of our contests. 💰

-
-

20,000 Stickers

-

While Telegram has been the go-to place for stickers since they first came out, until today there wasn’t an easy way to see all the best stickers all at once. Meet the new sticker directory, where you can browse and search the over 20,000 high-quality free Telegram stickers created in the last 5 years.

-
- -
- -

If you have a particular set in mind, you can find it via search, or if you feel like taking a trip through the Museum of Sticker History, you can scroll through the list and go all the way from today's trends to the first Sticker Sapiens that walked the earth.

-

New Attachment Menu on Android

-

On Android, all sections of the attachment menu are now accessible as expandable layers, making the menu sleek, chic, and easier to use. Also, don't miss the cute animated icons.

-
- -
- -

macOS Improvements

-

Users of Telegram for macOS can now access Shared Media straight from the redesigned profile pages. Those who have a lot of Folders may like the new folder sidebar with icons in the style of Telegram Desktop.

-

By the way, this screenshot was created using the updated in-app photo editor which now allows you to draw on pictures when sending or editing:

-
- New macOS features. -
- -

Bullseye

-

To accompany the animated 🎲 emoji from last update, you can now take a shot at throwing animated darts 🎯 in any chat to see who hits the bullseye first.

-
- -
- -

We hope you like this update – all 400,000,000 of you.

-

- -
- -
- - -
- - -
-
-
- - - - - - - diff --git a/data/telegram.org/blog/android-gif.html b/data/telegram.org/blog/android-gif.html deleted file mode 100644 index 151076fc53..0000000000 --- a/data/telegram.org/blog/android-gif.html +++ /dev/null @@ -1,218 +0,0 @@ - - - - - GIF and Image Search on Android - - - - - - - - - - - - - - - - - - - -
-
- -
-
-
- -
-
-

GIF and Image Search on Android

- -
- -
- -

One of the best beloved features of our iOS app finally comes to Telegram for Android. You can now easily search the web for GIFs and images and send them to your friends.

-

To do this, simply open the Gallery attachment menu — you will find the new Search Web and Search GIF tabs at the top.

-
- - - - - - -
-
- -

Your recent gifs and images will be saved, so you can send them again with just a few taps. This is very useful when you're out of words and emoji are just not enough.

-

- -

Stay tuned for more updates this year!

-

December 20,
The Telegram Team

-
- -
- - -
- - -
-
-
- - - - - - - diff --git a/data/telegram.org/blog/android-themes.html b/data/telegram.org/blog/android-themes.html deleted file mode 100644 index dcea895615..0000000000 --- a/data/telegram.org/blog/android-themes.html +++ /dev/null @@ -1,246 +0,0 @@ - - - - - Custom Themes - - - - - - - - - - - - - - - - - - - -
-
- -
-
-
- -
-
-

Custom Themes

- -
- -
- -
- -
- -

We believe in freedom. This is why Telegram is a free and open platform – for stickers, for bots, and even for third-party client apps. We believe that if we give you freedom, you’ll know what to do with it.

-

Starting today, 85% of Telegram users can completely change what Telegram looks like for them. We are rolling out Custom Themes on Android, and will later support them on less popular platforms.

-

To switch to a different theme or create a new one, go to Settings > Theme. We‘ve included a Dark Theme in that menu for those of you who don’t want to use Telegram as a flashlight in dark places.

-
-
- -

The new dark theme

-
-
- -

Easy on the eyes

-
- -

Create Your Own

-

We've also added a Theme Editor to the app. You can now create new themes and easily share them with other users.

-
-
- -

Choose an element

-
-
- -

Pick a color

-
- -

Just like stickers and bots, Telegram themes are part of an open platform, so anybody can create a theme and dazzle the world with new colors and backgrounds. Here's another example of a theme created by our users:

-
-
- -

Theme preview: Chats list

-
-
- -

Chat screen

-
- -

Check out the @AndroidThemes and Desktop Themes channels for more new themes made by Telegram users.

-

If you're using our iOS app, hold on for a couple of weeks. You‘ll get themes eventually, but for now we’re building something different for you – and it’s truly epic.

-

- -

February 20, 2017
The Telegram Team

-
- -
- - -
- - -
-
-
- - - - - - - diff --git a/data/telegram.org/blog/apple-watch.html b/data/telegram.org/blog/apple-watch.html deleted file mode 100644 index 6c5b25b2cb..0000000000 --- a/data/telegram.org/blog/apple-watch.html +++ /dev/null @@ -1,225 +0,0 @@ - - - - - Telegram on Apple Watch - - - - - - - - - - - - - - - - - - - -
-
- -
-
-
- -
-
-

Telegram on Apple Watch

- -
- -
- -
-

Telegram for iOS reaches version 3.0 today, packed with the Bot Platform, dedicated sticker tabs and our first take on Apple Watch support.

-
-

Finally! Telegram 3.0 arrived with full Apple Watch support. You can view your recent chats and reply to messages with stickers, locations, emoji, preset phrases or dictated text. You can also view user and group profiles, start new chats, and even block users.

-
- - - - -
-
- -

Chats on your Apple Watch will show all the content available on Telegram: photos, stickers, locations, documents and videos. For those cases when the watch can‘t handle something, we’ve added a shortcut to easily open any message on your Phone.

-
- - - - -
- -

We've made sure that Telegram on Apple Watch does as much as the platform can support right now — and that it does more than any other messaging app out there.

-

- -

The Telegram Team,
June 24, 2015

-
- -
- - -
- - -
-
-
- - - - - - - diff --git a/data/telegram.org/blog/bots-2-0.html b/data/telegram.org/blog/bots-2-0.html deleted file mode 100644 index 7836940e16..0000000000 --- a/data/telegram.org/blog/bots-2-0.html +++ /dev/null @@ -1,260 +0,0 @@ - - - - - Bot Platform 2.0 - - - - - - - - - - - - - - - - - - - -
-
- -
-
-
- -
-
-

Bot Platform 2.0

- -
- -
- -

At Telegram, we made it our mission to redefine the boundaries of what you can do with your messaging app. Last year we launched the Bot Platform that has unleashed the creativity of thousands of developers.

-

Today we are giving bot developers a whole new dimension with Bots 2.0: inline keyboards, callback and URL buttons, location permissions and on-the-fly message editing. The new bots can also generate any type of content for you to share with friends, including documents, MP3s, videos, stickers, animations and contacts.

-

To give you a taste of the new possibilities, we built some sample bots last weekend – @music, @youtube, @foursquare and @sticker (make sure your Telegram app was updated today before you try them).

-

New Keyboards, New Actions

-

Here's how @music works – it uses an inline keyboard that allows you to interact with it without sending any messages. And it updates its own messages on the fly as you flip through the pages of search results:

-
-
- -
-
- -

New Types of Content

-

The @music bot also works in inline mode, which means it can help you send MP3s to any of your chats, right from the input field:

-
-
- -
-
- -

Inline bots can now send all types of attachments that are available on Telegram. We suspect you're going to like the @sticker inline bot – it can find you relevant stickers based on emoji.

-

New Mechanics

-

Like the @music bot, @youtube also works in two modes. It uses the new clever chat switching mechanic to connect your Telegram account with YouTube:

-
-
- -
-
- -

Once a Youtube account is connected, you can access additional settings via the new menu option above the results.

-

New Permissions

-

Now, @foursquare is an inline bot that utilizes our new location features and helps you send addresses of places and venues nearby. Note how it asks for permission to use your location when you try to send something for the first time:

-
-
- -
-
- - -

New Horizons

-

These sample bots are but the beginning. Our Bot API 2.0 allows developers to create fluid and easy-to-use interfaces for powerful bots. And we will be seeing a lot of new ones in the coming months, after all, 2016 is the year of bots.

-

If you are a developer, take a look at our Introduction to Bots 2.0 and read the full changelog. Also, feel free to subscribe to our official @BotNews channel to stay up to date on platform news.

-

If you are a user, hang on – soon you will have plenty of cool bots to play with. Meanwhile, enjoy the sample bots!

-

- - -
-

Oh. And we almost forgot we've got more new stuff today!
Read on about Sharing and Previews »

-
-

- -

April 12, 2016
The Telegram Team

-
- -
- - -
- - -
-
-
- - - - - - - diff --git a/data/telegram.org/blog/calls.html b/data/telegram.org/blog/calls.html deleted file mode 100644 index d591ed94fa..0000000000 --- a/data/telegram.org/blog/calls.html +++ /dev/null @@ -1,266 +0,0 @@ - - - - - Voice Calls: Secure, Crystal-Clear, AI-Powered - - - - - - - - - - - - - - - - - - - -
-
- -
-
-
- -
-
-

Voice Calls: Secure, Crystal-Clear, AI-Powered

- -
- -
- -
- -
- -
-

UPD, August 2020: Telegram also supports end-to-end encrypted video calls.

-

UPD, December 2020: You can start a voice chat with thousands of participants in any group.

-
-

Over the past few months, we’ve worked hard to make sure Telegram calls are the best in terms of quality, speed, and security. The wait is over: today Voice Calls are available all over the world in our mobile and desktop apps.

-

The Voice Call interface is familiar and easy to use, but as always, you get loads of innovation under the hood with Telegram.

-
- -
- -

Secure

-

Telegram Calls are built upon the time-tested end-to-end encryption of Telegram's Secret Chats. The key verification UI we came up with in 2013 to protect against man-in-the-middle attacks served well for Telegram (and for other apps that adopted it), but for Calls we needed something easier.

-

That's why we've improved the key exchange mechanism. To make sure your call is 100% secure, you and your recipient just need to compare four emoji over the phone. No lengthy codes or complicated pictures!

-
- -

Key verification

-
- -

Super-Fast

-

Whenever possible, your calls will go over a peer-to-peer connection, using the best audio codecs to save traffic while providing crystal-clear quality.

-

If a peer-to-peer connection can't be established, Telegram will use the closest server to you to connect you with the person you’re calling in the fastest way possible. Unlike other apps, Telegram has a distributed infrastructure all over the world which we’ve already been using to deliver your texts faster than other apps. Now these servers will also be used for calls.

-

In the coming months, we’ll be expanding our content delivery network around the globe, getting the connection up to light-speed even in remote areas.

-

AI-Powered

-

Each time you make a Voice Call on Telegram, a neural network learns from your and your device's feedback (naturally, it doesn't have access to the contents of the conversation, it has only technical information such as network speed, ping times, packet loss percentage, etc.). The machine optimizes dozens of parameters based on this input, improving the quality of future calls on the given device and network.

-

These parameters can also be adjusted during a conversation if there's a change in your connection. Telegram will adapt and provide excellent sound quality on stable WiFi — or use less data when you walk into a refrigerator with bad reception.

-

According to our tests, Telegram Calls are already superior to any of our competitors on comparable connections. But the quality of Telegram Calls will further improve as you and others use them, thanks to the built-in machine learning.

-

Complete Control

-

If you’re like us, you don’t like to be bothered. On Telegram, you can control who can and who can't call you with granular precision. You can even switch voice calls off altogether, blocking anyone and everyone from calling you.

-
- -

Privacy settings for calls

- -

By default, Telegram calls are lightweight and automatically adapt to the speed and type of your connection, so as to consume the least data possible. But if you want to reduce your data spending by another 25-30% at the expense of sound quality, you’re welcome to enable the Use Less Data option in Data and Storage Settings.

-

No Added Calories

-

Telegram is the most powerful messaging platform out there, but it is also famous for being the easiest one to use. We want to keep things this way, and that’s why by default we won’t clutter your screen with additional tabs and redundant buttons.

-

Once you start making calls, Telegram for iOS will offer you to add a dedicated tab for calls on the main screen of the app. Alternatively, you can turn the Calls tab on right away from the Recent Calls section in Settings. On Android, the call tab is accessible via the pull-out main menu on the left.

-

It's always easy to make a call, even if you've never opened the calls tab. As soon as Voice Calls are enabled for your country, a phone icon will appear on every profile page. You can also call by tapping the top bar in a chat and choosing 'Call' on iOS. On Android, the Call button is in the '…' menu at the top.

-
- -

New call button

-
- -

One more thing

-

For those of you who don’t do voice calls, v.3.18 brings something different: direct control over the quality of videos you share. Use this brand-new setting to select the degree of compression before sending a video. For the first time in the history of messaging, you can preview how the recipient will see your video before you send it.

-
-
- -
-
- -

The app will remember the compression rate you selected and will use it by default for your future video uploads.

-

- -

And that's it for today. Stay tuned, there's always more coming!

-

- -

March 30, 2017
The Telegram Team

-
- -
- - -
- - -
-
-
- - - - - - - diff --git a/data/telegram.org/blog/contacts-local-groups.html b/data/telegram.org/blog/contacts-local-groups.html deleted file mode 100644 index 574fa4f43c..0000000000 --- a/data/telegram.org/blog/contacts-local-groups.html +++ /dev/null @@ -1,272 +0,0 @@ - - - - - Location-Based Chats, Adding Contacts Without Phone Numbers and More - - - - - - - - - - - - - - - - - - - -
-
- -
-
-
- -
-
-

Location-Based Chats, Adding Contacts Without Phone Numbers and More

- -
- -
- -
- Telegram 5.8: Adding Contacts Without Phone Numbers, Location-Based Chats and More -
- -

In the previous update, we improved privacy settings and added a way for you to control who can see your phone number. Today we're making it easier to exchange contact info on Telegram.

-

All new chats now have an Add to Contacts button at the top. This allows you to quickly add anyone who messages you to your Telegram contacts, even if you don't know their phone number yet.

-
- Add/Block Buttons in a Chat -
- -

If you'd prefer they disappeared instead, the Block button is right next door.

-

Add People Nearby

-

Ever scrambled for business cards at a beach party? Or dropped somebody's phone into the pool in a “let me type in my number for you” moment? Worry no more.

-

Simply open Contacts > Add People Nearby to quickly exchange contact info with Telegram users who are standing next to you (and also have this section open).

-
- -
- -

This feature comes in especially handy when several people meet to perform the take-my-number dance. Now you can catch all your pokémon in just a few taps.

-

Location-Based Chats

-

Speaking of pokémon, the new People Nearby section also shows Groups Nearby – location-based group chats open for anyone around to join.

-
- -
- -

Tap Create a Local Group to unite your dormitory or apartment building, and maybe you can get Todd in 2C to finally turn his music down.

-
- Location-based group -
- -

This update opens up a new world of location-based group chats for anything from conferences, to festivals, to stadiums, to campuses, to chatting with people hanging out in the same cafe.

-

Transfer Group Chats

-

If you ever get tired of being the host of your group, you can pass the burden on to another administrator. Telegram apps now support transferring ownership rights from any groups and channels to other users.

-

Grant full admin rights to your Chosen One to see the Transfer Ownership button.

-
- Transfer group ownership -
- -

Whether your watch has ended, or you have some business to attend to in King's Landing, passing the torch is a simple, two-tap affair.

-

Enhanced Notification Exceptions

-

Notification Exceptions just got more powerful. You can now toggle message previews for specific chats. If you have many exceptions, use Search to find the right chat — or ‘Delete All’ to get back to square one instantly.

-
- Notification exceptions -
- -

Siri Shortcuts

-

Owners of iOS devices can now use Siri shortcuts to open chats with people. No hands just got no-handsomer.

-
- Siri -
- -

Theme Picker and Icon style

-

We've also revamped the Appearance settings on iOS so that it's easier to see what the different themes will look like even before you apply them.

-
- New theme picker on iOS -
- -

A while back, the Telegram X app for iOS was promoted, becoming the official Telegram, and its previous shell was removed from the store. If you are still using it for some reason, this is a good time to switch — ol' Telegram X is now three versions behind the main branch.

-

Some users told us they didn't want to switch because they liked the Telegram X icon better. So this update adds a way for your iOS app icon to get back in black:

-
- Pick your poison -
- -

By the way, Telegram X for Android is still there and is not going anywhere for now. If you're looking for an alternative interface, feel free to give it a try.

-

- -

June 23, 2019
The Telegram Team

-
- -
- - -
- - -
-
-
- - - - - - - diff --git a/data/telegram.org/blog/coronavirus.html b/data/telegram.org/blog/coronavirus.html deleted file mode 100644 index 554759121f..0000000000 --- a/data/telegram.org/blog/coronavirus.html +++ /dev/null @@ -1,254 +0,0 @@ - - - - - Coronavirus News and Verified Channels - - - - - - - - - - - - - - - - - - - -
-
- -
-
-
- -
-
-

Coronavirus News and Verified Channels

- -
- -
- -
- Verified Channels and Coronavirus Info -
- -

Telegram Channels are a powerful tool for broadcasting your messages to unlimited audiences. Since 2015, media organizations and public figures have been using them to reach readers, voters and fans – especially in countries where freedom of speech is limited.

-

Recently, we noticed a new type of channel gaining popularity: those created by Ministries of Health from around the world. India, Malaysia, Israel and many other countries now send news updates, warnings and tips via Telegram.

-
- -
- -
-

More about Channels and their features »

-
-

New Verification Tools

-

To help users distinguish trustworthy sources from fake news, we're launching a streamlined verification process today.

-

If you have verified accounts on other social media services, simply contact our new @VerifyBot to get a verification badge for your channel, group or bot.

-
-

More about Telegram Verification Guidelines »

-
-

Notifications for Users

-

Information is the most powerful weapon in the fight for global health – at least until we get a vaccine. To do our part, we've been sending notifications to all users in countries that have official channels with updates about the virus, offering them to join.

-

We invite all health officials to collaborate on keeping people informed. If you work for your country's Ministry of Health and would like to promote its channel, please verify it first using @VerifyBot, then contact us at corona@telegram.org.

-

Coronavirus Info

-

To make sure users find accurate and relevant information about the pandemic in their region, we've created a special channel which shows up as the top result for all coronavirus-related keywords in Search. It contains a list of official news sources by country:

-

- -

Beyond Channels: Groups and Bots

-

Telegram Channels are good for massive one-way broadcasts, but if you're looking for more interactive ways to inform people, try groups or bots.

-

Telegram Groups can have up to 200,000 members each and offer powerful tools for maintaining order. For example, doctors from the Indian state of Karnataka are using this public group to answer questions from users.

-
-

More about Telegram Groups »

-
-

Telegram Bots are third-party apps that you can interact with right from your chat list. You talk to them using buttons – and they reply with messages and media of all kinds. Bots are extremely flexible and can be used for anything from providing information to integrating with other web services.

-

For example, check out @QuizBot which can create and run quizzes like this one.

-
-

More about Telegram Bots »

-
-

And One More Thing

-

We couldn't do anything about the shortage of masks in the real world, but our artists found a way to squeeze an inexhaustible supply into your app.

-

You can apply masks from this set to any pictures you send using Telegram's Photo Editor. Whether to raise awareness, maintain digital hygiene, or simply to hide your nose is up to you.

-
- -
- -

Stay home. Wash your hands. Be safe. And stay tuned for our next updates!

-

- -

April 3, 2020,
The Telegram Team

-
- -
- - -
- - -
-
-
- - - - - - - diff --git a/data/telegram.org/blog/crowdsourcing-a-more-secure-future.html b/data/telegram.org/blog/crowdsourcing-a-more-secure-future.html deleted file mode 100644 index d1f8139b27..0000000000 --- a/data/telegram.org/blog/crowdsourcing-a-more-secure-future.html +++ /dev/null @@ -1,212 +0,0 @@ - - - - - Crowdsourcing a More Secure Future - - - - - - - - - - - - - - - - - - - -
-
- -
-
-
- -
-
-

Crowdsourcing a More Secure Future

- -
- -
- -

A few days ago we launched a contest to improve Telegram's security and are delighted to already have the first results. A Russian IT-community user identified a potentially vulnerable spot in our secret chat implementation. While this would not help him decipher the traffic and win the contest, his achievement deserves a notice — and a big prize.

-
-

The habrahabr user x7mz had discovered that in case the Telegram server could be seized by a malicious third party, it could send different nonce numbers to each of the clients participating in a secret chat.

-

These nonce numbers were introduced to add more randomness to the secret chat keys, mostly because of possible undiscovered vulnerabilities of the random generators on mobile devices (for example, one such vulnerability was found this August in android phones).

-

As was pointed out, this solution would have also made it possible for the visual representations of the shared secret key to be identical in case of a man-in-the-middle attack — provided such attack was done by the seized server. Obviously, the server has been under Telegram's control all this time, so this theoretical threat never had a chance to come to life.

-
-

The developer who found the potential weakness has earned a reward of $100,000. We have contacted him to find out how he would like to collect his prize.

-

A similar reward awaits anyone who finds viable ways of compromising MTProto’s security (and there is an outstanding reward of $200,000 for deciphering Telegram traffic). All submissions to security@telegram.org which result in a change of code or configuration are eligible for bounties, ranging from $500 to $100,000 or more, depending on the severity of the issue.

-

This story showcases the importance of keeping the protocol specification and source code open — this way thousands of bright minds from all over the world can help us find potential vulnerabilities and improve the protocol.

-

Let’s keep on looking for any weak spots. Together we can make Telegram unbreakable.

-

December 21, 2013
The Telegram Team

-
- -
- - -
- - -
-
-
- - - - - - - diff --git a/data/telegram.org/blog/cryptocontest.html b/data/telegram.org/blog/cryptocontest.html deleted file mode 100644 index ab0ab9ac7a..0000000000 --- a/data/telegram.org/blog/cryptocontest.html +++ /dev/null @@ -1,224 +0,0 @@ - - - - - $300,000 for Cracking Telegram Encryption - - - - - - - - - - - - - - - - - - - -
-
- -
-
-
- -
-
-

$300,000 for Cracking Telegram Encryption

- -
- -
- -
-

This contest is over, but Telegram's bug bounty program is always open.

-

Security researchers are welcome to submit any issues they find in the Telegram apps or protocol to us at security@telegram.org. All submissions which result in a change of code or configuration are eligible for bounties, ranging from $500 to $100,000 or more, depending on the severity of the issue.

-
-

Earlier this year we had a contest to decipher intercepted Telegram messages, that did not produce a winner. Today we announce a new contest with an easier task and a larger prize — $300,000 for cracking Telegram's encryption, and this time contestants can not only monitor traffic, but also act as the Telegram server and use active attacks, which vastly increases their capabilities.

-

In this contest you assume the role of a malicious entity in full control of both the communication lines and the Telegram servers themselves.

-
-

UPD The current round of the contest is over. Go to results »

-
-

Your goal is to extract sensitive data (a secret email address) from a Secret Chat between two users — Nick and Paul. You control the entire process, from chat creation to the sending of each individual message and can perform various active attacks, including MITM, KPA, CPA, replay attacks, etc.

-

Contest Interface

-

In order to facilitate the task, we have created an interface, using which you can act as the server and determine which side gets what data. For more details, please check out the Cracking Contest Description.

-

Objectives

-

In order to confirm that Telegram crypto was indeed cracked and claim your $300,000, you‘ll need to send an email to the secret email address that you’ve extracted from one of the messages exchanged by Paul and Nick.

-

Your email must contain:
- The entire text of the message that contained the secret email.
- Session logs for the successful attempt with your user_id.
- A detailed explanation of the attack on the protocol.
- Your bank account details to receive the $300,000 prize.

-

There is also a bonus objective with an independent prize of $100,000.
See full description for details »

-

End Date

-

To prove that the competition was fair, we will add a command that returns the keys used for encryption as soon as a winner is announced. In case there is no winner by February 4, 2015, decryption commands will be added at that date.

-
-
-
- -

November 4, 2014
The Telegram Team

-
- -
- - -
- - -
-
-
- - - - - - - diff --git a/data/telegram.org/blog/gif-revolution.html b/data/telegram.org/blog/gif-revolution.html deleted file mode 100644 index 20574df4e5..0000000000 --- a/data/telegram.org/blog/gif-revolution.html +++ /dev/null @@ -1,224 +0,0 @@ - - - - - GIF Revolution - - - - - - - - - - - - - - - - - - - -
-
- -
-
-
- -
-
-

GIF Revolution

- -
- -
- -

Good news for GIF-lovers! As of today, you can send and download GIFs up to 20x faster. This is possible because we're now re-encoding all GIFs to mpeg4 videos that require up to 95% less disk space for the same image quality.

-

We've optimized our apps so that they can smoothly play even dozens of GIFs on the screen at the same time. GIFs will now play automatically, so there's no need to launch each one manually anymore. (You can turn this off in Settings when you need a break.)

-

Sending GIFs

-

To make sending your favorite animations easier, we've added a dedicated GIF tab to the sticker panel. Tap on GIFs in chats (long tap on iOS) and ‘Save’ to add them to the panel. Then send them to any chat in one tap.

-
- -

-
- -

iOS users can now also send GIFs from the Gallery using the fully redesigned attachment menu.

-
- -
-
- -

GIF Bot

-

Last but not least, our new Inline Bots feature offers another innovative way of finding and sharing GIFs. These bots deserve a separate blog post.

-
-

Read on!

-
-

- -

The Telegram Team,
January 4, 2016

-
- -
- - -
- - -
-
-
- - - - - - - diff --git a/data/telegram.org/blog/group-video-calls.html b/data/telegram.org/blog/group-video-calls.html deleted file mode 100644 index f385f55bc7..0000000000 --- a/data/telegram.org/blog/group-video-calls.html +++ /dev/null @@ -1,264 +0,0 @@ - - - - - Group Video Calls - - - - - - - - - - - - - - - - - - - -
-
- -
-
-
- -
-
-

Group Video Calls

- -
-
-
- -
- Introducing Group Video Calls -
- -

Today's update lets you turn on your camera or share your screen during Voice Chats in groups – on all devices, including tablets and desktops. This brings voice chats to a whole new level, ready for online classes, business meetings and family gatherings.

-

We're also introducing animated backgrounds, stylish message animations and more – enough to fill a second blog post.

-

Group video calls

-

Voice chats in any group can now seamlessly turn into group video calls – just tap the camera icon to switch your video on.

-
- -
- -

Tap on any video to make it fullscreen. If you pin a video, it will stay focused as new users join the call and turn on their cameras.

-
-

To start a voice chat, check the ⋮ menu in the profile of any group where you are an admin (on iOS, you will find a 'Voice Chat' button right in the group profile).

-
-

While audio-only participants are unlimited, video is currently available for the first 30 people who join the voice chat. This limit will increase soon as voice chats take on streaming games, live events and more.

-

Screen sharing

-

In addition to your camera feed, you can also share your screen – or both at the same time.

-
- -
- -
-

To share your screen, tap ⋮ or ⋯ in any app and select it from the menu.

-
-

Noise suppression options

-

We've improved noise suppression in voice chats to keep everyone's audio clear and crisp, even when you're eating something crispy. We've also added a toggle to turn noise suppression off in settings – for those times when munching has meaning.

-
- Noise suppression settings -
- - -

Tablet and desktop support

-

Tablets and computers have more screen space and offer more display options – tap to open the side panel and see a split-screen view of the video grid and list of participants, optimized for both portrait and landscape orientation.

-
- -
- -

Voice chats on desktop open in a separate window, so you can type and talk without minimizing anything. Desktop apps also have selective screensharing so you can broadcast an individual program instead of your whole screen.

-
- -
- -

When you're using a desktop app, anyone who starts sharing their screen will be pinned automatically. This is especially useful when small teams meet to coordinate their work.

-

And more?

-

That's it for today… No, wait. In fact, we're having two updates instead of one:

-
-

Read on to learn about Animated Backgrounds and more.

-
-

- -

June 25, 2021
The Telegram Team

-
- -
- - -
- - -
-
-
- - - - - - - - diff --git a/data/telegram.org/blog/inline-bots.html b/data/telegram.org/blog/inline-bots.html deleted file mode 100644 index 6a178b40a4..0000000000 --- a/data/telegram.org/blog/inline-bots.html +++ /dev/null @@ -1,234 +0,0 @@ - - - - - Introducing Inline Bots - - - - - - - - - - - - - - - - - - - -
-
- -
-
-
- -
-
-

Introducing Inline Bots

- -
- -
- -

Bots became an integral part of Telegram for many users, but communication with them wasn't always easy. You had to send them messages in separate chats or add them to your groups. Today we are introducing a quicker way to contact bots.

-

With the new inline mode, bots become omnipresent and can be used as a tool in any of your chats, groups or channels – it doesn't matter, whether the bot is a member or not. Inline bots can help you with dozens of different tasks, like quickly sending relevant GIFs, pictures from the Web, YouTube videos, Wikipedia articles, etc.

-
-
- -
-
- -

How does it work?

-

We've created several sample bots for you to try out: @gif, @vid, @pic, @bing, @wiki, @imdb and @bold. To see them in action, simply type one of their @usernames in the message field in any chat, then type some keywords. The bot will offer you relevant content.

-
- - -
-
- - -

Tap on an item to instantly send it to the chat. This way you can share stuff from bots without any hassle. Inline bots don't see any messages in your chats – they only receive what you type after their username in the input field.

-
- - -
-
- -

Tap on ‘via @username’ to send a new request to the bot. Recently used inline bots will also show up in the suggestion box when you type @ in the input field in any chat.

-

A new dimension for bots

-

Like pretty much everything else at Telegram, inline bots are part of an open platform, available for free to every developer in the world starting today. Hundreds of new inline bots are sure to arrive once developers start supporting the new mode.

-

If you are a developer, take a look at our Introduction to Inline Bots. Also, feel free to subscribe to our official @BotNews channel to stay up to date on platform news.

-

- -

The Telegram Team,
January 4, 2016

-
- -
- - -
- - -
-
-
- - - - - - - diff --git a/data/telegram.org/blog/masks.html b/data/telegram.org/blog/masks.html deleted file mode 100644 index 024ad3c513..0000000000 --- a/data/telegram.org/blog/masks.html +++ /dev/null @@ -1,248 +0,0 @@ - - - - - Photo Editor 2.0, Masks and Homemade GIFs - - - - - - - - - - - - - - - - - - - -
-
- -
-
-
- -
-
-

Photo Editor 2.0, Masks and Homemade GIFs

- -
- -
- -

Last year we introduced the most powerful photo editing tool ever to be implemented in a messaging app. This allowed you to instantly improve photos before sending them on iOS and Android.

-

Today we’re pushing the photo editor to the next level with the fun stuff: you can now add drawings, masks, stickers and text right onto your pictures.

-
-
- -
-
- -

This is easy: just choose a mask, and it will be automatically positioned in the right place. Telegram identifies faces on photos and uses mask meta-data to find the perfect spot.

-

Our artists created hundreds of beautiful and fun masks as examples, but everything we do here in Telegram is an open platform. So as of today, anyone can use the /newmasks command for the @stickers bot to upload their own masks.

-
-
- -

Masks Button (top right)

-
-
- -

Adding Masks

-
- -

When opening a photo, you will see a list of mask sets that were used on it. This way popular custom masks will quickly become viral.

-

GIFs Democratized

-

Another thing that’s likely to spread virally now are your GIF-animations. Creating your own GIFs has never been easier: simply record a video in Telegram and tap the new “mute” button to share it as a looped autoplayed GIF.

-
-
- -
-
- -

The animation will be saved to your GIFs section so that you can quickly react to anything with a set of your own prerecorded GIF-emotions.

-

Trending stickers

-

The last addition to this entertainment-heavy update is the trending stickers tab. Whenever you’re feeling hungry for new stickers you can find the latest additions in the stickers panel in any of your chats.

-
- -

In-chat Trending Stickers

-
- -

- -

We're back from the summer break, so watch out for more updates coming your way soon.

-

- -

September 23, 2016
The Telegram Team

-
- -
- - -
- - -
-
-
- - - - - - - diff --git a/data/telegram.org/blog/polls-2-0-vmq.html b/data/telegram.org/blog/polls-2-0-vmq.html deleted file mode 100644 index 0968a7ea3f..0000000000 --- a/data/telegram.org/blog/polls-2-0-vmq.html +++ /dev/null @@ -1,271 +0,0 @@ - - - - - Polls 2.0: Visible Votes, Multiple Answers, and Quiz Mode - - - - - - - - - - - - - - - - - - - -
-
- -
-
-
- -
-
-

Polls 2.0: Visible Votes, Multiple Answers, and Quiz Mode

- -
- -
- -
- Introducing Polls 2.0: Visible Votes, Multiple Answers, and Quiz Mode -
- -

Since we first added polls for groups and channels, they've been used for everything from deciding where to have lunch to organizing leaderless protests. Today we're expanding the range of possibilities with three new kinds of Telegram polls.

-
- -
- -

Visible Votes

-

Previously, all polls on Telegram were anonymous. With this update, you can create polls that allow everyone in the group to see who voted for what. Now you will know exactly which friends you disagree with on the matter of pineapple and pizza.

-
- A poll that shows who voted for which option -
- -

Naturally, you can still create anonymous polls to make sure nobody finds out it was you who voted for broccoli instead of cookies.

-

Multiple Answers

-

One of the best ways to settle the score is with polls that allow people to select multiple answers. Scheduling events, or choosing a playlist of songs for a party – sometimes you need more than one choice.

-
- A poll that allows people to select multiple answers -
- -

Our aunt who has a knack for statistics and exploring bizarre correlations kept asking for this feature – and we just couldn't say no. (33% of developers who didn't refuse this request were also found to be addicted to cheese.)

-

Quiz Mode

-

For the game show guru and “Who Wants To Be A Millionaire” contestant in all of us, polls now have Quiz Mode. Such polls have one correct answer and can power anything from trivia games to public service exams.

-
- Quiz mode -
- -

As if guessing right wasn't sweet enough, correct answers will trigger a shower of confetti.

-

Creating Polls

-

Polls can be created in groups or channels (they feel lonely in one-on-one chats). Simply choose the “Poll” option in the attachment menu. Type in your question, add answer options, choose the settings that fit your purpose best – and you're ready to go:

-
- -
- -

Bot API and Quiz Bot

-

All the new poll types are supported in today's update to our Bot API, so bot developers can build on this new functionality.

-

As an example, we've created a Quiz Bot that lets you create multi-question quizzes and share them with others. It also lets you add text or media before questions to help create exam-style prompts with graphs and tables – or better yet, your own Know Your Meme tests.

-

Once your quiz is ready, you can share it to a group or channel – or invite users to answer questions privately, in a chat with the bot. To see how this works, try our demo quiz: Who is Who in the 'Great Minds' sticker pack.

-
- Demo Quiz -
- -

The bot will keep tabs on how many questions users got right and how much time it took them to complete the quiz. It also keeps a global leaderboard for each quiz you create.

-

Message Corners

-

In addition to the new polls, our apps just got a new visual setting. If you find your Telegram messages too hip to be square (or round, depending on your platform), you can tweak the appearance of message bubbles in Settings:

-
- -
- -

Download Progress Counters on Android

-

Just like on iOS, Android users can now see exact progress counters when downloading or uploading files – if they're in the mood to count bits and bytes.

-
- Download progress counters on Android -
- -

And that's it for today. Here's to a good new year full of updates. Stay tuned!

-

- -

January 23, 2020
The Telegram Team

-
- -
- -
- -
-
- - -
-
-
- - - - - - - diff --git a/data/telegram.org/blog/polls.html b/data/telegram.org/blog/polls.html deleted file mode 100644 index 592f3a044a..0000000000 --- a/data/telegram.org/blog/polls.html +++ /dev/null @@ -1,230 +0,0 @@ - - - - - Polls: Bringing Choice to Communities - - - - - - - - - - - - - - - - - - - -
-
- -
-
-
- -
-
-

Polls: Bringing Choice to Communities

- -
- -
- -
- -
- -

Large communities on Telegram frequently use polls to coordinate their activities and stay in touch with their members. Today, we're rolling out a dedicated tool for polls in addition to existing bots like @vote. We hope the new built-in polls will be a welcome addition to groups with 100,000 members and channels with millions of subscribers.

-
- -
- -

Polls can be forwarded to increase reach and pinned for better visibility (and also to notify all members of the community).

-

At the moment, polls are anonymous, meaning that no one can see who voted for what. Going forward, we may introduce non-anonymous polls where the voters lists will be public, but such polls will be explicitly marked as non-anonymous.

-
-

Telegram has your back when it comes to privacy: we never disclose the private data you entrusted us with to third parties and never monetize it.

-
-
-

Image Search and Other Improvements on iOS

-

Back to more mundane matters, you can use Web Search again to find images when sending Photo & Video attachments or choosing profile pictures in our iOS app. Setting a Grinch avatar for Christmas has never been easier:

-
- -
- -

The Great iOS Bug Hunt goes on and the app received numerous fixes in version 5.1.1.

-

To name a few improvements: Clearing the cache in Settings > Data and Storage > Storage Usage now correctly reduces the space taken by the app. Files and media will keep downloading for a while after you close the app. You will see detailed progress when downloading and uploading files. We've also added online indicators for the ‘People’ section in search results.

-

Happy Winter Solstice!

-

- -

December 22, 2018
The Telegram Team

-
- -
- - -
- - -
-
-
- - - - - - - diff --git a/data/telegram.org/blog/shared-links.html b/data/telegram.org/blog/shared-links.html deleted file mode 100644 index 918e278400..0000000000 --- a/data/telegram.org/blog/shared-links.html +++ /dev/null @@ -1,221 +0,0 @@ - - - - - Shared Links and Recent Searches - - - - - - - - - - - - - - - - - - - -
-
- -
-
-
- -
-
-

Shared Links and Recent Searches

- -
- -
- -

Have you ever tried to find a link somebody shared in a busy chat? It’s not always easy. Of course, you could use message search, but now it's even easier – simply go to the new Shared Links section in Shared Media. Voila!

-
- - -

-
- -

You will see the text of the message that accompanied the link, or the rich preview data in case the link was sent by itself. This feature is currently available for iOS and Android, but will make its way to our other apps soon.

-

Recent Search Results

-

By the way, as of the previous update on both iOS and Android, tapping the universal search field now gives you quick access to recent search results.

-
- - -

-
- -

We‘re ramping up for massive updates this Fall. Stay tuned!

-

- -

The Telegram Team,
August 20, 2015

-
- -
- - -
- - -
-
-
- - - - - - - diff --git a/data/telegram.org/blog/stickers-meet-art-and-history.html b/data/telegram.org/blog/stickers-meet-art-and-history.html deleted file mode 100644 index f7f9361d52..0000000000 --- a/data/telegram.org/blog/stickers-meet-art-and-history.html +++ /dev/null @@ -1,338 +0,0 @@ - - - - - When Stickers Meet Art And History - - - - - - - - - - - - - - - - - - - -
-
- -
-
-
- -
-
-

When Stickers Meet Art And History

- -
- -
- -

Today Telegram launched a new kind of stickers – a free emotion-based platform for artists. We mentioned several technological and architectural points that make Telegram stickers a completely new experience – open, free and limitless. But there’s another way in which they are unique, and it also has a lot to do with our values.

-

When designing our first set of stickers, we didn’t want to use just any cartoon characters to express emotions. Instead we decided to portray people we respect most. These are great artists, poets, actors, scientists and leaders.

-

We'd like to give them credit for their contributions to human civilization, and we hope that millions of Telegram users share our respect for these outstanding individuals.
Don't forget to check out Part 2: MOAR stickers!

-
-
- -
-
Abraham Lincoln approves
-
- -
-
- -
- - -
-
Salvador Dali unlocks achievement
-
- -
-
- -
- - -
-
Albert Einstein explains
-
- -
-
- -
- - -
-
Mahatma Gandhi likes where this is going
-
- -
-
- -
- - -
-
Charlie Chaplin had a bad day
-
- -
-
- -
- - -
-
Steve Jobs laughs out loud
-
- -
-
- -
- - -
-
Kafka is not happy. He never is...
-
- -
-
- -
- - -
-
John Lennon, but...
-
- -
-
- -
- - -
-
Richard Wagner's told you
-
- -
-
- -
- - -
-
Nikola Tesla is unimpressed
-
- -
-
- -
- - -
-
One doesn't simply send a Tolkien sticker
-
- -
-
- -
- - -
-
Mark Twain, huh?
-
- -
-
- -
- -
-
That Freudian scowl...
-
- -
-
- -
- - -
-
And the famous Monroe kiss
-
- -
- - -
- - -
-
-
- - - - - - - diff --git a/data/telegram.org/blog/stickers.html b/data/telegram.org/blog/stickers.html deleted file mode 100644 index 69b7d362d6..0000000000 --- a/data/telegram.org/blog/stickers.html +++ /dev/null @@ -1,225 +0,0 @@ - - - - - Stickers Done Right - - - - - - - - - - - - - - - - - - - -
-
- -
-
-
- -
-
-

Stickers Done Right

- -
- -
- -
-

This January 2015 post has some outdated info.
Check out our custom sticker sets announcement instead.

-
-

At Telegram, we try to reinvent the ordinary tools. The concept of stickers is not an exception. We've always felt that stickers in messaging apps sucked, because they typically provided a limited and paid experience in a walled-garden environment.

-

Today's update to Telegram for Android, iOS, Windows Phone and Desktops introduces a new kind of stickers – a free platform for artists and users willing to share emotions, built using an efficient and open technology.

-
- - - - - -
- -

Telegram stickers are grouped around emotions, not characters. They do not clutter the interface, but are shown only when they are relevant – you will see a list of emotionally corresponding stickers whenever you start a message with an emoji. All our stickers are and will be completely free, and you can always create and share your own stickers.

-

You can find the initial 14 stickers in this post.
And dozens more will soon follow.

-

Sharing your own stickers

-

To share stickers of your own, just save your sticker in WebP format with a transparency layer and send it to your friend as a document in Telegram (e.g. via Telegram Desktop). It will be shown as a sticker. Thanks to the WebP file format, Stickers on Telegram are displayed 5x faster compared to the other formats usually used in messaging apps.

-

Creating new stickers

-

Telegram is focused on people who like to create content. If you want your sticker to be seen by all Telegram users in the context menu corresponding to one of the emojis, you are welcome to submit it via a chat with our Stickers bot – telegram.me/stickers.

-

Freelancers can also sell us their work – we normally pay $100 for the exclusive use of a 512x512px sticker. Note that we accept only high-quality stickers that meet our criteria. Please study the stickers that we have designed in-house for the launch.

-
-
- -

January 2, 2015
The Telegram Team

-
- -
- - -
- - -
-
-
- - - - - - - diff --git a/data/telegram.org/blog/unread-replace-2x.html b/data/telegram.org/blog/unread-replace-2x.html deleted file mode 100644 index 1e5828399a..0000000000 --- a/data/telegram.org/blog/unread-replace-2x.html +++ /dev/null @@ -1,259 +0,0 @@ - - - - - Replace Media, Share vCards, Mark as Unread, 2X Voice Messages, and More - - - - - - - - - - - - - - - - - - - -
-
- -
-
-
- -
-
-

Replace Media, Share vCards, Mark as Unread, 2X Voice Messages, and More

- -
- -
- -
- -
- -

Telegram 4.8.3 for iOS and 4.8.10 for Android are out today, bringing several nifty features and improvements.

-

Replace Media and Add Captions

-

Sending the wrong picture by accident is rarely fun. On Telegram, it was already possible to delete the message for everyone and send a new one instead. Now you can just replace photos or videos with the correct versions right away:

-
- -
- -

Start editing the message, then tap the paperclip button to replace the attached media. You can also add captions to photos or videos that didn't have one.

-

Double-Time Playback for Voice and Video Messages

-

You'll like this one if your friends enjoy sending long and thoughtful voice notes. From now on, you can switch to 2X playback and hear people get to the point faster.

-
- -

Works with voice and video messages

-
- -

We‘ve spent a few extra hours to ensure that your friends don’t sound like Helium-breathing chipmunks as a result. Well, most of the times.

-

Mark as Read or Unread

-
- -
- -

This offers a quick way to get less important messages out of the way and highlight the chats that require your future attention.

-

Share Detailed Contact Info

-

Sometimes you want to share more info about a contact than just one number. With this update, you can select what data you want to send when sharing a contact. For example, several phone numbers or other vCard fields.

-
- -

Choose which fields to share

-
- -

Try sharing a contact that has multiple fields with data to check this out.

-

One More Thing

-

When you open a chat from Global Search and then go back, you will return to the search results and keep your position in the list.

-

And Three More (on Android 💪)

-

Android users are getting a few extra goodies with version 4.8.10. Tap and hold on profile pictures in the chats list to preview chats:

-
- -

Tap and hold on the profile picture

-
- -

Use the “create link” option in the formatting menu to make text URLs:

-
- -

Select some text, then tap '...'

-
- -

Last but not least, it is now possible to cancel sending messages before they are sent.

-

And that's it for today, stay tuned for our next updates!

-

- -

June 27, 2018
The Telegram Team

-
- -
- - -
- - -
-
-
- - - - - - - diff --git a/data/telegram.org/blog/video-editor-gifs.html b/data/telegram.org/blog/video-editor-gifs.html deleted file mode 100644 index 83aea5b987..0000000000 --- a/data/telegram.org/blog/video-editor-gifs.html +++ /dev/null @@ -1,252 +0,0 @@ - - - - - Video Editor, Animated Photos, Better GIFs and More - - - - - - - - - - - - - - - - - - - -
-
- -
-
-
- -
-
-

Video Editor, Animated Photos, Better GIFs and More

- -
- -
- -
- Introducing an New Media Editor, Better GIFs, and More -
- -

In 2015, Telegram released the most powerful photo editor to be implemented in a messaging app, letting you enhance image quality and add drawings, stickers and text to pictures. Today we're upgrading the media editor with support for animated stickers and editing videos.

-
- -
- -

You can now enhance video quality automatically in two taps – or manually tweak a dozen parameters, like brightness or saturation, until your inner Kubrick is satisfied.

-

For perfect paintbrush precision, zoom in on photos or videos when drawing on them to get every line just right. Your made-up makeup – or your classmates' handlebar moustaches – will never look the same.

-

Animated Stickers on Media

-

Most importantly, you can now add animated stickers to any photo or video – just in case you were looking for ways to decorate your dinner table with twerking cherries. Putting an animated sticker on a photo turns it into a GIF:

-
- -
- - -

Speaking of GIFs

-

The GIF panel has been upgraded with a new Trending section and emoji-based tabs that cover the most popular emotions. You won't ever need to wrestle with words again when looking for Robert Downey Jr. 🙄

-
- -
- -

We've also improved loading times for GIFs in the panel, so you can find that perfect GIF faster. Hold on any GIF you haven't sent before to save it to your Recent tab for later use.

-

Flexible Folders

-

If you have many chats and use folders, hold on any chat in the list to add it to one of your folders. This also works for removing chats from folders. Last call for spring cleaning!

-
- Chat options menu with 'Add to Folder' highlighted. -
- -

Android Goodies

-

Android users get a few extra features to make their app slicker. Messages now get sent, edited and deleted with new smooth animations. We've also improved the video player to make sure that controls and long captions get out of your way quickly. Videos shorter than 30 seconds get looped automatically and voice messages play with even more wavy animations.

-
- -
- -

Cache management interfaces on Android got a facelift as well. Not only can you keep Telegram's storage footprint on your device incredibly small – you can do it in style. See Settings > Data and Storage > Storage Usage.

-

Last but not least, monkeys. You know that protecting your account with a Two-Step Verification password is a good idea, but we thought we'd sleep easier at night if we knew that a monkey was overseeing the process. No, this is totally not a coded message, go see for yourself.

-

And that's it for today. Enjoy making post-ironic memes with the new tools while we go back to the dungeons and continue working on you-know-what (and not only that).

-

- -

June 4, 2020
The Telegram Team

-
- -
- - -
- - -
-
-
- - - - - - - diff --git a/data/telegram.org/evolution.html b/data/telegram.org/evolution.html deleted file mode 100644 index 1e035b4330..0000000000 --- a/data/telegram.org/evolution.html +++ /dev/null @@ -1,1612 +0,0 @@ - - - - - The Evolution of Telegram - - - - - - - - - - - - - - - - - - - -
-
- -
-
-
-
-
-

The Evolution of Telegram

- -
- -
- -
- -
-
- Evolution of Messaging -
- -

On this page, we've compiled a Brief History of Telegram. It ended up rather on the 'humongous' side of 'brief' – but that's what you get for never, ever, ever updating the app with a description like 'contains bug fixes and minor improvements'.

-

A (Not So) Brief History of Telegram

-

For some reason, we started writing this backwards – from the latest update to the primordial summer of 2013. And then it was too late to change the order because the guy who compiled the post said he would go on a hunger strike if we tried.

-

So if you're a fan of chronology, please jump to the end and scroll up from there. This page gets updated each time a new post hits the Telegram blog.

-

2021

-
-

April 2021

-

Payments 2.0, Scheduled Voice Chats, New Web Versions

-

Payments were first supported in chats with Telegram bots in 2017. This time, merchants received the ability to accept credit cards in any Telegram chat using one of 8 integrated payment providers. Telegram doesn't store credit card info and charges no commission.

-

Voice Chats were further improved with scheduling, showing a countdown timer and allowing users to get a notification when the chat starts.

-

Two new web versions were launched, adding full support for features like animated stickers, chat folders and dark mode. Both work well in desktop and mobile browsers.

-
- Payments 2.0, Scheduled Voice Chats, New Web Versions -
- -

On Telegram since April 26, 2021:

- -

March 2021

-

Voice Chats 2.0: Channels, Millions of Listeners, Recorded Chats, Admin Tools

-

Voice Chats first appeared in Telegram groups in December 2020. Three months later they became available in channels, with support for millions of live listeners.

-

Admins got the option to record voice chats and create instant podcasts, as well as choose titles for their voice chats and add users via specific Speaker and Listener links. Muted listeners could raise their hand to let admins know they wanted a turn to speak.

-

Public figures, celebrities and other users who prefer to keep their personal accounts hidden got the ability to join voice chats as one of their channels.

-
- Voice Chats 2.0: Channels, Millions of Listeners, Recorded Chats, Admin Tools -
- -

On Telegram since March 19, 2021:

- -
-

February 2021

-

Auto-Delete, Widgets and Expiring Invite Links

-

Telegram has had self-destructing messages since 2013 in Secret Chats, but this update added an auto-delete timer for any chat to erase messages either 24 hours or 7 days after sending.

-

Two customizable home screen widget styles became available for both Android and iOS, giving users the option to show previews of recent messages on their home screen, or shortcuts to chats.

-

Invite links for groups and channels were upgraded, allowing for additional links with a limited duration or number of uses that can also be converted into QR codes.

-

Broadcast Groups were introduced, allowing large communities to have unlimited members. Only admins can send messages in Broadcast Groups, but everyone can still read along and join voice chats.

-
- Auto-Delete, Widgets and Expiring Invite Links -
- -

On Telegram since February 23, 2021

- -
-

January 2021

-

Moving Chat History from Other Apps

-

Over 100 million new users joined Telegram within one month, bringing their friends and families with them. After January's update, they could also bring their old message histories from other apps. Users can now import messages and media from apps like WhatsApp, Line and KakaoTalk.

-

In addition to deleting messages for both sides without a trace (2019), call history, and groups users created could also be deleted for all participants at any time. While secret chat messages disappeared for both sides since 2013, this update made it possible to remove entire Secret Chats from the chat lists of both participants.

-

Voice Chats got two improvements: users could see active voice chats from their groups at the top of the Call History page, and got the ability to adjust the volume of individual participants inside the chat.

-

This update also improved the audio player, accessibility, and added the ability to report fake groups and channels impersonating famous people or organizations.

-
- Moving Chat History from Other Apps -
- -

On Telegram since January 28, 2021

- -
-

2020

-
-

December 2020

-

Voice Chats Done Right

-

We closed the year by adding a new dimension to groups with Voice Chats – persistent conference calls that run in parallel to existing text and media-based communication in the group. Voice Chats add a live layer of ephemeral talk to the group and can be used as virtual office spaces or informal lounges for any community.

-

Android users got an option to use their SD Card for storing Telegram data. iOS users received support for Siri's Announce Messages feature. iOS and Android caught up with each other to offer equal opportunities for drawing moustaches on selfies editing photos and other media.

-

We've unveiled a public platform for suggesting features and reporting issues at bugs.telegram.org.

-

Pavel Durov also presented a strategy for making Telegram sustainable for decades to come.

-
- Voice Chats Done Right -
- -

On Telegram since December 23, 2020

- -

iOS-specific:

- -
-

October 2020

-

Pinned Messages 2.0, Improved Live Locations, Playlists and More

-

Pinned Messages were upgraded, allowing for multiple pinned messages in all chats, including one-on-one chats.

-

Distance Alerts were added to live locations, giving users the option to receive a notification when another location-sharing user gets close. The map icons were updated as well, to show which way a user is facing.

-

Playlist and album support was added for files – sending multiple audio tracks will create a playlist, while sending multiple files creates an album.

-

Channel Statistics were expanded to include detailed metrics about reach and engagement for individual posts in a channel.

-
- Pinned Messages 2.0, Improved Live Locations, Playlists and More -
- -

On Telegram since October 30, 2020

- -

Android-specific:

- -
-

September 2020

-

Search Filters, Anonymous Admins, Channel Comments and More

-

Global Search received new filters: typing a chat name or time period adds filters by date and source, and media tabs at the top of the screen sort results by type, like Files or Links.

-

Support for Anonymous Admins was added to groups. When enabled, the admin’s name is hidden in the list of group members and their messages are signed with the group name instead, similar to channel posts.

-

Comments were added to Channels with a linked discussion group. Subscribers will see a comment button under each post, where they can share their thoughts on the latest updates. To try channel comments, head over to @durov.

-
- Search Filters, Anonymous Admins, Channel Comments and More -
- -

On Telegram since September 30, 2020:

- -

Android-specific:

- -
-

August 2020

-

Video Calls and Seven Years of Telegram

-

In celebration of Telegram’s 7th Anniversary and its status as one of the world's top 10 apps, the first version of Video Calls was launched for Telegram’s mobile and desktop platforms.

-

All video calls are secured with end-to-end encryption and support picture-in-picture mode, so users can search and send messages without closing the call.

-
- Video Calls and Seven Years of Telegram -
- -

On Telegram since August 14, 2020:

- -
-

July 2020

-

Profile Videos, 2 GB File Sharing, Group Stats, Improved People Nearby and More

-

Users got the option to add motion pictures to their profile page with Profile Videos. People Nearby was improved to make finding friends in your local community even easier.

-

For users who receive a notable number of messages from non-contacts, a switch was added to automatically archive and mute new chats from people not in their contacts.

-

The update also included a series of expanded features: the upload size for media and files was increased to 2 GB (previously 1.5 GB), detailed statistics became available for large groups, and the default icons used in the chat list for photos, videos and links were replaced with mini-thumbnails of the sent media.

-
- Profile Videos, 2 GB File Sharing, Group Stats, Improved People Nearby and More -
- -

On Telegram since July 26, 2020:

- -

Android-specific:

-
    -
  • Crop and Rotate videos (on iOS since time immemorial)
  • -
-

Telegram Desktop:

- -
-

June 2020

-

Video Editor, Animated Photos, Better GIFs and More

-

The photo editor was tranformed into a universal media editor – adding the ability to edit and enhance visuals for video, put animated stickers on any media, and zoom in when drawing or decorating (just to name a few).

-

The GIF panel got upgraded, adding emoji-based sections and a Trending tab for the most relevant and popular expressions. To make them even easier to search and scroll through, loading times were greatly improved.

-
- Video Editor, Animated Photos, Better GIFs and More -
- -

On Telegram since June 4, 2020:

- -

Android-Specific:

- -
-

April 2020, Second Update

-

400 Million Users, 20,000 Stickers, Quizzes 2.0 and €400K for Creators of Educational Tests

-

To celebrate 400 million active users, the sticker panel was revamped, allowing users to scroll and search through thousands of popular stickers from professional artists.

-

The Quiz Polls introduced in January 2020 received new tools geared toward educational tests, including explanations and a timer animation. With the need for online learning tools at a new high, a €400K contest was announced to help build a platform for educational tests on Telegram.

-
- 400 Million Active Users -
- -

On Telegram since April 24, 2020:

- -

Android-specific:

- -

MacOS-specific:

- -
-

April 2020, First Update

-

Coronavirus News and Verified Channels

-

While the world locked down during the COVID-19 pandemic, Health Ministries began creating Telegram channels to keep their citizens informed of the latest updates. To help facilitate the spread of accurate information, the channel verification process was streamlined with a new @VerifyBot and a directory was created to help users find official coronavirus news sources for their country.

-
- Coronavirus News and Verified Channels -
- -

On Telegram since April 3, 2020:

- -
-

March 2020

-

Chat Folders, Channel Stats and More

-

Expanding on Archived Chats from 2019, Chat Folders were added that let users filter their chat list into custom categories. Folders support unlimited pins, and sync across all devices on the account to keep everything organized.

-

Channel Stats were also introduced, giving channels with more than 1000 subscribers analytics and graphs to track post performance and overall growth.

-
- Chat Folders, Channel Stats and More -
- -

On Telegram since March 2020:

- -
-

February 2020

-

New Profiles, Fast Media Viewer and People Nearby 2.0

-

This Valentine-themed update made it easier to make friends and view media. Profile pages were redesigned with instant access to Shared Media and users got the option to flip through photos and videos simply by tapping on them.
People Nearby was updated so users could make themselves visible to others in their area, displaying their profile even if they closed the app (until they selected ‘Stop Showing Me’).

-
- New Profiles, Fast Media Viewer and People Nearby 2.0 -
- -

On Telegram since February 2020:

- -
-

January 2020

-

Polls 2.0: Visible Votes, Multiple Answers, and Quiz Mode

-

Focused on polls, the first update of 2020 added plenty of ways to get competitive – or organized - in groups and channels. Polls 2.0 introduced options to show users’ votes and the ability to select more than one answer, as well as quiz-style polls, complete with a platform for making quizzes.

-

A new slider was added to adjust how round or square chat bubbles appear, and Android users received numerical progress counters to track uploads and downloads (previously iOS-only).

-
- TITLE -
- -

On Telegram since January 2020:

- -
-

2019

-
-

December 2019

-

Verifiable Builds, New Theme Editor, Send When Online and So Much More

-

On the final day of 2019, security researchers got the tools needed to confirm that the open source code we post on GitHub is the same that can be downloaded from App Store and Google Play.

-

The Theme Editor leveled up to 2.0, adding gradient colors, new background patterns and more default color schemes. Scheduled Messages were expanded with a setting to send when your recipient comes online. Android and iOS both got a slew of other usability and design upgrades.

-
- Verifiable Builds, New Theme Editor, Send When Online and So Much More -
- -

On Telegram since December 2019:

- -

Android-specific:

- -

iOS-specific:

- -
-

September 2019

-

Scheduled Messages, Reminders, Custom Cloud Themes and More Privacy

-

The end of summer brought scheduled messages and reminders to better keep track of important tasks and appointments. On the visual side, shareable Custom Cloud Themes came to all platforms, along with more animated emoji.

-

An important privacy option was added for those who need it most – Who Can Find Me By My Phone Number. This new setting can prevent random users (or government organizations) from being able to match a number from their device's contacts to your Telegram account.

-
- Scheduled Messages, Reminders, Custom Cloud Themes and More Privacy -
- -

On Telegram since September 2019:

- -
-

August 2019

-

Silent Messages, Slow Mode, Admin Titles and More

-

The August update brought a way to send silent messages – which result in a notification without sound. We also added custom titles and a slow mode for group admins.

-

Following the success of animated stickers, this update also introduced animated emoji for ❤️, 👍, 😒, 😳 and 🥳. More followed.

-
- Silent Messages, Slow Mode, Admin Titles and More -
- -

On Telegram since August 2019:

- -

July 2019

-

Animated Stickers Done Right

-

The July update introduced animated stickers. We managed to achieve a smooth 60 FPS at just 20-30 KB per sticker. Animated stickers consume less bandwith than static ones and less battery than GIFs, while commanding more attention than the two combined.

-

Here are some sample animated sets in case you missed them: Hot Cherry, Tidy Tie Tom, Resistance Dog, Fred the Pug, Melie the Cavy, Earl the Wolf, Egg Yolk

-

These stickers are powered with uranium and dreams and are guaranteed to keep going forever.

-
- Animated Stickers Done Right -
- -

On Telegram since July 2019:

- -
-

June 2019

-

Location-Based Chats, Adding Contacts Without Phone Numbers and More

-

The June update focused on making it easier to add people to contacts. A universal Add button was introduced to all new chats, making it possible to add users to contacts even if you don't know their number yet.

-

A new Add People Nearby section was created to quickly exchange numbers with people close to you. The new section also allows creating location-based public chats.

-
- Location-Based Chats, Adding Contacts Without Phone Numbers and More -
- -

On Telegram since June 2019:

- -
-

May 2019, Second Update

-

Focused Privacy, Discussion Groups, Seamless Web Bots and More

-

The second May update made Telegram Privacy Settings even more flexible. You can add whole groups to 'Never Share' or 'Always Share' exceptions. Settings will adjust automatically as people join and leave the groups.

-

On Telegram, your phone number was never visible to random people in groups, the default being 'My Contacts'. This update offered even more control via Settings > Privacy & Security > Phone Number.

-

The update also introduced an easier way to integrate web services with Telegram, adding one-tap authorization via bots. Last but not least, it offered two new ways of adding comments to channels – via Comments.app and connected discussion groups. (We didn't start the flame war.)

-
- Focused Privacy, Discussion Groups, Seamless Web Bots and More -
- -

On Telegram since May 31, 2019:

- -
-

May 2019, First Update

-

Archived Chats, a New Design on Android and More

-

The first May update introduced Archived Chats. Unmuted chats pop out of the archive with the next incoming message – but muted chats stay archived forever (or until they generate a notification via a mention or reply). An unlimited number of chats can be pinned in the archive.

-

Android design got a major overhaul. Aside from the visual improvements, this update added a three-lines-per-chat view option for the Android chat list (similar to the iOS default), as well as bulk actions in the chats list to easily delete, archive or mute multiple chats at once.

-
- TITLE -
- -

On Telegram since May 9, 2019:

- -

March 2019

-

Taking Back Our Right to Privacy

-

Before the March update, you could delete your messages within 48 hours of sending them. As of this update, you can delete any message you've ever sent or received in any private chat, there's no time limit. This also applies to clearing entire chats. The deleted messages don't leave a mark in the chat.

-

This update also introduced a setting for Anonymous Forwards, allowing you to control when messages forwarded from your account link back to it. This way people you chat with have no verifiable proof you ever sent them anything.

-
- Taking Back Our Right to Privacy -
- -

On Telegram since March 2019:

- -

February 2019

-

Autoplaying Videos, Automatic Downloads and Multiple Accounts

-

Following the February update, smaller videos start playing without sound when they reach your screen. Pressing the volume buttons on your device unmutes them.

-

This update also introduced presets for autodownload settings to switch between Low, Medium, High and Custom data consumption in a few taps. Default settings for data usage have become more generous but depend on the affordability of mobile data in each particular country.

-

As of this update, iOS users can also log in to Telegram with multiple accounts from one app, easily switch between them and get notifications. Support for multiple accounts was added to Android in December 2017.

-
- Autoplaying Videos, Automatic Downloads and Multiple Accounts -
- -

On Telegram since February 2019

- -

January 2019, Second Update

-

Chat Backgrounds 2.0: Make Your Own

-

The second update in January brought chat wallpapers to version 2.0, adding support for motion and blur effects, plain color backgrounds and patterns, as well as an option to share backgrounds via links and find new ones in search.

-

For those who appreciate art history, the classical Telegram backgrounds which were used at launch can be found here.

-
- Chat Backgrounds 2.0: Make Your Own -
- -

On Telegram since January 31, 2019

- -

January 2019, First Update

-

Group Permissions, Undo Delete and More

-

The first January update brought group permissions, allowing admins to restrict all members from posting specific kinds of content or even from messaging altogether. The maximum size for groups was doubled to 200,000 members.

-

The update also added an 'Undo' option after deleting chats or clearing history. It's like a time machine, but with fewer paradoxes.

-
- Group Permissions, Undo Delete and More -
- -

On Telegram since January 21, 2019

- -
-

2018

-
-

December 2018, Second Update

-

Polls: Bringing Choice to Communities

-

As of the second update from December '18, Telegram users can create polls in groups and channels, letting group members vote anonymously.

-

Poll bots have been available since the dawn of the Bot Platform.

-
- Polls: Bringing Choice to Communities -
- -

On Telegram since December 22, 2018

- -

December 2018, First Update

-

Custom Languages, Instant View 2.0 and More

-

This first December update in 2018 revolutionized app interfaces, adding custom languages – whether that's Māori, Scottish Gaelic or Transliterated Klingon. Qapla'. Users can share translated language packs with dedicated sharing links.

-

Everyday be talk like a pirate day if ye've downloaded the pirate speak chest. Babel fish now optional.

-
- Custom Languages, Instant View 2.0 and More -
- -

On Telegram since December 10, 2018

- -

October 2018

-

Introducing Telegram 5.0 for iOS

-

Telegram for iOS was rebuilt from scratch for this update – using the Swift programming language. The new client is slicker, faster and more battery-friendly. If the old Telegram was a race car, this one is a race car with jet engines and a well-caffeinated driver.

-

New badge counter settings were added on iOS, allowing users to exclude messages from muted chats or count unread chats instead of messages.

-

The native macOS client added swipe gestures to navigate interfaces. MacBook Pro owners got touch bar support.

-
- Telegram 5.0 for iOS -
- -

On Telegram since October 2018

- -

August 2018

-

Chat Export Tool, Better Notifications and More

-

This update brought an easy way to download copies of your chats, including photos and other media using Telegram Desktop. August '18 also saw the birth of Notification Exceptions – a way to customize notification settings for particular users.

-
- Telegram dude rides a horse-drawn cart with boxes away from a great safe in the clouds. -
- -

On Telegram since August 2018

- -

July 2018

-

Introducing Telegram Passport

-

Telegram Passport was launched as a unified authorization service for ICOs, financial services and other platforms based on real-life ID. You no longer have to upload scans of your ID each time a different service requires it.

-
- Telegram people show their IDs at a counter while dressed up as Korben and Lilu Dallas from the 'Fifth Element'. -
- -

On Telegram since July 2018

- -

June 2018

-

Replace Media, Share vCards, Mark as Unread, 2X Voice Messages, and More

-

The June '18 update brought the ability to replace photos and videos when editing messages – in case you accidentally sent a picture of your lunch instead of the company's new logo.

-

As of this update, voice and video messages can be played at 2x speed and users can mark chats as read or unread.

-
- The Telegram lady approaches Leonardo da Vinci who is busy refreshing his Mona Lisa in the Louvre museum. He is wearing 2X headphones and is also offering booklets which likely symbolize vCards. -
- -

On Telegram since June 2018:

- -

March 2018

-

Sticker Search, Multiple Photos and More

-

Since they were introduced, stickers have become a key method of communication for many Telegram users. As of this update, users can search for new sticker packs.

-

I'm not addicted to sending stickers. I can stop any time.

-
- TITLE -
- -

200,000,000 Monthly Active Users

-

Telegram has never been promoted with ads, so every user joined because they were invited by others. Telegram is more than a messaging app, it's the idea that everyone on the planet has a right to be free.

-
- Telegram lady in aviator costume leans against her spacecraft on an alien beach, watching a sky full of paper-plane-shaped spaceships traveling between planets. -
- -

On Telegram since March 2018:

- -

February 2018

-

Two updates were launched on February 6, 2018.

-

Streaming and Auto-Night Mode on Android

-

This was when the apps got streaming support, allowing you to view videos without waiting for them to fully download. This update also introduced auto-night mode for Android users, shielding weary eyes from bright light when browsing memes in bed.

-
- TITLE -
- -

Telegram Login for Websites

-

Another update introduced the Telegram Login Widget for external websites, empowering businesses to use Telegram bots to automate anything from customer support to accepting payments or tracking shipments.

-
- TITLE -
- -

On Telegram since February 2018

- -

January 2018

-

Two updates were launched on January 31, 2018.

-

Telegram X: Progress through Competition

-

Two Telegram X clients were unveiled as alternatives to the main iOS and Android apps – built from the ground up to be faster and easier to use, while featuring smooth animations and a sleek design. Telegram X for iOS has since become the native client on iPhones around the world.

-
- TITLE -
- -

TDLib - Build Your Own Telegram

-

The Telegram Database Library helps developers make their own versions of Telegram – and was used to create Telegram X for Android. TDLib handles network implementation, encryption, and local storage, giving third-party developers more time to focus on the fun parts of app design. All the API methods are fully documented and the code is available on GitHub.

-

Both Telegram X and the Telegram Bot API are an example of what can be done with this library.

-
- TITLE -
- -

On Telegram since January 2018

- -
-

2017

-
-

December 2017

-

Themes, Multiple Accounts and More

-

Themes came to iOS, with simple 'Day' and 'Night' options. We considered adding a 'Twilight' option but it got sabotaged by lovesick vampires and werewolves.

-

Android added support for multiple accounts, to quickly switch between up to three profiles (or personalities) without logging out.

-
- TITLE -
- - -

On Telegram since December 2017

- -

November 2017

-

Albums, Saved Messages and Better Search

-

Albums and Saved Messages came to Telegram in November as a way to cut down on clutter and keep things organized. Multiple media items could be sent as one message, neatly arranged instead of filling up the chat with individual messages and multiple notifications.

-

Saved Messages brought bookmarks and personal storage, giving users the ability to forward messages there for later reference.

-
- TITLE -
- - -

On Telegram since November 2017

- -

October 2017

-

Live Locations, Media Player and Languages

-

October '17 expanded location sharing to include a live feed, useful for finding your friends or seeing how far they are from a destination. The interactive maps support multiple users, so your entire group can share their locations and see each other in one place.

-

Telegram also expanded its localization, launching the Translations Platform for users to refine the currently-available translations.

-
- TITLE -
- - -

On Telegram since October 2017

- -
-

August 2017

-

Better Replies, Stickers & Invitations

-

Keeping track of replies and mentions was streamlined in August’s update, adding the new '@' badge to the chat list, and '@' button inside chats to jump from mention to mention.

-

The option to set favorite stickers was added, while groups got the ability to choose official sticker sets.

-
- TITLE -
- -

On Telegram since August 2017

- -
-

July 2017

-

Disappearing Media, Your Bio & More Speed

-

July’s update added a self-destruct timer for photos and videos to give users the option to send disappearing media in Private Chats.

-

To help say a little more about themselves, user profiles were given a bio section.

-
- TITLE -
- - -

On Telegram since July 2017

- -
-

June 2017

-

Supergroups 10,000: Admin Tools & More

-

Groups leveled up in June '17, increasing the maximum members to 10,000 and introducing a suite of new tools to manage the masses.

-

Admin permissions became individual, allowing for specific privileges. So did members’, meaning people could be put under custom restrictions for acting up.

-

The Recent Actions page was added for admins, showing a summary of all notable group activity within the past 48 hours.

-
- TITLE -
- - -

On Telegram since June 2017

- -
-

May 2017

-

Three updates were released on May 18, 2017.

-

Video Messages and Telescope
Just in time for Summer, video messages were introduced to add another dimension to chats and channels.

-
- TITLE -
- -

Instant Views for Everyone & a $200K Contest

-

Instant View grew into a platform for reformatting articles from the Web into lightweight, uniform pages which instantly open in Telegram, rather than a browser. A contest to create new templates was launched.

-
- TITLE -
- -

Payments for Bots
Bot payments joined the pool party as well, so users could pay for goods and services right in the app.

-
- TITLE -
- - -

On Telegram since May 2017

- -
-

March 2017

-

Voice Calls: Secure, Crystal-Clear, AI-Powered

-

March '17 brought voice calls to Telegram, featuring end-to-end encryption, crisp sound and incredible speed.

-

The video editor received a compression slider to change the quality at which a video is sent.

-
- TITLE -
- -

On Telegram since March 2017

- -
-

February 2017

-

Custom Themes

-

Custom themes first came to the Android phone app, along with a theme editor, giving users the ability to recolor individual elements and share their creations with others.

-
- TITLE -
- -

Telegram Desktop reaches version 1.0 – and it's BEAUTIFUL

-

Telegram Desktop, first launched in January '14, reached version 1.0, with a new design, refined animations and custom theme support, in addition to all its earlier features.

-

The GMail bot made its debut as well, allowing users to condense all their communications into one platform.

-
- TITLE -
- -

Telegram for Android Wear 2.0

-

Telegram came to wrists with its Android Wear 2.0 version, featuring fully-functional messaging capability, plus added themes to keep things chic.

-
- TITLE -
- - -

On Telegram since February 2017

- -
-

January 2017

-

Unsend Messages, Network Usage, and More

-

Telegram rang in the New Year with a completely new feature - the ability to unsend messages sent within the past 48 hours.

-

To keep track of users' data consumption, Network Usage was added to Settings.

-
- TITLE -
- -

On Telegram since January 2017

- -
-

2016

-
-

December 2016, Second Update

-

Meet the Telegraph API for Logins and Stats

-

The Telegraph API opened to the public in the final update of 2016. Publishing and organizing articles gained automated support with the new @Telegraph bot.

-
- TITLE -
- -

On Telegram since December 20, 2016

- -
-

December 2016, First Update

-

Pinned Chats and IFTTT Integrations

-

Conversation management became easier with the option to pin chats to the top of the chat list.

-

IFTTT integration was introduced to help link Telegram to over 360 services at launch. This gives users control over their accounts on other services straight from the Telegram app – including social media, mail clients and even things like smart appliances or other devices.

-
- TITLE -
- -

On Telegram since December 7, 2016

- -
-

November 2016

-

Instant View, Telegraph, and Other Goodies

-
- TITLE -
- -

Instant View came in November 2016, instantly loading articles and web pages all inside the Telegram app. Added in the same update, the Telegraph platform is a minimalist word processor compatible with Instant View, designed for quickly publishing documents and articles.

-

On Telegram since November 2016

- -
-

This is where wide full-color illustrations for our blog posts end – or begin, depending on which direction you just came from.

-
-
-

October 2016

-

Gaming Platform 1.0

-

With winter not far off, Telegram introduced a Games platform that allows users to play games through bots. Players get the chance to challenge friends, while creators have an easy and accessible way to bring their game ideas to life.

-
- -
- -

On Telegram since October 2016

- -
-

September 2016

-

Photo Editor 2.0, Masks and Homemade GIFs

-

In September '16, the time came to improve Telegram's Photo Editor with fun new decorations like masks, text, stickers and drawings. Additionally, the video editor added the ability to make GIFs out of videos by tapping its new 'Mute' button.

-
- -
- -

On Telegram since September 2016

- -
-

August 2016

-

Trending Stickers, Storage and More

-

A Trending Stickers option was added so popular sticker packs can be easily found and added to one's collection. Groups received previews so prospective members can see what they're about and who's in them before joining the party.

-
- -
- -

On Telegram since August 2016

- -
-

June 2016

-

Drafts, Picture-in-Picture, and More

-

June '16 brought cross-platform cloud drafts, syncing your unfinished messages across devices. Since then, users have been able to start typing on one device and finish on another. For more multitasking, Picture-in-Picture support was added to let users work and watch simultaneously.

-
- -
- -

On Telegram since June 2016

- -
-

May 2016

-

Edit Messages, New Mentions and More

-

Fast typers rejoiced as the ability to edit sent messages was introduced in all chats. Mentions were expanded to include users without usernames, and Bots were given their own space in the attachment menu for easy access.

-
- -
- -

On Telegram since May 2016

- -
-

April 2016, Second Update

-

Instant Camera and More 3D Touch

-

Instant camera was added so users could snap and send photos faster, saving the extra thumb-work to make sure the moment is captured.

-
- -
- -

On Telegram since April 28, 2016

- -
-

April 2016, First Update

-

Bot Platform 2.0

-

Starting in April 2016, inline bots no longer require you to use a keyboard. These software-controlled friends now immediately present clickable options to get results with no typing required. They were also integrated with services like YouTube and Foursquare for easy video and location sharing.

-
- -
- -

Sharing and Previews

-

This update gave users a new way of sharing media between chats, introducing GIF and sticker previews to make the selection process more straightforward.

-
- -
- -

On Telegram since April 12, 2016

- -
-

March 2016

-

Supergroups 5000: Public Groups, Pinned Posts

-

To keep order as supergroups grew from 1,000 members to 5,000, important announcements could be placed at the top of the screen as pinned messages. Additional moderation tools were introduced that helped prevent spam in public supergroups. This included the ability to report spam, ban a user outright, or simply erase all of their posts from the group.

-
- -
- -

On Telegram since March 2016

- -
-

February 2016, Second Update

-

Channels 2.0 and More

-

Channels got plenty of new features including admin signatures and silent broadcasts. It became possible to edit your messages in channels and supergroups.

-
- -
- -

On Telegram since February 24, 2016

- -

February 2016, First Update

-

Voice Messages 2.0, Secret Chats 3.0 and…

-

Chatting got easier with raise-to-speak and raise-to-listen functionality, streamlining voice messages by giving a no-tap way to play and record. On the privacy end, users got the ability to restrict who can invite them to groups and channels.

-
- -
- -

On Telegram since February 12, 2016

- -
-

January 2016

-

Introducing Inline Bots

-

Inline bots make it possible to use bot services in any chat without adding those bots as members – you just start any message with their username and everything that comes after becomes a query for the bot. These utilities can link Wikipedia articles, post YouTube videos or search for GIFs to entertain friends. Unfortunately, while being very good at fetch, they still can't pull a sled – even after all these years.

-
- -
- -

GIF Revolution

-

GIF file size was reduced by 95%, making them load 20x faster. Autoplay for all GIFs was enabled to show off their new-found speed.

-
- -
- -

On Telegram since January 2016

- -
-

2015

-
-

December 2015

-

Clearing Cache and Reordering Stickers

-

The space-saving option of clearing cache was introduced, including chat-by-chat specificity. This was coupled with a setting to choose how long to keep media before it gets deleted from the cache (to be re-downloaded from the cloud should you need it again).

-
- -
- -

On Telegram since December 2015

- -
-

November 2015

-

Admins, Supergroups and More

-

This update added the admin role. Admins have the power to manage group chats and enforce rules. Just in time, as the maximum number of users for group chats grew to 1,000 people with the addition of supergroups.

-
- -
- -

On Telegram since November 2015

- -
-

September 2015

-

Channels: Broadcasting Done Right

-

September '15 brought channels, the perfect tool for broadcasting messages to the masses. Channels can have unlimited followers, offer view counters for each post and only let the admins post. These one-way chats give updates the spotlight by moving the discussion elsewhere. Channels were quickly adopted in regions where freedom of speech falls short.

-
- -
- -

On Telegram since September 2015

- -
-

August 2015

-

Shared Links and Recent Searches

-

Telegram delivered quality of life updates in August '15, showing shared links on chat info pages as well as a list of recent searches when beginning a new one.

-
- -
- -

On Telegram since August 2015

- -
-

July 2015

-

In-App Media Playback and Search in Chats

-

This update added the ability to view media, enjoy music and watch videos from external sources directly in the app. Chat-specific search was implemented as well, making it easier to find messages from a particular conversation.

-
- -
- -

On Telegram since July 2015

- -
-

June 2015

-

Telegram Bot Platform

-

In June of 2015, Telegram released the Bot API and created a platform for users to create and publish their own bots. Bots exist to add features to Telegram and make user's lives easier - bots can handle payments, moderate groups, fetch emails and much more.

-
- -
- -

Telegram on Apple Watch

-

Telegram also received Apple Watch support. With a flick of the wrist, users can view recent chats, reply with stickers, dictate messages and more. Anything that can't fit on the watch display gets a shortcut to open on your phone instead.

-
- -
- -

On Telegram since June 2015

- -
-

May 2015

-

Custom Sticker Sets

-

Since May '15, stickers can be uploaded and shared as sticker sets. All apps got a dedicated sticker panel. Tapping on any sticker shows its set and lets you add the lot.

-
- -
- -

On Telegram since May 2015

- -
-

April 2015

-

Migrating Existing Group Chats to Telegram

-

Invite links were added so users can easily bring their friends to group chats, even when those friends are lost in another messenger.

-
- -
- -

Places, Captions and more

-

Users gained the ability to caption photos, so the context and content can be sent as one message.

-
- -
- -

Active Sessions and Two-Step Verification

-

Telegram rolled out an essential privacy feature in April 2015 - Two-step Verification – adding an extra layer of protection by requiring a password when logging into a new device.

-
- -
- -

Link Previews

-

Link previews were introduced to help users see where a link leads without having to click on it and find out for themselves.

-
- -
- -

On Telegram since April 2015

- -
-

March 2015, Second Update

-

Sending Files On Steroids — And More

-

This update brought the ability to send multiple files at once and trim videos before sending them.

-
- -
- -

On Telegram since March 25, 2015

- -
-

March 2015, First Update

-

Reinventing Group Chats: Replies, Mentions, Hashtags and More

-

March '15 made messaging more convenient – Telegram added replies, mentions and hashtags. Replies make it easier to keep continuity in group chats, while mentions help get someone's attention and hashtags allow users to label messages for future use.

-
- -
- -

On Telegram since March 19, 2015

- -
-

February 2015, Second Update

-

Photo Editor and Passcode Lock

-

February '15 delivered the most powerful photo editor among messaging apps – featuring auto-enhance, crop and rotate functions in its initial version. To keep those photos and chats secure, users were given the option to lock their app with a passcode.

-
- -
- -

On Telegram since February 25, 2015

- -
-

February 2015, First Update

-

Shared Files and Fast Mute

-

This update introduced the Files tab to better view all documents shared in a particular chat (some media outlets mistakenly thought this was when we introduced sending files). Additionally, the update brought in Mute shortcuts, helping users disable notifications more quickly.

-
- -
- -

On Telegram since February 1, 2015

- -
-

January 2015

-

Stickers Done Right

-

January '15 saw the first sticker on Telegram. Since then, starting a message with a single emoji brings up a list of emotionally corresponding sticker suggestions.

-

The first official stickers from Telegram formed the classic Great Minds set. Artists were invited to publish their work on the free and open platform.

-
- -
- -

On Telegram since January 2015

- -
-

2014

-
-

December 2014

-

Telegram.me, Changing Numbers, PFS and more

-

Users with usernames were offered Telegram.me/username links, which open their profile page in Telegram. This update also enabled changing the phone number of a Telegram account. Single-column mode was added for Telegram Desktop, making multitasking easier on smaller screens.

-
- -
- -
-

Fun fact: In 2016, Instagram will restrict users from adding Telegram.me (and Snapchat) links to their bios.

-
-

On Telegram since December 2014

- -
-

November 2014

-

There were two Telegram updates on November 19, 2014.

-

Hiding Last Seen Time - Done Right

-

This update expanded Privacy Settings to cover Last Seen status, allowing unprecedented flexibility with 'Always Share With' and 'Never Share With' exceptions for individual users.

-

This was also when account self-destruction was introduced. Telegram doesn't aim to accumulate and store your data when you don't need it anymore. So if you throw away your SIM card and it gets a new owner in 6 months, they won't access your chats.

-
- -
- -

Material Design on Android, Instant Search for Messages and more

-

November '14 also delivered Instant Full-Text Search to iOS and Android. Since then you can quickly find any message you ever sent or received on Telegram.

-

GIF search was first supported on iOS. The Android app got a massive redesign, consistent with material guidelines.

-
- -
- -

On Telegram since November 2014

- -
-

October 2014

-

Public usernames, smaller timers for Secret Chats, and more

-

October '14 marks the beginning of properly recorded history on Telegram. The first update ever to be described in a blog post brought public usernames, adding the ability to share your Telegram contact without disclosing your phone number.

-

Secret Chats got a major upgrade, with self-destructing media showing blurred thumbnails and starting the countdown only after they are first opened. This prevented them from disappearing before actually being viewed. This was also when screenshot notifications were first introduced.

-

Telegram for Android received several updates, adding support for Android Wear and tablets, as well as video compression.

-
- -
- -

On Telegram since October 2014

- -
-
- -
- -

September 2014

-

GIFs, iPad support and broadcast lists on iOS

-

Telegram has supported iPads since September '14. In this update, the iOS app learned to play GIF animations and added cloud search for messages, as well as adding search by file name to the Shared Documents section. iOS also caught up with Android, adding support for broadcast lists.

-
- -
- -

On Telegram since September 2014

- -
-

August 2014

-

Broadcast lists were first introduced to Android in August '14, only to be replaced with channels a little over a year later.

-
- -
- -

On Telegram since August 2014

- -
-

June 2014

-

Multiple photo upload and more

-

Telegram for Android caught up with iOS, allowing users to preview photos before sending — as well as select and send many photos at once. Notifications were improved to be more reliable.

-
- -
- -

On Telegram since June 2014

- -
-

March 2014

-

Voice Messages, Delete Messages for both sides in Secret Chats, Language Settings on Android

-

The March '14 update introduced voice messages to Telegram. Messages deleted in Secret Chats began disappearing for both sides.

-

Telegram for Android added the option to change the app language in Settings. The first languages to be added were German and Italian.

-
- -
- -

On Telegram since March 2014

- -
-

February 2014

-

New apps, autodownload settings and contact management tools for Android

-

More Telegram apps entered the fray. An unofficial Telegram app for Web was introduced and later moved to web.telegram.org to become the official web version. Telegram for Windows Phone was created in a contest for app developers.

-

Meanwhile, an update introduced autodownload settings and new tools to manage contacts on Android.

-
- -
- -

On Telegram since February 2014

- -
-

January 2014

-

Send documents and files

-

First thing in 2014, Telegram allowed documents of any type to be sent, including .pdf, .doc, .png, .mp3, etc. The size limit is 1,5 GB per file.

-

An unofficial Telegram app for PC was announced, which would later become the official Telegram Desktop.

-
- -
- -

On Telegram since January 2014

- -
-

2013

-
-

December 2013

-

Crowdsourcing a more secure future

-

The only significant vulnerability to ever be discovered in the MTProto protocol was fixed during the First Telegram Crypto Contest. The researcher who discovered it was awarded a bounty of $100,000.

-
- -
- -

On Telegram since December 2013

- -
-

October 2013

-

After a contest for Android developers, the alpha version of Telegram for Android was officially launched. Telegram apps got Secret Chats with self-destruct timers.

-

The MTProto Protocol specification and Telegram API were fully documented and the code of the apps became open source.

-
- -
- -

On Telegram since October 2013

- -
-

August 14, 2013

-

Telegram for iOS was launched.

-
-

Congratulations on completing this (not very) brief course on the history of Telegram. You just got an honorary PhD in Instant Messaging – unless you simply jumped down here, in which case you still have a long way 👆to go to get back to the top.

-
-

Armed with this much knowledge about Telegram, you should probably join our Volunteer Support Force.

-
-
- -
-
- -
-
-
- - - - - - - - - diff --git a/data/telegram.org/faq.html b/data/telegram.org/faq.html deleted file mode 100644 index ed7e1b81a4..0000000000 --- a/data/telegram.org/faq.html +++ /dev/null @@ -1,705 +0,0 @@ - - - - - Telegram FAQ - - - - - - - - - - - - - - - - - - - -
-
- -
-
-
-
-

Telegram FAQ

- -
-

This FAQ provides answers to basic questions about Telegram.
Check out our Advanced FAQ for more technical information.

-
-

-

General

- -

Telegram Basics

- -

Groups and Channels

- -

Usernames and t.me

- -

Security

- -

Secret Chats

- -

Your Account

- -

Bots

- -

Deeper Questions

- -

Troubleshooting

- -

Contact Telegram Support
Follow Us on Twitter
Facebook
Advanced FAQ

-

-
-

General Questions

-

Q: What is Telegram? What do I do here?

-

Telegram is a messaging app with a focus on speed and security, it’s super-fast, simple and free. You can use Telegram on all your devices at the same time — your messages sync seamlessly across any number of your phones, tablets or computers. Telegram has over 500 million monthly active users and is one of the 10 most downloaded apps in the world.

-

With Telegram, you can send messages, photos, videos and files of any type (doc, zip, mp3, etc), as well as create groups for up to 200,000 people or channels for broadcasting to unlimited audiences. You can write to your phone contacts and find people by their usernames. As a result, Telegram is like SMS and email combined — and can take care of all your personal or business messaging needs. In addition to this, we support end-to-end encrypted voice and video calls, as well as voice chats in groups for thousands of participants.

-
-

Follow our Tips Channel to learn more about Telegram features.

-
-

Q: Who is Telegram for?

-

Telegram is for everyone who wants fast and reliable messaging and calls. Business users and small teams may like the large groups, usernames, desktop apps and powerful file sharing options.

-

Since Telegram groups can have up to 200,000 members, we support replies, mentions and hashtags that help maintain order and keep communication in large communities efficient. You can appoint admins with advanced tools to help these communities prosper in peace. Public groups can be joined by anyone and are powerful platforms for discussions and collecting feedback.

-

In case you're more into pictures, Telegram has animated gif search, a state of the art photo editor, and an open sticker platform (find some cool stickers here or here). What's more, there is no need to worry about disk space on your device. With Telegram's cloud support and cache management options, Telegram can take up nearly zero space on your phone.

-

Those looking for extra privacy should check out our advanced settings and rather revolutionary policy. And if you want secrecy, try our device-specific Secret Chats with self-destructing messages, photos, and videos — and lock your app with an additional passcode.

-
-

We keep evolving — check out our Brief History of Telegram and follow us on twitter and Telegram to stay in touch.

-
-

Q: How is Telegram different from WhatsApp?

-

Unlike WhatsApp, Telegram is a cloud-based messenger with seamless sync. As a result, you can access your messages from several devices at once, including tablets and computers, and share an unlimited number of photos, videos and files (doc, zip, mp3, etc.) of up to 2 GB each.

-

Telegram needs less than 100 MB on your device – you can keep all your media in the cloud without deleting things – simply clear your cache to free up space.

-

Thanks to Telegram's multi-data center infrastructure and encryption, is faster and way more secure. On top of that, private messaging on Telegram is free and will stay free — no ads, no subscription fees, forever.

-

Telegram's API and code is open, and developers are welcome to create their own Telegram apps. We also have a Bot API, a platform for developers that allows anyone to easily build specialized tools for Telegram, integrate any services, and even accept payments from users around the world.

-

And that's just the tip of the iceberg.

-
-

Follow our Tips Channel to learn more about Telegram features.

-
-

Q: How old is Telegram?

-

Telegram for iOS was launched on August 14, 2013. The alpha version of Telegram for Android officially launched on October 20, 2013. More and more Telegram clients appear, built by independent developers using Telegram's open platform.

-

Q: Which devices can I use?

-

You can use Telegram on smartphones, tablets, and even computers. We have apps for iOS (9.0 and above), Android (4.1 and up), a native macOS app and a universal desktop app for Windows, macOS, and Linux. Telegram Web can also help to quickly do something on the go.

-
-

You can log in to Telegram from as many of your devices as you like — all at the same time. Just use your main mobile phone number to log in everywhere, your cloud chats will sync instantly.

-
-

The Telegram API is open for developers, should you want to build your own applications for other platforms.

-

Q: Who are the people behind Telegram?

-

Telegram is supported by Pavel Durov and his brother Nikolai. Pavel supports Telegram financially and ideologically while Nikolai's input is technological. To make Telegram possible, Nikolai developed a unique custom data protocol, which is open, secure and optimized for work with multiple data-centers. As a result, Telegram combines security, reliability and speed on any network.

-
-

See also: articles about Telegram

-
-

Q: Where is Telegram based?

-

The Telegram development team is based in Dubai.

-

Most of the developers behind Telegram originally come from St. Petersburg, the city famous for its unprecedented number of highly skilled engineers. The Telegram team had to leave Russia due to local IT regulations and has tried a number of locations as its base, including Berlin, London and Singapore. We’re currently happy with Dubai, although are ready to relocate again if local regulations change.

-

Q: Will you have ads in my private chats and groups? Or sell my data? Or steal my beloved and enslave my children?

-

No. See this post for details.

-

Q: How are you going to make money out of this?

-

We believe in fast and secure messaging that is also 100% free.

-

Our founder and CEO Pavel Durov, who financed Telegram throughout most of its history, has outlined a strategy to make Telegram sustainable in this post.

-

While Telegram will introduce monetization in 2021 to pay for the infrastructure and developer salaries, making profits will never be an end-goal for us.

-

Q: What are your thoughts on internet privacy?

-

We think that the two most important components of Internet privacy should be:

-
    -
  1. Protecting your private conversations from snooping third parties, such as officials, employers, etc.
  2. -
  3. Protecting your personal data from third parties, such as marketers, advertisers, etc.
  4. -
-

Telegram's aim is to create a truly free messenger, with a revolutionary privacy policy.

-

Q: What about GDPR?

-

The General Data Protection Regulation (GDPR) came into force in Europe on May 25, 2018. Since taking back our right to privacy was the reason we made Telegram, there wasn't much we had to change. We don’t use your data for ad targeting, we don’t sell it to others, and we're not part of any mafia family “family of companies.”

-

Telegram only keeps the information it needs to function as a feature-rich cloud service. For example, your cloud chats – so that you can access them from any devices without using third-party backups, or your contacts – so that you can rely on your existing social graph when messaging people on Telegram. Please see our Privacy Policy for more information.

-

You can use @GDPRbot to:

-
    -
  • Request a copy of all your data that Telegram stores.
  • -
  • Contact us about Data Privacy.
  • -
-

Q: There's illegal content on Telegram. How do I take it down?

-

All Telegram chats and group chats are private amongst their participants. We do not process any requests related to them.

-

But sticker sets, channels, and bots on Telegram are publicly available. If you find sticker sets or bots on Telegram that you think are illegal, please ping us at abuse@telegram.org.

-

You can also use the 'report' buttons right inside our apps, see this post on our official @ISISwatch channel for details.

-
-

Note: If a scammer is pretending to be you, contact @NoToScam

-
-

Q: A bot or channel is infringing on my copyright. What do I do?

-

All Telegram chats and group chats are private amongst their participants. We do not process any requests related to them. But sticker sets, channels, and bots on Telegram are publicly available.

-

If you see a bot, channel, or sticker set that is infringing on your copyright, kindly submit a complaint to dmca@telegram.org. Please note that such requests should only be submitted by the copyright owner or an agent authorized to act on the owner’s behalf.

-

Q: Wait! 0_o Do you process take-down requests from third parties?

-

Our mission is to provide a secure means of communication that works everywhere on the planet. To do this in the places where it is most needed (and to continue distributing Telegram through the App Store and Google Play), we have to process legitimate requests to take down illegal public content (e.g., sticker sets, bots, and channels) within the app. For example, we can take down sticker sets that violate intellectual property rights or porn bots.

-

User-uploaded stickers sets, channels, and bots by third-party developers are not part of the core Telegram UI. Whenever we receive a complaint at abuse@telegram.org or dmca@telegram.org regarding the legality of public content, we perform the necessary legal checks and take it down when deemed appropriate.

-

Please note that this does not apply to local restrictions on freedom of speech. For example, if criticizing the government is illegal in some country, Telegram won't be a part of such politically motivated censorship. This goes against our founders' principles. While we do block terrorist (e.g. ISIS-related) bots and channels, we will not block anybody who peacefully expresses alternative opinions.

-

Q: My bot or sticker set was banned unfairly, what do I do?

-

If you think we banned your bot, channel, or sticker set for no apparent reasons, drop us a line at abuse@telegram.org.

-

Q: Do you process data requests?

-

Secret chats use end-to-end encryption, thanks to which we don't have any data to disclose.

-

To protect the data that is not covered by end-to-end encryption, Telegram uses a distributed infrastructure. Cloud chat data is stored in multiple data centers around the globe that are controlled by different legal entities spread across different jurisdictions. The relevant decryption keys are split into parts and are never kept in the same place as the data they protect. As a result, several court orders from different jurisdictions are required to force us to give up any data.

-

Thanks to this structure, we can ensure that no single government or block of like-minded countries can intrude on people's privacy and freedom of expression. Telegram can be forced to give up data only if an issue is grave and universal enough to pass the scrutiny of several different legal systems around the world.

-

To this day, we have disclosed 0 bytes of user data to third parties, including governments.

-

Telegram Basics

-
-

Follow our Tips Channel to learn more about Telegram features.

-
-

Q: Who can I write to?

-

You can write to people who are in your phone contacts and have Telegram. Another way of contacting people is to type their Telegram username into the search field – you don't need to know their phone number to do this.

-

Q: Who can contact me?

-

People can contact you on Telegram if they know your phone number or if you message them first.

-

If they don't know your phone number, they can find you in these cases:

-
    -
  • When you both are members of the same group.
  • -
  • If you set a public username. Others can use Global Search and find you by your username.
  • -
  • If you opt-in to appear in the People Nearby section (this is turned off by default).
  • -
-

Q: How do I know who in my contacts has Telegram?

-

Your contacts, who have Telegram, are shown at the top of your Contacts. They also have pictures.

-

Q: How do I invite my friends?

-

iOS: The basic invitations are simple SMS messages. They will be charged as standard outgoing SMS by your carrier (unless sent via iMessage). Naturally, you have other options to bring your friends here. Try sending them a download link via any other messaging service: email, Facebook, WhatsApp, an actual telegram — you name it. The link: https://telegram.org/dl/

-

Android: Open the app menu (swipe right in chat list) > Invite Friends. Then choose an application via which you would like to send out invitations.

-
-

You can give your friends a t.me link with your username so that they can easily find you on Telegram even if they don't have your phone number.

-
-

Q: What do the check marks mean?

-

One check — message delivered to the Telegram cloud and your friend has been notified if he allows notifications.
Two checks — message read (your friend opened Telegram and opened the conversation with the message).

-

We don't have a 'delivered to device' status for messages because Telegram can run on as many devices as you want. So which particular one would that check mean?

-

Q: Can I hide my ‘last seen’ time?

-

You can choose who sees this info in Privacy and Security settings.

-

Remember that you won't see Last Seen timestamps for people with whom you don't share your own. You will, however, see an approximate last seen value. This keeps stalkers away but makes it possible to understand whether a person is reachable over Telegram. There are four possible approximate values:

-
    -
  • Last seen recently — covers anything between 1 second and 2-3 days
  • -
  • Last seen within a week — between 2-3 and seven days
  • -
  • Last seen within a month — between 6-7 days and a month
  • -
  • Last seen a long time ago — more than a month (this is also always shown to blocked users)
  • -
-

Q: Who can see me 'online'?

-

The last seen rules apply to your online status as well. People can only see you online if you're sharing your last seen status with them.

-

There are some exceptions because sometimes it is obvious that you are online. Regardless of the last seen settings, people will see you online for a brief period (~30 seconds) if you do the following:

-
    -
  • Send them a message in a one-on-one chat or in a group where you both are members.
  • -
  • Read a message they sent you in a one-on-one chat.
  • -
  • Broadcast a “typing…” status to their chat with you or to a group where you both are members.
  • -
-

If you're not sharing your last seen timestamp with someone and don't do anything of the above, they'll never see you online. Another way of achieving this is to block that person.

-

Q: What is People Nearby?

-

People Nearby is an optional feature that allows Telegram users to explore local groups, find friends to chat with in their area, or quickly exchange contacts with people who are close.

-

You can find it in Contacts > Find People Nearby, as well as directly in the side menu on Android.

-

While you have the People Nearby section open on your screen, people who are very close will be able to see you there. If you don't open the section, others will never see you in 'People Nearby'.

-

You can also choose to permanently add your profile to the list of nearby people by tapping Make Myself Visible. After becoming visible, you can remove your profile from the list at any time by tapping Stop Showing Me.

-
-

Note: People Nearby is never turned on by default – users must manually enable it. If you are receiving messages from someone you don't know, see Q: Who can contact me?

-
-

Q: Can I delete my messages?

-

Yes. You can always delete any messages you sent or received for both sides in any one-on-one conversation (in groups, it's still your own messages only). You can also clear the entire chat history on both ends. On Telegram, deleted messages do not leave a mark in the chat.

-
- -
- -

Together with privacy settings for forwarded messages, this makes exchanging Telegram messages similar to talking face to face (without a tape recorder). As a result, users no longer need to worry about the data accumulating in their chats over the years. Both parties in a conversation have full control over what does and what doesn't belong to their online identity.

-

Q: Can I make calls via Telegram?

-

Yes! You can make end-to-end encrypted Voice Calls and Video Calls.

-

If you want more participants, try starting a Voice Chat in one of the groups you created. Voice Chats add a live layer of ephemeral talk to the group. They can be used as virtual office spaces for teams or informal lounges for any community. While Voice Chats are not group calls, they can achieve similar goals.

-

Q: How can I use emoticons?

-

Type one word in your input field to get relevant emoji suggestions. You can also type “:” followed by any keyword to open emoji search – like :heart.

-

You can suggest missing keywords for emoji in your language using this interface (this will open suggestions for English, don't forget to change to your language in the left menu).

-

Groups and Channels

-

Q: What makes Telegram groups cool?

-

Telegram groups can have up to 200,000 members each and are extremely powerful communication tools. Here are a few key features that make them stand out in the messaging world:

-

Unified history
Edit your messages after posting, delete them so that they disappear for everyone.

-

Cross-platform availability
Access your messages anytime, from any number of your mobile or desktop devices.

-

Instant search
Find the message you're looking for, even among millions. Filter by sender to make searching easier.

-

Replies, mentions, hashtags
Easily trace a conversation and keep communication efficient, no matter the group size.

-

Smart notifications
Mute the group to get notifications only when people mention you or reply to your messages.

-

Pinned messages
You can pin any message to be displayed at the top of the chat screen. All members will get a notification — even if they muted ordinary messages from your group.

-

Moderation tools
Appoint administrators that can mass-delete messages, control membership, and pin important messages. Define their admin privileges with granular precision.

-

Group permissions
Set default permissions to restrict all members from posting specific kinds of content. Or even restrict members from sending messages altogether – and let the admins chat amongst themselves while everybody else is watching.

-

File sharing
Send and receive files of any type, up to 2 GB in size each, access them instantly on your other devices.

-

Public groups
Get a short link for your group and make it public, like t.me/publictestgroup. This way, anybody can view the group's entire chat history and join to post messages.

-

Customization via bots
Create custom tools for any specific needs using our Bot API and Inline Bots.

-

Q: What's the difference between groups and channels?

-

Telegram groups are ideal for sharing stuff with friends and family or collaboration in small teams. But groups can also grow very large and support communities of up to 200,000 members. You can make any group public, toggle persistent history to control whether or not new members have access to earlier messages and appoint administrators with granular privileges. You can also pin important messages to the top of the screen so that all members can see them, including those who have just joined.

-

Channels are a tool for broadcasting messages to large audiences. In fact, a channel can have an unlimited number of subscribers. When you post in a channel, the message is signed with the channel's name and photo and not your own. Each message in a channel has a view counter that gets updated when the message is viewed, including its forwarded copies.

-
-

Read more about channels in the Channels FAQ »

-
-

Q: How do I create a group?

-

iOS: Start a new message (tap the icon in the top right corner in Chats) > 'New Group'.
Android: Tap the circular pencil icon in the chat list > 'New Group'.
Telegram Desktop: Click the menu button in the top left corner > 'New Group'.

-

Q: Can I assign administrators?

-

You can add administrators to help you manage your group and define their privileges with granular precision.

-

iOS: Go to Group Info (tap the photo in the top right corner on the group‘s chat screen) > Edit > Administrators.
Android: Go to Group Info (tap the name in the header) > the pencil icon (in the top right corner) > Administrators.
Telegram Desktop: When in the group, click '…' in the top right corner > Manage group > Administrators.

-

Q: How do I add more members? What's an invite link?

-

You can add your contacts, or using search by username.

-

It is easy to migrate existing groups to Telegram by sending people an invite link. To create an invite link, go to Group Info > Add Member > Invite to Group via Link.

-

Anyone who has Telegram installed will be able to join your group by following this link. If you choose to revoke the link, it will stop working immediately.

-
-

Read more about invite links in our blog »

-
-

Usernames and t.me

-

Q: What are usernames? How do I get one?

-

You can set up a public username on Telegram. It then becomes possible for other users to find you by that username — you will appear in contacts search under 'global results'. Please note that people who find you will be able to send you messages, even if they don't know your number. If you are not comfortable with this, we advise against setting up a username in Telegram.

-

You can set up a username in Settings and use the universal search box in the chat list to search for chats, messages, and usernames.

-

Q: How does t.me work?

-

Once you've set up a username, you can give people a t.me/username link. Opening that link on their phone will automatically fire up their Telegram app and open a chat with you. You can share username links with friends, write them on business cards or put them up on your website.

-

This way people can contact you on Telegram without knowing your phone number.

-

Q: What can I use as my username?

-

You can use a-z, 0-9 and underscores. Usernames are case-insensitive, but Telegram will store your capitalization preferences (e.g. Telegram and TeleGram is the same user). The username must be at least five characters long.

-

Q: Do I need a username?

-

You don't have to get one. Remember that Telegram usernames are public and choosing a username on Telegram makes it possible for people to find you in global search and send you messages even if they don't have your number. If you are not comfortable with this, we advise against setting up a username.

-

Q: If someone finds me by username, messages and I reply — will they know my number?

-

No. Neither party will see another's phone number (unless this is permitted by your privacy settings). This is similar to the case when you message a person who you've met in a Telegram group.

-

Q: How do I delete my username?

-

Go to Settings and save an empty username. This will remove your username; people will no longer be able to find you via search. This will not affect existing conversations.

-

Q: What do I do if my username is taken?

-

Telegram usernames are distributed on a first come — first serve basis.

-

We understand that certain usernames are part of an online identity for some of us. If your desired username is already taken, we will be happy to help you acquire it for your account or channel, provided that you have that same username on at least two of these services: Facebook, Twitter, Instagram.

-

Due to the fact that one account can register multiple bot and channel usernames, we reserve the right to recall usernames assigned to unused bots and channels, as well as openly squatted usernames.

-

To request a username, contact @Username_bot.

-

Q: What if someone is pretending to be me?

-

If a scammer is pretending to be you, please contact @NoToScam.

-

Security

-
-

If you are an advanced user, you may find our FAQ for the Technically Inclined useful as well.

-
-

Q: How secure is Telegram?

-

Telegram is more secure than mass market messengers like WhatsApp and Line. We are based on the MTProto protocol (see description and advanced FAQ), built upon time-tested algorithms to make security compatible with high-speed delivery and reliability on weak connections. We are continuously working with the community to improve the security of our protocol and clients.

-

Q: What if I’m more paranoid than your regular user?

-

We've got you covered. Telegram’s special secret chats use end-to-end encryption, leave no trace on our servers, support self-destructing messages and don’t allow forwarding. On top of this, secret chats are not part of the Telegram cloud and can only be accessed on their devices of origin.

-

Q: So how do you encrypt data?

-

We support two layers of secure encryption. Server-client encryption is used in Cloud Chats (private and group chats), Secret Chats use an additional layer of client-client encryption. All data, regardless of type, is encrypted in the same way — be it text, media or files.

-

Our encryption is based on 256-bit symmetric AES encryption, 2048-bit RSA encryption, and Diffie–Hellman secure key exchange. You can find more info in the Advanced FAQ.

-
-

See also: Do you process data requests?

-
-

Q: Why should I trust you?

-

Telegram is open, anyone can check our source code, protocol and API, see how everything works and make an informed decision. Telegram supports verifiable builds, which allow experts to independently verify that our code published on GitHub is the exact same code that is used to build the apps you download from App Store or Google Play.

-

We welcome security experts to audit our system and appreciate any feedback at security@telegram.org.

-

On top of that, Telegram's primary focus is not to bring a profit, so commercial interests will never interfere with our mission.

-
-

See also: articles about Telegram

-
-

Q: Do I need to trust Telegram for this to be secure?

-

When it comes to secret chats, you don't — just make sure that the visualized key of your secret chat matches the one in your friend's secret chat settings. More about this below.

-

Q: What if my hacker friend says they could decipher Telegram messages?

-

Anyone who claims that Telegram messages can be deciphered is welcome to prove that claim in our competition and win $300,000. You can check out the Cracking Contest Description to learn more.

-

Any comments on Telegram's security are welcome at security@telegram.org. All submissions which result in a change of code or configuration are eligible for bounties, ranging from $100 to $100,000 or more, depending on the severity of the issue. Please note that we can not offer bounties for issues that are disclosed to the public before they are fixed.

-

Q: Can Telegram protect me against everything?

-

Telegram can help when it comes to data transfer and secure communication. This means that all data (including media and files) that you send and receive via Telegram cannot be deciphered when intercepted by your internet service provider, owners of Wi-Fi routers you connect to, or other third parties.

-

But please remember that we cannot protect you from your own mother if she takes your unlocked phone without a passcode. Or from your IT-department if they access your computer at work. Or from any other people that get physical or root access to your phones or computers running Telegram.

-

If you have reasons to worry about your personal security, we strongly recommend using only Secret Chats in official or at least verifiable open-source apps for sensitive information, preferably with a self-destruct timer. We also recommend enabling 2-Step Verification and setting up a strong passcode to lock your app, you will find both options in Settings > Privacy and Security.

-

Q: How does 2-Step Verification work?

-

Logging in with an SMS code is an industry standard in messaging, but if you're looking for more security or have reasons to doubt your mobile carrier or government, we recommend protecting your cloud chats with an additional password.

-

You can do this in Settings > Privacy and Security > 2-Step Verification. Once enabled, you will need both an SMS code and a password to log in. You can also set up a recovery email address that will help regain access, should you forget your password. If you do so, please remember that it's important that the recovery email account is also protected with a strong password and 2-Step Verification when possible.

-

Check this out for tips on creating a strong password that is easy to remember.

-

Q: Why can jailbroken and rooted devices be dangerous?

-

Using a rooted or jailbroken device makes it easier for a potential attacker to gain full administrative control over your device — root access.

-

A user with root access can easily bypass security features built into the operating system, read process memory or access restricted areas, such as the internal storage. Once an attacker has root access, any efforts to mitigate threats become futile. No application can be called safe under these circumstances, no matter how strong the encryption.

-

Secret Chats

-

Q: How are secret chats different?

-

Secret chats are meant for people who want more secrecy than the average fella. All messages in secret chats use end-to-end encryption. This means only you and the recipient can read those messages — nobody else can decipher them, including us here at Telegram (more on this here). On top of this, Messages cannot be forwarded from secret chats. And when you delete messages on your side of the conversation, the app on the other side of the secret chat will be ordered to delete them as well.

-

You can order your messages, photos, videos and files to self-destruct in a set amount of time after they have been read or opened by the recipient. The message will then disappear from both your and your friend's devices.

-

All secret chats in Telegram are device-specific and are not part of the Telegram cloud. This means you can only access messages in a secret chat from their device of origin. They are safe for as long as your device is safe in your pocket.

-

Q: How do I start a secret chat?

-

Open the profile of the user you want to contact. Tap on ‘…’, then ‘Start Secret Chat’.

-

Remember that Telegram secret chats are device-specific. If you start a secret chat with a friend on one of your devices, this chat will only be available on that device. If you log out, you will lose all your secret chats. You can create as many different secret chats with the same contact as you like.

-

Q: How do self-destructing messages work?

-

The Self-Destruct Timer is available for all messages in Secret Chats and for media in private cloud chats.

-

To set the timer, simply tap the clock icon (in the input field on iOS, top bar on Android), and then choose the desired time limit. The clock starts ticking the moment the message is displayed on the recipient's screen (gets two check marks). As soon as the time runs out, the message disappears from both devices. We will try to send a notification if a screenshot is taken.

-

Please note that the timer in Secret Chats only applies to messages that were sent after the timer was set. It has no effect on earlier messages.

-

Q: Can I be certain that my conversation partner doesn't take a screenshot?

-

Unfortunately, there is no bulletproof way of detecting screenshots on certain systems (most notably, some Android and Windows Phone devices). We will make every effort to alert you about screenshots taken in your Secret Chats, but it may still be possible to bypass such notifications and take screenshots silently. We advise to share sensitive information only with people you trust. After all, nobody can stop a person from taking a picture of their screen with a different device or an old school camera.

-

Q: What is this 'Encryption Key' thing?

-

When a secret chat is created, the participating devices exchange encryption keys using the so-called Diffie-Hellman key exchange. After the secure end-to-end connection has been established, we generate a picture that visualizes the encryption key for your chat. You can then compare this image with the one your friend has — if the two images are the same, you can be sure that the secret chat is secure, and no man-in-the-middle attack can succeed.

-

Newer versions of Telegram apps will show a larger picture along with a textual representation of the key (this is not the key itself, of course!) when both participants are using an updated app.

-

Always compare visualizations using a channel that is known to be secure — it's safest if you do this in person, in an offline meeting with the conversation partner.

-

Q: Why not just make all chats 'secret'?

-

All Telegram messages are always securely encrypted. Messages in Secret Chats use client-client encryption, while Cloud Chats use client-server/server-client encryption and are stored encrypted in the Telegram Cloud (more here). This enables your cloud messages to be both secure and immediately accessible from any of your devices – even if you lose your device altogether.

-

The problem of restoring access to your chat history on a newly connected device (e.g. when you lose your phone) does not have an elegant solution in the end-to-end encryption paradigm. At the same time, reliable backups are an essential feature for any mass-market messenger. To solve this problem, some applications (like Whatsapp and Viber) allow decryptable backups that put their users' privacy at risk – even if they do not enable backups themselves. Other apps ignore the need for backups altogether and leave their users vulnerable to data loss.

-

We opted for a third approach by offering two distinct types of chats. Telegram disables default system backups and provides all users with an integrated security-focused backup solution in the form of Cloud Chats. Meanwhile, the separate entity of Secret Chats gives you full control over the data you do not want to be stored.

-

This allows Telegram to be widely adopted in broad circles, not just by activists and dissidents, so that the simple fact of using Telegram does not mark users as targets for heightened surveillance in certain countries. We are convinced that the separation of conversations into Cloud and Secret chats represents the most secure solution currently possible for a massively popular messaging application.

-
-

See also: Why Telegram isn't End-to-End Encrypted “by Default”

-
-

Your Account

-

Q: Who can see my phone number?

-

On Telegram, you can send messages in private chats and groups without making your phone number visible. By default, your number is only visible to people who you've added to your address book as contacts. You can further modify this in Settings > Privacy and Security > Phone Number.

-
-

Note that people will always see your number if they know it already and saved it in their address book.

-
-

Q: I have a new phone number, what do I do?

-

Each phone number is a separate account on Telegram. You have several options if you are using multiple phone numbers:

-
    -
  • If you will no longer use the old number (e.g., you moved to a new country or changed your number for good), simply go to Settings and change the number connected to your Telegram account to the new number. Important: make sure you have access to your connected phone number – otherwise you risk losing access to your account.
  • -
  • If you will use the new number for a limited time (e.g., you're on a trip or vacation), there's no need to do anything.
  • -
  • If you want to keep using both numbers (e.g., you have a work phone and personal phone), choose one as your Telegram number. You may create another Telegram account on the second number as well, for example, if you want to keep work and personal chats separated. It is possible to log in to one Telegram app with up to 3 different accounts at once.
  • -
-

Q: How do I log out?

-

Most users don't need to log out of Telegram:

-
    -
  • You can use Telegram on many devices at the same time. Just use the same phone number to log in on all devices.
  • -
  • You can go to Settings > Data and Storage > Storage Usage> Clear cache to free up space on your device without logging out.
  • -
  • If you use Telegram with multiple phone numbers, you can switch between accounts without logging out.
  • -
  • If you use Telegram on a shared device, you can set up a passcode in Settings > Privacy and Security to make sure only you have access to your account.
  • -
-

If you do want to log out for some reason, here's how you do that:

-

iOS: Go to Settings > Edit > Log out.
Android, Telegram Desktop: Go to Settings > … (in the top right corner) > Log out.

-

If you log out, you will keep all your cloud messages. However, you will lose all your Secret Chats and all messages inside those secret chats when you log out.

-
-

Note that logging out does not trigger remote deletion of your secret chat messages on your partner's device — to do that, choose 'Clear History' first.

-
-

Q: How do I change my phone number?

-

You can change your number in Telegram and keep everything, including all your contacts, messages, and media from the Telegram cloud, as well as all your Secret Chats on all devices.

-

To change your number, go to Settings, then tap on your phone number (just above the username), then 'Change Number'. If you already have a different Telegram account on the target number, you'll need to delete that account first.

-

Q: How do I delete my account?

-

If you would like to delete your account, you can do this on the deactivation page. Deleting your account permanently removes all your messages and contacts. All groups and channels that you've created are orphaned and left without a creator but admins retain their rights.

-

This action must be confirmed via your Telegram account and cannot be undone.

-
-

We recommend using a non-mobile browser for this process.
Note that you'll receive the code via Telegram, not SMS.

-
-

Q: What happens if I delete my account?

-

As was just mentioned above, all your data will be flushed from our system: all messages, groups, and contacts associated with your account will be deleted. That said, your contacts will still be able to chat in the groups that you have created, and they will still have their copy of the messages you sent them. So if you want to send messages that can vanish without a trace, try using our self-destruct timer instead.

-

Termination of a Telegram account is irreversible. If you sign up again, you will appear as a new user and will not get your history, contacts or groups back. People, who have your phone number in their contacts, will be notified. The new user will be displayed as a separate conversation in their messages list and their conversation history with this new user will be empty.

-

Q: How does account self-destruction work?

-

Telegram is not a commercial organization, and we value our disk space greatly. If you stop using Telegram and don't come online for at least six months, your account will be deleted along with all messages, media, contacts and every other piece of data you store in the Telegram cloud. You can change the exact period after which your inactive account will self-destruct in Settings.

-

Q: My phone was stolen, what do I do?

-

First of all, sorry about your phone. Unfortunately, the phone number is the only way for us to identify a Telegram user at the moment. We don't collect additional information about you, so whoever has the number, has the account. This means we can't help you unless you have access either to the phone number or to Telegram itself on any of your devices.

-
I have access to Telegram on another device
-
    -
  1. Go to Telegram Settings > Privacy and Security and turn on Two-Step Verification. This way the phone number alone will not be enough to log in to your account.
  2. -
  3. Go to Settings > Devices (or Privacy & Security > Active Sessions) and terminate your Telegram session on the old device. Whoever has your phone will not be able to log in again, since they don't know your password.
  4. -
  5. Contact your phone provider, so that they block your old SIM and issue a new one with your number.
  6. -
  7. If you decide to switch to a new phone number, don't forget to go to Settings, tap on your phone number and change your Telegram number to the new one.
  8. -
-
I don't have access to Telegram on any other devices
-
    -
  1. First and foremost, you need to contact your phone provider, so that they block your old SIM and issue a new one with your number.
  2. -
  3. Wait till you receive your new SIM with the old number, log in to Telegram, then go to Settings > Devices (or Privacy & Security > Active Sessions) and terminate your Telegram session on the old device.
  4. -
-
Removing sensitive data
-

Common thieves usually throw out the SIM card immediately (the phone is harder to locate this way), then wipe the devices and sell them, so there isn't much risk for the data in case of regular petty theft. But if you have reasons to worry about the data on the device and are unable to log out the other device, it is best that you wipe it remotely. You can read more about it here: Apple iOS, Android. Unfortunately, this requires you to have prepared in advance for this scenario.

-

You can delete your Telegram account if you are logged in on at least one of your other devices (mobile or desktop). Note that inactive Telegram accounts self-destruct automatically after a period of time — 6 months being the default setting.

-

Bots

-
-

If you're a developer, you may find our Bots FAQ more useful.

-
-

Q: What are bots?

-

Bots are like small programs that run right inside Telegram. They are made by third-party developers using the Telegram Bot API.

-

Q: How do I create a bot?

-

Creating Telegram bots is super-easy, but you will need at least some skills in computer programming. If you're sure you're up to it, our Introduction for Developers is a good place to start.

-

Unfortunately, there are no out-of-the-box ways to create a working bot if you are not a developer. But we're sure you'll soon find plenty of bots created by other people to play with.

-

Q: A bot is sending me messages, how do I make it stop?

-

If you don't want a bot to send you messages, feel free to block it – same as you would block a human user. Some Telegram clients have a 'Stop Bot' button right in the bot's profile.

-

That said, most bot developers offer commands that silence the bot, check its /help for clues.

-

Q: Are bots safe?

-

Yes. Bots are no different from human users that you meet in groups for example. They can see your public name, username, and profile pictures, and they can see messages you send to them, that's it. They can't access your last seen status and don't see your phone number (unless you decide to give it to them yourself).

-

Naturally, any bot should be treated as a stranger — don't give them your passwords, Telegram codes or bank account numbers, even if they ask nicely. Also, be careful when opening files sent by bots, same as you would deal with ordinary humans. Example: If a bot sent us a file called OpenMe.exe, we probably wouldn't open it.

-

Q: If I add a bot to my group, can it read my messages?

-

Bots can work in two modes when you add them to groups. By default, bots only see messages that are meant for them. In this case, you'll see 'has no access to messages' in the group members list next to the bot.

-

Some bots need more information to work, so developers may disable the privacy mode. In this case, the bot will see all messages sent to the group, and you will see 'has access to messages' in the members list next to the bot.

-

Learn more about privacy mode for bots »

-

If your group contains very sensitive information, maybe it's better to avoid adding bots you don't trust 100%.

-

Q: Are bots made by Telegram?

-

No. While we have some official bots for specific purposes (like @gif or @GDPRbot), we don't usually make bots. Bots are made by third-party developers using the Telegram Bot API and platform.

-

Q: Where can I find more bots?

-

There is no official store at the moment, so you'll have to ask your friends or search the web for now. We're pretty sure you'll find some bots to play with.

-

Deeper questions

-

Q: Can I get Telegram's server-side code?

-

All Telegram client apps are fully open source. We offer verifiable builds both for iOS and Android – this technology allows to independently verify that the application you download from the app stores was built using the exact same code that we publish.

-

By contrast, publishing the server code doesn’t provide security guarantees neither for Secret Chats nor for Cloud Chats. This is because – unlike with the client-side code – there’s no way to verify that the same code is run on the servers.

-

As for Secret Chats, you don’t need the server-side code to check their integrity – the point of end-to-end encryption is that it must be solid regardless of how the servers function.

-
-

In a post on his channel, Pavel Durov explained why Telegram hasn't published the server code, even as a publicity stunt.

-
-

The encryption and API used on Telegram's servers are fully documented and open for review by security experts. We welcome any comments at security@telegram.org

-

Q: Can I run Telegram using my own server?

-

Our architecture does not support federation yet. Telegram is a unified cloud service, so creating forks where two users might end up on two different Telegram clouds is unacceptable. To enable you to run your own Telegram server while retaining both speed and security is a task in itself. At the moment, we are undecided on whether or not Telegram should go in this direction.

-

Q: Can I use the Telegram API?

-

Yes. Developers for all platforms are welcome to use our protocol, API and even source code. Check out the Getting started section of the docs.

-
-

Don't forget about our Bot API that lets you build cool stuff on our platform.

-
-

Q: Do you have a Privacy Policy?

-

Sure. Check this out.

-

Q: What does the iOS privacy sheet mean?

-

Apple created privacy sheets to inform users about what data apps may collect, but information there is vague and can be misleading. You can see a detailed explanation of Telegram's sheet here.

-

Q: Why do you have two apps in the Mac App Store?

-

One is our app for macOS, the other is Telegram Lite, the macOS version of our multi-platform client. Both apps are official. Both started out as unofficial applications by two different developers and vary in design and functionality.

-

Telegram for macOS supports many platform-specific features, such as the MacBook Pro Touch Bar, gesture navigation, integration with the Mac's Share menu and more. It has every feature from the iOS version of the app including Secret Chats.

-

Telegram Lite is a lightning-fast app, optimized for work-related tasks and handling large communities. It offers a three-column interface, perfect for multitasking and quick access to media, files and links shared in your chats. This app can also be used to export your Telegram data and chats.

-

Q: Can I translate Telegram?

-

Telegram is officially available in English, Spanish, German, Dutch, Italian, French, Arabic, Portuguese, Korean, Malay, Russian and Ukrainian on most platforms, and we are gradually expanding the list of languages built into the apps.

-

If you don’t like how a specific element in Telegram's interface is translated in your language, or would like to help us maintain the translation, check out our localization platform. Everyone can suggest translations and vote for the best ones, making Telegram localization a community-driven effort.

-

If you're looking to go beyond suggestions for individual phrases and would like to help us maintain the official translation to your language on a continuous basis, you can contact @TelegramAuditions. Please include a hashtag with the English name of your language (e.g. #Albanian) and a few links to phrases on this platform with your translation suggestions or comments. Be sure to read the Style Guide carefully before you apply.

-

Q: Can I help?

-

Yes, we are always looking for volunteers to help us with user support. If you would be interested in answering questions about Telegram to users from your country, contact our auditions account.

-

Before you apply, please check out the Telegram Support Initiative.

-

Passport

-

Telegram Passport is a unified authorization method for services that require personal identification. With Telegram Passport, you can upload your documents once, then instantly share your data with services that require real-world ID (finance, ICOs, etc.).

-

Your identity documents and personal data will be stored in the Telegram cloud using End-to-End Encryption. To Telegram, this data is just random gibberish, and we have no access to the information you store in your Telegram Passport. When you share data, it goes directly to the recipient.

-
-

You can find more information about Telegram Passport on our blog.

-
-

If you're a developer or owner of a service that requires real-life ID, kindly take a look at this manual. You can also try requesting Telegram Passport data using this page.

-
-

Troubleshooting

-

Login and SMS

-

Please make sure you are entering your mobile phone number in the international format.
I.e.: +(country code)(city or carrier code)(your number)

-

If you are having registration or login problems, please contact us using this form.

-

Getting a code via a phone call

-

For security reasons, login codes dictated via a phone call are only available for accounts that have two-step verification enabled (Settings > Privacy & Security > Two-Step Verification).

-

Please also note that Telegram accounts can only be connected to a mobile number. We currently don't support landline numbers.

-

Getting a code via Telegram

-

If you have recently used one of our apps on another device (it could also be a different app on the same device), we may send the login code via Telegram instead of SMS.

-

To receive such a code, just check Telegram from any of your connected devices. You will find it in the chat with Telegram, a verified profile with a blue check:

-
- -

Login code sent via Telegram

-
- -

WARNING! Please note that getting codes via Telegram should not be considered an alternative to using an up-to-date phone number. In case of a change in numbers, always make sure Telegram is connected to a phone number you control, otherwise you risk losing access to your account forever.

-

Notification problems

-
-

If the tips below don't help, check out this detailed guide on Troubleshooting Notification Issues.

-
-

ANDROID

-
    -
  1. Go to Telegram Settings — Notifications and Sounds, make sure that notifications are ON and Importance is set to “High” or greater.
  2. -
  3. Check whether contact or group is muted.
  4. -
  5. Make sure Google Play Services are installed on your phone.
  6. -
  7. Check notification priority for Telegram in Android settings, it can be called Importance or Behaviour depending on your device.
  8. -
  9. If your phone uses some battery saving software, make sure that Telegram is whitelisted in that application.
  10. -
-
-

NOTE: Huawei and Xiaomi devices have evil task killer services that interfere with the Telegram notification service. For our notifications to work, you need to add Telegram to allowed apps in those devices' security settings. Huawei: Phone Manager App > Protected Apps > Add Telegram to the list. Xiaomi: Services > Security > Permissions > Autostart, find Telegram and enable autostart.

-
-

iOS

-
    -
  1. Go to Telegram Settings — Notifications and Sounds, make sure that notifications are ON in Telegram.
  2. -
  3. Check that notifications are ON in phone Settings.
  4. -
  5. Check, whether contact or group is muted.
  6. -
  7. Shut down Telegram (go to home screen, double tap home button, swipe upwards on Telegram), then go to phone settings, set the alert style for Telegram to NONE. Relaunch Telegram, go to phone settings, set alert style back to banners.
  8. -
-

Problems with contacts

-

If you know your friends have Telegram, but you can't see them — or they appear as numbers instead of names.

-

Android:

-
    -
  1. Make sure you are using the latest version of the app.
  2. -
  3. Relaunch the app (by terminating it from processes list and launching again).
  4. -
  5. Temporarily change the name of the contact in phone contacts (add a few symbols, then change back again).
  6. -
  7. If that didn't help, re-login. Remember that logging out kills your Secret Chats.
  8. -
-

iOS:

-
    -
  1. Force quit the app (double tap home button, then swipe up on Telegram), then relaunch and check if it helped.
  2. -
  3. If that doesn't help, temporarily change the name of the contact in phone contacts (add a few symbols, then change back again).
  4. -
  5. If that doesn’t work, re-login: Settings > Edit > Log Out. Remember that logging out kills all your Secret Chats. Then log in again.
  6. -
-

Deleting contacts on Android

-

To delete a contact, open a chat with the person, tap the title in the top area of the chat screen to open their profile, then tap on (⋮) in the top right corner > 'Delete contact'.

-

If you want to delete the contact completely, make sure you also delete them from your phone contacts. Telegram stays in sync and will add the contact back if you don't.

-

Where did my Secret Chat messages go?

-

Secret Chats are established between the two devices they were created on. This means that all those messages are not available in the cloud and cannot be accessed on other devices.

-

Moreover, Secret Chats are also tied to your current login session on the device. If you log out and in again, you will lose all your Secret Chats.

-

Can't send messages to non-contacts

-

When users report unwanted messages from a Telegram account, we apply a limit: Reported accounts can only send messages to people who have their number saved as a contact.

-

This means that if you randomly contact people you don't know and send them annoying messages, you may lose the ability to do so in the future.

-

If you think that this limit was applied to your account wrongly, please visit this page.

-

Telegram uses the camera or microphone in the background!

-

Telegram can use the microphone in the background if you minimize the app when making a call, recording a video, or recording a voice/video message.

-

Permission monitors on Samsung and Xiaomi can inadvertently flag and notify you that Telegram requested access to camera in the background. This happens when the app requests info about the camera — it isn’t using the camera. Unfortunately it may look the same to the Samsung and Xiaomi permission monitors.

-

Camera info is requested by the app when you tap on the attachment button, or start recording a video or a video message. If you do this and quickly close the app, the already initiated request may try to run asynchronously when the app is already in the background, or be sent when the system wakes up the app to show a notification about a new message. In any case, these requests are only for the camera info, the app never uses the camera itself in the background.

-

Anyone can check Telegram’s open source code and confirm that the app is not doing anything behind their back. We also offer reproducible builds that can help you prove that the version you downloaded from App Store or Google Play is built from the exact same source code we publish.

-
-

Telegram Support

-

If you have any other questions, please contact Telegram Support (in Telegram go to Settings — Ask a question). Note that we rely on volunteers for support.

-

If you can't log in to your account, please use this form.

-
-

For media requests, please contact @PressBot on Telegram.

-
-

Twitter?

-

Yep. Follow us! @telegram
Our twitter account in Spanish: @telegram_es
In Italian: @telegram_it
In Korean: @Telegram_kr
In German: @de_telegram
For users from Brazil: @Telegram_br
Our Arabic-speaking users may find @telegram_arabic more interesting.

-

@SmsTelegram, login help on Twitter

-

We have a special account that can help you with login problems, @smstelegram. This account is official. Don't be afraid to DM it the number you use for Telegram, we need this info to investigate issues.

-

Be careful, we don't have any other support accounts on any social media platforms.

-

Facebook or other platforms?

-

If anyone on Facebook or any other platform is telling you they're us, they are not.

-

-
- -
- -
-
-
- - - - - - - diff --git a/data/telegram.org/faq_spam.html b/data/telegram.org/faq_spam.html deleted file mode 100644 index df27b79c21..0000000000 --- a/data/telegram.org/faq_spam.html +++ /dev/null @@ -1,163 +0,0 @@ - - - - - Spam FAQ - - - - - - - - - - - - - - - - - - - -
-
- -
-
-
-
-

Spam FAQ

- -
-

This FAQ is for people whose accounts were limited after being reported for spam.
Back to the main FAQ »

-
-

-
-

Q: What happened to my account?

-

When users press the ‘Report spam’ button in a chat, they forward these messages to our team of moderators for review. If the moderators decide that the messages deserved this, the account becomes limited temporarily.

-

This means that if you have been sending unwanted messages to random strangers or posting spam in groups, you lose the ability to do so.

-

Q: So I can't send messages anymore?

-

No, it's not that bad. Limited accounts can send messages to people who have their number saved as a contact. You can also always reply to anyone who messages you first.

-

Q: Why was I reported?

-

Telegram‘s username search is not a tool for making new friends. People usually don’t like it when strangers contact them — so they will report you if they find your messages annoying. Please only contact people if you're sure that they are expecting messages from you. The same applies to adding people to unwanted groups and channels. In addition to this, group admins can also report users who post spam in their groups.

-

Naturally, all such reports are also checked by human moderators. If the messages contain spam, the account will be temporarily limited.

-

Q: What can people report me for?

-

For private messages, it really doesn‘t matter what you send, as long as the receivers find it unwelcome. It could have been a photo, an invite link or a simple ’hello‘. Please only send messages when you are sure people won’t mind getting them.

-

As a general rule, people do mind getting unsolicited advertisements, links, invite links to groups or channels, random photos and, above all, anything related to commerce or online popularity. If you send them something like this, you will be blocked — and everybody else will be happy.

-

Moderators are more lenient when it comes to messages in groups, but anyone who sends spam or unsolicited advertisments will be limited.

-

Q: What do I do now?

-

If this happened to you for the first time (and you are not an industrial scale spammer), most likely your account will be limited for a few days or so. Please wait and consider that people want a peaceful time using our messenger.

-

Repeated offences will result in longer periods of being blocked. If you keep writing unwanted messages to strangers, you may lose the ability to do so forever.

-

Q: I read all of the above, and I‘m certain that I didn’t break any rules!

-

If you are sure that the limit was wrongfully applied to your account, please contact our @SpamBot.

-

Please forgive us for the inconvenience — even the best systems, algorithms and well-trained people can make mistakes sometimes.

-

Q: I know I was wrong, please release me sooner!

-

We're sorry, but this is impossible. We value the inner peace of Telegram users too much.

-

Q: I‘ve just signed up and didn’t send any messages yet, but my account is limited.

-

Some numbers may trigger an overly harsh response from our system, either due to their previous owners‘ activities or due to them being certain virtual/VOIP numbers. We’re sorry if this resulted in your account being limited for no reason.

-

If you think this is your case, please contact @SpamBot and tell it your story.

-
- -
- -
-
-
- - - - - - - diff --git a/data/telegram.org/privacy.html b/data/telegram.org/privacy.html deleted file mode 100644 index babdd2edcc..0000000000 --- a/data/telegram.org/privacy.html +++ /dev/null @@ -1,294 +0,0 @@ - - - - - Telegram Privacy Policy - - - - - - - - - - - - - - - - - - - -
-
- -
-
-
-
-

Telegram Privacy Policy

- -
- -

-

1. Introduction

-

This Privacy Policy sets out how we, Telegram Messenger Inc. (“Telegram”), use and protect your personal data that you provide to us, or that is otherwise obtained or generated by us, in connection with your use of our cloud-based messaging services (the “Services”). For the purposes of this Privacy Policy, ‘we’, ‘us’ and ‘our’ refers to Telegram, and ‘you’ refers to you, the user of the Services.

-

1.1 Privacy Principles

-

Telegram has two fundamental principles when it comes to collecting and processing private data:

-
    -
  • We don't use your data to show you ads.
  • -
  • We only store the data that Telegram needs to function as a secure and feature-rich messaging service.
  • -
-

1.2. Terms of Service

-

This Privacy Policy forms part of our Terms of Service, which describes the terms under which you use our Services and which are available at https://telegram.org/tos. This Privacy Policy should therefore be read in conjunction with those terms.

-

1.3. Table of Contents

-

This Privacy Policy explains the following:

- -

1.4. EEA Representative

-

If you live in a country in the European Economic Area (EEA), the Services are provided by Telegram, which for the purposes of applicable data protection legislation is the data controller responsible for your personal data when you use our Services. However, as Telegram is located outside the EEA, we have designated one of our EEA-based group companies, Telegram UK Holdings Ltd (71-75 Shelton Street, Covent Garden, London, England, WC2H 9JQ), as a representative to whom you may direct any issues you have relating to our processing of your personal data.

-

2. Legal Ground for Processing Your Personal Data

-

We process your personal data on the ground that such processing is necessary to further our legitimate interests (including: (1) providing effective and innovative Services to our users; and (2) to detect, prevent or otherwise address fraud or security issues in respect of our provision of Services), unless those interests are overridden by your interest or fundamental rights and freedoms that require protections of personal data.

-

3. What Personal Data We Use

-

3.1. Basic Account Data

-

Telegram is a communication service. You provide your mobile number and basic account data (which may include profile name, profile picture and about information) to create a Telegram account.

-

To make it easier for your contacts and other people to reach you and recognize who you are, the screen name you choose, your profile pictures, and your username (should you choose to set one) on Telegram are always public. We don't want to know your real name, gender, age or what you like.

-

We do not require your screen name to be your real name. Note that users who have you in their contacts will see you by the name they saved and not by your screen name. This way your mother can have the public name 'Johnny Depp' while appearing as 'Mom' to you and as 'Boss' to her underlings at work (or the other way around, depending on how these relationships are structured).

-

3.2. Your E-mail Address

-

When you enable 2-step-verification for your account or store documents using the Telegram Passport feature, you can opt to set up a password recovery email. This address will only be used to send you a password recovery code if you forget it. That's right: no marketing or “we miss you” bullshit.

-

3.3. Your Messages

-
3.3.1. Cloud Chats
-

Telegram is a cloud service. We store messages, photos, videos and documents from your cloud chats on our servers so that you can access your data from any of your devices anytime without having to rely on third-party backups. All data is stored heavily encrypted and the encryption keys in each case are stored in several other data centers in different jurisdictions. This way local engineers or physical intruders cannot get access to user data.

-
3.3.2. Secret Chats
-

Secret chats use end-to-end encryption. This means that all data is encrypted with a key that only you and the recipient know. There is no way for us or anybody else without direct access to your device to learn what content is being sent in those messages. We do not store your secret chats on our servers. We also do not keep any logs for messages in secret chats, so after a short period of time we no longer know who or when you messaged via secret chats. For the same reasons secret chats are not available in the cloud — you can only access those messages from the device they were sent to or from.

-
3.3.3. Media in Secret Chats
-

When you send photos, videos or files via secret chats, before being uploaded, each item is encrypted with a separate key, not known to the server. This key and the file’s location are then encrypted again, this time with the secret chat’s key — and sent to your recipient. They can then download and decipher the file. This means that the file is technically on one of Telegram’s servers, but it looks like a piece of random indecipherable garbage to everyone except for you and the recipient. We don’t know what this random data stands for and we have no idea which particular chat it belongs to. We periodically purge this random data from our servers to save disk space.

-
3.3.4. Public Chats
-

In addition to private messages, Telegram also supports public channels and public groups. All public chats are cloud chats (see section 3.3.1 above). Like everything on Telegram, the data you post in public communities is encrypted, both in storage and in transit — but everything you post in public will be accessible to everyone.

-
3.4. Phone Number and Contacts
-

Telegram uses phone numbers as unique identifiers so that it is easy for you to switch from SMS and other messaging apps and retain your social graph. We ask your permission before syncing your contacts.

-

We store your up-to-date contacts in order to notify you as soon as one of your contacts signs up for Telegram and to properly display names in notifications. We only need the number and name (first and last) for this to work and store no other data about your contacts.

-

Our automatic algorithms can also use anonymized sets of phone numbers to calculate the average number of potential contacts an unregistered phone number may have on Telegram. When you open the 'Invite friends' interface, we display the resulting statistics next to your contacts to give you an idea of who could benefit most from joining Telegram.

-

You can always stop syncing contacts or delete them from our servers in Settings > Privacy & Security > Data Settings.

-
-

If you are using Android, Telegram will ask you for permission to access your phone call logs (READ_CALL_LOG). If you grant this permission, Telegram will be able verify your account by transmitting a phone call instead of asking you to enter a code. Telegram uses this permission only to confirm receipt of the confirmation call by verifying the number in the call log.

-
-

3.5. Location Data

-

If you share a location in a chat, this location data is treated like other messages in cloud or secret chats respectively.

-

If you share your Live Location in any chat or turn on ’Make Myself Visible’ in People Nearby, Telegram will use your data to display your location to those users with whom you are sharing it, even when the app is closed – for as long as you keep these optional features activated.

-
3.6. Cookies
-

The only cookies we use are those to operate and provide our Services on the web. We do not use cookies for profiling or advertising. The cookies we use are small text files that allow us to provide and customize our Services, and in doing so provide you with an enhanced user experience. Your browser should allow you to control these cookies, including whether or not to accept them and how to remove them. You may choose to block cookies with your web browser, however, if you do disable these cookies you will not be able to log in to Telegram Web.

-

4. Keeping Your Personal Data Safe

-

4.1. Storing Data

-

If you signed up for Telegram from the UK or the EEA, your data is stored in data centers in the Netherlands. These are third-party provided data centers in which Telegram rents a designated space. However, the servers and networks that sit inside these data centers and on which your personal data is stored are owned by Telegram. As such, we do not share your personal data with such data centers. All data is stored heavily encrypted so that local Telegram engineers or physical intruders cannot get access.

-

4.2. End-to-End Encrypted Data

-

Your messages, media and files from secret chats (see section 3.3.2 above), as well as the contents of your calls and the data you store in your Telegram Passport are processed only on your device and on the device of your recipient. Before this data reaches our servers, it is encrypted with a key known only to you and the recipient. While Telegram servers will handle this end-to-end encrypted data to deliver it to the recipient – or store it in the case of Telegram Passport data, we have no ways of deciphering the actual information. In this case, we neither store nor process your personal data, rather we store and process random sequences of symbols that have no meaning without the keys which we don’t have.

-

4.3. Retention

-

Unless stated otherwise in this Privacy Policy, the personal data that you provide us will only be stored for as long as it is necessary for us to fulfill our obligations in respect of the provision of the Services.

-

5. Processing Your Personal Data

-

5.1. Our Services

-

Telegram is a cloud service. We will process your data to deliver your cloud chat history, including messages, media and files, to any devices of your choosing without a need for you to use third-party backups or cloud storage.

-

5.2. Safety and Security

-

Telegram supports massive communities which we have to police against abuse and Terms of Service violations. Telegram also has more than 400 million users which makes it a lucrative target for spammers. To improve the security of your account, as well as to prevent spam, abuse, and other violations of our Terms of Service, we may collect metadata such as your IP address, devices and Telegram apps you've used, history of username changes, etc. If collected, this metadata can be kept for 12 months maximum.

-

5.3. Spam and Abuse

-

To prevent phishing, spam and other kinds of abuse and violations of Telegram’s Terms of Service, our moderators may check messages that were reported to them by their recipients. If a spam report on a message you sent is confirmed by our moderators, your account may be limited from contacting strangers – temporarily or permanently. You can send an appeal using @Spambot. In case of more serious violations, your account may be banned. We may also use automated algorithms to analyze messages in cloud chats to stop spam and phishing.

-

5.4. Cross-Device Functionality

-

We may also store some aggregated metadata to create Telegram features (see section 5.5 below) that work across all your devices.

-

5.5. Advanced features

-

We may use some aggregated data about how you use Telegram to build useful features. For example, when you open the Search menu, Telegram displays the people you are more likely to message in a box at the top of the screen. To do this, we calculate a rating that shows which people you message frequently. A similar rating is calculated for inline bots so that the app can suggest the bots you are most likely to use in the attachment menu (or when you start a new message with “@”). To turn this feature off and delete the relevant data, go to Settings > Privacy & Security > Data Settings and disable “Suggest Frequent Contacts”.

-

5.6. No Ads

-

Unlike other services, we don't use your data for ad targeting or other commercial purposes. Telegram only stores the information it needs to function as a secure and feature-rich cloud service.

-

6. Bot Messages

-

6.1. Ecosystem

-

Telegram has an API that allows third-party developers to create bots. Bots are apps that look like special Telegram users: you can talk to them from your chat list, add them to groups or use a special “inline” interface to access their features. By performing any of these actions, you will be sending some of your data to the respective third-party bot developers.

-

6.2. How Bots Can Receive Data

-

You can send data to bot developers when you interact with their bots in one of these ways:

-
    -
  • By sending messages to a bot.
  • -
  • By using an inline bot.
  • -
  • By participating in a group with a bot.
  • -
  • By pressing buttons in messages sent by a bot.
  • -
  • By paying for goods and services via bots (see section 7 below).
  • -
-

6.3. What Data Bots Receive

-

In any of the above cases, the developers of an automated user (bot) can get your public account data (see section 3.1 above): your screen name, username and profile picture(s).

-

Bots can also receive the following data when you interact with them.

-
    -
  • Bots will obviously get your messages when you send them something.
  • -
  • If you click on links or buttons provided by the bot, the bot can potentially get your IP address (provided that it controls the website to which the link leads).
  • -
  • If the bot is a member of the same group with you, it may know you are a member.
  • -
  • When you start your message with the username of an inline bot (e.g. @gif) the interface transforms so that everything you type becomes a query to that bot. This query is sent to the bot so that it can provide its service. We will warn you about this the first time you use an inline bot.
  • -
  • Bots added to groups can operate in two modes: with access to messages in the group or without access. If the bot has access to messages, it can see everything that happens in the group. The interface clearly shows whether or not a bot has access to messages in groups.
  • -
-

6.4. Bots Are Not Maintained by Telegram

-

Other than our own bots, no other bots or third-party bot developers are affiliated with Telegram. They are completely independent from us. They should ask you for your permission before they access your data or you make it available to them.

- - -

7. Third Party Payment Services

-

7.1. Payment Information

-

The Payment Platform for Bots is available to users as of Telegram 4.0. Telegram does not process payments from users and instead relies on different payment providers around the world. It is the payment providers that handle and store your credit card details. Neither Telegram nor the merchants on the platform (bot developers) have access to this information. Although we work with payment providers they are completely independent from Telegram. Please study their relevant privacy policies before making your data available to them.

-

7.2. Credit Card Information

-

When making a purchase, you enter your credit card details into a form supplied by the payment provider that will be processing the payment, and this information goes directly to the payment provider's server. Your credit card information never reaches Telegram's servers. We do not access and do not store your credit card information. When you save your credit card info, it is saved on the respective payment provider's servers and the payment provider gives Telegram a token that you can reuse for future payments. It is not possible to reconstruct your credit card info from the token.

-

7.3 Shipping Information

-

When you enter shipping information in the process of placing an order, we send it directly to the merchant bot developer. We can store your shipping information for you if you choose to save it for future purchases. We will delete this information immediately if you ask us to.

-

7.4. Clearing Payment Information

-

You can clear all payment information associated with your account at any time by going to Telegram Settings > Privacy & Security > Data Settings and selecting ‘Clear Payment & Shipping Info’. If you choose to remove your payment information, we will delete your stored shipping info and payment tokens from all providers and ask the payment providers to remove your credit card information that they store.

-

7.5. Payment Disputes

-

Due to the fact that Telegram doesn't store any credit card details or transaction information, it is impossible for us to handle complaints or cashbacks – any disputed payments are the responsibility of the bot developers, payment providers, and banks that participated in the exchange.

-

8. Who Your Personal Data May Be Shared With

-

8.1. Other Telegram Users

-

Other users of our Services with whom you choose to communicate with and share certain information, who may be located outside the EEA. Note that by entering into the Terms of Service and choosing to communicate with such other users of Telegram, you are instructing us to transfer your personal data, on your behalf, to those users in accordance with this Privacy Policy. We employ all appropriate technical and organizational measures (including encryption of your personal data) to ensure a level of security for your personal data that is appropriate to the risk.

-

8.2. Telegram’s Group Companies

-

We may share your personal data with: (1) our parent company, Telegram Group Inc, located in the British Virgin Islands; and (2) Telegram FZ-LLC, a group member located in Dubai, to help provide, improve and support our Services. We will implement appropriate safeguards to protect the security and integrity of that personal data. This will take the form of standard contract clauses approved by the European Commission in an agreement between us and our relevant group companies. If you would like more information regarding these clauses, please contact us using the details in section 12 below.

-

8.3. Law Enforcement Authorities

-

If Telegram receives a court order that confirms you're a terror suspect, we may disclose your IP address and phone number to the relevant authorities. So far, this has never happened. When it does, we will include it in a semiannual transparency report published at: https://t.me/transparency.

-

9. Your Rights Regarding the Personal Data You Provide to Us

-

9.1. Your Rights

-

Under applicable data protection legislation, in certain circumstances, you have rights concerning your personal data. You have a right to: (1) request a copy of all your personal data that we store and to transmit that copy to another data controller; (2) delete (see section 10 below) or amend your personal data; (3) restrict, or object to, the processing of your personal data; (4) correct any inaccurate or incomplete personal data we hold on you; and (5) lodge a complaint with national data protection authorities regarding our processing of your personal data.

-

9.2. Exercising Your Rights

-

If you wish to exercise any of these rights, kindly contact us using the details in section 12 below.

-

9.3. Data Settings

-

You can control how your data is used (e.g., delete synced contacts) in Settings > Privacy & Security > Data Settings (using one of our mobile apps).

-

Sadly, if you're not OK with Telegram's modest minimum requirements, it won't be possible for us to provide you with our Services. You can delete your Telegram account by proceeding to the deactivation page.

-

10. Deleting data

-

10.1. Accounts

-

If you would like to delete your account, you can do this on the deactivation page. Deleting your account removes all messages, media, contacts and every other piece of data you store in the Telegram cloud. This action must be confirmed via your Telegram account and cannot be undone.

-

10.2. Messages

-
    -
  • In secret chats, deleting a message always instructs the app on the other end to delete it too.
  • -
  • In cloud chats, you can choose to delete a message for all participants within at least 48 hours after sending. Otherwise, deleting a message will delete it from your message history. This means that a copy will stay on the server as part of your partner's message history. As soon as your partner deletes it too, it's gone forever.
  • -
  • As of version 5.5, any party can choose to delete any messages in one-on-one chats, both sent and received, for both sides. There is no time limit. Any party can also opt to clear the entire chat history for both parties, in which case the apps will be instructed to remove all messages in that chat, however many of them are still retained by either of the participants.
  • -
  • In supergroups and channels, deleting a message removes it for all participants. Note that deleted messages and original versions of edited messages from supergroups are stored for 48 hours after deletion in order to be shown in the admins log.
  • -
-

10.3. Self-Destructing Messages

-

Messages in Secret Chats can be ordered to self-destruct. As soon as such a message is read (2 checks appear), the countdown starts. When the timer expires, both devices participating in a secret chat are instructed to delete the message (photo, video, etc.). Media with short timers (less than a minute) are shown with blurred previews. The timer is triggered when they are viewed.

-

10.4. Account Self-Destruction

-

By default, if you stop using Telegram and do not come online for at least 6 months, your account will be deleted along with all messages, media, contacts and every other piece of data you store in the Telegram cloud. You can go to Settings to change the exact period after which your inactive account will self-destruct.

-

11. Changes to this Privacy Policy

-

We will review and may update this Privacy Policy from time to time. Any changes to this Privacy Policy will become effective when we post the revised Privacy Policy on this page www.telegram.org/privacy. Please check our website frequently to see any updates or changes to our Privacy Policy, a summary of which we will set out below.

-

March 25, 2019

-
    -
  • Expanded [10.2. Deleting Messages] with data on the new features in version 5.5, which allow both participants to remove any messages from one-on-one chats for both sides without a time limit.
  • -
-

March 24, 2021

- -

Important changes made to this Privacy Policy will be notified to you via Telegram.

-

12. Questions and concerns

-

If you have any questions about privacy and our data policies, please contact our @GDPRbot. Use the /access command to learn how to get a copy of your Telegram data and use the /contact command to leave a request, which we will answer at the earliest opportunity.

-

Telegram is an open source project. You can examine more information on our:

- -
-

This policy has been expanded on August 14, 2018 to add information required by the EU data protection law.

-
- -
- -
-
-
- - - - - - - - - diff --git a/data/telegram.org/tour.html b/data/telegram.org/tour.html deleted file mode 100644 index 8e61257909..0000000000 --- a/data/telegram.org/tour.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - - Telegram Tour - - - - - - - - - - - - - - - - - - - -
- - - - - - - - diff --git a/data/telegram.org/tour/channels.html b/data/telegram.org/tour/channels.html deleted file mode 100644 index 870a9ce9d1..0000000000 --- a/data/telegram.org/tour/channels.html +++ /dev/null @@ -1,294 +0,0 @@ - - - - - Telegram Channels - - - - - - - - - - - - - - - - - - - -
-
- -
-
-
- -
-
-

Telegram Channels

- -
- -
- -

Channels are a tool for broadcasting your public messages to large audiences. They offer a unique opportunity to reach people directly, sending a notification to their phones with each post.

-

Telegram Channels can have an unlimited amount of subscribers, and only admins have the right to post. Unlike Telegram Groups, channels show the name and photo of the channel next to messages – instead of the person who posted them.

-
- -
- -

Media organizations and public figures use channels to stay in touch with their readers, voters and fans. For some real-life examples, check out @Bloomberg, the Coronavirus Info channel, or join the official @Telegram channel covering our updates.

-

To create your own channel, open the “New Message” menu on Telegram and choose “New Channel”. Newly created channels start as private – but you can edit their profile to make them public.

-

The contents of public channels can be seen on the Web without a Telegram account and are indexed by search engines. For example, try t.me/s/FinancialTimes.

-

Autoplaying Videos and Rich Media

-

Channels aren't just for text messages and links – Telegram supports a wide range of content types, from autoplaying videos to animated stickers, polls and beyond.

-

Videos will start playing automatically with no sound. Pressing the volume buttons on the device unmutes the video, tapping on it launches the video from the beginning in full screen mode.

-
- TITLE -
- -

Several photos sent together will form an album with a beautiful layout – and only result in one notification to your subscribers for the whole batch.

-
- TITLE -
- -

You can send large files of any type and uncompressed images in full resolution – useful for content like infographics.

-
- TITLE -
- -

Podcasts also get special treatment. Telegram apps remember your last position when resuming playback of long audio files. Users who are in a hurry can listen to them at 2x speed:

-
- Screenshot showing the location of the 2x playback button for long audio files. -
- - -

Quick Sharing

-

Each post in a channel has a handy Share Button next to it, making it easy for your subscribers to forward things to others – or save them in their Saved Messages.

-
- TITLE -
- -

The Quick Share menu also shows a direct link to your post. Following such links inside Telegram opens the channel and highlights the message. If the user doesn't have Telegram, they will see a web page with an embedded post, like this: t.me/corona/16.

-

Powerful Polls

-

You can use polls to judge public opinion, make decisions and help your audience connect with you.

-
- A poll that shows who voted for which option -
- -

Quiz-Style Polls

-

To make things more fun – or add extra educational value to your posts 🧐 – use quiz-style polls that have one correct answer.

-
- TITLE -
- -

Discussion Groups

-

If you'd like to know what people think about the posts they view, you can set up a discussion group for your channel. New posts from the channel will be automatically forwarded to the group and pinned there.

-

Subscribers will see a comment button for each post in the channel. Comments show up in a thread of their own and also land in the discussion group to keep everyone in the loop and make it easier for admins to keep the conversation civil.

-
- -
- -

View Counters

-

Each post in a channel has a view counter. Views from forwarded copies of the messages are included in the total count.

-
- TITLE -
- -

Detailed Statistics

-

Advanced statistics are available for channels with more than 500 subscribers. You can view beautifully-detailed graphs about its growth and the performance of its posts.

-
- -
- -

You can track how many users join, leave and mute your channel, what languages they speak, how they interact with your posts, and how they found your channel – from Telegram search, by following a link, etc.

-

Scheduled and Silent Messages

-

You can plan your posts ahead and let them go live automatically at a specified time. For late night or non-urgent updates, you can send silent messages that will result in a notification with no sound for your subscribers.

-

Hold the “Send” button for extra sending options:

-
- TITLE -
- -

Pinned Messages

-

You can pin a message for extra visibility.

-
- TITLE -
- -

Hashtags

-

Telegram supports hashtags – tapping on a hashtag in a message will show a search interface with all other tagged posts in the channel. This is useful for adding a layer of navigation for your channel and improving visibility of your older posts.

-
- TITLE -
- -

Subscriber Privacy

-

The subscriber list is only visible to the channel owner and admins. Subscribers cannot see who else has signed up – nor can they see which accounts are managing the channel.

-

Extra Admins

-

You can appoint additional admins to help you manage the channel and define their role with granular precision. Choose who will be able to add new subscribers, manage messages, edit channel info, or even add new admins.

-

Admin Signatures

-

There are times when it's important to know who posted a certain message. For that, you can enable signatures in Channel Info. New messages will be signed with the posting admin's chosen screen name but will not link to their profile.

-
- TITLE -
- -

Embedded Messages

-

Messages from public channels can be easily embedded in any web page using Telegram Widgets.

-

- -

-
- - -

Editing Messages

-

Made a typo? Missed a word? Itching to add something? You can easily edit your messages in channels, regardless of how long ago they were posted. Tap the message (double tap or long tap on iOS), then press 'Edit'.

-

Deleting Messages

-

If you'd like to do a bit of timeline maintenance, you can delete any message at any time, for everyone. Deleted messages will vanish from the feed, for both new and old subscribers.

-
- -
- - -
- - -
-
-
- - - - - - - diff --git a/data/telegram.org/what-can-you-do-with-Telegram.html b/data/telegram.org/what-can-you-do-with-Telegram.html deleted file mode 100644 index b762aa85e8..0000000000 --- a/data/telegram.org/what-can-you-do-with-Telegram.html +++ /dev/null @@ -1,284 +0,0 @@ - - - - - Telegram Messenger - - - - - - - - - - - - - - - - - - - -
-
- -
-
-
- - - - - - -
- -

Why Telegram?

- -
-
-
-
-

Simple

-
Telegram is so simple you already know how to use it.
-
-
- -
-
-
-

Private

-
Telegram messages are heavily encrypted and can self-destruct.
-
-
- -
-
-
-

Synced

-
Telegram lets you access your chats from multiple devices.
-
-
- -
-
-
-

Fast

-
Telegram delivers messages faster than any other application.
-
-
- -
-
-
-

Powerful

-
Telegram has no limits on the size of your media and chats.
-
-
- -
-
-
-

Open

-
Telegram has an open API and source code free for everyone.
-
-
- -
-
-
-

Secure

-
Telegram keeps your messages safe from hacker attacks.
-
-
- -
-
-
-

Social

-
Telegram groups can hold up to 200,000 members.
-
-
- -
-
-
-

Expressive

-
Telegram lets you completely customize your messenger.
-
-
-
- -
- -
- -
-
-
- - - - - - - - diff --git a/data/translations.telegram.org.html b/data/translations.telegram.org.html deleted file mode 100644 index d3b2c12e74..0000000000 --- a/data/translations.telegram.org.html +++ /dev/null @@ -1,297 +0,0 @@ - - - - - Translations - - - - - - - - - - - - - - - - - - - - - -
- -
-
-
- -
-
-
-
-
- -
-
-
-
-
- -
-
-
-

Translating Telegram

- -
- -
- -

We've worked hard to make Telegram's English version as smooth as possible in terms of language. Now we're looking for equally smooth translations into the rest of the world's languages. If you're a linguist, pro translator or language geek and would like to help us get closer to perfection, you've come to the right place.

-

Start Translating

- -

The Interface

-

To get started, simply log in, find a phrase in your language that you can improve and suggest a new translation – or vote for an existing suggestion. As soon as your suggestions are reviewed and accepted, the new phrases become immediately available in Telegram apps, no updates required.

-

Official Translations

-

We're gradually expanding the list of languages available to all users from the “Language” menu in their apps. If you would like to help us maintain the official translation to your language on a continuous basis, see this page.

-
-

Style Guide

-

We think a good translation should be:

-
1. Consistent
-

The same things need to have the same names everywhere. Not just within one app, but also on all platforms. Telegram features should have the same names on Android, iOS, Windows and macOS – unless they have to do with platform defaults. For system features, we should always use platform defaults (unless they are truly ugly or don't fit).

-
2. Natural
-

You don't have to always stick to the English original. Sometimes it makes more sense to simply describe what the app does in your own language.

-

But please don't get carried away:

-
3. Default
-

It's no longer 2001 and our users have seen many other apps. It will be much easier for them to use Telegram if familiar concepts have familiar names here. Whenever you're looking for a word, focus on those that people are used to seeing in relevant context. What does Apple use in this case? What does Google use? What do Telegram's main competitors in your region use?

-
4. Beautiful
-

Use good language that would make the app look as if it was built in your region. Respect your language's grammar and style where possible. Avoid abbreviations. Try to find ways around gender problems instead of going for things like o(a), unless the workaround looks even more awkward. In most cases it's possible to find a way of saying anything without hurting the language.

-
5. And it MUST FIT
-

This last one is never easy. Sometimes you need to look to the surrounding phrases and change them for the problematic phrase to fit and work.

-
-

An example: the German team couldn't make the secret chats description fit into the lines on an empty chat page. The English text says: 'A user has invited you to a secret chat. Secret chats:' then comes a list that has this item: 'use end-to-end encryption'. The maximum length for the list items is 25 characters. The problem with German is that the term for end-to-end encryption is 'Ende-zu-Ende Verschlüsselung' and is 28 characters long even without the 'use'. An anglicized version would have been 'End-to-end Verschlüsselung' — but it's still too long at 26 characters.

-

The German team found a workaround. They went and changed the first phrase, so that it now says 'A user has invited you to an end-to-end encrypted secret chat. Secret chats:' and then they came up with a new list item to replace the E2E encryption one, which was moved to the top - where there was enough room.

-
-
-

Typography

-

What we're looking for is not just linguistic, but also typographic and aesthetic correctness. The text is inseparable from design. Text is design and we need to make sure it works. So approach the text as a magazine editor would:

-
    -
  1. Everything must fit into its allotted space. So always check in-app after editing. Words and phrases that are too long will be automatically cut (Like thi…) or contracted (Li…is) — we can't allow this to happen. In other cases the text may flow over into the next line.
  2. -
  3. The text should ideally be kept from spreading over two lines where the original only has one line.
  4. -
  5. Same with double lines, try to avoid letting them spread into triple lines. Although this is a less strict requirement — it isn't too bad if you let the double-line descriptions in Settings become triple lined.
  6. -
  7. We need to avoid hanging words when there's just one or two words left on a new line.
  8. -
  9. We need to avoid gaps in the text, for example when the top right space is empty before the line break. A good way of avoiding this is to use shorter words, so that they wrap more easily. When short words are not an option, put your long ones at the beginning of the line, then add short words as padding.
  10. -
  11. There will be times when making things fit will seem impossible. Our experience shows that it never is. Several determined people focusing on a word and the phrases around it will always find a solution after a few weeks, or even earlier. After all, it's just words.
  12. -
-

This takes some effort, but it really makes you feel proud when you're done.

-
-

Applied Typography

-

On the whole, we've worked hard to make the English version as typographically sound as possible. So as a rule of thumb, if your phrase is the same length as the English one, it will fit well. If it is shorter — not too much of a problem, but beware of hanging words and gaps.

-

Note for iPhone Plus users: When checking strings in-app, try iOS Settings > Display & Brightness > View > 'Zoomed'. Using this mode you can make sure that strings will fit the screens of the narrower models.

-
-

And that‘s about it. Let’s bring perfection to the localized versions of Telegram, together.

-
- -
-
-
-
- - - - - - - - - - - - - - - - - - diff --git a/data/translations.telegram.org/en.html b/data/translations.telegram.org/en.html deleted file mode 100644 index a4c971c1b5..0000000000 --- a/data/translations.telegram.org/en.html +++ /dev/null @@ -1,333 +0,0 @@ - - - - - Translations - - - - - - - - - - - - - - - - - - -
- -
- -
- -
-
-

- English (English) - -

-
- -
-
-

DiscussionsNEW

-

- Feel free to join the discussion of this language pack. - View Discussion -

-
-
-

Sharing LinkNEW

-

- Anyone can switch their Telegram interface to English by following this link: -

- -
-
-

Actions

- -
-
-
- -
English
-
English
-
Please open this link on a desktop to help translate Telegram into English:
- - -
Feel free to join the discussion of this language pack.
-
-
-
-
- - - - - - - - - - - - - - - - - - diff --git a/data/tsf.telegram.org.html b/data/tsf.telegram.org.html deleted file mode 100644 index 6f46957718..0000000000 --- a/data/tsf.telegram.org.html +++ /dev/null @@ -1,240 +0,0 @@ - - - - - Telegram Support Force - - - - - - - - - - - - - - - - - - - - - -
- -
-
-
-
- -
-
-
-
- -
-
-
-

Telegram Support Initiative

- -

Our users ask us tens of thousands of questions each day. We would like to answer them all — and we are looking for brilliant people from all over the world who would like to help us do this. If you are interested in joining us, please read this Telegram Support Force Manifesto — and don't miss the tiny FAQ below.

-
- -
- -

Harnessing the power of procrastination

-
    -
  1. Telegram is a free messaging system that is used by tens of millions of people daily. Each of our apps has an ‘Ask a question’ button. Our users press it thousands of times each day: some have questions, others just want to chat, still others are bored trolls. We think that they all deserve an answer of some kind.

    -
  2. -
  3. Robots and algorithms are good at handing out answers at scale, but they sometimes cause frustration, fundamentally lack human touch and are bad conversation partners. FAQs are a remedy for the select few that enjoy finding answers in FAQs. To be happy, humanity requires human answers.

    -
  4. -
  5. Manually answering tens of thousands of questions daily requires considerable resources. Manually answering them in style — even when assisted by algorithms and templates — requires limitless resources. But, the resources in question being humans and time, the modern world happens to have a limitless source of just such energy.

    -
  6. -
  7. This world is full of bright-minded, elegant, downright wonderful people who, like you and me, sometimes just can't get started with whatever they were supposed to be doing. And procrastinate instead. This brings countless people in any profession to hours and hours of unnecessary house-cleaning, dog-walking and web-surfing every day. Millions of hours go to waste — procrastination is as ubiquitous in the XXI century as are people who do their work behind computer screens.

    -
  8. -
  9. It is our goal to harness the power of procrastination. For user support, we rely on an army of volunteers from all over the world. They donate a fraction of their time to answer a few questions from Telegram users — every now and then, or all the time. We call this the Telegram Support Force and you are welcome to join.

    -
  10. -
  11. Answering questions may be devilishly tricky at times, so we couldn't accept everyone even if we wanted to. The Telegram Support Force needs patient, inquisitive people, who are no strangers to elegance, humor and style. Although Telegram volunteers help people from their own countries, proficiency in English is also a requirement, since the data you will be getting from us, as well as pretty much all communication inside the team, will be in English.

    -
  12. -
  13. We believe in support as an art form. Support should be fun — for people on both ends of the line. So we are looking for perfect, human and precise answers to the world's questions. Something to make them smile and to make you proud.

    -
  14. -
-

If this is something you might be interested in doing, don't hesitate to contact our @TelegramAuditions account. Please write us a few phrases in English describing how your favourite feature works (don’t copy it, let it be your hand-made text). Include a picture of a marmot if you want a better chance at convincing us that you actually read all of the above and below and, therefore, are inquisitive enough.

-

Markus Ra
@Telegram

-
-

Manifesto FAQ

-

Q: Do I need to know anything special to be eligible?

-

No, not really. But you do need to know how to learn things. And be inquisitive enough to want to learn them.

-

Q: What else is required?

-

We‘re looking for perfectionists. It’d also be nice if you loved your language and had at least a moderate affection for the people of Earth. It'd be cool if you like to read and write. And then, patience and understanding are very useful at times.

-

Q: Will the people I answer know who I am or get my number?

-

No, they will not. Unless you choose to tell them for some mysterious reason.

-

Q: What should I say when I contact you?

-

We'd love to know more about you (who you are, what you think, what you like — not a CV, no!), the languages you speak and the devices you use (mobile, desktop OS).

-

Q: How long does it take for you to reply?

-

We try not to take too long. But we sometimes do, so we apologize in advance. Sorry. Don‘t lose heart and remember that thing about patience above. We’ll get back to you as soon as we can.

-

Q: Is that thing about sending a marmot picture a joke?

-

No.

-
- -
-
-
-
- - - - - - - - - - - - - - - - - diff --git a/data/tsf.telegram.org/auth.html b/data/tsf.telegram.org/auth.html deleted file mode 100644 index 266d05461a..0000000000 --- a/data/tsf.telegram.org/auth.html +++ /dev/null @@ -1,241 +0,0 @@ - - - - - Telegram Support Force - - - - - - - - - - - - - - - - - - - - - -
- -
-
-
-
- -
-
-
-
- -
-
-
-

Telegram Support Initiative

- -

Our users ask us tens of thousands of questions each day. We would like to answer them all — and we are looking for brilliant people from all over the world who would like to help us do this. If you are interested in joining us, please read this Telegram Support Force Manifesto — and don't miss the tiny FAQ below.

-
- -
- -

Harnessing the power of procrastination

-
    -
  1. Telegram is a free messaging system that is used by tens of millions of people daily. Each of our apps has an ‘Ask a question’ button. Our users press it thousands of times each day: some have questions, others just want to chat, still others are bored trolls. We think that they all deserve an answer of some kind.

    -
  2. -
  3. Robots and algorithms are good at handing out answers at scale, but they sometimes cause frustration, fundamentally lack human touch and are bad conversation partners. FAQs are a remedy for the select few that enjoy finding answers in FAQs. To be happy, humanity requires human answers.

    -
  4. -
  5. Manually answering tens of thousands of questions daily requires considerable resources. Manually answering them in style — even when assisted by algorithms and templates — requires limitless resources. But, the resources in question being humans and time, the modern world happens to have a limitless source of just such energy.

    -
  6. -
  7. This world is full of bright-minded, elegant, downright wonderful people who, like you and me, sometimes just can't get started with whatever they were supposed to be doing. And procrastinate instead. This brings countless people in any profession to hours and hours of unnecessary house-cleaning, dog-walking and web-surfing every day. Millions of hours go to waste — procrastination is as ubiquitous in the XXI century as are people who do their work behind computer screens.

    -
  8. -
  9. It is our goal to harness the power of procrastination. For user support, we rely on an army of volunteers from all over the world. They donate a fraction of their time to answer a few questions from Telegram users — every now and then, or all the time. We call this the Telegram Support Force and you are welcome to join.

    -
  10. -
  11. Answering questions may be devilishly tricky at times, so we couldn't accept everyone even if we wanted to. The Telegram Support Force needs patient, inquisitive people, who are no strangers to elegance, humor and style. Although Telegram volunteers help people from their own countries, proficiency in English is also a requirement, since the data you will be getting from us, as well as pretty much all communication inside the team, will be in English.

    -
  12. -
  13. We believe in support as an art form. Support should be fun — for people on both ends of the line. So we are looking for perfect, human and precise answers to the world's questions. Something to make them smile and to make you proud.

    -
  14. -
-

If this is something you might be interested in doing, don't hesitate to contact our @TelegramAuditions account. Please write us a few phrases in English describing how your favourite feature works (don’t copy it, let it be your hand-made text). Include a picture of a marmot if you want a better chance at convincing us that you actually read all of the above and below and, therefore, are inquisitive enough.

-

Markus Ra
@Telegram

-
-

Manifesto FAQ

-

Q: Do I need to know anything special to be eligible?

-

No, not really. But you do need to know how to learn things. And be inquisitive enough to want to learn them.

-

Q: What else is required?

-

We‘re looking for perfectionists. It’d also be nice if you loved your language and had at least a moderate affection for the people of Earth. It'd be cool if you like to read and write. And then, patience and understanding are very useful at times.

-

Q: Will the people I answer know who I am or get my number?

-

No, they will not. Unless you choose to tell them for some mysterious reason.

-

Q: What should I say when I contact you?

-

We'd love to know more about you (who you are, what you think, what you like — not a CV, no!), the languages you speak and the devices you use (mobile, desktop OS).

-

Q: How long does it take for you to reply?

-

We try not to take too long. But we sometimes do, so we apologize in advance. Sorry. Don‘t lose heart and remember that thing about patience above. We’ll get back to you as soon as we can.

-

Q: Is that thing about sending a marmot picture a joke?

-

No.

-
- -
-
-
-
- - - - - - - - - - - - - - - - - diff --git a/data/tsf.telegram.org/manuals.html b/data/tsf.telegram.org/manuals.html deleted file mode 100644 index 76468eefa2..0000000000 --- a/data/tsf.telegram.org/manuals.html +++ /dev/null @@ -1,224 +0,0 @@ - - - - - Telegram Support Force - - - - - - - - - - - - - - - - - - - - -
- -
-
-
-
- -
-
-
-
- -
-
- -

Manuals

- -

These manuals are intended for volunteers of the TSF, but anyone else is free to take a look as well.

-

Telegram Support BIOS

-

A meta-text and mother of all answers.

-

Answering Questions (TSF-AQ)

-

Covers important topics ranging from our goals to what you do when the user says 'fuck you!'

-

Handling Bugs and Troubleshooting (TSF-BT)

-

Covers investigating, reporting and following up bugs, troubleshooting common issues, reporting tips.

-

Bug Hunting Algorithm (TSF-BHA)

-

An in-depth guide to investigating issues.

-

Feature Philosophy (TSF-FF)

-

A general text to help you understand our reasoning when contemplating new features.

-

Leaving and Coming Back (TSF-OFF)

-

When you realise you're no longer with us.

-

Bug Herding Explained (TSF-BHDE)

-

An advanced manual on handling bugs like a pro.

-

Basic FAQ on End-to-End Encryption (TSF-E2E)

-
-

Public docs

-
Telegram Support Force Manifesto (TSFM)
-

Contains general info on what we do and how to join us.

-
Translating Telegram (TTM)
-

A style guide and manifesto for Telegram translators.

-
- -
-
-
-
- - - - - - - - - - - - - - - - - diff --git a/data/tsf.telegram.org/manuals/answering_questions.html b/data/tsf.telegram.org/manuals/answering_questions.html deleted file mode 100644 index 5d34e8eabd..0000000000 --- a/data/tsf.telegram.org/manuals/answering_questions.html +++ /dev/null @@ -1,265 +0,0 @@ - - - - - Telegram Support Force - - - - - - - - - - - - - - - - - - - - -
- -
-
-
-
- -
-
-
-
- -
-
- -

Answering Questions

- -

We answer questions. This document holds general ideas on how to handle them.
This was intended for volunteers of the Telegram Support Force, but anyone else is free to take a look as well.

-

General

-
    -
  1. Our goal is to bring human support to human beings. To achieve this goal, we rely on volunteers. Your pay is perfection in what you do, so be cool.

    -
  2. -
  3. Corporate support standards do not apply here. Treat people in a kind, personal, informal manner. No need to pretend to be something you are not (unless you're a dog in disguise — keep human appearances in this case).

    -
  4. -
  5. Never lie to people.

    -
  6. -
  7. Check everything before you reply. Things change or may no longer work the way you remember. This includes interface details, links (!) and, well, everything.

    -
  8. -
  9. Support is a form of Art, so be fun and creative.

    -
  10. -
-

The result

-

As support volunteers, we need to provide a solution for the user. Remember, that this doesn't always have to be the solution the user was asking for. So first, we want to understand the problem that drove them to ask the question. And then find a way of solving — completely or partially — that problem.

-

For example, some users ask us for an option to send sketches or drawings to their friends. While this is not possible directly, one could take a photo with their thumb on the camera (to get a black picture), then use the drawing tools built into the photo editor to make their doodle.

-

This isn‘t what the user was looking for, but it solves the problem — and it is even more flexible and customizable than the original idea (since you could also add stickers and emoji out of the box). Some solutions are less elegant. For example, right now you can’t email your Telegram conversations. While there is much less need to do so, since you can access everything in the cloud from any of your devices, this may be a problem in some cases. What one could do then, is open the conversation in Telegram Web (or any other desktop client), select multiple messages with the mouse, then copy and paste them into a text document. Any solution is better than no solution at all.

-

There will be cases, when it is not possible to solve the problem at all. As a user in this situation, I want that people on the other end of the line understand me and care about the whole thing. Therefore, two things become important:

-
    -
  • Make it clear that you understand the issue. ‘No, you can’t do that‘ is not a good answer. ’No, I‘m afraid it is not possible to make Telegram wash your dishes in a fast and securely encrypted way’ — is better.
  • -
  • Be gentle. Gentle doesn‘t mean soft — if we really can’t do something, it means just that — we can‘t. But adding ’Sorry about that' helps a lot.
  • -
-

Lastly, whatever the outcome, I always look for help from a human being, not a dumb interface. When you're casual and witty, the user feels more at ease. On the other hand, human beings, as opposed to dumb interfaces, usually understand what is appropriate in which situation. For example, when a user is in distress, he most likely needs help first — and jokes can wait until the crisis has been dealt with.

-
-

To sum up, we need to be: smart (to identify the problem and find an approach to the user), inventive (to find a solution, not always the obvious one), compassionate (in case there is no immediate solution) — and witty (otherwise it gets boring). I'm sure we are.

-

What if I don't know the answer

-

Happens to all. Don't worry, you can always find one. The TSF BIOS will tell you what to do in most situations. In case it doesn‘t or you’re not sure, ask your fellow volunteers in the group — they should know. If worst comes to worst, consult Markus.

-

Admitting you don't know something is infinitely better than trying to cover it up. So when cornered use this mantra: ‘I’m afraid I don‘t know this. Will ask my teammates and get back to you’. Just make sure that the question is not in the FAQs before you say this.

-

Handling user suggestions

-

The three rules for requests and suggestions are: don‘t lie, don’t promise anything, and don't give an exact timeframe.

-
    -
  • The internal Suggestions board on Trello has a list of most frequently suggested features together with estimations on how likely, when and why they will be introduced.
  • -
  • For insights into the decision making process, check our Feature Philosophy.
  • -
-

Plans change frequently, so it‘s best if we only talk about things that exist. Never say that something will be done. ’We may do this‘, ’we will definitely add this at some point in the future‘ or ’this is coming soon' — is as far as we can go.

-

Same applies to the negative: never say we will never do something (except steal users‘ spouses and enslave their children, as mentioned in the general FAQ). The worst thing that can happen is ’we are currently not working on this‘, ’we may consider this', etc.

-

Even if you know something is happening tomorrow, say ‘in the next few days’. People love it when they get things earlier than they expected — and get downright angry if we get 5 minutes (or a few months) late.

-

Reporting bugs in Telegram

-

Every now and then you will get actual bug-reports. We have an internal board on trello, so you will be able to search all known issues and get the relevant info.

-
    -
  • The Handling Bugs manual covers all you need to know about bug reporting in Telegram.
  • -
  • The internal Issues board on Trello lists all known issues.
  • -
-

If you are not part of the team and are looking for advanced troubleshooting tips, you may find the Troubleshooting section interesting.

-

Chatting

-

Truth is, most users come to simply say ‘hello’. Hello them back if you have the time. Sometimes these users do have a question after all. In other cases they may be new to Telegram, without many friends to chat with or show them around. So you can tell them more about Telegram, point to interesting features — or even other Telegram apps. No need to advertise, just explain what needs explaining.

-

Remember: we’re here to help those we can help and talk to others that we feel we have the time to talk to, but not more. If kids get too insistent without any real needs, it’s ok to ignore them after a few replies. If somebody seems to be a nice conversation partner, it’s always a good idea to discuss Telegram, see what the user thinks is missing. Maybe tell them about our Support Initiative.

-

Real-life problems

-

Unfortunately, we cannot really help people with real-life problems. A few kind words wouldn‘t hurt, but generally we should send those users to places where they can get actual help, like a crisis line or chat. (Now, if you want to be a member of the TSF and read this far, go send a picture of a kangaroo to the auditions account. No, this is not a joke. It is a test that helps us understand whether or not you actually read this. And don’t tell others. If you're already a member, you know what to do: humpa viceroy squid)

-

Insults

-

Yep, everyone gets their share of those. First of all, remember that these people are not really talking to you. They just see an abstract ‘Telegram’ entity. My advice is to humor them — I usually send a ‘well, that escalated quickly’ picture and it helps many users. Joke around with them and you’ll be surprised how that can humble people. And never insult back, even if they manage to get you angry for some reason. Nonviolent irony is always your best — and only — weapon.

-
-
Other TSF documents:
-

-
- -
-
-
-
- - - - - - - - - - - - - - - - - diff --git a/data/tsf.telegram.org/manuals/bug_herding.html b/data/tsf.telegram.org/manuals/bug_herding.html deleted file mode 100644 index 84e0088f31..0000000000 --- a/data/tsf.telegram.org/manuals/bug_herding.html +++ /dev/null @@ -1,334 +0,0 @@ - - - - - Telegram Support Force - - - - - - - - - - - - - - - - - - - - - -
- -
-
-
-
- -
-
-
-
- -
-
- -

Bug Herding Explained

- -
- -
-

This document is intended for advanced TSF members. If you just joined us, come back later.
There's plenty of more urgent stuff for you to study, don't read this one yet.

-
-

The TSF is made up of volunteers who usually only have a fraction of their time to offer to our cause. They come and go, some of them disappear completely after 500 answers (some after 10, some without even leaving a single one). Our organization must be flexible enough to survive this.

-

Among other things, this means that our Trello boards must be accessible and easy to use for anyone, even if they are just passing by. Therefore, we need dedicated people who can take care of the boards and keep them well maintained for the rest of us, we need bug herders.

-

This manual is for those who would like to become part of this caste.

-
-

Herder protocol

-

You know from the bug handling manual that our final goal, when it comes to issues, is to get a trello card marked either as confirmed by dev or feature. As bug herders, we have more detailed responsibilities. We follow issues from the moment they are found to the public release in which they are resolved — and beyond.

-
    -
  1. Make sure that all newly discovered issues have their own cards (exceptions can be made for problems found in a recent beta version if the dev is in active development and says he'll fix it on the go).
  2. -
  3. Optimize all newly added cards, they must be: easy to find (good name, search keywords), specific (as in 'not vague'), have all the necessary details, but not too verbose.
  4. -
  5. Report all issues to the relevant developer group, not forgetting to include the trello link and an #issue_tag (the same way we do in questions).
  6. -
  7. Find all the requested info and add it to the card, move it to the Reviewed & Reported list, add a comment about this to the card so that we know when this happened.
  8. -
  9. Remind developers about trending issues that have been neglected for too long.
  10. -
  11. Check issues that are marked as fixed (are they?) and add relevant comments.
  12. -
  13. Whenever a new version is out, mark issues as fixed and comment with the version number.
  14. -
  15. Older issues that were fixed need to be archived or deleted after a while (but not immediately, since we will still be getting reports from people who forgot to update their apps).
  16. -
-

Herder goals

-

A bug herder has nothing left to do, if the Unsorted list is empty. Any card in that list should be seen as a call to action. Now let's look at the job in more detail.

-
-

Creating cards

-

If you found a problem, there is a good chance that somebody else from the TSF will soon get a question about it too. So it's important to create a trello card early. Create the card as soon as you have enough info to set the issue apart from the rest.

-

Information in a good card is ordered in this manner:
Problem (what) > Conditions (when) > Explanation (why; optional)

-

The Problem must be described in specific terms (photos are blurry, app crashes, voice messages stop playing).
The Conditions include:

-
    -
  1. The exact circumstances of the problem (photos are blurry in secret chats, app crashes when opening the contacts section, voice messages stop playing when a new message is received).
  2. -
  3. Steps to reproduce the issue.
  4. -
  5. Affected device/OS combinations.
  6. -
-

The Explanation part is optional, but it's nice to have it in cards that could potentially live long lives — e.g., when a bug depends on a specific device/OS combination and can't be fixed easily. (For example: 'This happens when photos are sent from an older version of the app and will stop being relevant when everyone updates.')

-

Title

-

The name of the card should be pretty general, details should be placed in the description. When composing the title, think from the perspective of somebody looking for the issue, who does not know too many details yet.

-

A good title should be structured this way:
Problem, general condition

-

Specific conditions and the explanation go to the description.

-
-

E.g., this card is useless: 'If the contact's name begins with “A” or “S”, iPhone 4s (7.1.2) users will not see messages from them'. When somebody encounters this issue, he will not have enough info to find this card. Most likely, he will only know that an iOS user doesn't get messages from some of their contacts. So if we want someone looking at the card to know that it describes their issue, we need to name it like this, for example: 'User doesn't see new messages if they come from contacts with names starting with “A” or “S”'. We will add a description, saying that the problem was encountered in iPhones 4s with iOS 7.1.2. And we will add all the necessary tags to make search easier, e.g. 'iOS, messages, invisible, not delivered', etc.'

-
-

Description and more info

-

Once you've got a card going, gradually expand it: improve the title, optimize keywords for searchability, add more info, don't forget adding #tq tags from affected users to the comments. Try to avoid any vagueness and ambiguity. E.g.:

-
    -
  • Avoid 'sometimes', 'in some cases', etc if you can. These words signal that additional investigation is required.
  • -
  • Use specific terms. Not 'doesn't work', but 'app crashes' or 'becomes unresponsive', etc.
  • -
  • Don't use 'latest', 'current' or 'previous' in terms of app version. Better stick to actual version numbers — some cards live long lives.
  • -
-

Generally, you need to strike a balance between enough info — and not too much. Developers are busy people, they will not have time to read through a long text, or might even get scared away by verbosity.

-
-

Bad example:

-
-
- -
-
- - -
-

And here's almost the same amount of info. But with higher chances to be read by the developer:

-
-
- -
- -

One card — one issue

-

If you read the examples above, you will have noticed that the initial card was dedicated to two bugs instead of one. This is very bad. Each issue must have a card to itself, even if the problematic behaviour seems similar. Imagine that your house had a leaky roof and burst water pipes at the same time — both problems mean it'll be very wet inside. But the underlying issues are very different.

-

Keywords & Search

-

The title and text of the card are searchable, but sometimes we need additional keywords. We usually mention them at the bottom, after a separator. This is useful if there are many ways to refer to a problem.

-

Once you've created a card, it's always a good idea to try to search for it yourself. Imagine that you've just met a user with this issue and are looking for info on Trello. What will you type in?

-
    -
  • This may give you ideas for additional keywords.
  • -
  • You may find that there are older cards from the 'Fixed' list are shown at the top of the search so that the card is not visible. Check if it's time to delete them.
  • -
  • You may find that another card is showing up because of bad wording. Try to rewrite it or remove excessive keywords (but only if they are unnecessary).
  • -
-

If there is a card and you had to show it to one of our volunteers who couldn't find it, think how you can improve its wording and keywords.

-
-

E.g., you have a card called 'App freezes when user joins supergroup'. One of the new volunteers asks in their regional group: 'I have a user that says his app crashes when people add him to groups'. You show them your card, but realize that it didn't mention the words 'crash', 'add', or 'group'.
So you add them to the list of keywords below the card. Then you check if it's now possible to find your card using a different description of the problem. You find that a card from 2013 called 'A group of aliens crash-landed on DC1, adding more trouble for the admins' is shown first for this query and delete it because it's a lie and therefore shouldn't be on Trello.

-
-

Affected devices

-

Be careful when mentioning affected devices in the card's title or description. If you can reproduce something on iOS8 — it doesn't mean this is an iOS8 bug yet. This is an iOS8 bug only if you can't reproduce it on iOS7.

-

Hence, the general rule: unless there are devices where the bug can't be reproduced, don't place device/OS version info in the title. Put them in a list under 'reproduced on'.

-

As soon as we see some kind of consistency, we can add things to the title. E.g., if we see that all iOS8 devices have the problem and devices running any other version of the OS do not.

-
-

Reporting to developers

-

Bug herders are also specialists in developer relations. Here's what we should do:

-
    -
  1. Let's stick to the existing app groups for all our contacts with the devs.
  2. -
  3. Let's contact developers when we already have an issue card going — at least a very basic version. (Exceptions could be made for bugs in beta versions that are in active testing.)
  4. -
  5. When contacting the devs, describe the issue, add a trello link and an #issue_tag. This way we can later look up what exactly the developer said about this or that issue (or didn't) and act accordingly. (If issues are investigated in local TSF groups, do insert the #issue_tag there to make the relevant info discoverable there as well.)
  6. -
  7. Once the issue has been optimized and reported, move it to the Reviewed & Reported list.
  8. -
  9. If the developer asks for more info, supply it to the group (and the card if relevant). If you cannot do that right away for any reason, add the questions as a comment to the card, and add the yellow label.
  10. -
  11. Remember that developers are biased and will frequently tell you that the problem belongs to some other developer or even is related to the OS or device and is not our bug. If this happens, it is your task to make sure that we've traced the problem back to the right dev (in the former case) and that we can't demostrate other apps that do the same well on the same device or platform (in the latter).
  12. -
-
-

Archiving issues

-

Once an update is out that fixes an issue, we add a comment along the lines of 'fixed in v.2.9'. Then we leave the issue on the board for about 2 weeks or so — our volunteers will still meet people that need to upgrade to fix their problem. Sometimes an issue deemed to be fixed can also come back to life (likely in a modified form, e.g. 'now only for iPads', etc.).

-

Once the 2 weeks are out, we can assume that the issue is indeed fixed for good. We can then archive the card. Note that archived cards will still show up in search (unless you specifically exclude them). Therefore, it may be more reasonable to delete the cards in case of smaller bugs and interface glitches (this is especially true for interface oversights and feature-like issues).

-

It is acceptable to archive an issue that couldn't be reproduced by us and had no activity (complaints, #tq tags, etc.) for 3-4 months. But don't delete those.

-

Archive:

-
    -
  • Trending issues
  • -
  • Major issues
  • -
  • Inter-app issues
  • -
  • Hard to reproduce issues
  • -
  • Obscure issues without any recent activity
  • -
-

Delete examples:

-
    -
  • Wrong error message when setting a username starting or ending with an underscore
  • -
  • Shared media / shared files selector glitch in landscape mode on iOS 7
  • -
  • Can't forward photo when opening from shared media
  • -
-

..and all other minor interface bugs

-

Deleting cards

-

Since anything that is deleted is lost forever, we shouldn't rush this. But if you're sure, go ahead and do it. If you're not sure, make sure it should be, then go ahead and delete it.

-

Herder responsibility

-

When you create a card or review & report somebody else's card, subscribe to it. And follow it to the end. In the event that something has to be done with it and nobody is doing it — you do it. This way we will not have Mexican standoffs when everybody knows something has to be done, but since technically nobody has to do it, it's never done at all.

-

And that's about it. If we all observe the simple procedures outlined above, peace and prosperity will come down on our homes and trello boards — and all TSF volunteers will only be a few keystrokes aways from any answer they might need.

-

How do I join?

-

You talk to Markus or Daria. But bear in mind that he'll like to see some 20-30 bugs you've created, reviewed and otherwise took care of on Trello. All bug herders should be prepared to spend a lot of time answering questions and tending their issues.

-
-

P.S. Bugging the devs — a note on bug relevance

-

Bugs and even trending bugs have different priorities. Those priorities can be calculated in the same way as one would determine whether a feature is worth considering.

-

I mentioned 'reminding the developers about bugs' as a responsibility of the herder, especially of a herder who is subscribed to a bug. But do remember that there are good and bad times to do this.

-

Whenever an update is imminent, it is a good idea to go through existing issues and make sure that all the critical stuff is fixed. Don't bug pre-release devs with exotic stuff — if it wasn't fixed at this point, it'll have to wait until the next release.

-

The best time for reminding about older issues would probably be a few days after a major release, or as soon as the dust has settled — maybe one day after the release if no major new bugs were found.

-

Such a reminder is best done in the form of a digest. You could collect a few links to well-investigated issues and offer them for consideration in the app's group. Alternatively, you could also gather a few issues that are less clear and ask about them again. Just don't do it in 20 separate messages over the course of seven hours — make it one nice but not too fat message.

-

If that doesn't work, try a smaller number. Maybe choose three important issues and ping him again with a nice concise message. Once he says something of that is fixed, show him your earlier digest and ask to take care of that stuff as well since he's here already.

-

Be cool.

-
- -
-
-
-
- - - - - - - - - - - - - - - - - diff --git a/data/tsf.telegram.org/manuals/bugs.html b/data/tsf.telegram.org/manuals/bugs.html deleted file mode 100644 index ade7773858..0000000000 --- a/data/tsf.telegram.org/manuals/bugs.html +++ /dev/null @@ -1,460 +0,0 @@ - - - - - Telegram Support Force - - - - - - - - - - - - - - - - - - - - - -
- -
-
-
-
- -
-
-
-
- -
-
- -

Handling Bugs and Troubleshooting

- -
- -
-

This manual is intended for volunteers of the TSF, but anyone else is free to take a look as well.

-
-

Every now and then users will report bugs in Telegram. The step-by-step guide and troubleshooting tips on this page will help you deal with those reports in style and eventually help Telegram get rid of the bugs themselves.

-

See the Bug Hunting Algorithm for tips on investigating new issues.

-
-

Reporting a bug

-

1. Search known issues

-

We use Trello boards to keep track of bugs (sorry, these boards are TSF-only, here's how you join), features and user suggestions, so your first stop when encountering a bug report is Trello search. Most likely, we already know about the issue — sometimes it is not a bug at all. So make sure you study all the relevant cards.

-

If you have found the issue on Trello, leave a comment in the card with your user's #tq tag and device info (skip this step if the card already has too many comments of that kind or is in the “Hot and Trending” list). Then go right to step 4.

-
- -
- -

Trello cards are organized in lists that are pretty self-explanatory:

-
    -
  • The 'Hot & Trending' list has the most important cards
  • -
  • Every card begins its journey in the 'Unsorted' list.
  • -
  • Once the issue was reviewed by a bug herder and reported to the developer, it moves to the 'Reviewed & Reported' list. we can report any new occurrences in the comments (don't forget the footers) and try to find missing puzzle pieces (e.g. the issue happens only on specific devices / OS versions).
  • -
  • Finally, at some point, the card reaches 'Fixed' status, is declared a 'Feature' (this is how we want this to work), or 'Not our bug' (platform restrictions, etc.).
  • -
-
-

The very first card on each board contains a description for all labels and fields.

-
-

Fields
Cards can have a status field which describes what state the issue is in and whether or not it requires any actions on our TSF side. (E.g., “Needs info”, “Needs logs”, or “Confirm fix”). Feel free to update Happens in with the latest version you were able to reproduce the issue in. Other fields are mostly reserved for bug herders, including the Dev Priority field.

-

Labels

-
    -
  • Blue – A notable card. Being aware of what's inside may potentially help you recognize important issues and answer questions from users more easily.
  • -
-
    -
  • Yellow – This card is missing important information.
  • -
  • Sky blue – This card mentions a workaround for the issue.
  • -
-
-

2. Investigate the bug

-
-

IMPORTANT: Please see the Bug Hunting Algorithm after this manual for an in-depth look at investigating bugs.

-
-

If you can't find anything useful on Trello:

-
    -
  1. Check app version. Must be the latest available.
  2. -
  3. Reproduce the bug, if you have a relevant device on hand – using the store version. Mention if you can't reproduce it. Ask in the bug groups if you don't have the device – don't forget to include all hashtags from the user's footer with your question and English summary (don't just forward the messages!).
  4. -
  5. Check the Troubleshooting Tips below, there are some useful tips for identifying and reporting common issues.
  6. -
  7. Find and ask the right questions that allow to locate the bug — in as few steps as possible. We have a separate and rather exciting manual on this topic, known as the Bug Hunting Algorithm.
  8. -
-
-

Reporting a bug is in many regards like convicting the developer of a crime. Just as in that case, you need a clear vision of what happened and why, hard evidence (screenshots) and witnesses (users). Unlike in a criminal case, though, it is considered appropriate and even necessary to reproduce the deed (see if you can reproduce the bug and get the same results).

-

Another crucial difference: our defendant is also the judge. He is accountable, of course, but still biased. It is in the developer's best interest to convince you and the public that the bug is not related to his work. Server-side devs will blame the client devs, client devs will blame the server-side devs — and they all together will blame the OS and device manufacturers. While sometimes this is true, we need to leave no escape for them if it isn't.

-
-

3. Report the bug

-

If the bug is not mentioned on the Issues board and the Troubleshooting manual doesn't have any special instructions for the case, we need to report it on Trello.

-
    -
  1. Make sure you've really completed steps 1 and 2 of this guide.
  2. -
  3. Important: Discuss the issue in the relevant bug group — you never know what your teammates may have to say. Maybe there's no need to create a card and an existing one needs editing instead.
  4. -
  5. If you're sure this is necessary, add the issue to the board. We've added templates like this one to all boards. You can copy them and fill with info.
  6. -
  7. Make sure your heading has all the relevant info. Fill in the rest of the details.
  8. -
  9. Always add the user's (and/or your own, if you reproduced the issue) footer with the system hashtags.
  10. -
  11. Add relevant screenshots or video to the issue. This is optional if the issue is clear enough without them.
  12. -
  13. If the problem involves particular items (account, photo, group, message, etc) we need the coordinates required to locate that particular item (tq/footer, phone number, username, link, Telegram Web address bar string, forwarded copy). Think: if you were a developer who just received your question, would you need to ask for more info instead of giving an answer?
  14. -
  15. Make sure that your description has all the relevant keywords, so that it's easy to find the issue via search.
  16. -
  17. When you add your first issue to Trello send the link to Daria — along with a picture of a beetle.
  18. -
  19. Think of the words you would use if you were looking for that issue — try them in the search box. Adjust the description accordingly.
  20. -
  21. Ask your teammates if you have any doubts.
  22. -
-
Bug Groups
-

We're currently experimenting with TSF-wide bug groups for reporting and investigating issues in the apps. You can find a list in this card.

-
Custom Fields and Comments
-
    -
  • There are several custom fields. Fill in 'Happens in' with the hashtag of the version, e.g. #5_1_1_870. The rest of the custom fields are reserved for bug herders, please don't change them unless you're 200% sure you know what you're doing. You can read more about the fields in the first card on each board.
  • -
  • Add a comment whenever a bug's state is changed.
  • -
  • Discuss in the groups, comments are for important updates to the bug only.
  • -
  • Make sure the bug's description covers all the important info that emerged in the comments.
  • -
-

4. Notify the user

-

Once we're done, we need to get back to the user and tell them that we've located the issue or are investigating it. You never know how long that might take, but the user must know that he succeeded in alerting us — and helped us greatly. Parachutes and pasties

-
    -
  • Always include an issue ID hashtag in your reply in this situation.
  • -
  • All Trello cards have unique identifiers (open card, click on “share and more”, then 'link to this card', take the last part of the link, after /c/ — e.g. vMFS4MZf).
  • -
  • We use this ID to create a hashtag (e.g. #issue_vMFS4MZf) and include it in our reply to the user with that problem. Like this, for example:
  • -
-
-

We are terribly sorry that you are not able to delete old profile pictures in channels on the Android application. We reproduced it and are already working on a bug fix. Your issue #issue_lLyHjLRa has been recorded and we'll get back to you as soon as we have any news.

-

By the way, you can delete old profile pictures on the desktop client. Tell us if you want to learn more about it.

-
-

This allows us to use Telegram hashtag search to track issues for follow-up questions. The bot can use these hashtags to send automatic replies when a bug is fixed. We can also search for this issue on Trello by its ID.

-
- -
- -

5. Stick to our goals

-
    -
  1. Our final goal in case of any bug is to create a report in Trello that would get the status confirmed by a developer or feature.
  2. -
  3. If no report was created or no existing relevant report found — we did nothing, regardless of how much time we spent talking to the user or TSF members in our groups and diagnosing the issue.
  4. -
-

In order to achieve this goal with a clear conscience, we need to respect our users' time and effort — a little more on this below:

-
-

A note on users

-

One may think that users are people with problems. Wrong. It is us, who have problems — the user is just a convenient medium for studying them. Our problem is either that something is wrong in our system. Or that we can't understand what the user is doing wrong. When you look at it this way, you quickly realize that the user is our most important asset when it comes to bugs. They can help us identify bugs and improve usability.

-

So when somebody comes with a problem, we are not looking for a way to make them go away. Instead we must do all we can to not let the user leave before we find the problem. This means that everything you ask them to do must tell you something important. Nobody enjoys rebooting their phone or logging out and in. The general rule is minimum actions — maximum effect. Rabid bunnies alert

-

If you do ask something that requires at least some effort, please be nice about it! People don't have any obligations to Telegram — we need to convince them to help us and to thank them when they do. It's the least we can do.

-
-

Now that we're done with the basic reporting process, below are some common issues and what you should do when somebody is complaining about similar stuff.

-
-

Troubleshooting common issues

-
-

This advanced troubleshooting guide is intended for volunteers of the Telegram Support Force.
Everyone else is also welcome to take a look. Help friends and loved ones — or troubleshoot yourself!

-
-

-
-

Can’t Install App

-

iOS: Device must run iOS 8 or higher.

-

Android:
- If SDK >= 16 —> Android version must be 4.1
- Ask whether other applications install ok
- If nothing helps we need to know the Android version and device model

-

Messages not getting delivered

-

The following cases cover pretty much all the complaints:

-
    -
  • The user may be confused by the check system. In Telegram: 1 check = message sent, 2 checks = message read (opened by the recipient). So the sender may think the message is not getting delivered or is delivered slowly, while they are in fact waiting for it to be read.
  • -
  • The user may be blocked. When a user is blocked, they will not be notified in any way. Their messages will just stop being read: one tick, always. He should ask his partner to check Settings — Blocked users. Blocked users don't see your online and last seen status and don't see a person's profile picture.
  • -
  • The user may confuse messages and notifications and say that messages are not getting delivered, when he in fact means notification issues. If a person sees the message upon opening the app, but doesn't get notified until he opens the app — see notification problems.
  • -
  • Since people can delete messages for everyone after sending them, it could be that a user means notifications for messages that have already been deleted by the sender.
  • -
  • Lastly, when dealing with Secret Chats, users must remember, that messages will only be delivered to the device that was used when the Secret Chat was created.
  • -
-

In case it's none of these five (but it must be one of these five, really), this is one of the worst things that can ever happen in Telegram. We need to know:

-
    -
  • Phone numbers for all participating users
  • -
  • Devices and app types for all users
  • -
  • Secret chats or cloud chats? Or both?
  • -
  • One-way or two-way problem?
  • -
-

Notification problems

-

iOS:

-
    -
  • Make sure notifications are on in Telegram AND in phone settings (Settings > Notifications), check app version.
  • -
  • Make sure notifications weren’t disabled for a specific chat or group.
  • -
  • Shut down Telegram (go to home screen, swipe up or double tap home button, swipe upwards on Telegram), then go to Phone Settings and disable alerts. Relaunch Telegram, go to Phone Settings, enable alerts.
  • -
-

What we need to know if nothing helps:

-
    -
  • User’s footer tag.
  • -
  • Type of problem (notifications: a. never come, b. come only sometimes)
  • -
  • Logs that capture the problem and time of when the message was received.
  • -
-

Android:

-
    -
  • Make sure the latest app version is installed.
  • -
  • Go to Telegram Settings > Notifications and Sounds, make sure that notifications are ON and Importance is set to “High” or greater.
  • -
  • Check notification priority for Telegram in Android settings, it can be called Importance or Behaviour depending on the device.
  • -
  • Make sure notifications weren’t disabled for a specific chat.
  • -
  • Make sure that Google Play Services are installed on the device.
  • -
-
-

NOTE: Huawei and Xiaomi devices have evil task killer services that interfere with the Telegram notification service. In order for our notifications to work, users need to add Telegram to allowed apps in those devices' security settings. Samsung devices also may require some manipulations.

-

Huawei: Phone Manager App > Protected apps > Add Telegram to the list.
Xiaomi: Services > Security > Permissions > Autostart, find Telegram and enable autostart.
Samsung: Settings > Device Maintenance > Battery > Unmonitored Apps, then add Telegram to that list.

-
-

In case you went through all the steps to no avail, we need to know:

-
    -
  • User’s phone number (username) or footer tag so we can find the user again to followup.
  • -
  • Type of problem (notifications: a. never come, b. come only sometimes)
  • -
  • System and app logs that capture the problem and time of when the message was received.
  • -
-

Contact importing problems

-

User doesn’t see his contacts in Telegram. Or sees numbers instead of names in Messages list.

-
-

Important: Naturally, one of the easiest ways to solve this would be to save the number in international format. Do not advise this before other methods. Our systems must correctly parse any contacts. Therefore it is imperative to collect these samples and bring them to your local group so that we can adjust the algorithms.

-
-

iOS:

-
    -
  • Temporarily change the name of the missing contact in Phone Contacts (not in Telegram) — add a few symbols, then change back again
  • -
  • If that doesn’t help, relogin
  • -
-

Things we need to know if nothing helps:

-
    -
  • User’s phone number
  • -
  • Phone number(s) of the contact(s)
  • -
  • How exactly these numbers are stored in users phone book (international format or anything else?)
  • -
  • Devices and app versions for all users
  • -
-

Android:

-
    -
  • Relaunch the app (not relogin! that won’t help) — swipe the app off the currently-running-apps list
  • -
  • Temporarily change the name of the contact in phone contacts (add a few symbols, then change back again)
  • -
-

Things we need to know if nothing helps:

-
    -
  • User’s phone number
  • -
  • Phone number(s) of the contact(s)
  • -
  • How exactly these numbers are stored in users phone book (international format or anything else?)
  • -
  • Devices and app versions for all users
  • -
-

Speed issues

-

Make sure that we're really talking about speed issues here. In Telegram, 1 check = message sent, 2 checks = message read (opened by the recipient).

-

What we need to know:

-
    -
  • Problem occurs in one app only, or in all apps (e.g. in iOS and TDesktop on the same Wi-Fi).
  • -
  • Problem occurs when sending or receiving (uploading / downloading)? Or both?
  • -
  • What Internet connection is being used? If Wi-Fi, advise user to try LTE and vice versa and see what changes.
  • -
  • Recipient and sender's footer tags (or username/number).
  • -
  • Time of problem (better include the timezone too).
  • -
  • In case of a photo/video, ask the user to forward it to us. Not upload it again, just forward the original message with the attachment.
  • -
-

Connection issues

-

When people are reporting connection issues, check Twitter first: are there any widespread problems. If the problem is local, we need to find out a lot of information before things can be investigated. Things to ask:

-
    -
  • Do other (non-Telegram) apps work OK?
  • -
  • What exactly is happening? (always 'connecting…' / always 'updating…' / seems ok, but messages are not sent / not delivered, etc.)
  • -
  • At what time did it start? Is it still happening?
  • -
  • Is this happening all the time or sometimes?
  • -
  • Does this happen with all Telegram apps — or just one?
  • -
  • Does web.telegram.org work?
  • -
  • The problem happens on Wi-Fi, on mobile connection or in both cases?
  • -
-

Don't forget to include with your report:

-
    -
  • User's footer tag.
  • -
  • Results of @connectivity_test. Which GIFs are downloaded slowly or not downloaded?
  • -
-

It is possible that we'll need a Traceroute to our servers, here's how you get that. Wait for instructions from the server cultists to get the right IP to trace the route to — each case potentially requires a different one.

-

Last seen time is not displayed correctly

-
    -
  • We use the user’s time zone. If he has manually entered a time different from the time zone, he will see the wrong time.
  • -
  • If an app force-quits, the user may remain online for 5-7 minutes after this.
  • -
-

If none of the two, pass to the volunteer group. We need to know:

-
    -
  • The time zone and time set
  • -
  • Detailed description of the problem
  • -
-
-

NOTE: Support accounts are slightly different from ordinary user accounts. Due to some limitations, it is normal if you don't see the correct last seen time for users who are contacting Support.

-
-

User was blocked, but still sees last seen / online status

-

The changes that come with blocking sometimes do not take effect immediately. Give it a few minutes, maybe half an hour — and the blocked user will stop seeing the status.

-

If a blocked user restarts the app or relogins, but can still see online status — pass to the volunteer group. This cannot happen under normal conditions.

-
-

TSF Manuals

-

-
- -
-
-
-
- - - - - - - - - - - - - - - - - diff --git a/data/tsf.telegram.org/manuals/e2ee-simple.html b/data/tsf.telegram.org/manuals/e2ee-simple.html deleted file mode 100644 index 205cd3887f..0000000000 --- a/data/tsf.telegram.org/manuals/e2ee-simple.html +++ /dev/null @@ -1,284 +0,0 @@ - - - - - Telegram Support Force - - - - - - - - - - - - - - - - - - - - -
- -
-
-
-
- -
-
-
-
- -
-
-
-

End-to-End Encryption FAQ

- -
- -

While checking the results of a recent quiz on how End-to-End Encryption (E2EE) works on Telegram, I noticed that not everyone in the TSF understands this. This document offers some templates along with the basic ideas behind our design decisions.

-

1. Why are Secret Chats only available on their devices of origin?

-

The question goes pretty deep, so it‘s best not confuse the user with too many details right away. Let’s send this first and then explain if any extra questions arise:

-
-

While your Cloud Chats can be accessed from any of your devices anytime, Secret Chats are not part of the Telegram Cloud and are device-specific by design. This way you can always be sure that they are safe for as long as your phone is safe in your pocket. Secret Chats also use end-to-end encryption, so they can’t be synced in the same simple and convenient way as Cloud Chats. We may add support for multi-device Secret Chats in the future.

-

Meanwhile, if you want your conversations to be synced across many devices, consider using Cloud Chats. Please note that they are encrypted as well and are further protected by Telegram's distributed infrastructure. Let me know if you want to learn more about security on Telegram.

-
-

See also: The ‘Learn more’ template »

-

Note: Same as with any templates, please be very careful when sending this one. Take care to adapt the text in such a way that it fits the user‘s questions and situation perfectly. This is especially important when dealing with security-related questions. If you’re not sure you‘re qualified to continue the conversation, don’t hesitate to ask in your local group. There's always help!

-

Now let's look at the question in a little more detail:

-

Multi-device End-to-end encrypted chats are a mess

-

The concept of End-to-End Encryption has no limits for the number of communicating devices. However, if you want to access your end-to-end encrypted chats from multiple devices, you’re facing many technical difficulties, especially when it comes to connecting new devices, loading chat history and restoring backups.

-

Most of our competitors (notably, Whatsapp and iMessage) solve these problems in ways that make their end-to-end encryption useless (this is a big topic, so requires a separate manual). To solve them in a secure way, you’d have to sacrifice usability and some of the features you’re used to – the result would never be as fluent and simple as what we offer in Cloud Chats.

-

One-device Secret Chats are a feature

-

Secret Chats are not just about End-to-End Encryption, otherwise we‘d have simply called them ’end-to-end encrypted chats'. Secret Chats are a bundle of tools for private single-device communication. They are self-sanitizing thanks to self-destruct timers, and you can’t forward messages from them. That secret chats are only available on their devices of origin is also a feature.

-

We like to keep our Secret Chats where we can see them. With single-device chats you can be 100% sure that nobody can access your chats without accessing your (or your chat partner’s) phone first. Politicians and businesspeople around the world appreciate this and have been among Telegram’s early adopters in most countries. The impact for regular users is even higher since they are more likely to leave their work or home computers unlocked and unattended.

-

Most of us have one main device and can manage to keep an eye on it at all times. As a mass user, you probably don’t want these constraints to apply to all of your data, and this is where Cloud Chats come to the rescue.

-

Naturally, it would have been possible to have three types of chats: Cloud Chats, Single-Device Secret Chats, and Multi-Device Secret Chats – a stripped-down and somewhat lamer version of cloud chats. But such levels of complexity are unacceptable for a mass market app, so we had to choose. We chose to have fully functional multi-device cloud chats and single-device secret chats with their own suite of functions like self-destruct timers, protection from forwarding, etc.

-

What makes Cloud Chats cool?

-

Cloud chats don't use E2EE, but we went out of the way to make them as secure as possible while retaining the flexibility that made them famous.

-

These are the most important features of Telegram’s cloud chats for our users:
1. You can log in on any device and see all your chats, immediately.
2. You can start typing on one device, then continue on another – even if you just logged in there for the first time.
3. If you lose your device, you can immediately get all your cloud chats and contacts back.
4. If you need to find a message, you can use instant search to find it, regardless of when and which of your devices you were using when you sent or received it.

-

Are Cloud Chats secure?

-

Since without E2EE Cloud Chat data is theoretically accessible, we use a unique distributed infrastructure to protect it. Cloud Chat data is stored in multiple data centers around the globe that are controlled by different legal entities spread across different jurisdictions. The relevant decryption keys are split into parts and are never kept in the same place as the data they protect. As a result, local intruders or engineers can't access this data, and several court orders from different jurisdictions are required to force us to give up any of it.

-

Thanks to this structure, we can ensure that no single government or block of like-minded countries can intrude on people's privacy and freedom of expression. Telegram can be forced to give up data only if an issue is grave and universal enough to pass the scrutiny of several different legal systems around the world.

-

As a result, we have disclosed 0 bytes of user data to third parties, including governments, to this day.

-

To sum up: Single-device Secret Chats

-
    -
  • Secret Chats are only available on their devices of origin. This is a feature.
  • -
  • Eliminates risk for private conversation if another device is lost, stolen or simply left unattended.
  • -
  • Multi-device Secret Chats would never be as fluent and easy to use as Cloud Chats: no history sync on new devices, no automatic backups, no server search, no cloud drafts.
  • -
  • Other messengers claim they have both E2EE and these features, but in fact they invalidate their E2EE (e.g., iMessage supports multiple devices, but thanks to the way they do it their e2e claims are also invalidated. WhatsApp pushes third-party unencrypted backups to their users, these backups nullify their e2e claims. More on this in a more detailed manual coming soon.)
  • -
  • Cloud chats are stored heavily encrypted and are protected by Telegram’s unique distributed infrastructure.
  • -
  • We may introduce multi-device Secret Chats in the future, even though this requires a lot of work and careful planning.
  • -
-

2. Why are there no Secret Chats on desktop apps?

-

The answers to this question are closely connected to the fact that we decided to restrict Secret Chats to their devices of origin (see above). You could use this template for starters:

-
-

Secret chats require permanent storage on the device, something that Telegram Desktop and Telegram Web don’t support at the moment. We may add this in the future. Currently, both the desktop and the web app load messages from the Cloud on startup and discard them when you quit. Since secret chats are not part of the cloud, this would kill all your secret chats each time you shut down your computer.

-

Secret chats are also device-specific and disappear if you log out — considering this, it is handier to keep them on the one device that you always carry with you. In case you are concerned about the security of your chats on desktop, please note that they are encrypted as well and are further protected by Telegram's distributed infrastructure. Let me know if you want to learn more about security on Telegram.

-
-

See also: The ‘Learn more’ template »

-

Note: Same as with any templates, please be very careful when sending this one. Take care to adapt the text in such a way that it fits the user‘s questions and situation perfectly. This is especially important when dealing with security-related questions. If you’re not sure you‘re qualified to continue the conversation, don’t hesitate to ask in your local group. There's always help!

-

Now let's look at the question in a little more detail:

-

Desktops are less personal

-

We log in from many places on web and desktop. Many of our desktops are monitored by network administrators at work, or accessed by family members at home. We often leave our desktops and even laptops unattended. It's much easier to keep an eye on your phone.

-

Open systems vs. Sandboxed systems

-

Desktop systems and browsers are much more open environments, as opposed to sandboxed environments like mobile OSs. To have Secret Chats, you need your app to store data on the device, and implementing this is slightly more complicated in open systems. The Web and Desktop apps currently get all data from the cloud on startup and discard it when you quit or log out. This would mean losing all your secret chats each time you shut down your computer.

-

But the real challenges for desktop chats arise because Telegram’s Secret Chats are meant to be single-device chats (see above):

-

A chaos of chats with the same person

-

If each chat only connects two devices, users get many different chats with the same person. Imagine two people that have a laptop, a desktop at work and a mobile device each. That’s 9 secret chats in total, and most of them are useless at any given moment.

-

“Is she still at work?” “Should I message him at the home PC?” Most of us will have multiple desktops (work, home, laptop), most of us will have only one main phone. It is most likely that you can get the person by messaging their mobile phone.

-

Search-related troubles

-

There’s an added twist when it comes to finding a certain message. Since no server-side search for messages is possible in the E2EE paradigm, the user would have to remember on their own where to look for a particular message (was it in this chat on this device, or in that chat on that device?). Telegram wouldn’t be able to help in any way.

-

Remember those 9 secret chats with the average person? Each would have an independent chat history, and no server-side search could tell you which one has that important message.

-

Temporary sessions

-

And if that wasn’t enough, desktop sessions tend to be a lot more transient. One of the important features of secret chats is that they are destroyed on your device when you log out. Most desktop users log out rather frequently. Telegram Web users do this even more often.

-

Each time a user logs out, this creates an unusable discarded chat on their partner’s device. Having them on Desktop and Web would mean a lot more such unusable chats cluttering our chat lists.

-

What about Secret Chats in the Mac OS native app?

-

The Mac OS native app, like many others, began as a third-party unofficial app. We always keep an eye out for what third-party developers are doing in our ecosystem. Sometimes features they implement become very popular and make their way to our official apps. This was not the case for Secret Chats in the Mac OS app, which enjoyed a statistically marginal existence. After the app became part of Telegram's official lineup, we did not cut this functionality in order to see if official status would change anything.

-

Several years later, statistics confirm our guesses about the viability of Secret Chats on desktops: same as before, only 2% of the Mac OS app users use them in that app. At the same time, all users of the Mac OS app actively use Secret Chats on their mobile devices – just like other Telegram users.

-

To sum up: No desktop Secret Chats

-
    -
  • Desktops are a much less personal environment, frequently monitored at work and left unattended at home. It’s easier to keep an eye on mobile devices.
  • -
  • Implementing secure storage is more complicated in open desktop systems as opposed to sandboxed mobile environments. Secret Chats require storage to work.
  • -
  • Secret Chats are single-device, so adding more potential sources would result in many Secret Chats with the same person. A mess in UI and no idea which chat to send your message to. You’re more likely to reach a person on the mobile phone.
  • -
  • To find a message, you’d have to search across multiple Secret Chats with the same person on many devices. The server wouldn’t be able to tell you where to look.
  • -
  • Logging out kills Secret Chats, temporary sessions create garbage chats on the partner's device.
  • -
  • We may introduce Secret Chats to our desktop and web apps in the future, even though this requires a lot of work and careful planning.
  • -
-

Note: These arguments and templates are meant for the majority of Telegram users that use a mobile phone as their primary device. If a user tells us that they use their desktop as a primary device, these templates won't work as well. Such users require a different, bespoke approach.

-

The ‘Learn more’ template

-

Both templates in this manual have the line ‘Let me know if you want to learn more about security on Telegram’. Here's a general template you could give to a user who wants to learn more after getting one of them:

-
-

All Telegram data is encrypted and cannot be deciphered by your ISP, network administrator, or random hackers. Cloud chats are stored encrypted in the Telegram Cloud, and the keys needed to decipher this data are kept in other data centers spread across different jurisdictions. This way, local intruders or engineers can't access this data, and several court orders from different jurisdictions are required to force us to give up anything. More on this in the FAQ: https://telegram.org/faq#q-do-you-process-data-requests

-

Secret chats are meant for people who want even more than that. They use end-to-end encryption, so there is no way to decipher your data without accessing your device. It means you don‘t even need to trust Telegram when you use Secret Chats — their secrecy is guaranteed client-side and anyone can check the source code of Telegram clients.

-

If you are concerned about security in general, there are other important precautions you could take. Consider protecting your account by enabling 2-Step Verification and setting up a strong passcode to lock your app, then it won’t be possible to access your chats by stealing your device or even by intercepting your SMS code. You will find both options in ‘Settings’ under ‘Privacy and Security,’ ask me if you’d like more details.

-
-

Note: Same as with any templates, please be very careful when sending this one. Take care to adapt the text in such a way that it fits the user‘s questions and situation perfectly. This is especially important when dealing with security-related questions. If you’re not sure you‘re qualified to continue the conversation, don’t hesitate to ask in your local group. There's always help!

-

Further reading

-

This text and templates should be enough for conversations with ordinary Telegram users. If you would like to go deeper down the rabbit hole, you can study this in-depth manual on End-to-End Encryption. If you have any questions about that one, contact Markus without hesitation. It’s very important that we understand everything.

-
- -
-
-
-
- - - - - - - - - - - - - - - - - diff --git a/data/tsf.telegram.org/manuals/feature_philosophy.html b/data/tsf.telegram.org/manuals/feature_philosophy.html deleted file mode 100644 index b23b2cd609..0000000000 --- a/data/tsf.telegram.org/manuals/feature_philosophy.html +++ /dev/null @@ -1,263 +0,0 @@ - - - - - Telegram Support Force - - - - - - - - - - - - - - - - - - - - -
- -
-
-
-
- -
-
-
-
- -
-
- -

Feature Philosophy

- -
-

This manual is intended for volunteers of the TSF, but anyone else is free to take a look as well.

-
-

There's a million things you could do, and yet you can't do them all at once. Building a messenger, as anything else, is about making the right choices. This manual covers the factors we always keep in mind when considering new features. This text serves as a companion to our (internal) user suggestions board where you can find more detailed estimates on the likelihood for particular features to be added to Telegram.

-

Determining priority

-

The formula to determine which feature gets implemented first is pretty straightforward:

-
(relevance for the project + UX improvement) / (added complexity x speed impact x development time)
-

This formula is everything you really need, although I will describe the components in greater detail below.

-
-

1. Relevance

-

Telegram is a mass market messenger with a focus on speed and security. A good product needs to be consistent, so every feature we add must be relevant to these core aspects. And they are all equally important, we can't give too much preference to any one of them. We must keep all the aspects in harmony.

-
-

E.g. any security-related feature we introduce must allow us to stay comprehensible for the masses and just as fast. Same with mass market features, we must stay as secure as possible when introducing them.

-
-

2. UX improvement

-

While we love our users very much, we are not building our messenger to please individuals. This is a mass market messenger, and we cater to the masses. This automatically means two things:

-
    -
  • Any new feature must be useful to at least 5% of the users (and 50% is better,)
  • -
  • Any new feature must be useful at least 5% of the time (and 50% is better)
  • -
-
-

So ask yourself: Will tens of millions of people around the world use this feature more than once a month?

-
-

Exotic features may look fancy and bring in good press, but they are wasteful. They don't contribute much to overall user experience (since they are used so rarely by so few users) — but they cost you time, developer resources and result in increasing complexity of the interfaces. Introducing a seemingly harmless exotic feature can sometimes result in damaging the UX instead:

-

3. Complexity

-

A good user interface is about minimizing choice and diversity. For example, 90% of Telegram is just 5 screens: list of chats, messages in a chat, profile screen, list of contacts, settings screen. The ultimate goal of a good UI is to rely on as few entities, options and settings as possible.

-

Yes, settings are evil because they fragment the user experience. Each new setting increases the complexity of your app and steepens the learning curve. You cannot escape choices by just offering settings and pushing the decisions you must make over to the user. The more settings you get, the more tuning your user will need to do to arrive at usability.

-

We don't have the luxury of the users' attention and nobody spends an afternoon setting up and studying how an app works. So everything we have must be instantly clear to anyone. Ideally. This may not be exactly the case even now, but the important thing is — we must not make it worse. Extra settings and options are a necessary evil sometimes, but generally we should find ways of avoiding them by providing the one true path out of the box.

-

4. Speed

-

As a mass market messenger Telegram must successfully compete with players that provide fewer encryption options, use weaker algorithms, or neutralize their own encryption for the sake of usability and speed. Thanks to certain breakthroughs in MTProto's design we are above our competition in terms of speed staying more secure at the same time. But we must always be on our guard and take care that the features we introduce do not slow us down too much.

-

5. Development resources

-

Telegram is a small band of very focused developers. We only have one specialist per app — and yet we usually try to update our apps at least once a month, ideally twice. In order to achieve this pace, we must choose wisely what we implement. Some of our plans are affected by the current Telegram infrastructure: certain things are easier to introduce, while other require massive changes in the server-side code, API or the MTProto protocol itself.

-
-

To sum up

-

On the whole, it is better to be rich and healthy than poor and sick. In an ideal universe this means only implementing things that are relevant to the project and to the masses, add zero complexity to the interface, have positive effect on app speed, while costing nothing in terms of time and developer effort.

-

In a more real world this means that we usually wouldn't do things that are irrelevant to the project, or highly exotic, or introduce too much complexity, or slow Telegram down too much, or require too much time and effort (when that same time and effort could be used to make several other things happen, possibly with a higher UX impact).

-

That said, every now and then we do the impossible or the unheard of. Being too rational all the time would be boring, right? Fracture holy chipmunks.

-
-

Feature Philosophy FAQ

-

Q: So who decides?

-

We monitor our users' reactions closely via our support channels, twitter and store reviews. But in order to maintain consistency in the product, the ultimate power of decision must lie in the hands of one person. In Telegram's case this person is Pavel Durov, his vision and experience got us this far — and will hopefully get us much further.

-

Q: Why not let the people decide?

-

User requests are an essential part of Telegram's development. But uncontrolled democratic processes in software development can be dangerous. Unfortunately, vocal minorities don't always properly represent silent majorities. And those silent majorities in turn only become vocal when changes in the system begin hurting them. All of this can result in erratic behavior: adding features just to remove them 6 months later, introducing conciliatory settings. This is usually followed by the slow and inevitable demise of the project.

-

So in Telegram we've opted for a well informed autocratic approach.

-

Q: X has this feature! Why don't we?

-

Many of our competitors have features that we don't have — or don't have yet. It is important to understand that they have those features for a reason. And this reason is not necessarily relevant for Telegram.

-
-

A good example of this is the 'delivered to device' status that some of the WhatsApp fans ask us to introduce. This status would be useless here, Telegram being a cross-platform cloud messenger. I'm logged in on my PC at home and on my phone. So what does it matter to you that my PC downloaded the message while I'm stuck on a mountain with no network coverage on my phone?

-
-

But whatever the situation may be right now, there is always a chance that things will change in the future. So never be radical and never burn your bridges. We're constantly looking for meaningful ways to improve Telegram. This means that any suggestion has a chance of becoming reality — at some point in the future, in some way.

-
-

More TSF manuals

-

-
- -
-
-
-
- - - - - - - - - - - - - - - - -