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