1int ?= Int;
2long ?= Long;
3double ?= Double;
4string ?= String;
5
6bytes string = Bytes;
7
8int128 long long = Int128;
9int256 long long long long = Int256;
10
11boolFalse#bc799737 = Bool;
12boolTrue#997275b5 = Bool;
13
14true#3fedd339 = True;
15
16vector#1cb5c415 {t:Type} # [ t ] = Vector t;
17
18error#c4b9f9bb code:int text:string = Error;
19
20null#56730bcc = Null;
21
22inputPeerEmpty#7f3b18ea = InputPeer;
23inputPeerSelf#7da07ec9 = InputPeer;
24inputPeerChat#179be863 chat_id:int = InputPeer;
25inputPeerUser#7b8e7de6 user_id:int access_hash:long = InputPeer;
26inputPeerChannel#20adaef8 channel_id:int access_hash:long = InputPeer;
27
28inputUserEmpty#b98886cf = InputUser;
29inputUserSelf#f7c1b13f = InputUser;
30inputUser#d8292816 user_id:int access_hash:long = InputUser;
31
32inputPhoneContact#f392b7f4 client_id:long phone:string first_name:string last_name:string = InputContact;
33
34inputFile#f52ff27f id:long parts:int name:string md5_checksum:string = InputFile;
35inputFileBig#fa4f0bb5 id:long parts:int name:string = InputFile;
36
37inputMediaEmpty#9664f57f = InputMedia;
38inputMediaUploadedPhoto#f7aff1c0 file:InputFile caption:string = InputMedia;
39inputMediaPhoto#e9bfb4f3 id:InputPhoto caption:string = InputMedia;
40inputMediaGeoPoint#f9c44144 geo_point:InputGeoPoint = InputMedia;
41inputMediaContact#a6e45987 phone_number:string first_name:string last_name:string = InputMedia;
42inputMediaUploadedVideo#82713fdf file:InputFile duration:int w:int h:int mime_type:string caption:string = InputMedia;
43inputMediaUploadedThumbVideo#7780ddf9 file:InputFile thumb:InputFile duration:int w:int h:int mime_type:string caption:string = InputMedia;
44inputMediaVideo#936a4ebd video:InputVideo caption:string = InputMedia;
45inputMediaUploadedAudio#4e498cab file:InputFile duration:int mime_type:string = InputMedia;
46inputMediaAudio#89938781 audio:InputAudio = InputMedia;
47inputMediaUploadedDocument#1d89306d file:InputFile mime_type:string attributes:Vector<DocumentAttribute> caption:string = InputMedia;
48inputMediaUploadedThumbDocument#ad613491 file:InputFile thumb:InputFile mime_type:string attributes:Vector<DocumentAttribute> caption:string = InputMedia;
49inputMediaDocument#1a77f29c document_id:InputDocument caption:string = InputMedia;
50inputMediaVenue#2827a81a geo_point:InputGeoPoint title:string address:string provider:string venue_id:string = InputMedia;
51inputMediaGifExternal#4843b0fd url:string q:string = InputMedia;
52
53inputChatPhotoEmpty#1ca48f57 = InputChatPhoto;
54inputChatUploadedPhoto#94254732 file:InputFile crop:InputPhotoCrop = InputChatPhoto;
55inputChatPhoto#b2e1bf08 id:InputPhoto crop:InputPhotoCrop = InputChatPhoto;
56
57inputGeoPointEmpty#e4c123d6 = InputGeoPoint;
58inputGeoPoint#f3b7acc9 latitude:double longitude:double = InputGeoPoint;
59
60inputPhotoEmpty#1cd7bf0d = InputPhoto;
61inputPhoto#fb95c6c4 id:long access_hash:long = InputPhoto;
62
63inputVideoEmpty#5508ec75 = InputVideo;
64inputVideo#ee579652 id:long access_hash:long = InputVideo;
65
66inputFileLocation#14637196 volume_id:long local_id:int secret:long = InputFileLocation;
67inputVideoFileLocation#3d0364ec id:long access_hash:long = InputFileLocation;
68inputEncryptedFileLocation#f5235d55 id:long access_hash:long = InputFileLocation;
69inputAudioFileLocation#74dc404d id:long access_hash:long = InputFileLocation;
70inputDocumentFileLocation#4e45abe9 id:long access_hash:long = InputFileLocation;
71
72inputPhotoCropAuto#ade6b004 = InputPhotoCrop;
73inputPhotoCrop#d9915325 crop_left:double crop_top:double crop_width:double = InputPhotoCrop;
74
75inputAppEvent#770656a8 time:double type:string peer:long data:string = InputAppEvent;
76
77peerUser#9db1bc6d user_id:int = Peer;
78peerChat#bad0e5bb chat_id:int = Peer;
79peerChannel#bddde532 channel_id:int = Peer;
80
81storage.fileUnknown#aa963b05 = storage.FileType;
82storage.fileJpeg#7efe0e = storage.FileType;
83storage.fileGif#cae1aadf = storage.FileType;
84storage.filePng#a4f63c0 = storage.FileType;
85storage.filePdf#ae1e508d = storage.FileType;
86storage.fileMp3#528a0677 = storage.FileType;
87storage.fileMov#4b09ebbc = storage.FileType;
88storage.filePartial#40bc6f52 = storage.FileType;
89storage.fileMp4#b3cea0e4 = storage.FileType;
90storage.fileWebp#1081464c = storage.FileType;
91
92fileLocationUnavailable#7c596b46 volume_id:long local_id:int secret:long = FileLocation;
93fileLocation#53d69076 dc_id:int volume_id:long local_id:int secret:long = FileLocation;
94
95userEmpty#200250ba id:int = User;
96user#d10d979a flags:# self:flags.10?true contact:flags.11?true mutual_contact:flags.12?true deleted:flags.13?true bot:flags.14?true bot_chat_history:flags.15?true bot_nochats:flags.16?true verified:flags.17?true restricted:flags.18?true id:int access_hash:flags.0?long first_name:flags.1?string last_name:flags.2?string username:flags.3?string phone:flags.4?string photo:flags.5?UserProfilePhoto status:flags.6?UserStatus bot_info_version:flags.14?int restriction_reason:flags.18?string bot_inline_placeholder:flags.19?string = User;
97
98userProfilePhotoEmpty#4f11bae1 = UserProfilePhoto;
99userProfilePhoto#d559d8c8 photo_id:long photo_small:FileLocation photo_big:FileLocation = UserProfilePhoto;
100
101userStatusEmpty#9d05049 = UserStatus;
102userStatusOnline#edb93949 expires:int = UserStatus;
103userStatusOffline#8c703f was_online:int = UserStatus;
104userStatusRecently#e26f42f1 = UserStatus;
105userStatusLastWeek#7bf09fc = UserStatus;
106userStatusLastMonth#77ebc742 = UserStatus;
107
108chatEmpty#9ba2d800 id:int = Chat;
109chat#d91cdd54 flags:# creator:flags.0?true kicked:flags.1?true left:flags.2?true admins_enabled:flags.3?true admin:flags.4?true deactivated:flags.5?true id:int title:string photo:ChatPhoto participants_count:int date:int version:int migrated_to:flags.6?InputChannel = Chat;
110chatForbidden#7328bdb id:int title:string = Chat;
111channel#4b1b7506 flags:# creator:flags.0?true kicked:flags.1?true left:flags.2?true editor:flags.3?true moderator:flags.4?true broadcast:flags.5?true verified:flags.7?true megagroup:flags.8?true restricted:flags.9?true id:int access_hash:long title:string username:flags.6?string photo:ChatPhoto date:int version:int restriction_reason:flags.9?string = Chat;
112channelForbidden#2d85832c id:int access_hash:long title:string = Chat;
113
114chatFull#2e02a614 id:int participants:ChatParticipants chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:ExportedChatInvite bot_info:Vector<BotInfo> = ChatFull;
115channelFull#9e341ddf flags:# can_view_participants:flags.3?true id:int about:string participants_count:flags.0?int admins_count:flags.1?int kicked_count:flags.2?int read_inbox_max_id:int unread_count:int unread_important_count:int chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:ExportedChatInvite bot_info:Vector<BotInfo> migrated_from_chat_id:flags.4?int migrated_from_max_id:flags.4?int = ChatFull;
116
117chatParticipant#c8d7493e user_id:int inviter_id:int date:int = ChatParticipant;
118chatParticipantCreator#da13538a user_id:int = ChatParticipant;
119chatParticipantAdmin#e2d6e436 user_id:int inviter_id:int date:int = ChatParticipant;
120
121chatParticipantsForbidden#fc900c2b flags:# chat_id:int self_participant:flags.0?ChatParticipant = ChatParticipants;
122chatParticipants#3f460fed chat_id:int participants:Vector<ChatParticipant> version:int = ChatParticipants;
123
124chatPhotoEmpty#37c1011c = ChatPhoto;
125chatPhoto#6153276a photo_small:FileLocation photo_big:FileLocation = ChatPhoto;
126
127messageEmpty#83e5de54 id:int = Message;
128message#c992e15c flags:# unread:flags.0?true out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true id:int from_id:flags.8?int to_id:Peer fwd_from_id:flags.2?Peer fwd_date:flags.2?int via_bot_id:flags.11?int reply_to_msg_id:flags.3?int date:int message:string media:flags.9?MessageMedia reply_markup:flags.6?ReplyMarkup entities:flags.7?Vector<MessageEntity> views:flags.10?int = Message;
129messageService#c06b9607 flags:# unread:flags.0?true out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true id:int from_id:flags.8?int to_id:Peer date:int action:MessageAction = Message;
130
131messageMediaEmpty#3ded6320 = MessageMedia;
132messageMediaPhoto#3d8ce53d photo:Photo caption:string = MessageMedia;
133messageMediaVideo#5bcf1675 video:Video caption:string = MessageMedia;
134messageMediaGeo#56e0d474 geo:GeoPoint = MessageMedia;
135messageMediaContact#5e7d2f39 phone_number:string first_name:string last_name:string user_id:int = MessageMedia;
136messageMediaUnsupported#9f84f49e = MessageMedia;
137messageMediaDocument#f3e02ea8 document:Document caption:string = MessageMedia;
138messageMediaAudio#c6b68300 audio:Audio = MessageMedia;
139messageMediaWebPage#a32dd600 webpage:WebPage = MessageMedia;
140messageMediaVenue#7912b71f geo:GeoPoint title:string address:string provider:string venue_id:string = MessageMedia;
141
142messageActionEmpty#b6aef7b0 = MessageAction;
143messageActionChatCreate#a6638b9a title:string users:Vector<int> = MessageAction;
144messageActionChatEditTitle#b5a1ce5a title:string = MessageAction;
145messageActionChatEditPhoto#7fcb13a8 photo:Photo = MessageAction;
146messageActionChatDeletePhoto#95e3fbef = MessageAction;
147messageActionChatAddUser#488a7337 users:Vector<int> = MessageAction;
148messageActionChatDeleteUser#b2ae9b0c user_id:int = MessageAction;
149messageActionChatJoinedByLink#f89cf5e8 inviter_id:int = MessageAction;
150messageActionChannelCreate#95d2ac92 title:string = MessageAction;
151messageActionChatMigrateTo#51bdb021 channel_id:int = MessageAction;
152messageActionChannelMigrateFrom#b055eaee title:string chat_id:int = MessageAction;
153
154dialog#c1dd804a peer:Peer top_message:int read_inbox_max_id:int unread_count:int notify_settings:PeerNotifySettings = Dialog;
155dialogChannel#5b8496b2 peer:Peer top_message:int top_important_message:int read_inbox_max_id:int unread_count:int unread_important_count:int notify_settings:PeerNotifySettings pts:int = Dialog;
156
157photoEmpty#2331b22d id:long = Photo;
158photo#cded42fe id:long access_hash:long date:int sizes:Vector<PhotoSize> = Photo;
159
160photoSizeEmpty#e17e23c type:string = PhotoSize;
161photoSize#77bfb61b type:string location:FileLocation w:int h:int size:int = PhotoSize;
162photoCachedSize#e9a734fa type:string location:FileLocation w:int h:int bytes:bytes = PhotoSize;
163
164videoEmpty#c10658a8 id:long = Video;
165video#f72887d3 id:long access_hash:long date:int duration:int mime_type:string size:int thumb:PhotoSize dc_id:int w:int h:int = Video;
166
167geoPointEmpty#1117dd5f = GeoPoint;
168geoPoint#2049d70c longitude:double latitude:double = GeoPoint;
169
170auth.checkedPhone#811ea28e phone_registered:Bool = auth.CheckedPhone;
171
172auth.sentCode#efed51d9 phone_registered:Bool phone_code_hash:string send_call_timeout:int is_password:Bool = auth.SentCode;
173auth.sentAppCode#e325edcf phone_registered:Bool phone_code_hash:string send_call_timeout:int is_password:Bool = auth.SentCode;
174
175auth.authorization#ff036af1 user:User = auth.Authorization;
176
177auth.exportedAuthorization#df969c2d id:int bytes:bytes = auth.ExportedAuthorization;
178
179inputNotifyPeer#b8bc5b0c peer:InputPeer = InputNotifyPeer;
180inputNotifyUsers#193b4417 = InputNotifyPeer;
181inputNotifyChats#4a95e84e = InputNotifyPeer;
182inputNotifyAll#a429b886 = InputNotifyPeer;
183
184inputPeerNotifyEventsEmpty#f03064d8 = InputPeerNotifyEvents;
185inputPeerNotifyEventsAll#e86a2c74 = InputPeerNotifyEvents;
186
187inputPeerNotifySettings#46a2ce98 mute_until:int sound:string show_previews:Bool events_mask:int = InputPeerNotifySettings;
188
189peerNotifyEventsEmpty#add53cb3 = PeerNotifyEvents;
190peerNotifyEventsAll#6d1ded88 = PeerNotifyEvents;
191
192peerNotifySettingsEmpty#70a68512 = PeerNotifySettings;
193peerNotifySettings#8d5e11ee mute_until:int sound:string show_previews:Bool events_mask:int = PeerNotifySettings;
194
195wallPaper#ccb03657 id:int title:string sizes:Vector<PhotoSize> color:int = WallPaper;
196wallPaperSolid#63117f24 id:int title:string bg_color:int color:int = WallPaper;
197
198inputReportReasonSpam#58dbcab8 = ReportReason;
199inputReportReasonViolence#1e22c78d = ReportReason;
200inputReportReasonPornography#2e59d922 = ReportReason;
201inputReportReasonOther#e1746d0a text:string = ReportReason;
202
203userFull#5a89ac5b user:User link:contacts.Link profile_photo:Photo notify_settings:PeerNotifySettings blocked:Bool bot_info:BotInfo = UserFull;
204
205contact#f911c994 user_id:int mutual:Bool = Contact;
206
207importedContact#d0028438 user_id:int client_id:long = ImportedContact;
208
209contactBlocked#561bc879 user_id:int date:int = ContactBlocked;
210
211contactSuggested#3de191a1 user_id:int mutual_contacts:int = ContactSuggested;
212
213contactStatus#d3680c61 user_id:int status:UserStatus = ContactStatus;
214
215contacts.link#3ace484c my_link:ContactLink foreign_link:ContactLink user:User = contacts.Link;
216
217contacts.contactsNotModified#b74ba9d2 = contacts.Contacts;
218contacts.contacts#6f8b8cb2 contacts:Vector<Contact> users:Vector<User> = contacts.Contacts;
219
220contacts.importedContacts#ad524315 imported:Vector<ImportedContact> retry_contacts:Vector<long> users:Vector<User> = contacts.ImportedContacts;
221
222contacts.blocked#1c138d15 blocked:Vector<ContactBlocked> users:Vector<User> = contacts.Blocked;
223contacts.blockedSlice#900802a1 count:int blocked:Vector<ContactBlocked> users:Vector<User> = contacts.Blocked;
224
225contacts.suggested#5649dcc5 results:Vector<ContactSuggested> users:Vector<User> = contacts.Suggested;
226
227messages.dialogs#15ba6c40 dialogs:Vector<Dialog> messages:Vector<Message> chats:Vector<Chat> users:Vector<User> = messages.Dialogs;
228messages.dialogsSlice#71e094f3 count:int dialogs:Vector<Dialog> messages:Vector<Message> chats:Vector<Chat> users:Vector<User> = messages.Dialogs;
229
230messages.messages#8c718e87 messages:Vector<Message> chats:Vector<Chat> users:Vector<User> = messages.Messages;
231messages.messagesSlice#b446ae3 count:int messages:Vector<Message> chats:Vector<Chat> users:Vector<User> = messages.Messages;
232messages.channelMessages#bc0f17bc flags:# pts:int count:int messages:Vector<Message> collapsed:flags.0?Vector<MessageGroup> chats:Vector<Chat> users:Vector<User> = messages.Messages;
233
234messages.chats#64ff9fd5 chats:Vector<Chat> = messages.Chats;
235
236messages.chatFull#e5d7d19c full_chat:ChatFull chats:Vector<Chat> users:Vector<User> = messages.ChatFull;
237
238messages.affectedHistory#b45c69d1 pts:int pts_count:int offset:int = messages.AffectedHistory;
239
240inputMessagesFilterEmpty#57e2f66c = MessagesFilter;
241inputMessagesFilterPhotos#9609a51c = MessagesFilter;
242inputMessagesFilterVideo#9fc00e65 = MessagesFilter;
243inputMessagesFilterPhotoVideo#56e9f0e4 = MessagesFilter;
244inputMessagesFilterPhotoVideoDocuments#d95e73bb = MessagesFilter;
245inputMessagesFilterDocument#9eddf188 = MessagesFilter;
246inputMessagesFilterAudio#cfc87522 = MessagesFilter;
247inputMessagesFilterAudioDocuments#5afbf764 = MessagesFilter;
248inputMessagesFilterUrl#7ef0dd87 = MessagesFilter;
249inputMessagesFilterGif#ffc86587 = MessagesFilter;
250
251updateNewMessage#1f2b0afd message:Message pts:int pts_count:int = Update;
252updateMessageID#4e90bfd6 id:int random_id:long = Update;
253updateDeleteMessages#a20db0e5 messages:Vector<int> pts:int pts_count:int = Update;
254updateUserTyping#5c486927 user_id:int action:SendMessageAction = Update;
255updateChatUserTyping#9a65ea1f chat_id:int user_id:int action:SendMessageAction = Update;
256updateChatParticipants#7761198 participants:ChatParticipants = Update;
257updateUserStatus#1bfbd823 user_id:int status:UserStatus = Update;
258updateUserName#a7332b73 user_id:int first_name:string last_name:string username:string = Update;
259updateUserPhoto#95313b0c user_id:int date:int photo:UserProfilePhoto previous:Bool = Update;
260updateContactRegistered#2575bbb9 user_id:int date:int = Update;
261updateContactLink#9d2e67c5 user_id:int my_link:ContactLink foreign_link:ContactLink = Update;
262updateNewAuthorization#8f06529a auth_key_id:long date:int device:string location:string = Update;
263updateNewEncryptedMessage#12bcbd9a encr_message:EncryptedMessage qts:int = Update;
264updateEncryptedChatTyping#1710f156 chat_id:int = Update;
265updateEncryption#b4a2e88d encr_chat:EncryptedChat date:int = Update;
266updateEncryptedMessagesRead#38fe25b7 chat_id:int max_date:int date:int = Update;
267updateChatParticipantAdd#ea4b0e5c chat_id:int user_id:int inviter_id:int date:int version:int = Update;
268updateChatParticipantDelete#6e5f8c22 chat_id:int user_id:int version:int = Update;
269updateDcOptions#8e5e9873 dc_options:Vector<DcOption> = Update;
270updateUserBlocked#80ece81a user_id:int blocked:Bool = Update;
271updateNotifySettings#bec268ef notify_peer:NotifyPeer notify_settings:PeerNotifySettings = Update;
272updateServiceNotification#382dd3e4 type:string message_text:string media:MessageMedia popup:Bool = Update;
273updatePrivacy#ee3b272a key:PrivacyKey rules:Vector<PrivacyRule> = Update;
274updateUserPhone#12b9417b user_id:int phone:string = Update;
275updateReadHistoryInbox#9961fd5c peer:Peer max_id:int pts:int pts_count:int = Update;
276updateReadHistoryOutbox#2f2f21bf peer:Peer max_id:int pts:int pts_count:int = Update;
277updateWebPage#7f891213 webpage:WebPage pts:int pts_count:int = Update;
278updateReadMessagesContents#68c13933 messages:Vector<int> pts:int pts_count:int = Update;
279updateChannelTooLong#60946422 channel_id:int = Update;
280updateChannel#b6d45656 channel_id:int = Update;
281updateChannelGroup#c36c1e3c channel_id:int group:MessageGroup = Update;
282updateNewChannelMessage#62ba04d9 message:Message channel_pts:int channel_pts_count:int = Update;
283updateReadChannelInbox#4214f37f channel_id:int max_id:int = Update;
284updateDeleteChannelMessages#c37521c9 channel_id:int messages:Vector<int> channel_pts:int channel_pts_count:int = Update;
285updateChannelMessageViews#98a12b4b channel_id:int id:int views:int = Update;
286updateChatAdmins#6e947941 chat_id:int enabled:Bool version:int = Update;
287updateChatParticipantAdmin#b6901959 chat_id:int user_id:int is_admin:Bool version:int = Update;
288updateNewStickerSet#688a30aa stickerset:messages.StickerSet = Update;
289updateStickerSetsOrder#f0dfb451 order:Vector<long> = Update;
290updateStickerSets#43ae3dec = Update;
291updateSavedGifs#9375341e = Update;
292updateBotInlineQuery#c01eea08 query_id:long user_id:int query:string offset:string = Update;
293
294updates.state#a56c2a3e pts:int qts:int date:int seq:int unread_count:int = updates.State;
295
296updates.differenceEmpty#5d75a138 date:int seq:int = updates.Difference;
297updates.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;
298updates.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;
299
300updatesTooLong#e317af7e = Updates;
301updateShortMessage#13e4deaa flags:# unread:flags.0?true out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true id:int user_id:int message:string pts:int pts_count:int date:int fwd_from_id:flags.2?Peer fwd_date:flags.2?int via_bot_id:flags.11?int reply_to_msg_id:flags.3?int entities:flags.7?Vector<MessageEntity> = Updates;
302updateShortChatMessage#248afa62 flags:# unread:flags.0?true out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true id:int from_id:int chat_id:int message:string pts:int pts_count:int date:int fwd_from_id:flags.2?Peer fwd_date:flags.2?int via_bot_id:flags.11?int reply_to_msg_id:flags.3?int entities:flags.7?Vector<MessageEntity> = Updates;
303updateShort#78d4dec1 update:Update date:int = Updates;
304updatesCombined#725b04c3 updates:Vector<Update> users:Vector<User> chats:Vector<Chat> date:int seq_start:int seq:int = Updates;
305updates#74ae4240 updates:Vector<Update> users:Vector<User> chats:Vector<Chat> date:int seq:int = Updates;
306updateShortSentMessage#11f1331c flags:# unread:flags.0?true out:flags.1?true id:int pts:int pts_count:int date:int media:flags.9?MessageMedia entities:flags.7?Vector<MessageEntity> = Updates;
307
308photos.photos#8dca6aa5 photos:Vector<Photo> users:Vector<User> = photos.Photos;
309photos.photosSlice#15051f54 count:int photos:Vector<Photo> users:Vector<User> = photos.Photos;
310
311photos.photo#20212ca8 photo:Photo users:Vector<User> = photos.Photo;
312
313upload.file#96a18d5 type:storage.FileType mtime:int bytes:bytes = upload.File;
314
315dcOption#5d8c6cc flags:# ipv6:flags.0?true media_only:flags.1?true id:int ip_address:string port:int = DcOption;
316
317config#6bbc5f8 date:int expires:int test_mode:Bool this_dc:int dc_options:Vector<DcOption> chat_size_max:int megagroup_size_max:int forwarded_count_max:int online_update_period_ms:int offline_blur_timeout_ms:int offline_idle_timeout_ms:int online_cloud_timeout_ms:int notify_cloud_delay_ms:int notify_default_delay_ms:int chat_big_size:int push_chat_period_ms:int push_chat_limit:int saved_gifs_limit:int disabled_features:Vector<DisabledFeature> = Config;
318
319nearestDc#8e1a1775 country:string this_dc:int nearest_dc:int = NearestDc;
320
321help.appUpdate#8987f311 id:int critical:Bool url:string text:string = help.AppUpdate;
322help.noAppUpdate#c45a6536 = help.AppUpdate;
323
324help.inviteText#18cb9f78 message:string = help.InviteText;
325
326encryptedChatEmpty#ab7ec0a0 id:int = EncryptedChat;
327encryptedChatWaiting#3bf703dc id:int access_hash:long date:int admin_id:int participant_id:int = EncryptedChat;
328encryptedChatRequested#c878527e id:int access_hash:long date:int admin_id:int participant_id:int g_a:bytes = EncryptedChat;
329encryptedChat#fa56ce36 id:int access_hash:long date:int admin_id:int participant_id:int g_a_or_b:bytes key_fingerprint:long = EncryptedChat;
330encryptedChatDiscarded#13d6dd27 id:int = EncryptedChat;
331
332inputEncryptedChat#f141b5e1 chat_id:int access_hash:long = InputEncryptedChat;
333
334encryptedFileEmpty#c21f497e = EncryptedFile;
335encryptedFile#4a70994c id:long access_hash:long size:int dc_id:int key_fingerprint:int = EncryptedFile;
336
337inputEncryptedFileEmpty#1837c364 = InputEncryptedFile;
338inputEncryptedFileUploaded#64bd0306 id:long parts:int md5_checksum:string key_fingerprint:int = InputEncryptedFile;
339inputEncryptedFile#5a17b5e5 id:long access_hash:long = InputEncryptedFile;
340inputEncryptedFileBigUploaded#2dc173c8 id:long parts:int key_fingerprint:int = InputEncryptedFile;
341
342encryptedMessage#ed18c118 random_id:long chat_id:int date:int bytes:bytes file:EncryptedFile = EncryptedMessage;
343encryptedMessageService#23734b06 random_id:long chat_id:int date:int bytes:bytes = EncryptedMessage;
344
345messages.dhConfigNotModified#c0e24635 random:bytes = messages.DhConfig;
346messages.dhConfig#2c221edd g:int p:bytes version:int random:bytes = messages.DhConfig;
347
348messages.sentEncryptedMessage#560f8935 date:int = messages.SentEncryptedMessage;
349messages.sentEncryptedFile#9493ff32 date:int file:EncryptedFile = messages.SentEncryptedMessage;
350
351inputAudioEmpty#d95adc84 = InputAudio;
352inputAudio#77d440ff id:long access_hash:long = InputAudio;
353
354inputDocumentEmpty#72f0eaae = InputDocument;
355inputDocument#18798952 id:long access_hash:long = InputDocument;
356
357audioEmpty#586988d8 id:long = Audio;
358audio#f9e35055 id:long access_hash:long date:int duration:int mime_type:string size:int dc_id:int = Audio;
359
360documentEmpty#36f8c871 id:long = Document;
361document#f9a39f4f id:long access_hash:long date:int mime_type:string size:int thumb:PhotoSize dc_id:int attributes:Vector<DocumentAttribute> = Document;
362
363help.support#17c6b5f6 phone_number:string user:User = help.Support;
364
365notifyPeer#9fd40bd8 peer:Peer = NotifyPeer;
366notifyUsers#b4c83b4c = NotifyPeer;
367notifyChats#c007cec3 = NotifyPeer;
368notifyAll#74d07c60 = NotifyPeer;
369
370sendMessageTypingAction#16bf744e = SendMessageAction;
371sendMessageCancelAction#fd5ec8f5 = SendMessageAction;
372sendMessageRecordVideoAction#a187d66f = SendMessageAction;
373sendMessageUploadVideoAction#e9763aec progress:int = SendMessageAction;
374sendMessageRecordAudioAction#d52f73f7 = SendMessageAction;
375sendMessageUploadAudioAction#f351d7ab progress:int = SendMessageAction;
376sendMessageUploadPhotoAction#d1d34a26 progress:int = SendMessageAction;
377sendMessageUploadDocumentAction#aa0cd9e4 progress:int = SendMessageAction;
378sendMessageGeoLocationAction#176f8ba1 = SendMessageAction;
379sendMessageChooseContactAction#628cbc6f = SendMessageAction;
380
381contacts.found#1aa1f784 results:Vector<Peer> chats:Vector<Chat> users:Vector<User> = contacts.Found;
382
383inputPrivacyKeyStatusTimestamp#4f96cb18 = InputPrivacyKey;
384
385privacyKeyStatusTimestamp#bc2eab30 = PrivacyKey;
386
387inputPrivacyValueAllowContacts#d09e07b = InputPrivacyRule;
388inputPrivacyValueAllowAll#184b35ce = InputPrivacyRule;
389inputPrivacyValueAllowUsers#131cc67f users:Vector<InputUser> = InputPrivacyRule;
390inputPrivacyValueDisallowContacts#ba52007 = InputPrivacyRule;
391inputPrivacyValueDisallowAll#d66b66c9 = InputPrivacyRule;
392inputPrivacyValueDisallowUsers#90110467 users:Vector<InputUser> = InputPrivacyRule;
393
394privacyValueAllowContacts#fffe1bac = PrivacyRule;
395privacyValueAllowAll#65427b82 = PrivacyRule;
396privacyValueAllowUsers#4d5bbe0c users:Vector<int> = PrivacyRule;
397privacyValueDisallowContacts#f888fa1a = PrivacyRule;
398privacyValueDisallowAll#8b73e763 = PrivacyRule;
399privacyValueDisallowUsers#c7f49b7 users:Vector<int> = PrivacyRule;
400
401account.privacyRules#554abb6f rules:Vector<PrivacyRule> users:Vector<User> = account.PrivacyRules;
402
403accountDaysTTL#b8d0afdf days:int = AccountDaysTTL;
404
405account.sentChangePhoneCode#a4f58c4c phone_code_hash:string send_call_timeout:int = account.SentChangePhoneCode;
406
407documentAttributeImageSize#6c37c15c w:int h:int = DocumentAttribute;
408documentAttributeAnimated#11b58939 = DocumentAttribute;
409documentAttributeSticker#3a556302 alt:string stickerset:InputStickerSet = DocumentAttribute;
410documentAttributeVideo#5910cccb duration:int w:int h:int = DocumentAttribute;
411documentAttributeAudio#ded218e0 duration:int title:string performer:string = DocumentAttribute;
412documentAttributeFilename#15590068 file_name:string = DocumentAttribute;
413
414messages.stickersNotModified#f1749a22 = messages.Stickers;
415messages.stickers#8a8ecd32 hash:string stickers:Vector<Document> = messages.Stickers;
416
417stickerPack#12b299d4 emoticon:string documents:Vector<long> = StickerPack;
418
419messages.allStickersNotModified#e86602c3 = messages.AllStickers;
420messages.allStickers#edfd405f hash:int sets:Vector<StickerSet> = messages.AllStickers;
421
422disabledFeature#ae636f24 feature:string description:string = DisabledFeature;
423
424messages.affectedMessages#84d19185 pts:int pts_count:int = messages.AffectedMessages;
425
426contactLinkUnknown#5f4f9247 = ContactLink;
427contactLinkNone#feedd3ad = ContactLink;
428contactLinkHasPhone#268f3f59 = ContactLink;
429contactLinkContact#d502c2d0 = ContactLink;
430
431webPageEmpty#eb1477e8 id:long = WebPage;
432webPagePending#c586da1c id:long date:int = WebPage;
433webPage#ca820ed7 flags:# id:long url:string display_url:string type:flags.0?string site_name:flags.1?string title:flags.2?string description:flags.3?string photo:flags.4?Photo embed_url:flags.5?string embed_type:flags.5?string embed_width:flags.6?int embed_height:flags.6?int duration:flags.7?int author:flags.8?string document:flags.9?Document = WebPage;
434
435authorization#7bf2e6f6 hash:long flags:int device_model:string platform:string system_version:string api_id:int app_name:string app_version:string date_created:int date_active:int ip:string country:string region:string = Authorization;
436
437account.authorizations#1250abde authorizations:Vector<Authorization> = account.Authorizations;
438
439account.noPassword#96dabc18 new_salt:bytes email_unconfirmed_pattern:string = account.Password;
440account.password#7c18141c current_salt:bytes new_salt:bytes hint:string has_recovery:Bool email_unconfirmed_pattern:string = account.Password;
441
442account.passwordSettings#b7b72ab3 email:string = account.PasswordSettings;
443
444account.passwordInputSettings#bcfc532c flags:# new_salt:flags.0?bytes new_password_hash:flags.0?bytes hint:flags.0?string email:flags.1?string = account.PasswordInputSettings;
445
446auth.passwordRecovery#137948a5 email_pattern:string = auth.PasswordRecovery;
447
448receivedNotifyMessage#a384b779 id:int flags:int = ReceivedNotifyMessage;
449
450chatInviteEmpty#69df3769 = ExportedChatInvite;
451chatInviteExported#fc2e05bc link:string = ExportedChatInvite;
452
453chatInviteAlready#5a686d7c chat:Chat = ChatInvite;
454chatInvite#93e99b60 flags:# channel:flags.0?true broadcast:flags.1?true public_:flags.2?true megagroup:flags.3?true title:string = ChatInvite;
455
456inputStickerSetEmpty#ffb62b95 = InputStickerSet;
457inputStickerSetID#9de7a269 id:long access_hash:long = InputStickerSet;
458inputStickerSetShortName#861cc8a0 short_name:string = InputStickerSet;
459
460stickerSet#cd303b41 flags:# installed:flags.0?true disabled:flags.1?true official:flags.2?true id:long access_hash:long title:string short_name:string count:int hash:int = StickerSet;
461
462messages.stickerSet#b60a24a6 set:StickerSet packs:Vector<StickerPack> documents:Vector<Document> = messages.StickerSet;
463
464botCommand#c27ac8c7 command:string description:string = BotCommand;
465
466botInfoEmpty#bb2e37ce = BotInfo;
467botInfo#9cf585d user_id:int version:int share_text:string description:string commands:Vector<BotCommand> = BotInfo;
468
469keyboardButton#a2fa4880 text:string = KeyboardButton;
470
471keyboardButtonRow#77608b83 buttons:Vector<KeyboardButton> = KeyboardButtonRow;
472
473replyKeyboardHide#a03e5b85 flags:# selective:flags.2?true = ReplyMarkup;
474replyKeyboardForceReply#f4108aa0 flags:# single_use:flags.1?true selective:flags.2?true = ReplyMarkup;
475replyKeyboardMarkup#3502758c flags:# resize:flags.0?true single_use:flags.1?true selective:flags.2?true rows:Vector<KeyboardButtonRow> = ReplyMarkup;
476
477help.appChangelogEmpty#af7e0394 = help.AppChangelog;
478help.appChangelog#4668e6bd text:string = help.AppChangelog;
479
480messageEntityUnknown#bb92ba95 offset:int length:int = MessageEntity;
481messageEntityMention#fa04579d offset:int length:int = MessageEntity;
482messageEntityHashtag#6f635b0d offset:int length:int = MessageEntity;
483messageEntityBotCommand#6cef8ac7 offset:int length:int = MessageEntity;
484messageEntityUrl#6ed02538 offset:int length:int = MessageEntity;
485messageEntityEmail#64e475c2 offset:int length:int = MessageEntity;
486messageEntityBold#bd610bc9 offset:int length:int = MessageEntity;
487messageEntityItalic#826f8b60 offset:int length:int = MessageEntity;
488messageEntityCode#28a20571 offset:int length:int = MessageEntity;
489messageEntityPre#73924be0 offset:int length:int language:string = MessageEntity;
490messageEntityTextUrl#76a6d327 offset:int length:int url:string = MessageEntity;
491
492inputChannelEmpty#ee8c1e86 = InputChannel;
493inputChannel#afeb712e channel_id:int access_hash:long = InputChannel;
494
495contacts.resolvedPeer#7f077ad9 peer:Peer chats:Vector<Chat> users:Vector<User> = contacts.ResolvedPeer;
496
497messageRange#ae30253 min_id:int max_id:int = MessageRange;
498
499messageGroup#e8346f53 min_id:int max_id:int count:int date:int = MessageGroup;
500
501updates.channelDifferenceEmpty#3e11affb flags:# final:flags.0?true channel_pts:int timeout:flags.1?int = updates.ChannelDifference;
502updates.channelDifferenceTooLong#5e167646 flags:# final:flags.0?true channel_pts:int timeout:flags.1?int top_message:int top_important_message:int read_inbox_max_id:int unread_count:int unread_important_count:int messages:Vector<Message> chats:Vector<Chat> users:Vector<User> = updates.ChannelDifference;
503updates.channelDifference#2064674e flags:# final:flags.0?true channel_pts:int timeout:flags.1?int new_messages:Vector<Message> other_updates:Vector<Update> chats:Vector<Chat> users:Vector<User> = updates.ChannelDifference;
504
505channelMessagesFilterEmpty#94d42ee7 = ChannelMessagesFilter;
506channelMessagesFilter#cd77d957 flags:# important_only:flags.0?true exclude_new_messages:flags.1?true ranges:Vector<MessageRange> = ChannelMessagesFilter;
507channelMessagesFilterCollapsed#fa01232e = ChannelMessagesFilter;
508
509channelParticipant#15ebac1d user_id:int date:int = ChannelParticipant;
510channelParticipantSelf#a3289a6d user_id:int inviter_id:int date:int = ChannelParticipant;
511channelParticipantModerator#91057fef user_id:int inviter_id:int date:int = ChannelParticipant;
512channelParticipantEditor#98192d61 user_id:int inviter_id:int date:int = ChannelParticipant;
513channelParticipantKicked#8cc5e69a user_id:int kicked_by:int date:int = ChannelParticipant;
514channelParticipantCreator#e3e2e1f9 user_id:int = ChannelParticipant;
515
516channelParticipantsRecent#de3f3c79 = ChannelParticipantsFilter;
517channelParticipantsAdmins#b4608969 = ChannelParticipantsFilter;
518channelParticipantsKicked#3c37bb7a = ChannelParticipantsFilter;
519channelParticipantsBots#b0d1865b = ChannelParticipantsFilter;
520
521channelRoleEmpty#b285a0c6 = ChannelParticipantRole;
522channelRoleModerator#9618d975 = ChannelParticipantRole;
523channelRoleEditor#820bfe8c = ChannelParticipantRole;
524
525channels.channelParticipants#f56ee2a8 count:int participants:Vector<ChannelParticipant> users:Vector<User> = channels.ChannelParticipants;
526
527channels.channelParticipant#d0d9b163 participant:ChannelParticipant users:Vector<User> = channels.ChannelParticipant;
528
529help.termsOfService#f1ee3e90 text:string = help.TermsOfService;
530
531foundGif#162ecc1f url:string thumb_url:string content_url:string content_type:string w:int h:int = FoundGif;
532foundGifCached#9c750409 url:string photo:Photo document:Document = FoundGif;
533
534messages.foundGifs#450a1c0a next_offset:int results:Vector<FoundGif> = messages.FoundGifs;
535
536messages.savedGifsNotModified#e8025ca2 = messages.SavedGifs;
537messages.savedGifs#2e0709a5 hash:int gifs:Vector<Document> = messages.SavedGifs;
538
539inputBotInlineMessageMediaAuto#2e43e587 caption:string = InputBotInlineMessage;
540inputBotInlineMessageText#adf0df71 flags:# no_webpage:flags.0?true message:string entities:flags.1?Vector<MessageEntity> = InputBotInlineMessage;
541
542inputBotInlineResult#2cbbe15a flags:# id:string type:string title:flags.1?string description:flags.2?string url:flags.3?string thumb_url:flags.4?string content_url:flags.5?string content_type:flags.5?string w:flags.6?int h:flags.6?int duration:flags.7?int send_message:InputBotInlineMessage = InputBotInlineResult;
543
544botInlineMessageMediaAuto#fc56e87d caption:string = BotInlineMessage;
545botInlineMessageText#a56197a9 flags:# no_webpage:flags.0?true message:string entities:flags.1?Vector<MessageEntity> = BotInlineMessage;
546
547botInlineMediaResultDocument#f897d33e id:string type:string document:Document send_message:BotInlineMessage = BotInlineResult;
548botInlineMediaResultPhoto#c5528587 id:string type:string photo:Photo send_message:BotInlineMessage = BotInlineResult;
549botInlineResult#9bebaeb9 flags:# id:string type:string title:flags.1?string description:flags.2?string url:flags.3?string thumb_url:flags.4?string content_url:flags.5?string content_type:flags.5?string w:flags.6?int h:flags.6?int duration:flags.7?int send_message:BotInlineMessage = BotInlineResult;
550
551messages.botResults#1170b0a3 flags:# gallery:flags.0?true query_id:long next_offset:flags.1?string results:Vector<BotInlineResult> = messages.BotResults;
552
553---functions---
554
555invokeAfterMsg#cb9f372d {X:Type} msg_id:long query:!X = X;
556invokeAfterMsgs#3dc4b4f0 {X:Type} msg_ids:Vector<long> query:!X = X;
557initConnection#69796de9 {X:Type} api_id:int device_model:string system_version:string app_version:string lang_code:string query:!X = X;
558invokeWithLayer#da9b0d0d {X:Type} layer:int query:!X = X;
559invokeWithoutUpdates#bf9459b7 {X:Type} query:!X = X;
560
561auth.checkPhone#6fe51dfb phone_number:string = auth.CheckedPhone;
562auth.sendCode#768d5f4d phone_number:string sms_type:int api_id:int api_hash:string lang_code:string = auth.SentCode;
563auth.sendCall#3c51564 phone_number:string phone_code_hash:string = Bool;
564auth.signUp#1b067634 phone_number:string phone_code_hash:string phone_code:string first_name:string last_name:string = auth.Authorization;
565auth.signIn#bcd51581 phone_number:string phone_code_hash:string phone_code:string = auth.Authorization;
566auth.logOut#5717da40 = Bool;
567auth.resetAuthorizations#9fab0d1a = Bool;
568auth.sendInvites#771c1d97 phone_numbers:Vector<string> message:string = Bool;
569auth.exportAuthorization#e5bfffcd dc_id:int = auth.ExportedAuthorization;
570auth.importAuthorization#e3ef9613 id:int bytes:bytes = auth.Authorization;
571auth.bindTempAuthKey#cdd42a05 perm_auth_key_id:long nonce:long expires_at:int encrypted_message:bytes = Bool;
572auth.sendSms#da9f3e8 phone_number:string phone_code_hash:string = Bool;
573auth.importBotAuthorization#67a3ff2c flags:int api_id:int api_hash:string bot_auth_token:string = auth.Authorization;
574auth.checkPassword#a63011e password_hash:bytes = auth.Authorization;
575auth.requestPasswordRecovery#d897bc66 = auth.PasswordRecovery;
576auth.recoverPassword#4ea56e92 code:string = auth.Authorization;
577
578account.registerDevice#446c712c token_type:int token:string device_model:string system_version:string app_version:string app_sandbox:Bool lang_code:string = Bool;
579account.unregisterDevice#65c55b40 token_type:int token:string = Bool;
580account.updateNotifySettings#84be5b93 peer:InputNotifyPeer settings:InputPeerNotifySettings = Bool;
581account.getNotifySettings#12b3ad31 peer:InputNotifyPeer = PeerNotifySettings;
582account.resetNotifySettings#db7e1747 = Bool;
583account.updateProfile#f0888d68 first_name:string last_name:string = User;
584account.updateStatus#6628562c offline:Bool = Bool;
585account.getWallPapers#c04cfac2 = Vector<WallPaper>;
586account.reportPeer#ae189d5f peer:InputPeer reason:ReportReason = Bool;
587account.checkUsername#2714d86c username:string = Bool;
588account.updateUsername#3e0bdd7c username:string = User;
589account.getPrivacy#dadbc950 key:InputPrivacyKey = account.PrivacyRules;
590account.setPrivacy#c9f81ce8 key:InputPrivacyKey rules:Vector<InputPrivacyRule> = account.PrivacyRules;
591account.deleteAccount#418d4e0b reason:string = Bool;
592account.getAccountTTL#8fc711d = AccountDaysTTL;
593account.setAccountTTL#2442485e ttl:AccountDaysTTL = Bool;
594account.sendChangePhoneCode#a407a8f4 phone_number:string = account.SentChangePhoneCode;
595account.changePhone#70c32edb phone_number:string phone_code_hash:string phone_code:string = User;
596account.updateDeviceLocked#38df3532 period:int = Bool;
597account.getAuthorizations#e320c158 = account.Authorizations;
598account.resetAuthorization#df77f3bc hash:long = Bool;
599account.getPassword#548a30f5 = account.Password;
600account.getPasswordSettings#bc8d11bb current_password_hash:bytes = account.PasswordSettings;
601account.updatePasswordSettings#fa7c4b86 current_password_hash:bytes new_settings:account.PasswordInputSettings = Bool;
602
603users.getUsers#d91a548 id:Vector<InputUser> = Vector<User>;
604users.getFullUser#ca30a5b1 id:InputUser = UserFull;
605
606contacts.getStatuses#c4a353ee = Vector<ContactStatus>;
607contacts.getContacts#22c6aa08 hash:string = contacts.Contacts;
608contacts.importContacts#da30b32d contacts:Vector<InputContact> replace:Bool = contacts.ImportedContacts;
609contacts.getSuggested#cd773428 limit:int = contacts.Suggested;
610contacts.deleteContact#8e953744 id:InputUser = contacts.Link;
611contacts.deleteContacts#59ab389e id:Vector<InputUser> = Bool;
612contacts.block#332b49fc id:InputUser = Bool;
613contacts.unblock#e54100bd id:InputUser = Bool;
614contacts.getBlocked#f57c350f offset:int limit:int = contacts.Blocked;
615contacts.exportCard#84e53737 = Vector<int>;
616contacts.importCard#4fe196fe export_card:Vector<int> = User;
617contacts.search#11f812d8 q:string limit:int = contacts.Found;
618contacts.resolveUsername#f93ccba3 username:string = contacts.ResolvedPeer;
619
620messages.getMessages#4222fa74 id:Vector<int> = messages.Messages;
621messages.getDialogs#6b47f94d offset_date:int offset_id:int offset_peer:InputPeer limit:int = messages.Dialogs;
622messages.getHistory#8a8ec2da peer:InputPeer offset_id:int add_offset:int limit:int max_id:int min_id:int = messages.Messages;
623messages.search#d4569248 flags:# important_only:flags.0?true peer:InputPeer q:string filter:MessagesFilter min_date:int max_date:int offset:int max_id:int limit:int = messages.Messages;
624messages.readHistory#e306d3a peer:InputPeer max_id:int = messages.AffectedMessages;
625messages.deleteHistory#b7c13bd9 peer:InputPeer max_id:int = messages.AffectedHistory;
626messages.deleteMessages#a5f18925 id:Vector<int> = messages.AffectedMessages;
627messages.receivedMessages#5a954c0 max_id:int = Vector<ReceivedNotifyMessage>;
628messages.setTyping#a3825e50 peer:InputPeer action:SendMessageAction = Bool;
629messages.sendMessage#fa88427a flags:# no_webpage:flags.1?true broadcast:flags.4?true peer:InputPeer reply_to_msg_id:flags.0?int message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector<MessageEntity> = Updates;
630messages.sendMedia#c8f16791 flags:# broadcast:flags.4?true peer:InputPeer reply_to_msg_id:flags.0?int media:InputMedia random_id:long reply_markup:flags.2?ReplyMarkup = Updates;
631messages.forwardMessages#708e0195 flags:# broadcast:flags.4?true from_peer:InputPeer id:Vector<int> random_id:Vector<long> to_peer:InputPeer = Updates;
632messages.reportSpam#cf1592db peer:InputPeer = Bool;
633messages.getChats#3c6aa187 id:Vector<int> = messages.Chats;
634messages.getFullChat#3b831c66 chat_id:int = messages.ChatFull;
635messages.editChatTitle#dc452855 chat_id:int title:string = Updates;
636messages.editChatPhoto#ca4c79d8 chat_id:int photo:InputChatPhoto = Updates;
637messages.addChatUser#f9a0aa09 chat_id:int user_id:InputUser fwd_limit:int = Updates;
638messages.deleteChatUser#e0611f16 chat_id:int user_id:InputUser = Updates;
639messages.createChat#9cb126e users:Vector<InputUser> title:string = Updates;
640messages.forwardMessage#33963bf9 peer:InputPeer id:int random_id:long = Updates;
641messages.sendBroadcast#bf73f4da contacts:Vector<InputUser> random_id:Vector<long> message:string media:InputMedia = Updates;
642messages.getDhConfig#26cf8950 version:int random_length:int = messages.DhConfig;
643messages.requestEncryption#f64daf43 user_id:InputUser random_id:int g_a:bytes = EncryptedChat;
644messages.acceptEncryption#3dbc0415 peer:InputEncryptedChat g_b:bytes key_fingerprint:long = EncryptedChat;
645messages.discardEncryption#edd923c5 chat_id:int = Bool;
646messages.setEncryptedTyping#791451ed peer:InputEncryptedChat typing:Bool = Bool;
647messages.readEncryptedHistory#7f4b690a peer:InputEncryptedChat max_date:int = Bool;
648messages.sendEncrypted#a9776773 peer:InputEncryptedChat random_id:long data:bytes = messages.SentEncryptedMessage;
649messages.sendEncryptedFile#9a901b66 peer:InputEncryptedChat random_id:long data:bytes file:InputEncryptedFile = messages.SentEncryptedMessage;
650messages.sendEncryptedService#32d439a4 peer:InputEncryptedChat random_id:long data:bytes = messages.SentEncryptedMessage;
651messages.receivedQueue#55a5bb66 max_qts:int = Vector<long>;
652messages.readMessageContents#36a73f77 id:Vector<int> = messages.AffectedMessages;
653messages.getStickers#ae22e045 emoticon:string hash:string = messages.Stickers;
654messages.getAllStickers#1c9618b1 hash:int = messages.AllStickers;
655messages.getWebPagePreview#25223e24 message:string = MessageMedia;
656messages.exportChatInvite#7d885289 chat_id:int = ExportedChatInvite;
657messages.checkChatInvite#3eadb1bb hash:string = ChatInvite;
658messages.importChatInvite#6c50051c hash:string = Updates;
659messages.getStickerSet#2619a90e stickerset:InputStickerSet = messages.StickerSet;
660messages.installStickerSet#7b30c3a6 stickerset:InputStickerSet disabled:Bool = Bool;
661messages.uninstallStickerSet#f96e55de stickerset:InputStickerSet = Bool;
662messages.startBot#e6df7378 bot:InputUser peer:InputPeer random_id:long start_param:string = Updates;
663messages.getMessagesViews#c4c8a55d peer:InputPeer id:Vector<int> increment:Bool = Vector<int>;
664messages.toggleChatAdmins#ec8bd9e1 chat_id:int enabled:Bool = Updates;
665messages.editChatAdmin#a9e69f2e chat_id:int user_id:InputUser is_admin:Bool = Bool;
666messages.migrateChat#15a3b8e3 chat_id:int = Updates;
667messages.searchGlobal#9e3cacb0 q:string offset_date:int offset_peer:InputPeer offset_id:int limit:int = messages.Messages;
668messages.reorderStickerSets#9fcfbc30 order:Vector<long> = Bool;
669messages.getDocumentByHash#338e2464 sha256:bytes size:int mime_type:string = Document;
670messages.searchGifs#bf9a776b q:string offset:int = messages.FoundGifs;
671messages.getSavedGifs#83bf3d52 hash:int = messages.SavedGifs;
672messages.saveGif#327a30cb id:InputDocument unsave:Bool = Bool;
673messages.getInlineBotResults#9324600d bot:InputUser query:string offset:string = messages.BotResults;
674messages.setInlineBotResults#3f23ec12 flags:# gallery:flags.0?true private:flags.1?true query_id:long results:Vector<InputBotInlineResult> cache_time:int next_offset:flags.2?string = Bool;
675messages.sendInlineBotResult#b16e06fe flags:# broadcast:flags.4?true peer:InputPeer reply_to_msg_id:flags.0?int random_id:long query_id:long id:string = Updates;
676
677updates.getState#edd4882a = updates.State;
678updates.getDifference#a041495 pts:int date:int qts:int = updates.Difference;
679updates.getChannelDifference#bb32d7c0 channel:InputChannel filter:ChannelMessagesFilter pts:int limit:int = updates.ChannelDifference;
680
681photos.updateProfilePhoto#eef579a0 id:InputPhoto crop:InputPhotoCrop = UserProfilePhoto;
682photos.uploadProfilePhoto#d50f9c88 file:InputFile caption:string geo_point:InputGeoPoint crop:InputPhotoCrop = photos.Photo;
683photos.deletePhotos#87cf7f2f id:Vector<InputPhoto> = Vector<long>;
684photos.getUserPhotos#91cd32a8 user_id:InputUser offset:int max_id:long limit:int = photos.Photos;
685
686upload.saveFilePart#b304a621 file_id:long file_part:int bytes:bytes = Bool;
687upload.getFile#e3a6cfb5 location:InputFileLocation offset:int limit:int = upload.File;
688upload.saveBigFilePart#de7b673d file_id:long file_part:int file_total_parts:int bytes:bytes = Bool;
689
690help.getConfig#c4f9186b = Config;
691help.getNearestDc#1fb33026 = NearestDc;
692help.getAppUpdate#c812ac7e device_model:string system_version:string app_version:string lang_code:string = help.AppUpdate;
693help.saveAppLog#6f02f748 events:Vector<InputAppEvent> = Bool;
694help.getInviteText#a4a95186 lang_code:string = help.InviteText;
695help.getSupport#9cdf08cd = help.Support;
696help.getAppChangelog#5bab7fb2 device_model:string system_version:string app_version:string lang_code:string = help.AppChangelog;
697help.getTermsOfService#37d78f83 lang_code:string = help.TermsOfService;
698
699channels.getDialogs#a9d3d249 offset:int limit:int = messages.Dialogs;
700channels.getImportantHistory#ddb929cb channel:InputChannel offset_id:int add_offset:int limit:int max_id:int min_id:int = messages.Messages;
701channels.readHistory#cc104937 channel:InputChannel max_id:int = Bool;
702channels.deleteMessages#84c1fd4e channel:InputChannel id:Vector<int> = messages.AffectedMessages;
703channels.deleteUserHistory#d10dd71b channel:InputChannel user_id:InputUser = messages.AffectedHistory;
704channels.reportSpam#fe087810 channel:InputChannel user_id:InputUser id:Vector<int> = Bool;
705channels.getMessages#93d7b347 channel:InputChannel id:Vector<int> = messages.Messages;
706channels.getParticipants#24d98f92 channel:InputChannel filter:ChannelParticipantsFilter offset:int limit:int = channels.ChannelParticipants;
707channels.getParticipant#546dd7a6 channel:InputChannel user_id:InputUser = channels.ChannelParticipant;
708channels.getChannels#a7f6bbb id:Vector<InputChannel> = messages.Chats;
709channels.getFullChannel#8736a09 channel:InputChannel = messages.ChatFull;
710channels.createChannel#f4893d7f flags:# broadcast:flags.0?true megagroup:flags.1?true title:string about:string = Updates;
711channels.editAbout#13e27f1e channel:InputChannel about:string = Bool;
712channels.editAdmin#eb7611d0 channel:InputChannel user_id:InputUser role:ChannelParticipantRole = Updates;
713channels.editTitle#566decd0 channel:InputChannel title:string = Updates;
714channels.editPhoto#f12e57c9 channel:InputChannel photo:InputChatPhoto = Updates;
715channels.toggleComments#aaa29e88 channel:InputChannel enabled:Bool = Updates;
716channels.checkUsername#10e6bd2c channel:InputChannel username:string = Bool;
717channels.updateUsername#3514b3de channel:InputChannel username:string = Bool;
718channels.joinChannel#24b524c5 channel:InputChannel = Updates;
719channels.leaveChannel#f836aa95 channel:InputChannel = Updates;
720channels.inviteToChannel#199f3a6c channel:InputChannel users:Vector<InputUser> = Updates;
721channels.kickFromChannel#a672de14 channel:InputChannel user_id:InputUser kicked:Bool = Updates;
722channels.exportInvite#c7560885 channel:InputChannel = ExportedChatInvite;
723channels.deleteChannel#c0111fe3 channel:InputChannel = Updates;