diff --git a/.gitignore b/.gitignore index 894470cc..96136ec4 100644 --- a/.gitignore +++ b/.gitignore @@ -13,8 +13,8 @@ /dist /package /dual-publish-tmp -/src/tl/builder -/src/tl/parser +#/src/tl/builder +#/src/tl/parser # misc .DS_Store diff --git a/scheme/api.json b/scheme/api.json index 140c9350..8338fc98 100644 --- a/scheme/api.json +++ b/scheme/api.json @@ -1 +1 @@ -{"constructors":[{"id":"-1132882121","predicate":"boolFalse","params":[],"type":"Bool"},{"id":"-1720552011","predicate":"boolTrue","params":[],"type":"Bool"},{"id":"1072550713","predicate":"true","params":[],"type":"True"},{"id":"481674261","predicate":"vector","params":[],"type":"Vector t"},{"id":"-994444869","predicate":"error","params":[{"name":"code","type":"int"},{"name":"text","type":"string"}],"type":"Error"},{"id":"1450380236","predicate":"null","params":[],"type":"Null"},{"id":"2134579434","predicate":"inputPeerEmpty","params":[],"type":"InputPeer"},{"id":"2107670217","predicate":"inputPeerSelf","params":[],"type":"InputPeer"},{"id":"900291769","predicate":"inputPeerChat","params":[{"name":"chat_id","type":"long"}],"type":"InputPeer"},{"id":"-1182234929","predicate":"inputUserEmpty","params":[],"type":"InputUser"},{"id":"-138301121","predicate":"inputUserSelf","params":[],"type":"InputUser"},{"id":"-208488460","predicate":"inputPhoneContact","params":[{"name":"client_id","type":"long"},{"name":"phone","type":"string"},{"name":"first_name","type":"string"},{"name":"last_name","type":"string"}],"type":"InputContact"},{"id":"-181407105","predicate":"inputFile","params":[{"name":"id","type":"long"},{"name":"parts","type":"int"},{"name":"name","type":"string"},{"name":"md5_checksum","type":"string"}],"type":"InputFile"},{"id":"-1771768449","predicate":"inputMediaEmpty","params":[],"type":"InputMedia"},{"id":"505969924","predicate":"inputMediaUploadedPhoto","params":[{"name":"flags","type":"#"},{"name":"spoiler","type":"flags.2?true"},{"name":"file","type":"InputFile"},{"name":"stickers","type":"flags.0?Vector"},{"name":"ttl_seconds","type":"flags.1?int"}],"type":"InputMedia"},{"id":"-1279654347","predicate":"inputMediaPhoto","params":[{"name":"flags","type":"#"},{"name":"spoiler","type":"flags.1?true"},{"name":"id","type":"InputPhoto"},{"name":"ttl_seconds","type":"flags.0?int"}],"type":"InputMedia"},{"id":"-104578748","predicate":"inputMediaGeoPoint","params":[{"name":"geo_point","type":"InputGeoPoint"}],"type":"InputMedia"},{"id":"-122978821","predicate":"inputMediaContact","params":[{"name":"phone_number","type":"string"},{"name":"first_name","type":"string"},{"name":"last_name","type":"string"},{"name":"vcard","type":"string"}],"type":"InputMedia"},{"id":"480546647","predicate":"inputChatPhotoEmpty","params":[],"type":"InputChatPhoto"},{"id":"-1110593856","predicate":"inputChatUploadedPhoto","params":[{"name":"flags","type":"#"},{"name":"file","type":"flags.0?InputFile"},{"name":"video","type":"flags.1?InputFile"},{"name":"video_start_ts","type":"flags.2?double"},{"name":"video_emoji_markup","type":"flags.3?VideoSize"}],"type":"InputChatPhoto"},{"id":"-1991004873","predicate":"inputChatPhoto","params":[{"name":"id","type":"InputPhoto"}],"type":"InputChatPhoto"},{"id":"-457104426","predicate":"inputGeoPointEmpty","params":[],"type":"InputGeoPoint"},{"id":"1210199983","predicate":"inputGeoPoint","params":[{"name":"flags","type":"#"},{"name":"lat","type":"double"},{"name":"long","type":"double"},{"name":"accuracy_radius","type":"flags.0?int"}],"type":"InputGeoPoint"},{"id":"483901197","predicate":"inputPhotoEmpty","params":[],"type":"InputPhoto"},{"id":"1001634122","predicate":"inputPhoto","params":[{"name":"id","type":"long"},{"name":"access_hash","type":"long"},{"name":"file_reference","type":"bytes"}],"type":"InputPhoto"},{"id":"-539317279","predicate":"inputFileLocation","params":[{"name":"volume_id","type":"long"},{"name":"local_id","type":"int"},{"name":"secret","type":"long"},{"name":"file_reference","type":"bytes"}],"type":"InputFileLocation"},{"id":"1498486562","predicate":"peerUser","params":[{"name":"user_id","type":"long"}],"type":"Peer"},{"id":"918946202","predicate":"peerChat","params":[{"name":"chat_id","type":"long"}],"type":"Peer"},{"id":"-1432995067","predicate":"storage.fileUnknown","params":[],"type":"storage.FileType"},{"id":"1086091090","predicate":"storage.filePartial","params":[],"type":"storage.FileType"},{"id":"8322574","predicate":"storage.fileJpeg","params":[],"type":"storage.FileType"},{"id":"-891180321","predicate":"storage.fileGif","params":[],"type":"storage.FileType"},{"id":"172975040","predicate":"storage.filePng","params":[],"type":"storage.FileType"},{"id":"-1373745011","predicate":"storage.filePdf","params":[],"type":"storage.FileType"},{"id":"1384777335","predicate":"storage.fileMp3","params":[],"type":"storage.FileType"},{"id":"1258941372","predicate":"storage.fileMov","params":[],"type":"storage.FileType"},{"id":"-1278304028","predicate":"storage.fileMp4","params":[],"type":"storage.FileType"},{"id":"276907596","predicate":"storage.fileWebp","params":[],"type":"storage.FileType"},{"id":"-742634630","predicate":"userEmpty","params":[{"name":"id","type":"long"}],"type":"User"},{"id":"1326562017","predicate":"userProfilePhotoEmpty","params":[],"type":"UserProfilePhoto"},{"id":"-2100168954","predicate":"userProfilePhoto","params":[{"name":"flags","type":"#"},{"name":"has_video","type":"flags.0?true"},{"name":"personal","type":"flags.2?true"},{"name":"photo_id","type":"long"},{"name":"stripped_thumb","type":"flags.1?bytes"},{"name":"dc_id","type":"int"}],"type":"UserProfilePhoto"},{"id":"164646985","predicate":"userStatusEmpty","params":[],"type":"UserStatus"},{"id":"-306628279","predicate":"userStatusOnline","params":[{"name":"expires","type":"int"}],"type":"UserStatus"},{"id":"9203775","predicate":"userStatusOffline","params":[{"name":"was_online","type":"int"}],"type":"UserStatus"},{"id":"693512293","predicate":"chatEmpty","params":[{"name":"id","type":"long"}],"type":"Chat"},{"id":"1103884886","predicate":"chat","params":[{"name":"flags","type":"#"},{"name":"creator","type":"flags.0?true"},{"name":"left","type":"flags.2?true"},{"name":"deactivated","type":"flags.5?true"},{"name":"call_active","type":"flags.23?true"},{"name":"call_not_empty","type":"flags.24?true"},{"name":"noforwards","type":"flags.25?true"},{"name":"id","type":"long"},{"name":"title","type":"string"},{"name":"photo","type":"ChatPhoto"},{"name":"participants_count","type":"int"},{"name":"date","type":"int"},{"name":"version","type":"int"},{"name":"migrated_to","type":"flags.6?InputChannel"},{"name":"admin_rights","type":"flags.14?ChatAdminRights"},{"name":"default_banned_rights","type":"flags.18?ChatBannedRights"}],"type":"Chat"},{"id":"1704108455","predicate":"chatForbidden","params":[{"name":"id","type":"long"},{"name":"title","type":"string"}],"type":"Chat"},{"id":"-908914376","predicate":"chatFull","params":[{"name":"flags","type":"#"},{"name":"can_set_username","type":"flags.7?true"},{"name":"has_scheduled","type":"flags.8?true"},{"name":"translations_disabled","type":"flags.19?true"},{"name":"id","type":"long"},{"name":"about","type":"string"},{"name":"participants","type":"ChatParticipants"},{"name":"chat_photo","type":"flags.2?Photo"},{"name":"notify_settings","type":"PeerNotifySettings"},{"name":"exported_invite","type":"flags.13?ExportedChatInvite"},{"name":"bot_info","type":"flags.3?Vector"},{"name":"pinned_msg_id","type":"flags.6?int"},{"name":"folder_id","type":"flags.11?int"},{"name":"call","type":"flags.12?InputGroupCall"},{"name":"ttl_period","type":"flags.14?int"},{"name":"groupcall_default_join_as","type":"flags.15?Peer"},{"name":"theme_emoticon","type":"flags.16?string"},{"name":"requests_pending","type":"flags.17?int"},{"name":"recent_requesters","type":"flags.17?Vector"},{"name":"available_reactions","type":"flags.18?ChatReactions"}],"type":"ChatFull"},{"id":"-1070776313","predicate":"chatParticipant","params":[{"name":"user_id","type":"long"},{"name":"inviter_id","type":"long"},{"name":"date","type":"int"}],"type":"ChatParticipant"},{"id":"-2023500831","predicate":"chatParticipantsForbidden","params":[{"name":"flags","type":"#"},{"name":"chat_id","type":"long"},{"name":"self_participant","type":"flags.0?ChatParticipant"}],"type":"ChatParticipants"},{"id":"1018991608","predicate":"chatParticipants","params":[{"name":"chat_id","type":"long"},{"name":"participants","type":"Vector"},{"name":"version","type":"int"}],"type":"ChatParticipants"},{"id":"935395612","predicate":"chatPhotoEmpty","params":[],"type":"ChatPhoto"},{"id":"476978193","predicate":"chatPhoto","params":[{"name":"flags","type":"#"},{"name":"has_video","type":"flags.0?true"},{"name":"photo_id","type":"long"},{"name":"stripped_thumb","type":"flags.1?bytes"},{"name":"dc_id","type":"int"}],"type":"ChatPhoto"},{"id":"-1868117372","predicate":"messageEmpty","params":[{"name":"flags","type":"#"},{"name":"id","type":"int"},{"name":"peer_id","type":"flags.0?Peer"}],"type":"Message"},{"id":"940666592","predicate":"message","params":[{"name":"flags","type":"#"},{"name":"out","type":"flags.1?true"},{"name":"mentioned","type":"flags.4?true"},{"name":"media_unread","type":"flags.5?true"},{"name":"silent","type":"flags.13?true"},{"name":"post","type":"flags.14?true"},{"name":"from_scheduled","type":"flags.18?true"},{"name":"legacy","type":"flags.19?true"},{"name":"edit_hide","type":"flags.21?true"},{"name":"pinned","type":"flags.24?true"},{"name":"noforwards","type":"flags.26?true"},{"name":"id","type":"int"},{"name":"from_id","type":"flags.8?Peer"},{"name":"peer_id","type":"Peer"},{"name":"fwd_from","type":"flags.2?MessageFwdHeader"},{"name":"via_bot_id","type":"flags.11?long"},{"name":"reply_to","type":"flags.3?MessageReplyHeader"},{"name":"date","type":"int"},{"name":"message","type":"string"},{"name":"media","type":"flags.9?MessageMedia"},{"name":"reply_markup","type":"flags.6?ReplyMarkup"},{"name":"entities","type":"flags.7?Vector"},{"name":"views","type":"flags.10?int"},{"name":"forwards","type":"flags.10?int"},{"name":"replies","type":"flags.23?MessageReplies"},{"name":"edit_date","type":"flags.15?int"},{"name":"post_author","type":"flags.16?string"},{"name":"grouped_id","type":"flags.17?long"},{"name":"reactions","type":"flags.20?MessageReactions"},{"name":"restriction_reason","type":"flags.22?Vector"},{"name":"ttl_period","type":"flags.25?int"}],"type":"Message"},{"id":"721967202","predicate":"messageService","params":[{"name":"flags","type":"#"},{"name":"out","type":"flags.1?true"},{"name":"mentioned","type":"flags.4?true"},{"name":"media_unread","type":"flags.5?true"},{"name":"silent","type":"flags.13?true"},{"name":"post","type":"flags.14?true"},{"name":"legacy","type":"flags.19?true"},{"name":"id","type":"int"},{"name":"from_id","type":"flags.8?Peer"},{"name":"peer_id","type":"Peer"},{"name":"reply_to","type":"flags.3?MessageReplyHeader"},{"name":"date","type":"int"},{"name":"action","type":"MessageAction"},{"name":"ttl_period","type":"flags.25?int"}],"type":"Message"},{"id":"1038967584","predicate":"messageMediaEmpty","params":[],"type":"MessageMedia"},{"id":"1766936791","predicate":"messageMediaPhoto","params":[{"name":"flags","type":"#"},{"name":"spoiler","type":"flags.3?true"},{"name":"photo","type":"flags.0?Photo"},{"name":"ttl_seconds","type":"flags.2?int"}],"type":"MessageMedia"},{"id":"1457575028","predicate":"messageMediaGeo","params":[{"name":"geo","type":"GeoPoint"}],"type":"MessageMedia"},{"id":"1882335561","predicate":"messageMediaContact","params":[{"name":"phone_number","type":"string"},{"name":"first_name","type":"string"},{"name":"last_name","type":"string"},{"name":"vcard","type":"string"},{"name":"user_id","type":"long"}],"type":"MessageMedia"},{"id":"-1618676578","predicate":"messageMediaUnsupported","params":[],"type":"MessageMedia"},{"id":"-1230047312","predicate":"messageActionEmpty","params":[],"type":"MessageAction"},{"id":"-1119368275","predicate":"messageActionChatCreate","params":[{"name":"title","type":"string"},{"name":"users","type":"Vector"}],"type":"MessageAction"},{"id":"-1247687078","predicate":"messageActionChatEditTitle","params":[{"name":"title","type":"string"}],"type":"MessageAction"},{"id":"2144015272","predicate":"messageActionChatEditPhoto","params":[{"name":"photo","type":"Photo"}],"type":"MessageAction"},{"id":"-1780220945","predicate":"messageActionChatDeletePhoto","params":[],"type":"MessageAction"},{"id":"365886720","predicate":"messageActionChatAddUser","params":[{"name":"users","type":"Vector"}],"type":"MessageAction"},{"id":"-1539362612","predicate":"messageActionChatDeleteUser","params":[{"name":"user_id","type":"long"}],"type":"MessageAction"},{"id":"-712374074","predicate":"dialog","params":[{"name":"flags","type":"#"},{"name":"pinned","type":"flags.2?true"},{"name":"unread_mark","type":"flags.3?true"},{"name":"peer","type":"Peer"},{"name":"top_message","type":"int"},{"name":"read_inbox_max_id","type":"int"},{"name":"read_outbox_max_id","type":"int"},{"name":"unread_count","type":"int"},{"name":"unread_mentions_count","type":"int"},{"name":"unread_reactions_count","type":"int"},{"name":"notify_settings","type":"PeerNotifySettings"},{"name":"pts","type":"flags.0?int"},{"name":"draft","type":"flags.1?DraftMessage"},{"name":"folder_id","type":"flags.4?int"},{"name":"ttl_period","type":"flags.5?int"}],"type":"Dialog"},{"id":"590459437","predicate":"photoEmpty","params":[{"name":"id","type":"long"}],"type":"Photo"},{"id":"-82216347","predicate":"photo","params":[{"name":"flags","type":"#"},{"name":"has_stickers","type":"flags.0?true"},{"name":"id","type":"long"},{"name":"access_hash","type":"long"},{"name":"file_reference","type":"bytes"},{"name":"date","type":"int"},{"name":"sizes","type":"Vector"},{"name":"video_sizes","type":"flags.1?Vector"},{"name":"dc_id","type":"int"}],"type":"Photo"},{"id":"236446268","predicate":"photoSizeEmpty","params":[{"name":"type","type":"string"}],"type":"PhotoSize"},{"id":"1976012384","predicate":"photoSize","params":[{"name":"type","type":"string"},{"name":"w","type":"int"},{"name":"h","type":"int"},{"name":"size","type":"int"}],"type":"PhotoSize"},{"id":"35527382","predicate":"photoCachedSize","params":[{"name":"type","type":"string"},{"name":"w","type":"int"},{"name":"h","type":"int"},{"name":"bytes","type":"bytes"}],"type":"PhotoSize"},{"id":"286776671","predicate":"geoPointEmpty","params":[],"type":"GeoPoint"},{"id":"-1297942941","predicate":"geoPoint","params":[{"name":"flags","type":"#"},{"name":"long","type":"double"},{"name":"lat","type":"double"},{"name":"access_hash","type":"long"},{"name":"accuracy_radius","type":"flags.0?int"}],"type":"GeoPoint"},{"id":"1577067778","predicate":"auth.sentCode","params":[{"name":"flags","type":"#"},{"name":"type","type":"auth.SentCodeType"},{"name":"phone_code_hash","type":"string"},{"name":"next_type","type":"flags.1?auth.CodeType"},{"name":"timeout","type":"flags.2?int"}],"type":"auth.SentCode"},{"id":"782418132","predicate":"auth.authorization","params":[{"name":"flags","type":"#"},{"name":"setup_password_required","type":"flags.1?true"},{"name":"otherwise_relogin_days","type":"flags.1?int"},{"name":"tmp_sessions","type":"flags.0?int"},{"name":"future_auth_token","type":"flags.2?bytes"},{"name":"user","type":"User"}],"type":"auth.Authorization"},{"id":"-1271602504","predicate":"auth.exportedAuthorization","params":[{"name":"id","type":"long"},{"name":"bytes","type":"bytes"}],"type":"auth.ExportedAuthorization"},{"id":"-1195615476","predicate":"inputNotifyPeer","params":[{"name":"peer","type":"InputPeer"}],"type":"InputNotifyPeer"},{"id":"423314455","predicate":"inputNotifyUsers","params":[],"type":"InputNotifyPeer"},{"id":"1251338318","predicate":"inputNotifyChats","params":[],"type":"InputNotifyPeer"},{"id":"-551616469","predicate":"inputPeerNotifySettings","params":[{"name":"flags","type":"#"},{"name":"show_previews","type":"flags.0?Bool"},{"name":"silent","type":"flags.1?Bool"},{"name":"mute_until","type":"flags.2?int"},{"name":"sound","type":"flags.3?NotificationSound"}],"type":"InputPeerNotifySettings"},{"id":"-1472527322","predicate":"peerNotifySettings","params":[{"name":"flags","type":"#"},{"name":"show_previews","type":"flags.0?Bool"},{"name":"silent","type":"flags.1?Bool"},{"name":"mute_until","type":"flags.2?int"},{"name":"ios_sound","type":"flags.3?NotificationSound"},{"name":"android_sound","type":"flags.4?NotificationSound"},{"name":"other_sound","type":"flags.5?NotificationSound"}],"type":"PeerNotifySettings"},{"id":"-1525149427","predicate":"peerSettings","params":[{"name":"flags","type":"#"},{"name":"report_spam","type":"flags.0?true"},{"name":"add_contact","type":"flags.1?true"},{"name":"block_contact","type":"flags.2?true"},{"name":"share_contact","type":"flags.3?true"},{"name":"need_contacts_exception","type":"flags.4?true"},{"name":"report_geo","type":"flags.5?true"},{"name":"autoarchived","type":"flags.7?true"},{"name":"invite_members","type":"flags.8?true"},{"name":"request_chat_broadcast","type":"flags.10?true"},{"name":"geo_distance","type":"flags.6?int"},{"name":"request_chat_title","type":"flags.9?string"},{"name":"request_chat_date","type":"flags.9?int"}],"type":"PeerSettings"},{"id":"-1539849235","predicate":"wallPaper","params":[{"name":"id","type":"long"},{"name":"flags","type":"#"},{"name":"creator","type":"flags.0?true"},{"name":"default","type":"flags.1?true"},{"name":"pattern","type":"flags.3?true"},{"name":"dark","type":"flags.4?true"},{"name":"access_hash","type":"long"},{"name":"slug","type":"string"},{"name":"document","type":"Document"},{"name":"settings","type":"flags.2?WallPaperSettings"}],"type":"WallPaper"},{"id":"1490799288","predicate":"inputReportReasonSpam","params":[],"type":"ReportReason"},{"id":"505595789","predicate":"inputReportReasonViolence","params":[],"type":"ReportReason"},{"id":"777640226","predicate":"inputReportReasonPornography","params":[],"type":"ReportReason"},{"id":"-1376497949","predicate":"inputReportReasonChildAbuse","params":[],"type":"ReportReason"},{"id":"-1041980751","predicate":"inputReportReasonOther","params":[],"type":"ReportReason"},{"id":"-1813324973","predicate":"userFull","params":[{"name":"flags","type":"#"},{"name":"blocked","type":"flags.0?true"},{"name":"phone_calls_available","type":"flags.4?true"},{"name":"phone_calls_private","type":"flags.5?true"},{"name":"can_pin_message","type":"flags.7?true"},{"name":"has_scheduled","type":"flags.12?true"},{"name":"video_calls_available","type":"flags.13?true"},{"name":"voice_messages_forbidden","type":"flags.20?true"},{"name":"translations_disabled","type":"flags.23?true"},{"name":"id","type":"long"},{"name":"about","type":"flags.1?string"},{"name":"settings","type":"PeerSettings"},{"name":"personal_photo","type":"flags.21?Photo"},{"name":"profile_photo","type":"flags.2?Photo"},{"name":"fallback_photo","type":"flags.22?Photo"},{"name":"notify_settings","type":"PeerNotifySettings"},{"name":"bot_info","type":"flags.3?BotInfo"},{"name":"pinned_msg_id","type":"flags.6?int"},{"name":"common_chats_count","type":"int"},{"name":"folder_id","type":"flags.11?int"},{"name":"ttl_period","type":"flags.14?int"},{"name":"theme_emoticon","type":"flags.15?string"},{"name":"private_forward_name","type":"flags.16?string"},{"name":"bot_group_admin_rights","type":"flags.17?ChatAdminRights"},{"name":"bot_broadcast_admin_rights","type":"flags.18?ChatAdminRights"},{"name":"premium_gifts","type":"flags.19?Vector"},{"name":"wallpaper","type":"flags.24?WallPaper"}],"type":"UserFull"},{"id":"341499403","predicate":"contact","params":[{"name":"user_id","type":"long"},{"name":"mutual","type":"Bool"}],"type":"Contact"},{"id":"-1052885936","predicate":"importedContact","params":[{"name":"user_id","type":"long"},{"name":"client_id","type":"long"}],"type":"ImportedContact"},{"id":"383348795","predicate":"contactStatus","params":[{"name":"user_id","type":"long"},{"name":"status","type":"UserStatus"}],"type":"ContactStatus"},{"id":"-1219778094","predicate":"contacts.contactsNotModified","params":[],"type":"contacts.Contacts"},{"id":"-353862078","predicate":"contacts.contacts","params":[{"name":"contacts","type":"Vector"},{"name":"saved_count","type":"int"},{"name":"users","type":"Vector"}],"type":"contacts.Contacts"},{"id":"2010127419","predicate":"contacts.importedContacts","params":[{"name":"imported","type":"Vector"},{"name":"popular_invites","type":"Vector"},{"name":"retry_contacts","type":"Vector"},{"name":"users","type":"Vector"}],"type":"contacts.ImportedContacts"},{"id":"182326673","predicate":"contacts.blocked","params":[{"name":"blocked","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"contacts.Blocked"},{"id":"-513392236","predicate":"contacts.blockedSlice","params":[{"name":"count","type":"int"},{"name":"blocked","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"contacts.Blocked"},{"id":"364538944","predicate":"messages.dialogs","params":[{"name":"dialogs","type":"Vector"},{"name":"messages","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"messages.Dialogs"},{"id":"1910543603","predicate":"messages.dialogsSlice","params":[{"name":"count","type":"int"},{"name":"dialogs","type":"Vector"},{"name":"messages","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"messages.Dialogs"},{"id":"-1938715001","predicate":"messages.messages","params":[{"name":"messages","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"messages.Messages"},{"id":"978610270","predicate":"messages.messagesSlice","params":[{"name":"flags","type":"#"},{"name":"inexact","type":"flags.1?true"},{"name":"count","type":"int"},{"name":"next_rate","type":"flags.0?int"},{"name":"offset_id_offset","type":"flags.2?int"},{"name":"messages","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"messages.Messages"},{"id":"1694474197","predicate":"messages.chats","params":[{"name":"chats","type":"Vector"}],"type":"messages.Chats"},{"id":"-438840932","predicate":"messages.chatFull","params":[{"name":"full_chat","type":"ChatFull"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"messages.ChatFull"},{"id":"-1269012015","predicate":"messages.affectedHistory","params":[{"name":"pts","type":"int"},{"name":"pts_count","type":"int"},{"name":"offset","type":"int"}],"type":"messages.AffectedHistory"},{"id":"1474492012","predicate":"inputMessagesFilterEmpty","params":[],"type":"MessagesFilter"},{"id":"-1777752804","predicate":"inputMessagesFilterPhotos","params":[],"type":"MessagesFilter"},{"id":"-1614803355","predicate":"inputMessagesFilterVideo","params":[],"type":"MessagesFilter"},{"id":"1458172132","predicate":"inputMessagesFilterPhotoVideo","params":[],"type":"MessagesFilter"},{"id":"-1629621880","predicate":"inputMessagesFilterDocument","params":[],"type":"MessagesFilter"},{"id":"2129714567","predicate":"inputMessagesFilterUrl","params":[],"type":"MessagesFilter"},{"id":"-3644025","predicate":"inputMessagesFilterGif","params":[],"type":"MessagesFilter"},{"id":"522914557","predicate":"updateNewMessage","params":[{"name":"message","type":"Message"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"}],"type":"Update"},{"id":"1318109142","predicate":"updateMessageID","params":[{"name":"id","type":"int"},{"name":"random_id","type":"long"}],"type":"Update"},{"id":"-1576161051","predicate":"updateDeleteMessages","params":[{"name":"messages","type":"Vector"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"}],"type":"Update"},{"id":"-1071741569","predicate":"updateUserTyping","params":[{"name":"user_id","type":"long"},{"name":"action","type":"SendMessageAction"}],"type":"Update"},{"id":"-2092401936","predicate":"updateChatUserTyping","params":[{"name":"chat_id","type":"long"},{"name":"from_id","type":"Peer"},{"name":"action","type":"SendMessageAction"}],"type":"Update"},{"id":"125178264","predicate":"updateChatParticipants","params":[{"name":"participants","type":"ChatParticipants"}],"type":"Update"},{"id":"-440534818","predicate":"updateUserStatus","params":[{"name":"user_id","type":"long"},{"name":"status","type":"UserStatus"}],"type":"Update"},{"id":"-1484486364","predicate":"updateUserName","params":[{"name":"user_id","type":"long"},{"name":"first_name","type":"string"},{"name":"last_name","type":"string"},{"name":"usernames","type":"Vector"}],"type":"Update"},{"id":"-1519637954","predicate":"updates.state","params":[{"name":"pts","type":"int"},{"name":"qts","type":"int"},{"name":"date","type":"int"},{"name":"seq","type":"int"},{"name":"unread_count","type":"int"}],"type":"updates.State"},{"id":"1567990072","predicate":"updates.differenceEmpty","params":[{"name":"date","type":"int"},{"name":"seq","type":"int"}],"type":"updates.Difference"},{"id":"16030880","predicate":"updates.difference","params":[{"name":"new_messages","type":"Vector"},{"name":"new_encrypted_messages","type":"Vector"},{"name":"other_updates","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"},{"name":"state","type":"updates.State"}],"type":"updates.Difference"},{"id":"-1459938943","predicate":"updates.differenceSlice","params":[{"name":"new_messages","type":"Vector"},{"name":"new_encrypted_messages","type":"Vector"},{"name":"other_updates","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"},{"name":"intermediate_state","type":"updates.State"}],"type":"updates.Difference"},{"id":"-484987010","predicate":"updatesTooLong","params":[],"type":"Updates"},{"id":"826001400","predicate":"updateShortMessage","params":[{"name":"flags","type":"#"},{"name":"out","type":"flags.1?true"},{"name":"mentioned","type":"flags.4?true"},{"name":"media_unread","type":"flags.5?true"},{"name":"silent","type":"flags.13?true"},{"name":"id","type":"int"},{"name":"user_id","type":"long"},{"name":"message","type":"string"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"},{"name":"date","type":"int"},{"name":"fwd_from","type":"flags.2?MessageFwdHeader"},{"name":"via_bot_id","type":"flags.11?long"},{"name":"reply_to","type":"flags.3?MessageReplyHeader"},{"name":"entities","type":"flags.7?Vector"},{"name":"ttl_period","type":"flags.25?int"}],"type":"Updates"},{"id":"1299050149","predicate":"updateShortChatMessage","params":[{"name":"flags","type":"#"},{"name":"out","type":"flags.1?true"},{"name":"mentioned","type":"flags.4?true"},{"name":"media_unread","type":"flags.5?true"},{"name":"silent","type":"flags.13?true"},{"name":"id","type":"int"},{"name":"from_id","type":"long"},{"name":"chat_id","type":"long"},{"name":"message","type":"string"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"},{"name":"date","type":"int"},{"name":"fwd_from","type":"flags.2?MessageFwdHeader"},{"name":"via_bot_id","type":"flags.11?long"},{"name":"reply_to","type":"flags.3?MessageReplyHeader"},{"name":"entities","type":"flags.7?Vector"},{"name":"ttl_period","type":"flags.25?int"}],"type":"Updates"},{"id":"2027216577","predicate":"updateShort","params":[{"name":"update","type":"Update"},{"name":"date","type":"int"}],"type":"Updates"},{"id":"1918567619","predicate":"updatesCombined","params":[{"name":"updates","type":"Vector"},{"name":"users","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"date","type":"int"},{"name":"seq_start","type":"int"},{"name":"seq","type":"int"}],"type":"Updates"},{"id":"1957577280","predicate":"updates","params":[{"name":"updates","type":"Vector"},{"name":"users","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"date","type":"int"},{"name":"seq","type":"int"}],"type":"Updates"},{"id":"-1916114267","predicate":"photos.photos","params":[{"name":"photos","type":"Vector"},{"name":"users","type":"Vector"}],"type":"photos.Photos"},{"id":"352657236","predicate":"photos.photosSlice","params":[{"name":"count","type":"int"},{"name":"photos","type":"Vector"},{"name":"users","type":"Vector"}],"type":"photos.Photos"},{"id":"539045032","predicate":"photos.photo","params":[{"name":"photo","type":"Photo"},{"name":"users","type":"Vector"}],"type":"photos.Photo"},{"id":"157948117","predicate":"upload.file","params":[{"name":"type","type":"storage.FileType"},{"name":"mtime","type":"int"},{"name":"bytes","type":"bytes"}],"type":"upload.File"},{"id":"414687501","predicate":"dcOption","params":[{"name":"flags","type":"#"},{"name":"ipv6","type":"flags.0?true"},{"name":"media_only","type":"flags.1?true"},{"name":"tcpo_only","type":"flags.2?true"},{"name":"cdn","type":"flags.3?true"},{"name":"static","type":"flags.4?true"},{"name":"this_port_only","type":"flags.5?true"},{"name":"id","type":"int"},{"name":"ip_address","type":"string"},{"name":"port","type":"int"},{"name":"secret","type":"flags.10?bytes"}],"type":"DcOption"},{"id":"-870702050","predicate":"config","params":[{"name":"flags","type":"#"},{"name":"default_p2p_contacts","type":"flags.3?true"},{"name":"preload_featured_stickers","type":"flags.4?true"},{"name":"revoke_pm_inbox","type":"flags.6?true"},{"name":"blocked_mode","type":"flags.8?true"},{"name":"force_try_ipv6","type":"flags.14?true"},{"name":"date","type":"int"},{"name":"expires","type":"int"},{"name":"test_mode","type":"Bool"},{"name":"this_dc","type":"int"},{"name":"dc_options","type":"Vector"},{"name":"dc_txt_domain_name","type":"string"},{"name":"chat_size_max","type":"int"},{"name":"megagroup_size_max","type":"int"},{"name":"forwarded_count_max","type":"int"},{"name":"online_update_period_ms","type":"int"},{"name":"offline_blur_timeout_ms","type":"int"},{"name":"offline_idle_timeout_ms","type":"int"},{"name":"online_cloud_timeout_ms","type":"int"},{"name":"notify_cloud_delay_ms","type":"int"},{"name":"notify_default_delay_ms","type":"int"},{"name":"push_chat_period_ms","type":"int"},{"name":"push_chat_limit","type":"int"},{"name":"edit_time_limit","type":"int"},{"name":"revoke_time_limit","type":"int"},{"name":"revoke_pm_time_limit","type":"int"},{"name":"rating_e_decay","type":"int"},{"name":"stickers_recent_limit","type":"int"},{"name":"channels_read_media_period","type":"int"},{"name":"tmp_sessions","type":"flags.0?int"},{"name":"call_receive_timeout_ms","type":"int"},{"name":"call_ring_timeout_ms","type":"int"},{"name":"call_connect_timeout_ms","type":"int"},{"name":"call_packet_timeout_ms","type":"int"},{"name":"me_url_prefix","type":"string"},{"name":"autoupdate_url_prefix","type":"flags.7?string"},{"name":"gif_search_username","type":"flags.9?string"},{"name":"venue_search_username","type":"flags.10?string"},{"name":"img_search_username","type":"flags.11?string"},{"name":"static_maps_provider","type":"flags.12?string"},{"name":"caption_length_max","type":"int"},{"name":"message_length_max","type":"int"},{"name":"webfile_dc_id","type":"int"},{"name":"suggested_lang_code","type":"flags.2?string"},{"name":"lang_pack_version","type":"flags.2?int"},{"name":"base_lang_pack_version","type":"flags.2?int"},{"name":"reactions_default","type":"flags.15?Reaction"},{"name":"autologin_token","type":"flags.16?string"}],"type":"Config"},{"id":"-1910892683","predicate":"nearestDc","params":[{"name":"country","type":"string"},{"name":"this_dc","type":"int"},{"name":"nearest_dc","type":"int"}],"type":"NearestDc"},{"id":"-860107216","predicate":"help.appUpdate","params":[{"name":"flags","type":"#"},{"name":"can_not_skip","type":"flags.0?true"},{"name":"id","type":"int"},{"name":"version","type":"string"},{"name":"text","type":"string"},{"name":"entities","type":"Vector"},{"name":"document","type":"flags.1?Document"},{"name":"url","type":"flags.2?string"},{"name":"sticker","type":"flags.3?Document"}],"type":"help.AppUpdate"},{"id":"-1000708810","predicate":"help.noAppUpdate","params":[],"type":"help.AppUpdate"},{"id":"415997816","predicate":"help.inviteText","params":[{"name":"message","type":"string"}],"type":"help.InviteText"},{"id":"314359194","predicate":"updateNewEncryptedMessage","params":[{"name":"message","type":"EncryptedMessage"},{"name":"qts","type":"int"}],"type":"Update"},{"id":"386986326","predicate":"updateEncryptedChatTyping","params":[{"name":"chat_id","type":"int"}],"type":"Update"},{"id":"-1264392051","predicate":"updateEncryption","params":[{"name":"chat","type":"EncryptedChat"},{"name":"date","type":"int"}],"type":"Update"},{"id":"956179895","predicate":"updateEncryptedMessagesRead","params":[{"name":"chat_id","type":"int"},{"name":"max_date","type":"int"},{"name":"date","type":"int"}],"type":"Update"},{"id":"-1417756512","predicate":"encryptedChatEmpty","params":[{"name":"id","type":"int"}],"type":"EncryptedChat"},{"id":"1722964307","predicate":"encryptedChatWaiting","params":[{"name":"id","type":"int"},{"name":"access_hash","type":"long"},{"name":"date","type":"int"},{"name":"admin_id","type":"long"},{"name":"participant_id","type":"long"}],"type":"EncryptedChat"},{"id":"1223809356","predicate":"encryptedChatRequested","params":[{"name":"flags","type":"#"},{"name":"folder_id","type":"flags.0?int"},{"name":"id","type":"int"},{"name":"access_hash","type":"long"},{"name":"date","type":"int"},{"name":"admin_id","type":"long"},{"name":"participant_id","type":"long"},{"name":"g_a","type":"bytes"}],"type":"EncryptedChat"},{"id":"1643173063","predicate":"encryptedChat","params":[{"name":"id","type":"int"},{"name":"access_hash","type":"long"},{"name":"date","type":"int"},{"name":"admin_id","type":"long"},{"name":"participant_id","type":"long"},{"name":"g_a_or_b","type":"bytes"},{"name":"key_fingerprint","type":"long"}],"type":"EncryptedChat"},{"id":"505183301","predicate":"encryptedChatDiscarded","params":[{"name":"flags","type":"#"},{"name":"history_deleted","type":"flags.0?true"},{"name":"id","type":"int"}],"type":"EncryptedChat"},{"id":"-247351839","predicate":"inputEncryptedChat","params":[{"name":"chat_id","type":"int"},{"name":"access_hash","type":"long"}],"type":"InputEncryptedChat"},{"id":"-1038136962","predicate":"encryptedFileEmpty","params":[],"type":"EncryptedFile"},{"id":"-1476358952","predicate":"encryptedFile","params":[{"name":"id","type":"long"},{"name":"access_hash","type":"long"},{"name":"size","type":"long"},{"name":"dc_id","type":"int"},{"name":"key_fingerprint","type":"int"}],"type":"EncryptedFile"},{"id":"406307684","predicate":"inputEncryptedFileEmpty","params":[],"type":"InputEncryptedFile"},{"id":"1690108678","predicate":"inputEncryptedFileUploaded","params":[{"name":"id","type":"long"},{"name":"parts","type":"int"},{"name":"md5_checksum","type":"string"},{"name":"key_fingerprint","type":"int"}],"type":"InputEncryptedFile"},{"id":"1511503333","predicate":"inputEncryptedFile","params":[{"name":"id","type":"long"},{"name":"access_hash","type":"long"}],"type":"InputEncryptedFile"},{"id":"-182231723","predicate":"inputEncryptedFileLocation","params":[{"name":"id","type":"long"},{"name":"access_hash","type":"long"}],"type":"InputFileLocation"},{"id":"-317144808","predicate":"encryptedMessage","params":[{"name":"random_id","type":"long"},{"name":"chat_id","type":"int"},{"name":"date","type":"int"},{"name":"bytes","type":"bytes"},{"name":"file","type":"EncryptedFile"}],"type":"EncryptedMessage"},{"id":"594758406","predicate":"encryptedMessageService","params":[{"name":"random_id","type":"long"},{"name":"chat_id","type":"int"},{"name":"date","type":"int"},{"name":"bytes","type":"bytes"}],"type":"EncryptedMessage"},{"id":"-1058912715","predicate":"messages.dhConfigNotModified","params":[{"name":"random","type":"bytes"}],"type":"messages.DhConfig"},{"id":"740433629","predicate":"messages.dhConfig","params":[{"name":"g","type":"int"},{"name":"p","type":"bytes"},{"name":"version","type":"int"},{"name":"random","type":"bytes"}],"type":"messages.DhConfig"},{"id":"1443858741","predicate":"messages.sentEncryptedMessage","params":[{"name":"date","type":"int"}],"type":"messages.SentEncryptedMessage"},{"id":"-1802240206","predicate":"messages.sentEncryptedFile","params":[{"name":"date","type":"int"},{"name":"file","type":"EncryptedFile"}],"type":"messages.SentEncryptedMessage"},{"id":"-95482955","predicate":"inputFileBig","params":[{"name":"id","type":"long"},{"name":"parts","type":"int"},{"name":"name","type":"string"}],"type":"InputFile"},{"id":"767652808","predicate":"inputEncryptedFileBigUploaded","params":[{"name":"id","type":"long"},{"name":"parts","type":"int"},{"name":"key_fingerprint","type":"int"}],"type":"InputEncryptedFile"},{"id":"1037718609","predicate":"updateChatParticipantAdd","params":[{"name":"chat_id","type":"long"},{"name":"user_id","type":"long"},{"name":"inviter_id","type":"long"},{"name":"date","type":"int"},{"name":"version","type":"int"}],"type":"Update"},{"id":"-483443337","predicate":"updateChatParticipantDelete","params":[{"name":"chat_id","type":"long"},{"name":"user_id","type":"long"},{"name":"version","type":"int"}],"type":"Update"},{"id":"-1906403213","predicate":"updateDcOptions","params":[{"name":"dc_options","type":"Vector"}],"type":"Update"},{"id":"1530447553","predicate":"inputMediaUploadedDocument","params":[{"name":"flags","type":"#"},{"name":"nosound_video","type":"flags.3?true"},{"name":"force_file","type":"flags.4?true"},{"name":"spoiler","type":"flags.5?true"},{"name":"file","type":"InputFile"},{"name":"thumb","type":"flags.2?InputFile"},{"name":"mime_type","type":"string"},{"name":"attributes","type":"Vector"},{"name":"stickers","type":"flags.0?Vector"},{"name":"ttl_seconds","type":"flags.1?int"}],"type":"InputMedia"},{"id":"860303448","predicate":"inputMediaDocument","params":[{"name":"flags","type":"#"},{"name":"spoiler","type":"flags.2?true"},{"name":"id","type":"InputDocument"},{"name":"ttl_seconds","type":"flags.0?int"},{"name":"query","type":"flags.1?string"}],"type":"InputMedia"},{"id":"-1666158377","predicate":"messageMediaDocument","params":[{"name":"flags","type":"#"},{"name":"nopremium","type":"flags.3?true"},{"name":"spoiler","type":"flags.4?true"},{"name":"document","type":"flags.0?Document"},{"name":"ttl_seconds","type":"flags.2?int"}],"type":"MessageMedia"},{"id":"1928391342","predicate":"inputDocumentEmpty","params":[],"type":"InputDocument"},{"id":"448771445","predicate":"inputDocument","params":[{"name":"id","type":"long"},{"name":"access_hash","type":"long"},{"name":"file_reference","type":"bytes"}],"type":"InputDocument"},{"id":"-1160743548","predicate":"inputDocumentFileLocation","params":[{"name":"id","type":"long"},{"name":"access_hash","type":"long"},{"name":"file_reference","type":"bytes"},{"name":"thumb_size","type":"string"}],"type":"InputFileLocation"},{"id":"922273905","predicate":"documentEmpty","params":[{"name":"id","type":"long"}],"type":"Document"},{"id":"-1881881384","predicate":"document","params":[{"name":"flags","type":"#"},{"name":"id","type":"long"},{"name":"access_hash","type":"long"},{"name":"file_reference","type":"bytes"},{"name":"date","type":"int"},{"name":"mime_type","type":"string"},{"name":"size","type":"long"},{"name":"thumbs","type":"flags.0?Vector"},{"name":"video_thumbs","type":"flags.1?Vector"},{"name":"dc_id","type":"int"},{"name":"attributes","type":"Vector"}],"type":"Document"},{"id":"398898678","predicate":"help.support","params":[{"name":"phone_number","type":"string"},{"name":"user","type":"User"}],"type":"help.Support"},{"id":"-1613493288","predicate":"notifyPeer","params":[{"name":"peer","type":"Peer"}],"type":"NotifyPeer"},{"id":"-1261946036","predicate":"notifyUsers","params":[],"type":"NotifyPeer"},{"id":"-1073230141","predicate":"notifyChats","params":[],"type":"NotifyPeer"},{"id":"-1094555409","predicate":"updateNotifySettings","params":[{"name":"peer","type":"NotifyPeer"},{"name":"notify_settings","type":"PeerNotifySettings"}],"type":"Update"},{"id":"381645902","predicate":"sendMessageTypingAction","params":[],"type":"SendMessageAction"},{"id":"-44119819","predicate":"sendMessageCancelAction","params":[],"type":"SendMessageAction"},{"id":"-1584933265","predicate":"sendMessageRecordVideoAction","params":[],"type":"SendMessageAction"},{"id":"-378127636","predicate":"sendMessageUploadVideoAction","params":[{"name":"progress","type":"int"}],"type":"SendMessageAction"},{"id":"-718310409","predicate":"sendMessageRecordAudioAction","params":[],"type":"SendMessageAction"},{"id":"-212740181","predicate":"sendMessageUploadAudioAction","params":[{"name":"progress","type":"int"}],"type":"SendMessageAction"},{"id":"-774682074","predicate":"sendMessageUploadPhotoAction","params":[{"name":"progress","type":"int"}],"type":"SendMessageAction"},{"id":"-1441998364","predicate":"sendMessageUploadDocumentAction","params":[{"name":"progress","type":"int"}],"type":"SendMessageAction"},{"id":"393186209","predicate":"sendMessageGeoLocationAction","params":[],"type":"SendMessageAction"},{"id":"1653390447","predicate":"sendMessageChooseContactAction","params":[],"type":"SendMessageAction"},{"id":"-1290580579","predicate":"contacts.found","params":[{"name":"my_results","type":"Vector"},{"name":"results","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"contacts.Found"},{"id":"-337352679","predicate":"updateServiceNotification","params":[{"name":"flags","type":"#"},{"name":"popup","type":"flags.0?true"},{"name":"inbox_date","type":"flags.1?int"},{"name":"type","type":"string"},{"name":"message","type":"string"},{"name":"media","type":"MessageMedia"},{"name":"entities","type":"Vector"}],"type":"Update"},{"id":"-496024847","predicate":"userStatusRecently","params":[],"type":"UserStatus"},{"id":"129960444","predicate":"userStatusLastWeek","params":[],"type":"UserStatus"},{"id":"2011940674","predicate":"userStatusLastMonth","params":[],"type":"UserStatus"},{"id":"-298113238","predicate":"updatePrivacy","params":[{"name":"key","type":"PrivacyKey"},{"name":"rules","type":"Vector"}],"type":"Update"},{"id":"1335282456","predicate":"inputPrivacyKeyStatusTimestamp","params":[],"type":"InputPrivacyKey"},{"id":"-1137792208","predicate":"privacyKeyStatusTimestamp","params":[],"type":"PrivacyKey"},{"id":"218751099","predicate":"inputPrivacyValueAllowContacts","params":[],"type":"InputPrivacyRule"},{"id":"407582158","predicate":"inputPrivacyValueAllowAll","params":[],"type":"InputPrivacyRule"},{"id":"320652927","predicate":"inputPrivacyValueAllowUsers","params":[{"name":"users","type":"Vector"}],"type":"InputPrivacyRule"},{"id":"195371015","predicate":"inputPrivacyValueDisallowContacts","params":[],"type":"InputPrivacyRule"},{"id":"-697604407","predicate":"inputPrivacyValueDisallowAll","params":[],"type":"InputPrivacyRule"},{"id":"-1877932953","predicate":"inputPrivacyValueDisallowUsers","params":[{"name":"users","type":"Vector"}],"type":"InputPrivacyRule"},{"id":"-123988","predicate":"privacyValueAllowContacts","params":[],"type":"PrivacyRule"},{"id":"1698855810","predicate":"privacyValueAllowAll","params":[],"type":"PrivacyRule"},{"id":"-1198497870","predicate":"privacyValueAllowUsers","params":[{"name":"users","type":"Vector"}],"type":"PrivacyRule"},{"id":"-125240806","predicate":"privacyValueDisallowContacts","params":[],"type":"PrivacyRule"},{"id":"-1955338397","predicate":"privacyValueDisallowAll","params":[],"type":"PrivacyRule"},{"id":"-463335103","predicate":"privacyValueDisallowUsers","params":[{"name":"users","type":"Vector"}],"type":"PrivacyRule"},{"id":"1352683077","predicate":"account.privacyRules","params":[{"name":"rules","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"account.PrivacyRules"},{"id":"-1194283041","predicate":"accountDaysTTL","params":[{"name":"days","type":"int"}],"type":"AccountDaysTTL"},{"id":"88680979","predicate":"updateUserPhone","params":[{"name":"user_id","type":"long"},{"name":"phone","type":"string"}],"type":"Update"},{"id":"1815593308","predicate":"documentAttributeImageSize","params":[{"name":"w","type":"int"},{"name":"h","type":"int"}],"type":"DocumentAttribute"},{"id":"297109817","predicate":"documentAttributeAnimated","params":[],"type":"DocumentAttribute"},{"id":"1662637586","predicate":"documentAttributeSticker","params":[{"name":"flags","type":"#"},{"name":"mask","type":"flags.1?true"},{"name":"alt","type":"string"},{"name":"stickerset","type":"InputStickerSet"},{"name":"mask_coords","type":"flags.0?MaskCoords"}],"type":"DocumentAttribute"},{"id":"250621158","predicate":"documentAttributeVideo","params":[{"name":"flags","type":"#"},{"name":"round_message","type":"flags.0?true"},{"name":"supports_streaming","type":"flags.1?true"},{"name":"duration","type":"int"},{"name":"w","type":"int"},{"name":"h","type":"int"}],"type":"DocumentAttribute"},{"id":"-1739392570","predicate":"documentAttributeAudio","params":[{"name":"flags","type":"#"},{"name":"voice","type":"flags.10?true"},{"name":"duration","type":"int"},{"name":"title","type":"flags.0?string"},{"name":"performer","type":"flags.1?string"},{"name":"waveform","type":"flags.2?bytes"}],"type":"DocumentAttribute"},{"id":"358154344","predicate":"documentAttributeFilename","params":[{"name":"file_name","type":"string"}],"type":"DocumentAttribute"},{"id":"-244016606","predicate":"messages.stickersNotModified","params":[],"type":"messages.Stickers"},{"id":"816245886","predicate":"messages.stickers","params":[{"name":"hash","type":"long"},{"name":"stickers","type":"Vector"}],"type":"messages.Stickers"},{"id":"313694676","predicate":"stickerPack","params":[{"name":"emoticon","type":"string"},{"name":"documents","type":"Vector"}],"type":"StickerPack"},{"id":"-395967805","predicate":"messages.allStickersNotModified","params":[],"type":"messages.AllStickers"},{"id":"-843329861","predicate":"messages.allStickers","params":[{"name":"hash","type":"long"},{"name":"sets","type":"Vector"}],"type":"messages.AllStickers"},{"id":"-1667805217","predicate":"updateReadHistoryInbox","params":[{"name":"flags","type":"#"},{"name":"folder_id","type":"flags.0?int"},{"name":"peer","type":"Peer"},{"name":"max_id","type":"int"},{"name":"still_unread_count","type":"int"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"}],"type":"Update"},{"id":"791617983","predicate":"updateReadHistoryOutbox","params":[{"name":"peer","type":"Peer"},{"name":"max_id","type":"int"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"}],"type":"Update"},{"id":"-2066640507","predicate":"messages.affectedMessages","params":[{"name":"pts","type":"int"},{"name":"pts_count","type":"int"}],"type":"messages.AffectedMessages"},{"id":"2139689491","predicate":"updateWebPage","params":[{"name":"webpage","type":"WebPage"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"}],"type":"Update"},{"id":"-350980120","predicate":"webPageEmpty","params":[{"name":"id","type":"long"}],"type":"WebPage"},{"id":"-981018084","predicate":"webPagePending","params":[{"name":"id","type":"long"},{"name":"date","type":"int"}],"type":"WebPage"},{"id":"-392411726","predicate":"webPage","params":[{"name":"flags","type":"#"},{"name":"id","type":"long"},{"name":"url","type":"string"},{"name":"display_url","type":"string"},{"name":"hash","type":"int"},{"name":"type","type":"flags.0?string"},{"name":"site_name","type":"flags.1?string"},{"name":"title","type":"flags.2?string"},{"name":"description","type":"flags.3?string"},{"name":"photo","type":"flags.4?Photo"},{"name":"embed_url","type":"flags.5?string"},{"name":"embed_type","type":"flags.5?string"},{"name":"embed_width","type":"flags.6?int"},{"name":"embed_height","type":"flags.6?int"},{"name":"duration","type":"flags.7?int"},{"name":"author","type":"flags.8?string"},{"name":"document","type":"flags.9?Document"},{"name":"cached_page","type":"flags.10?Page"},{"name":"attributes","type":"flags.12?Vector"}],"type":"WebPage"},{"id":"-1557277184","predicate":"messageMediaWebPage","params":[{"name":"webpage","type":"WebPage"}],"type":"MessageMedia"},{"id":"-1392388579","predicate":"authorization","params":[{"name":"flags","type":"#"},{"name":"current","type":"flags.0?true"},{"name":"official_app","type":"flags.1?true"},{"name":"password_pending","type":"flags.2?true"},{"name":"encrypted_requests_disabled","type":"flags.3?true"},{"name":"call_requests_disabled","type":"flags.4?true"},{"name":"hash","type":"long"},{"name":"device_model","type":"string"},{"name":"platform","type":"string"},{"name":"system_version","type":"string"},{"name":"api_id","type":"int"},{"name":"app_name","type":"string"},{"name":"app_version","type":"string"},{"name":"date_created","type":"int"},{"name":"date_active","type":"int"},{"name":"ip","type":"string"},{"name":"country","type":"string"},{"name":"region","type":"string"}],"type":"Authorization"},{"id":"1275039392","predicate":"account.authorizations","params":[{"name":"authorization_ttl_days","type":"int"},{"name":"authorizations","type":"Vector"}],"type":"account.Authorizations"},{"id":"-1787080453","predicate":"account.password","params":[{"name":"flags","type":"#"},{"name":"has_recovery","type":"flags.0?true"},{"name":"has_secure_values","type":"flags.1?true"},{"name":"has_password","type":"flags.2?true"},{"name":"current_algo","type":"flags.2?PasswordKdfAlgo"},{"name":"srp_B","type":"flags.2?bytes"},{"name":"srp_id","type":"flags.2?long"},{"name":"hint","type":"flags.3?string"},{"name":"email_unconfirmed_pattern","type":"flags.4?string"},{"name":"new_algo","type":"PasswordKdfAlgo"},{"name":"new_secure_algo","type":"SecurePasswordKdfAlgo"},{"name":"secure_random","type":"bytes"},{"name":"pending_reset_date","type":"flags.5?int"},{"name":"login_email_pattern","type":"flags.6?string"}],"type":"account.Password"},{"id":"-1705233435","predicate":"account.passwordSettings","params":[{"name":"flags","type":"#"},{"name":"email","type":"flags.0?string"},{"name":"secure_settings","type":"flags.1?SecureSecretSettings"}],"type":"account.PasswordSettings"},{"id":"-1036572727","predicate":"account.passwordInputSettings","params":[{"name":"flags","type":"#"},{"name":"new_algo","type":"flags.0?PasswordKdfAlgo"},{"name":"new_password_hash","type":"flags.0?bytes"},{"name":"hint","type":"flags.0?string"},{"name":"email","type":"flags.1?string"},{"name":"new_secure_settings","type":"flags.2?SecureSecretSettings"}],"type":"account.PasswordInputSettings"},{"id":"326715557","predicate":"auth.passwordRecovery","params":[{"name":"email_pattern","type":"string"}],"type":"auth.PasswordRecovery"},{"id":"-1052959727","predicate":"inputMediaVenue","params":[{"name":"geo_point","type":"InputGeoPoint"},{"name":"title","type":"string"},{"name":"address","type":"string"},{"name":"provider","type":"string"},{"name":"venue_id","type":"string"},{"name":"venue_type","type":"string"}],"type":"InputMedia"},{"id":"784356159","predicate":"messageMediaVenue","params":[{"name":"geo","type":"GeoPoint"},{"name":"title","type":"string"},{"name":"address","type":"string"},{"name":"provider","type":"string"},{"name":"venue_id","type":"string"},{"name":"venue_type","type":"string"}],"type":"MessageMedia"},{"id":"-1551583367","predicate":"receivedNotifyMessage","params":[{"name":"id","type":"int"},{"name":"flags","type":"int"}],"type":"ReceivedNotifyMessage"},{"id":"179611673","predicate":"chatInviteExported","params":[{"name":"flags","type":"#"},{"name":"revoked","type":"flags.0?true"},{"name":"permanent","type":"flags.5?true"},{"name":"request_needed","type":"flags.6?true"},{"name":"link","type":"string"},{"name":"admin_id","type":"long"},{"name":"date","type":"int"},{"name":"start_date","type":"flags.4?int"},{"name":"expire_date","type":"flags.1?int"},{"name":"usage_limit","type":"flags.2?int"},{"name":"usage","type":"flags.3?int"},{"name":"requested","type":"flags.7?int"},{"name":"title","type":"flags.8?string"}],"type":"ExportedChatInvite"},{"id":"1516793212","predicate":"chatInviteAlready","params":[{"name":"chat","type":"Chat"}],"type":"ChatInvite"},{"id":"806110401","predicate":"chatInvite","params":[{"name":"flags","type":"#"},{"name":"channel","type":"flags.0?true"},{"name":"broadcast","type":"flags.1?true"},{"name":"public","type":"flags.2?true"},{"name":"megagroup","type":"flags.3?true"},{"name":"request_needed","type":"flags.6?true"},{"name":"title","type":"string"},{"name":"about","type":"flags.5?string"},{"name":"photo","type":"Photo"},{"name":"participants_count","type":"int"},{"name":"participants","type":"flags.4?Vector"}],"type":"ChatInvite"},{"id":"51520707","predicate":"messageActionChatJoinedByLink","params":[{"name":"inviter_id","type":"long"}],"type":"MessageAction"},{"id":"1757493555","predicate":"updateReadMessagesContents","params":[{"name":"messages","type":"Vector"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"}],"type":"Update"},{"id":"-4838507","predicate":"inputStickerSetEmpty","params":[],"type":"InputStickerSet"},{"id":"-1645763991","predicate":"inputStickerSetID","params":[{"name":"id","type":"long"},{"name":"access_hash","type":"long"}],"type":"InputStickerSet"},{"id":"-2044933984","predicate":"inputStickerSetShortName","params":[{"name":"short_name","type":"string"}],"type":"InputStickerSet"},{"id":"768691932","predicate":"stickerSet","params":[{"name":"flags","type":"#"},{"name":"archived","type":"flags.1?true"},{"name":"official","type":"flags.2?true"},{"name":"masks","type":"flags.3?true"},{"name":"animated","type":"flags.5?true"},{"name":"videos","type":"flags.6?true"},{"name":"emojis","type":"flags.7?true"},{"name":"installed_date","type":"flags.0?int"},{"name":"id","type":"long"},{"name":"access_hash","type":"long"},{"name":"title","type":"string"},{"name":"short_name","type":"string"},{"name":"thumbs","type":"flags.4?Vector"},{"name":"thumb_dc_id","type":"flags.4?int"},{"name":"thumb_version","type":"flags.4?int"},{"name":"thumb_document_id","type":"flags.8?long"},{"name":"count","type":"int"},{"name":"hash","type":"int"}],"type":"StickerSet"},{"id":"1846886166","predicate":"messages.stickerSet","params":[{"name":"set","type":"StickerSet"},{"name":"packs","type":"Vector"},{"name":"keywords","type":"Vector"},{"name":"documents","type":"Vector"}],"type":"messages.StickerSet"},{"id":"-1885878744","predicate":"user","params":[{"name":"flags","type":"#"},{"name":"self","type":"flags.10?true"},{"name":"contact","type":"flags.11?true"},{"name":"mutual_contact","type":"flags.12?true"},{"name":"deleted","type":"flags.13?true"},{"name":"bot","type":"flags.14?true"},{"name":"bot_chat_history","type":"flags.15?true"},{"name":"bot_nochats","type":"flags.16?true"},{"name":"verified","type":"flags.17?true"},{"name":"restricted","type":"flags.18?true"},{"name":"min","type":"flags.20?true"},{"name":"bot_inline_geo","type":"flags.21?true"},{"name":"support","type":"flags.23?true"},{"name":"scam","type":"flags.24?true"},{"name":"apply_min_photo","type":"flags.25?true"},{"name":"fake","type":"flags.26?true"},{"name":"bot_attach_menu","type":"flags.27?true"},{"name":"premium","type":"flags.28?true"},{"name":"attach_menu_enabled","type":"flags.29?true"},{"name":"flags2","type":"#"},{"name":"bot_can_edit","type":"flags2.1?true"},{"name":"id","type":"long"},{"name":"access_hash","type":"flags.0?long"},{"name":"first_name","type":"flags.1?string"},{"name":"last_name","type":"flags.2?string"},{"name":"username","type":"flags.3?string"},{"name":"phone","type":"flags.4?string"},{"name":"photo","type":"flags.5?UserProfilePhoto"},{"name":"status","type":"flags.6?UserStatus"},{"name":"bot_info_version","type":"flags.14?int"},{"name":"restriction_reason","type":"flags.18?Vector"},{"name":"bot_inline_placeholder","type":"flags.19?string"},{"name":"lang_code","type":"flags.22?string"},{"name":"emoji_status","type":"flags.30?EmojiStatus"},{"name":"usernames","type":"flags2.0?Vector"}],"type":"User"},{"id":"-1032140601","predicate":"botCommand","params":[{"name":"command","type":"string"},{"name":"description","type":"string"}],"type":"BotCommand"},{"id":"-1892676777","predicate":"botInfo","params":[{"name":"flags","type":"#"},{"name":"user_id","type":"flags.0?long"},{"name":"description","type":"flags.1?string"},{"name":"description_photo","type":"flags.4?Photo"},{"name":"description_document","type":"flags.5?Document"},{"name":"commands","type":"flags.2?Vector"},{"name":"menu_button","type":"flags.3?BotMenuButton"}],"type":"BotInfo"},{"id":"-1560655744","predicate":"keyboardButton","params":[{"name":"text","type":"string"}],"type":"KeyboardButton"},{"id":"2002815875","predicate":"keyboardButtonRow","params":[{"name":"buttons","type":"Vector"}],"type":"KeyboardButtonRow"},{"id":"-1606526075","predicate":"replyKeyboardHide","params":[{"name":"flags","type":"#"},{"name":"selective","type":"flags.2?true"}],"type":"ReplyMarkup"},{"id":"-2035021048","predicate":"replyKeyboardForceReply","params":[{"name":"flags","type":"#"},{"name":"single_use","type":"flags.1?true"},{"name":"selective","type":"flags.2?true"},{"name":"placeholder","type":"flags.3?string"}],"type":"ReplyMarkup"},{"id":"-2049074735","predicate":"replyKeyboardMarkup","params":[{"name":"flags","type":"#"},{"name":"resize","type":"flags.0?true"},{"name":"single_use","type":"flags.1?true"},{"name":"selective","type":"flags.2?true"},{"name":"persistent","type":"flags.4?true"},{"name":"rows","type":"Vector"},{"name":"placeholder","type":"flags.3?string"}],"type":"ReplyMarkup"},{"id":"-571955892","predicate":"inputPeerUser","params":[{"name":"user_id","type":"long"},{"name":"access_hash","type":"long"}],"type":"InputPeer"},{"id":"-233744186","predicate":"inputUser","params":[{"name":"user_id","type":"long"},{"name":"access_hash","type":"long"}],"type":"InputUser"},{"id":"-1148011883","predicate":"messageEntityUnknown","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"}],"type":"MessageEntity"},{"id":"-100378723","predicate":"messageEntityMention","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"}],"type":"MessageEntity"},{"id":"1868782349","predicate":"messageEntityHashtag","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"}],"type":"MessageEntity"},{"id":"1827637959","predicate":"messageEntityBotCommand","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"}],"type":"MessageEntity"},{"id":"1859134776","predicate":"messageEntityUrl","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"}],"type":"MessageEntity"},{"id":"1692693954","predicate":"messageEntityEmail","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"}],"type":"MessageEntity"},{"id":"-1117713463","predicate":"messageEntityBold","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"}],"type":"MessageEntity"},{"id":"-2106619040","predicate":"messageEntityItalic","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"}],"type":"MessageEntity"},{"id":"681706865","predicate":"messageEntityCode","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"}],"type":"MessageEntity"},{"id":"1938967520","predicate":"messageEntityPre","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"},{"name":"language","type":"string"}],"type":"MessageEntity"},{"id":"1990644519","predicate":"messageEntityTextUrl","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"},{"name":"url","type":"string"}],"type":"MessageEntity"},{"id":"-1877614335","predicate":"updateShortSentMessage","params":[{"name":"flags","type":"#"},{"name":"out","type":"flags.1?true"},{"name":"id","type":"int"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"},{"name":"date","type":"int"},{"name":"media","type":"flags.9?MessageMedia"},{"name":"entities","type":"flags.7?Vector"},{"name":"ttl_period","type":"flags.25?int"}],"type":"Updates"},{"id":"-292807034","predicate":"inputChannelEmpty","params":[],"type":"InputChannel"},{"id":"-212145112","predicate":"inputChannel","params":[{"name":"channel_id","type":"long"},{"name":"access_hash","type":"long"}],"type":"InputChannel"},{"id":"-1566230754","predicate":"peerChannel","params":[{"name":"channel_id","type":"long"}],"type":"Peer"},{"id":"666680316","predicate":"inputPeerChannel","params":[{"name":"channel_id","type":"long"},{"name":"access_hash","type":"long"}],"type":"InputPeer"},{"id":"-2094689180","predicate":"channel","params":[{"name":"flags","type":"#"},{"name":"creator","type":"flags.0?true"},{"name":"left","type":"flags.2?true"},{"name":"broadcast","type":"flags.5?true"},{"name":"verified","type":"flags.7?true"},{"name":"megagroup","type":"flags.8?true"},{"name":"restricted","type":"flags.9?true"},{"name":"signatures","type":"flags.11?true"},{"name":"min","type":"flags.12?true"},{"name":"scam","type":"flags.19?true"},{"name":"has_link","type":"flags.20?true"},{"name":"has_geo","type":"flags.21?true"},{"name":"slowmode_enabled","type":"flags.22?true"},{"name":"call_active","type":"flags.23?true"},{"name":"call_not_empty","type":"flags.24?true"},{"name":"fake","type":"flags.25?true"},{"name":"gigagroup","type":"flags.26?true"},{"name":"noforwards","type":"flags.27?true"},{"name":"join_to_send","type":"flags.28?true"},{"name":"join_request","type":"flags.29?true"},{"name":"forum","type":"flags.30?true"},{"name":"flags2","type":"#"},{"name":"id","type":"long"},{"name":"access_hash","type":"flags.13?long"},{"name":"title","type":"string"},{"name":"username","type":"flags.6?string"},{"name":"photo","type":"ChatPhoto"},{"name":"date","type":"int"},{"name":"restriction_reason","type":"flags.9?Vector"},{"name":"admin_rights","type":"flags.14?ChatAdminRights"},{"name":"banned_rights","type":"flags.15?ChatBannedRights"},{"name":"default_banned_rights","type":"flags.18?ChatBannedRights"},{"name":"participants_count","type":"flags.17?int"},{"name":"usernames","type":"flags2.0?Vector"}],"type":"Chat"},{"id":"399807445","predicate":"channelForbidden","params":[{"name":"flags","type":"#"},{"name":"broadcast","type":"flags.5?true"},{"name":"megagroup","type":"flags.8?true"},{"name":"id","type":"long"},{"name":"access_hash","type":"long"},{"name":"title","type":"string"},{"name":"until_date","type":"flags.16?int"}],"type":"Chat"},{"id":"2131196633","predicate":"contacts.resolvedPeer","params":[{"name":"peer","type":"Peer"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"contacts.ResolvedPeer"},{"id":"-231385849","predicate":"channelFull","params":[{"name":"flags","type":"#"},{"name":"can_view_participants","type":"flags.3?true"},{"name":"can_set_username","type":"flags.6?true"},{"name":"can_set_stickers","type":"flags.7?true"},{"name":"hidden_prehistory","type":"flags.10?true"},{"name":"can_set_location","type":"flags.16?true"},{"name":"has_scheduled","type":"flags.19?true"},{"name":"can_view_stats","type":"flags.20?true"},{"name":"blocked","type":"flags.22?true"},{"name":"flags2","type":"#"},{"name":"can_delete_channel","type":"flags2.0?true"},{"name":"antispam","type":"flags2.1?true"},{"name":"participants_hidden","type":"flags2.2?true"},{"name":"translations_disabled","type":"flags2.3?true"},{"name":"id","type":"long"},{"name":"about","type":"string"},{"name":"participants_count","type":"flags.0?int"},{"name":"admins_count","type":"flags.1?int"},{"name":"kicked_count","type":"flags.2?int"},{"name":"banned_count","type":"flags.2?int"},{"name":"online_count","type":"flags.13?int"},{"name":"read_inbox_max_id","type":"int"},{"name":"read_outbox_max_id","type":"int"},{"name":"unread_count","type":"int"},{"name":"chat_photo","type":"Photo"},{"name":"notify_settings","type":"PeerNotifySettings"},{"name":"exported_invite","type":"flags.23?ExportedChatInvite"},{"name":"bot_info","type":"Vector"},{"name":"migrated_from_chat_id","type":"flags.4?long"},{"name":"migrated_from_max_id","type":"flags.4?int"},{"name":"pinned_msg_id","type":"flags.5?int"},{"name":"stickerset","type":"flags.8?StickerSet"},{"name":"available_min_id","type":"flags.9?int"},{"name":"folder_id","type":"flags.11?int"},{"name":"linked_chat_id","type":"flags.14?long"},{"name":"location","type":"flags.15?ChannelLocation"},{"name":"slowmode_seconds","type":"flags.17?int"},{"name":"slowmode_next_send_date","type":"flags.18?int"},{"name":"stats_dc","type":"flags.12?int"},{"name":"pts","type":"int"},{"name":"call","type":"flags.21?InputGroupCall"},{"name":"ttl_period","type":"flags.24?int"},{"name":"pending_suggestions","type":"flags.25?Vector"},{"name":"groupcall_default_join_as","type":"flags.26?Peer"},{"name":"theme_emoticon","type":"flags.27?string"},{"name":"requests_pending","type":"flags.28?int"},{"name":"recent_requesters","type":"flags.28?Vector"},{"name":"default_send_as","type":"flags.29?Peer"},{"name":"available_reactions","type":"flags.30?ChatReactions"}],"type":"ChatFull"},{"id":"182649427","predicate":"messageRange","params":[{"name":"min_id","type":"int"},{"name":"max_id","type":"int"}],"type":"MessageRange"},{"id":"-948520370","predicate":"messages.channelMessages","params":[{"name":"flags","type":"#"},{"name":"inexact","type":"flags.1?true"},{"name":"pts","type":"int"},{"name":"count","type":"int"},{"name":"offset_id_offset","type":"flags.2?int"},{"name":"messages","type":"Vector"},{"name":"topics","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"messages.Messages"},{"id":"-1781355374","predicate":"messageActionChannelCreate","params":[{"name":"title","type":"string"}],"type":"MessageAction"},{"id":"277713951","predicate":"updateChannelTooLong","params":[{"name":"flags","type":"#"},{"name":"channel_id","type":"long"},{"name":"pts","type":"flags.0?int"}],"type":"Update"},{"id":"1666927625","predicate":"updateChannel","params":[{"name":"channel_id","type":"long"}],"type":"Update"},{"id":"1656358105","predicate":"updateNewChannelMessage","params":[{"name":"message","type":"Message"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"}],"type":"Update"},{"id":"-1842450928","predicate":"updateReadChannelInbox","params":[{"name":"flags","type":"#"},{"name":"folder_id","type":"flags.0?int"},{"name":"channel_id","type":"long"},{"name":"max_id","type":"int"},{"name":"still_unread_count","type":"int"},{"name":"pts","type":"int"}],"type":"Update"},{"id":"-1020437742","predicate":"updateDeleteChannelMessages","params":[{"name":"channel_id","type":"long"},{"name":"messages","type":"Vector"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"}],"type":"Update"},{"id":"-232346616","predicate":"updateChannelMessageViews","params":[{"name":"channel_id","type":"long"},{"name":"id","type":"int"},{"name":"views","type":"int"}],"type":"Update"},{"id":"1041346555","predicate":"updates.channelDifferenceEmpty","params":[{"name":"flags","type":"#"},{"name":"final","type":"flags.0?true"},{"name":"pts","type":"int"},{"name":"timeout","type":"flags.1?int"}],"type":"updates.ChannelDifference"},{"id":"-1531132162","predicate":"updates.channelDifferenceTooLong","params":[{"name":"flags","type":"#"},{"name":"final","type":"flags.0?true"},{"name":"timeout","type":"flags.1?int"},{"name":"dialog","type":"Dialog"},{"name":"messages","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"updates.ChannelDifference"},{"id":"543450958","predicate":"updates.channelDifference","params":[{"name":"flags","type":"#"},{"name":"final","type":"flags.0?true"},{"name":"pts","type":"int"},{"name":"timeout","type":"flags.1?int"},{"name":"new_messages","type":"Vector"},{"name":"other_updates","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"updates.ChannelDifference"},{"id":"-1798033689","predicate":"channelMessagesFilterEmpty","params":[],"type":"ChannelMessagesFilter"},{"id":"-847783593","predicate":"channelMessagesFilter","params":[{"name":"flags","type":"#"},{"name":"exclude_new_messages","type":"flags.1?true"},{"name":"ranges","type":"Vector"}],"type":"ChannelMessagesFilter"},{"id":"-1072953408","predicate":"channelParticipant","params":[{"name":"user_id","type":"long"},{"name":"date","type":"int"}],"type":"ChannelParticipant"},{"id":"900251559","predicate":"channelParticipantSelf","params":[{"name":"flags","type":"#"},{"name":"via_request","type":"flags.0?true"},{"name":"user_id","type":"long"},{"name":"inviter_id","type":"long"},{"name":"date","type":"int"}],"type":"ChannelParticipant"},{"id":"803602899","predicate":"channelParticipantCreator","params":[{"name":"flags","type":"#"},{"name":"user_id","type":"long"},{"name":"admin_rights","type":"ChatAdminRights"},{"name":"rank","type":"flags.0?string"}],"type":"ChannelParticipant"},{"id":"-566281095","predicate":"channelParticipantsRecent","params":[],"type":"ChannelParticipantsFilter"},{"id":"-1268741783","predicate":"channelParticipantsAdmins","params":[],"type":"ChannelParticipantsFilter"},{"id":"-1548400251","predicate":"channelParticipantsKicked","params":[{"name":"q","type":"string"}],"type":"ChannelParticipantsFilter"},{"id":"-1699676497","predicate":"channels.channelParticipants","params":[{"name":"count","type":"int"},{"name":"participants","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"channels.ChannelParticipants"},{"id":"-541588713","predicate":"channels.channelParticipant","params":[{"name":"participant","type":"ChannelParticipant"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"channels.ChannelParticipant"},{"id":"-462696732","predicate":"chatParticipantCreator","params":[{"name":"user_id","type":"long"}],"type":"ChatParticipant"},{"id":"-1600962725","predicate":"chatParticipantAdmin","params":[{"name":"user_id","type":"long"},{"name":"inviter_id","type":"long"},{"name":"date","type":"int"}],"type":"ChatParticipant"},{"id":"-674602590","predicate":"updateChatParticipantAdmin","params":[{"name":"chat_id","type":"long"},{"name":"user_id","type":"long"},{"name":"is_admin","type":"Bool"},{"name":"version","type":"int"}],"type":"Update"},{"id":"-519864430","predicate":"messageActionChatMigrateTo","params":[{"name":"channel_id","type":"long"}],"type":"MessageAction"},{"id":"-365344535","predicate":"messageActionChannelMigrateFrom","params":[{"name":"title","type":"string"},{"name":"chat_id","type":"long"}],"type":"MessageAction"},{"id":"-1328445861","predicate":"channelParticipantsBots","params":[],"type":"ChannelParticipantsFilter"},{"id":"2013922064","predicate":"help.termsOfService","params":[{"name":"flags","type":"#"},{"name":"popup","type":"flags.0?true"},{"name":"id","type":"DataJSON"},{"name":"text","type":"string"},{"name":"entities","type":"Vector"},{"name":"min_age_confirm","type":"flags.1?int"}],"type":"help.TermsOfService"},{"id":"1753886890","predicate":"updateNewStickerSet","params":[{"name":"stickerset","type":"messages.StickerSet"}],"type":"Update"},{"id":"196268545","predicate":"updateStickerSetsOrder","params":[{"name":"flags","type":"#"},{"name":"masks","type":"flags.0?true"},{"name":"emojis","type":"flags.1?true"},{"name":"order","type":"Vector"}],"type":"Update"},{"id":"834816008","predicate":"updateStickerSets","params":[{"name":"flags","type":"#"},{"name":"masks","type":"flags.0?true"},{"name":"emojis","type":"flags.1?true"}],"type":"Update"},{"id":"-402498398","predicate":"messages.savedGifsNotModified","params":[],"type":"messages.SavedGifs"},{"id":"-2069878259","predicate":"messages.savedGifs","params":[{"name":"hash","type":"long"},{"name":"gifs","type":"Vector"}],"type":"messages.SavedGifs"},{"id":"-1821035490","predicate":"updateSavedGifs","params":[],"type":"Update"},{"id":"864077702","predicate":"inputBotInlineMessageMediaAuto","params":[{"name":"flags","type":"#"},{"name":"message","type":"string"},{"name":"entities","type":"flags.1?Vector"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"}],"type":"InputBotInlineMessage"},{"id":"1036876423","predicate":"inputBotInlineMessageText","params":[{"name":"flags","type":"#"},{"name":"no_webpage","type":"flags.0?true"},{"name":"message","type":"string"},{"name":"entities","type":"flags.1?Vector"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"}],"type":"InputBotInlineMessage"},{"id":"-2000710887","predicate":"inputBotInlineResult","params":[{"name":"flags","type":"#"},{"name":"id","type":"string"},{"name":"type","type":"string"},{"name":"title","type":"flags.1?string"},{"name":"description","type":"flags.2?string"},{"name":"url","type":"flags.3?string"},{"name":"thumb","type":"flags.4?InputWebDocument"},{"name":"content","type":"flags.5?InputWebDocument"},{"name":"send_message","type":"InputBotInlineMessage"}],"type":"InputBotInlineResult"},{"id":"1984755728","predicate":"botInlineMessageMediaAuto","params":[{"name":"flags","type":"#"},{"name":"message","type":"string"},{"name":"entities","type":"flags.1?Vector"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"}],"type":"BotInlineMessage"},{"id":"-1937807902","predicate":"botInlineMessageText","params":[{"name":"flags","type":"#"},{"name":"no_webpage","type":"flags.0?true"},{"name":"message","type":"string"},{"name":"entities","type":"flags.1?Vector"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"}],"type":"BotInlineMessage"},{"id":"295067450","predicate":"botInlineResult","params":[{"name":"flags","type":"#"},{"name":"id","type":"string"},{"name":"type","type":"string"},{"name":"title","type":"flags.1?string"},{"name":"description","type":"flags.2?string"},{"name":"url","type":"flags.3?string"},{"name":"thumb","type":"flags.4?WebDocument"},{"name":"content","type":"flags.5?WebDocument"},{"name":"send_message","type":"BotInlineMessage"}],"type":"BotInlineResult"},{"id":"-534646026","predicate":"messages.botResults","params":[{"name":"flags","type":"#"},{"name":"gallery","type":"flags.0?true"},{"name":"query_id","type":"long"},{"name":"next_offset","type":"flags.1?string"},{"name":"switch_pm","type":"flags.2?InlineBotSwitchPM"},{"name":"switch_webview","type":"flags.3?InlineBotWebView"},{"name":"results","type":"Vector"},{"name":"cache_time","type":"int"},{"name":"users","type":"Vector"}],"type":"messages.BotResults"},{"id":"1232025500","predicate":"updateBotInlineQuery","params":[{"name":"flags","type":"#"},{"name":"query_id","type":"long"},{"name":"user_id","type":"long"},{"name":"query","type":"string"},{"name":"geo","type":"flags.0?GeoPoint"},{"name":"peer_type","type":"flags.1?InlineQueryPeerType"},{"name":"offset","type":"string"}],"type":"Update"},{"id":"317794823","predicate":"updateBotInlineSend","params":[{"name":"flags","type":"#"},{"name":"user_id","type":"long"},{"name":"query","type":"string"},{"name":"geo","type":"flags.0?GeoPoint"},{"name":"id","type":"string"},{"name":"msg_id","type":"flags.1?InputBotInlineMessageID"}],"type":"Update"},{"id":"1358283666","predicate":"inputMessagesFilterVoice","params":[],"type":"MessagesFilter"},{"id":"928101534","predicate":"inputMessagesFilterMusic","params":[],"type":"MessagesFilter"},{"id":"-1107622874","predicate":"inputPrivacyKeyChatInvite","params":[],"type":"InputPrivacyKey"},{"id":"1343122938","predicate":"privacyKeyChatInvite","params":[],"type":"PrivacyKey"},{"id":"1571494644","predicate":"exportedMessageLink","params":[{"name":"link","type":"string"},{"name":"html","type":"string"}],"type":"ExportedMessageLink"},{"id":"1601666510","predicate":"messageFwdHeader","params":[{"name":"flags","type":"#"},{"name":"imported","type":"flags.7?true"},{"name":"from_id","type":"flags.0?Peer"},{"name":"from_name","type":"flags.5?string"},{"name":"date","type":"int"},{"name":"channel_post","type":"flags.2?int"},{"name":"post_author","type":"flags.3?string"},{"name":"saved_from_peer","type":"flags.4?Peer"},{"name":"saved_from_msg_id","type":"flags.4?int"},{"name":"psa_type","type":"flags.6?string"}],"type":"MessageFwdHeader"},{"id":"457133559","predicate":"updateEditChannelMessage","params":[{"name":"message","type":"Message"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"}],"type":"Update"},{"id":"-1799538451","predicate":"messageActionPinMessage","params":[],"type":"MessageAction"},{"id":"1923290508","predicate":"auth.codeTypeSms","params":[],"type":"auth.CodeType"},{"id":"1948046307","predicate":"auth.codeTypeCall","params":[],"type":"auth.CodeType"},{"id":"577556219","predicate":"auth.codeTypeFlashCall","params":[],"type":"auth.CodeType"},{"id":"1035688326","predicate":"auth.sentCodeTypeApp","params":[{"name":"length","type":"int"}],"type":"auth.SentCodeType"},{"id":"-1073693790","predicate":"auth.sentCodeTypeSms","params":[{"name":"length","type":"int"}],"type":"auth.SentCodeType"},{"id":"1398007207","predicate":"auth.sentCodeTypeCall","params":[{"name":"length","type":"int"}],"type":"auth.SentCodeType"},{"id":"-1425815847","predicate":"auth.sentCodeTypeFlashCall","params":[{"name":"pattern","type":"string"}],"type":"auth.SentCodeType"},{"id":"629866245","predicate":"keyboardButtonUrl","params":[{"name":"text","type":"string"},{"name":"url","type":"string"}],"type":"KeyboardButton"},{"id":"901503851","predicate":"keyboardButtonCallback","params":[{"name":"flags","type":"#"},{"name":"requires_password","type":"flags.0?true"},{"name":"text","type":"string"},{"name":"data","type":"bytes"}],"type":"KeyboardButton"},{"id":"-1318425559","predicate":"keyboardButtonRequestPhone","params":[{"name":"text","type":"string"}],"type":"KeyboardButton"},{"id":"-59151553","predicate":"keyboardButtonRequestGeoLocation","params":[{"name":"text","type":"string"}],"type":"KeyboardButton"},{"id":"-1816527947","predicate":"keyboardButtonSwitchInline","params":[{"name":"flags","type":"#"},{"name":"same_peer","type":"flags.0?true"},{"name":"text","type":"string"},{"name":"query","type":"string"},{"name":"peer_types","type":"flags.1?Vector"}],"type":"KeyboardButton"},{"id":"1218642516","predicate":"replyInlineMarkup","params":[{"name":"rows","type":"Vector"}],"type":"ReplyMarkup"},{"id":"911761060","predicate":"messages.botCallbackAnswer","params":[{"name":"flags","type":"#"},{"name":"alert","type":"flags.1?true"},{"name":"has_url","type":"flags.3?true"},{"name":"native_ui","type":"flags.4?true"},{"name":"message","type":"flags.0?string"},{"name":"url","type":"flags.2?string"},{"name":"cache_time","type":"int"}],"type":"messages.BotCallbackAnswer"},{"id":"-1177566067","predicate":"updateBotCallbackQuery","params":[{"name":"flags","type":"#"},{"name":"query_id","type":"long"},{"name":"user_id","type":"long"},{"name":"peer","type":"Peer"},{"name":"msg_id","type":"int"},{"name":"chat_instance","type":"long"},{"name":"data","type":"flags.0?bytes"},{"name":"game_short_name","type":"flags.1?string"}],"type":"Update"},{"id":"649453030","predicate":"messages.messageEditData","params":[{"name":"flags","type":"#"},{"name":"caption","type":"flags.0?true"}],"type":"messages.MessageEditData"},{"id":"-469536605","predicate":"updateEditMessage","params":[{"name":"message","type":"Message"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"}],"type":"Update"},{"id":"-1768777083","predicate":"inputBotInlineMessageMediaGeo","params":[{"name":"flags","type":"#"},{"name":"geo_point","type":"InputGeoPoint"},{"name":"heading","type":"flags.0?int"},{"name":"period","type":"flags.1?int"},{"name":"proximity_notification_radius","type":"flags.3?int"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"}],"type":"InputBotInlineMessage"},{"id":"1098628881","predicate":"inputBotInlineMessageMediaVenue","params":[{"name":"flags","type":"#"},{"name":"geo_point","type":"InputGeoPoint"},{"name":"title","type":"string"},{"name":"address","type":"string"},{"name":"provider","type":"string"},{"name":"venue_id","type":"string"},{"name":"venue_type","type":"string"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"}],"type":"InputBotInlineMessage"},{"id":"-1494368259","predicate":"inputBotInlineMessageMediaContact","params":[{"name":"flags","type":"#"},{"name":"phone_number","type":"string"},{"name":"first_name","type":"string"},{"name":"last_name","type":"string"},{"name":"vcard","type":"string"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"}],"type":"InputBotInlineMessage"},{"id":"85477117","predicate":"botInlineMessageMediaGeo","params":[{"name":"flags","type":"#"},{"name":"geo","type":"GeoPoint"},{"name":"heading","type":"flags.0?int"},{"name":"period","type":"flags.1?int"},{"name":"proximity_notification_radius","type":"flags.3?int"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"}],"type":"BotInlineMessage"},{"id":"-1970903652","predicate":"botInlineMessageMediaVenue","params":[{"name":"flags","type":"#"},{"name":"geo","type":"GeoPoint"},{"name":"title","type":"string"},{"name":"address","type":"string"},{"name":"provider","type":"string"},{"name":"venue_id","type":"string"},{"name":"venue_type","type":"string"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"}],"type":"BotInlineMessage"},{"id":"416402882","predicate":"botInlineMessageMediaContact","params":[{"name":"flags","type":"#"},{"name":"phone_number","type":"string"},{"name":"first_name","type":"string"},{"name":"last_name","type":"string"},{"name":"vcard","type":"string"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"}],"type":"BotInlineMessage"},{"id":"-1462213465","predicate":"inputBotInlineResultPhoto","params":[{"name":"id","type":"string"},{"name":"type","type":"string"},{"name":"photo","type":"InputPhoto"},{"name":"send_message","type":"InputBotInlineMessage"}],"type":"InputBotInlineResult"},{"id":"-459324","predicate":"inputBotInlineResultDocument","params":[{"name":"flags","type":"#"},{"name":"id","type":"string"},{"name":"type","type":"string"},{"name":"title","type":"flags.1?string"},{"name":"description","type":"flags.2?string"},{"name":"document","type":"InputDocument"},{"name":"send_message","type":"InputBotInlineMessage"}],"type":"InputBotInlineResult"},{"id":"400266251","predicate":"botInlineMediaResult","params":[{"name":"flags","type":"#"},{"name":"id","type":"string"},{"name":"type","type":"string"},{"name":"photo","type":"flags.0?Photo"},{"name":"document","type":"flags.1?Document"},{"name":"title","type":"flags.2?string"},{"name":"description","type":"flags.3?string"},{"name":"send_message","type":"BotInlineMessage"}],"type":"BotInlineResult"},{"id":"-1995686519","predicate":"inputBotInlineMessageID","params":[{"name":"dc_id","type":"int"},{"name":"id","type":"long"},{"name":"access_hash","type":"long"}],"type":"InputBotInlineMessageID"},{"id":"1763610706","predicate":"updateInlineBotCallbackQuery","params":[{"name":"flags","type":"#"},{"name":"query_id","type":"long"},{"name":"user_id","type":"long"},{"name":"msg_id","type":"InputBotInlineMessageID"},{"name":"chat_instance","type":"long"},{"name":"data","type":"flags.0?bytes"},{"name":"game_short_name","type":"flags.1?string"}],"type":"Update"},{"id":"1008755359","predicate":"inlineBotSwitchPM","params":[{"name":"text","type":"string"},{"name":"start_param","type":"string"}],"type":"InlineBotSwitchPM"},{"id":"863093588","predicate":"messages.peerDialogs","params":[{"name":"dialogs","type":"Vector"},{"name":"messages","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"},{"name":"state","type":"updates.State"}],"type":"messages.PeerDialogs"},{"id":"-305282981","predicate":"topPeer","params":[{"name":"peer","type":"Peer"},{"name":"rating","type":"double"}],"type":"TopPeer"},{"id":"-1419371685","predicate":"topPeerCategoryBotsPM","params":[],"type":"TopPeerCategory"},{"id":"344356834","predicate":"topPeerCategoryBotsInline","params":[],"type":"TopPeerCategory"},{"id":"104314861","predicate":"topPeerCategoryCorrespondents","params":[],"type":"TopPeerCategory"},{"id":"-1122524854","predicate":"topPeerCategoryGroups","params":[],"type":"TopPeerCategory"},{"id":"371037736","predicate":"topPeerCategoryChannels","params":[],"type":"TopPeerCategory"},{"id":"-75283823","predicate":"topPeerCategoryPeers","params":[{"name":"category","type":"TopPeerCategory"},{"name":"count","type":"int"},{"name":"peers","type":"Vector"}],"type":"TopPeerCategoryPeers"},{"id":"-567906571","predicate":"contacts.topPeersNotModified","params":[],"type":"contacts.TopPeers"},{"id":"1891070632","predicate":"contacts.topPeers","params":[{"name":"categories","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"contacts.TopPeers"},{"id":"-595914432","predicate":"messageEntityMentionName","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"},{"name":"user_id","type":"long"}],"type":"MessageEntity"},{"id":"546203849","predicate":"inputMessageEntityMentionName","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"},{"name":"user_id","type":"InputUser"}],"type":"MessageEntity"},{"id":"975236280","predicate":"inputMessagesFilterChatPhotos","params":[],"type":"MessagesFilter"},{"id":"-1218471511","predicate":"updateReadChannelOutbox","params":[{"name":"channel_id","type":"long"},{"name":"max_id","type":"int"}],"type":"Update"},{"id":"457829485","predicate":"updateDraftMessage","params":[{"name":"flags","type":"#"},{"name":"peer","type":"Peer"},{"name":"top_msg_id","type":"flags.0?int"},{"name":"draft","type":"DraftMessage"}],"type":"Update"},{"id":"453805082","predicate":"draftMessageEmpty","params":[{"name":"flags","type":"#"},{"name":"date","type":"flags.0?int"}],"type":"DraftMessage"},{"id":"-40996577","predicate":"draftMessage","params":[{"name":"flags","type":"#"},{"name":"no_webpage","type":"flags.1?true"},{"name":"reply_to_msg_id","type":"flags.0?int"},{"name":"message","type":"string"},{"name":"entities","type":"flags.3?Vector"},{"name":"date","type":"int"}],"type":"DraftMessage"},{"id":"-1615153660","predicate":"messageActionHistoryClear","params":[],"type":"MessageAction"},{"id":"-958657434","predicate":"messages.featuredStickersNotModified","params":[{"name":"count","type":"int"}],"type":"messages.FeaturedStickers"},{"id":"-1103615738","predicate":"messages.featuredStickers","params":[{"name":"flags","type":"#"},{"name":"premium","type":"flags.0?true"},{"name":"hash","type":"long"},{"name":"count","type":"int"},{"name":"sets","type":"Vector"},{"name":"unread","type":"Vector"}],"type":"messages.FeaturedStickers"},{"id":"1461528386","predicate":"updateReadFeaturedStickers","params":[],"type":"Update"},{"id":"186120336","predicate":"messages.recentStickersNotModified","params":[],"type":"messages.RecentStickers"},{"id":"-1999405994","predicate":"messages.recentStickers","params":[{"name":"hash","type":"long"},{"name":"packs","type":"Vector"},{"name":"stickers","type":"Vector"},{"name":"dates","type":"Vector"}],"type":"messages.RecentStickers"},{"id":"-1706939360","predicate":"updateRecentStickers","params":[],"type":"Update"},{"id":"1338747336","predicate":"messages.archivedStickers","params":[{"name":"count","type":"int"},{"name":"sets","type":"Vector"}],"type":"messages.ArchivedStickers"},{"id":"946083368","predicate":"messages.stickerSetInstallResultSuccess","params":[],"type":"messages.StickerSetInstallResult"},{"id":"904138920","predicate":"messages.stickerSetInstallResultArchive","params":[{"name":"sets","type":"Vector"}],"type":"messages.StickerSetInstallResult"},{"id":"1678812626","predicate":"stickerSetCovered","params":[{"name":"set","type":"StickerSet"},{"name":"cover","type":"Document"}],"type":"StickerSetCovered"},{"id":"-1574314746","predicate":"updateConfig","params":[],"type":"Update"},{"id":"861169551","predicate":"updatePtsChanged","params":[],"type":"Update"},{"id":"-440664550","predicate":"inputMediaPhotoExternal","params":[{"name":"flags","type":"#"},{"name":"spoiler","type":"flags.1?true"},{"name":"url","type":"string"},{"name":"ttl_seconds","type":"flags.0?int"}],"type":"InputMedia"},{"id":"-78455655","predicate":"inputMediaDocumentExternal","params":[{"name":"flags","type":"#"},{"name":"spoiler","type":"flags.1?true"},{"name":"url","type":"string"},{"name":"ttl_seconds","type":"flags.0?int"}],"type":"InputMedia"},{"id":"872932635","predicate":"stickerSetMultiCovered","params":[{"name":"set","type":"StickerSet"},{"name":"covers","type":"Vector"}],"type":"StickerSetCovered"},{"id":"-1361650766","predicate":"maskCoords","params":[{"name":"n","type":"int"},{"name":"x","type":"double"},{"name":"y","type":"double"},{"name":"zoom","type":"double"}],"type":"MaskCoords"},{"id":"-1744710921","predicate":"documentAttributeHasStickers","params":[],"type":"DocumentAttribute"},{"id":"1251549527","predicate":"inputStickeredMediaPhoto","params":[{"name":"id","type":"InputPhoto"}],"type":"InputStickeredMedia"},{"id":"70813275","predicate":"inputStickeredMediaDocument","params":[{"name":"id","type":"InputDocument"}],"type":"InputStickeredMedia"},{"id":"-1107729093","predicate":"game","params":[{"name":"flags","type":"#"},{"name":"id","type":"long"},{"name":"access_hash","type":"long"},{"name":"short_name","type":"string"},{"name":"title","type":"string"},{"name":"description","type":"string"},{"name":"photo","type":"Photo"},{"name":"document","type":"flags.0?Document"}],"type":"Game"},{"id":"1336154098","predicate":"inputBotInlineResultGame","params":[{"name":"id","type":"string"},{"name":"short_name","type":"string"},{"name":"send_message","type":"InputBotInlineMessage"}],"type":"InputBotInlineResult"},{"id":"1262639204","predicate":"inputBotInlineMessageGame","params":[{"name":"flags","type":"#"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"}],"type":"InputBotInlineMessage"},{"id":"-38694904","predicate":"messageMediaGame","params":[{"name":"game","type":"Game"}],"type":"MessageMedia"},{"id":"-750828557","predicate":"inputMediaGame","params":[{"name":"id","type":"InputGame"}],"type":"InputMedia"},{"id":"53231223","predicate":"inputGameID","params":[{"name":"id","type":"long"},{"name":"access_hash","type":"long"}],"type":"InputGame"},{"id":"-1020139510","predicate":"inputGameShortName","params":[{"name":"bot_id","type":"InputUser"},{"name":"short_name","type":"string"}],"type":"InputGame"},{"id":"1358175439","predicate":"keyboardButtonGame","params":[{"name":"text","type":"string"}],"type":"KeyboardButton"},{"id":"-1834538890","predicate":"messageActionGameScore","params":[{"name":"game_id","type":"long"},{"name":"score","type":"int"}],"type":"MessageAction"},{"id":"1940093419","predicate":"highScore","params":[{"name":"pos","type":"int"},{"name":"user_id","type":"long"},{"name":"score","type":"int"}],"type":"HighScore"},{"id":"-1707344487","predicate":"messages.highScores","params":[{"name":"scores","type":"Vector"},{"name":"users","type":"Vector"}],"type":"messages.HighScores"},{"id":"1258196845","predicate":"updates.differenceTooLong","params":[{"name":"pts","type":"int"}],"type":"updates.Difference"},{"id":"791390623","predicate":"updateChannelWebPage","params":[{"name":"channel_id","type":"long"},{"name":"webpage","type":"WebPage"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"}],"type":"Update"},{"id":"-1663561404","predicate":"messages.chatsSlice","params":[{"name":"count","type":"int"},{"name":"chats","type":"Vector"}],"type":"messages.Chats"},{"id":"-599948721","predicate":"textEmpty","params":[],"type":"RichText"},{"id":"1950782688","predicate":"textPlain","params":[{"name":"text","type":"string"}],"type":"RichText"},{"id":"1730456516","predicate":"textBold","params":[{"name":"text","type":"RichText"}],"type":"RichText"},{"id":"-653089380","predicate":"textItalic","params":[{"name":"text","type":"RichText"}],"type":"RichText"},{"id":"-1054465340","predicate":"textUnderline","params":[{"name":"text","type":"RichText"}],"type":"RichText"},{"id":"-1678197867","predicate":"textStrike","params":[{"name":"text","type":"RichText"}],"type":"RichText"},{"id":"1816074681","predicate":"textFixed","params":[{"name":"text","type":"RichText"}],"type":"RichText"},{"id":"1009288385","predicate":"textUrl","params":[{"name":"text","type":"RichText"},{"name":"url","type":"string"},{"name":"webpage_id","type":"long"}],"type":"RichText"},{"id":"-564523562","predicate":"textEmail","params":[{"name":"text","type":"RichText"},{"name":"email","type":"string"}],"type":"RichText"},{"id":"2120376535","predicate":"textConcat","params":[{"name":"texts","type":"Vector"}],"type":"RichText"},{"id":"324435594","predicate":"pageBlockUnsupported","params":[],"type":"PageBlock"},{"id":"1890305021","predicate":"pageBlockTitle","params":[{"name":"text","type":"RichText"}],"type":"PageBlock"},{"id":"-1879401953","predicate":"pageBlockSubtitle","params":[{"name":"text","type":"RichText"}],"type":"PageBlock"},{"id":"-1162877472","predicate":"pageBlockAuthorDate","params":[{"name":"author","type":"RichText"},{"name":"published_date","type":"int"}],"type":"PageBlock"},{"id":"-1076861716","predicate":"pageBlockHeader","params":[{"name":"text","type":"RichText"}],"type":"PageBlock"},{"id":"-248793375","predicate":"pageBlockSubheader","params":[{"name":"text","type":"RichText"}],"type":"PageBlock"},{"id":"1182402406","predicate":"pageBlockParagraph","params":[{"name":"text","type":"RichText"}],"type":"PageBlock"},{"id":"-1066346178","predicate":"pageBlockPreformatted","params":[{"name":"text","type":"RichText"},{"name":"language","type":"string"}],"type":"PageBlock"},{"id":"1216809369","predicate":"pageBlockFooter","params":[{"name":"text","type":"RichText"}],"type":"PageBlock"},{"id":"-618614392","predicate":"pageBlockDivider","params":[],"type":"PageBlock"},{"id":"-837994576","predicate":"pageBlockAnchor","params":[{"name":"name","type":"string"}],"type":"PageBlock"},{"id":"-454524911","predicate":"pageBlockList","params":[{"name":"items","type":"Vector"}],"type":"PageBlock"},{"id":"641563686","predicate":"pageBlockBlockquote","params":[{"name":"text","type":"RichText"},{"name":"caption","type":"RichText"}],"type":"PageBlock"},{"id":"1329878739","predicate":"pageBlockPullquote","params":[{"name":"text","type":"RichText"},{"name":"caption","type":"RichText"}],"type":"PageBlock"},{"id":"391759200","predicate":"pageBlockPhoto","params":[{"name":"flags","type":"#"},{"name":"photo_id","type":"long"},{"name":"caption","type":"PageCaption"},{"name":"url","type":"flags.0?string"},{"name":"webpage_id","type":"flags.0?long"}],"type":"PageBlock"},{"id":"2089805750","predicate":"pageBlockVideo","params":[{"name":"flags","type":"#"},{"name":"autoplay","type":"flags.0?true"},{"name":"loop","type":"flags.1?true"},{"name":"video_id","type":"long"},{"name":"caption","type":"PageCaption"}],"type":"PageBlock"},{"id":"972174080","predicate":"pageBlockCover","params":[{"name":"cover","type":"PageBlock"}],"type":"PageBlock"},{"id":"-1468953147","predicate":"pageBlockEmbed","params":[{"name":"flags","type":"#"},{"name":"full_width","type":"flags.0?true"},{"name":"allow_scrolling","type":"flags.3?true"},{"name":"url","type":"flags.1?string"},{"name":"html","type":"flags.2?string"},{"name":"poster_photo_id","type":"flags.4?long"},{"name":"w","type":"flags.5?int"},{"name":"h","type":"flags.5?int"},{"name":"caption","type":"PageCaption"}],"type":"PageBlock"},{"id":"-229005301","predicate":"pageBlockEmbedPost","params":[{"name":"url","type":"string"},{"name":"webpage_id","type":"long"},{"name":"author_photo_id","type":"long"},{"name":"author","type":"string"},{"name":"date","type":"int"},{"name":"blocks","type":"Vector"},{"name":"caption","type":"PageCaption"}],"type":"PageBlock"},{"id":"1705048653","predicate":"pageBlockCollage","params":[{"name":"items","type":"Vector"},{"name":"caption","type":"PageCaption"}],"type":"PageBlock"},{"id":"52401552","predicate":"pageBlockSlideshow","params":[{"name":"items","type":"Vector"},{"name":"caption","type":"PageCaption"}],"type":"PageBlock"},{"id":"1930545681","predicate":"webPageNotModified","params":[{"name":"flags","type":"#"},{"name":"cached_page_views","type":"flags.0?int"}],"type":"WebPage"},{"id":"-88417185","predicate":"inputPrivacyKeyPhoneCall","params":[],"type":"InputPrivacyKey"},{"id":"1030105979","predicate":"privacyKeyPhoneCall","params":[],"type":"PrivacyKey"},{"id":"-580219064","predicate":"sendMessageGamePlayAction","params":[],"type":"SendMessageAction"},{"id":"-2048646399","predicate":"phoneCallDiscardReasonMissed","params":[],"type":"PhoneCallDiscardReason"},{"id":"-527056480","predicate":"phoneCallDiscardReasonDisconnect","params":[],"type":"PhoneCallDiscardReason"},{"id":"1471006352","predicate":"phoneCallDiscardReasonHangup","params":[],"type":"PhoneCallDiscardReason"},{"id":"-84416311","predicate":"phoneCallDiscardReasonBusy","params":[],"type":"PhoneCallDiscardReason"},{"id":"1852826908","predicate":"updateDialogPinned","params":[{"name":"flags","type":"#"},{"name":"pinned","type":"flags.0?true"},{"name":"folder_id","type":"flags.1?int"},{"name":"peer","type":"DialogPeer"}],"type":"Update"},{"id":"-99664734","predicate":"updatePinnedDialogs","params":[{"name":"flags","type":"#"},{"name":"folder_id","type":"flags.1?int"},{"name":"order","type":"flags.0?Vector"}],"type":"Update"},{"id":"2104790276","predicate":"dataJSON","params":[{"name":"data","type":"string"}],"type":"DataJSON"},{"id":"-2095595325","predicate":"updateBotWebhookJSON","params":[{"name":"data","type":"DataJSON"}],"type":"Update"},{"id":"-1684914010","predicate":"updateBotWebhookJSONQuery","params":[{"name":"query_id","type":"long"},{"name":"data","type":"DataJSON"},{"name":"timeout","type":"int"}],"type":"Update"},{"id":"-886477832","predicate":"labeledPrice","params":[{"name":"label","type":"string"},{"name":"amount","type":"long"}],"type":"LabeledPrice"},{"id":"1048946971","predicate":"invoice","params":[{"name":"flags","type":"#"},{"name":"test","type":"flags.0?true"},{"name":"name_requested","type":"flags.1?true"},{"name":"phone_requested","type":"flags.2?true"},{"name":"email_requested","type":"flags.3?true"},{"name":"shipping_address_requested","type":"flags.4?true"},{"name":"flexible","type":"flags.5?true"},{"name":"phone_to_provider","type":"flags.6?true"},{"name":"email_to_provider","type":"flags.7?true"},{"name":"recurring","type":"flags.9?true"},{"name":"currency","type":"string"},{"name":"prices","type":"Vector"},{"name":"max_tip_amount","type":"flags.8?long"},{"name":"suggested_tip_amounts","type":"flags.8?Vector"},{"name":"recurring_terms_url","type":"flags.9?string"}],"type":"Invoice"},{"id":"-1900697899","predicate":"inputMediaInvoice","params":[{"name":"flags","type":"#"},{"name":"title","type":"string"},{"name":"description","type":"string"},{"name":"photo","type":"flags.0?InputWebDocument"},{"name":"invoice","type":"Invoice"},{"name":"payload","type":"bytes"},{"name":"provider","type":"string"},{"name":"provider_data","type":"DataJSON"},{"name":"start_param","type":"flags.1?string"},{"name":"extended_media","type":"flags.2?InputMedia"}],"type":"InputMedia"},{"id":"-368917890","predicate":"paymentCharge","params":[{"name":"id","type":"string"},{"name":"provider_charge_id","type":"string"}],"type":"PaymentCharge"},{"id":"-1892568281","predicate":"messageActionPaymentSentMe","params":[{"name":"flags","type":"#"},{"name":"recurring_init","type":"flags.2?true"},{"name":"recurring_used","type":"flags.3?true"},{"name":"currency","type":"string"},{"name":"total_amount","type":"long"},{"name":"payload","type":"bytes"},{"name":"info","type":"flags.0?PaymentRequestedInfo"},{"name":"shipping_option_id","type":"flags.1?string"},{"name":"charge","type":"PaymentCharge"}],"type":"MessageAction"},{"id":"-156940077","predicate":"messageMediaInvoice","params":[{"name":"flags","type":"#"},{"name":"shipping_address_requested","type":"flags.1?true"},{"name":"test","type":"flags.3?true"},{"name":"title","type":"string"},{"name":"description","type":"string"},{"name":"photo","type":"flags.0?WebDocument"},{"name":"receipt_msg_id","type":"flags.2?int"},{"name":"currency","type":"string"},{"name":"total_amount","type":"long"},{"name":"start_param","type":"string"},{"name":"extended_media","type":"flags.4?MessageExtendedMedia"}],"type":"MessageMedia"},{"id":"512535275","predicate":"postAddress","params":[{"name":"street_line1","type":"string"},{"name":"street_line2","type":"string"},{"name":"city","type":"string"},{"name":"state","type":"string"},{"name":"country_iso2","type":"string"},{"name":"post_code","type":"string"}],"type":"PostAddress"},{"id":"-1868808300","predicate":"paymentRequestedInfo","params":[{"name":"flags","type":"#"},{"name":"name","type":"flags.0?string"},{"name":"phone","type":"flags.1?string"},{"name":"email","type":"flags.2?string"},{"name":"shipping_address","type":"flags.3?PostAddress"}],"type":"PaymentRequestedInfo"},{"id":"-1344716869","predicate":"keyboardButtonBuy","params":[{"name":"text","type":"string"}],"type":"KeyboardButton"},{"id":"-1776926890","predicate":"messageActionPaymentSent","params":[{"name":"flags","type":"#"},{"name":"recurring_init","type":"flags.2?true"},{"name":"recurring_used","type":"flags.3?true"},{"name":"currency","type":"string"},{"name":"total_amount","type":"long"},{"name":"invoice_slug","type":"flags.0?string"}],"type":"MessageAction"},{"id":"-842892769","predicate":"paymentSavedCredentialsCard","params":[{"name":"id","type":"string"},{"name":"title","type":"string"}],"type":"PaymentSavedCredentials"},{"id":"475467473","predicate":"webDocument","params":[{"name":"url","type":"string"},{"name":"access_hash","type":"long"},{"name":"size","type":"int"},{"name":"mime_type","type":"string"},{"name":"attributes","type":"Vector"}],"type":"WebDocument"},{"id":"-1678949555","predicate":"inputWebDocument","params":[{"name":"url","type":"string"},{"name":"size","type":"int"},{"name":"mime_type","type":"string"},{"name":"attributes","type":"Vector"}],"type":"InputWebDocument"},{"id":"-1036396922","predicate":"inputWebFileLocation","params":[{"name":"url","type":"string"},{"name":"access_hash","type":"long"}],"type":"InputWebFileLocation"},{"id":"568808380","predicate":"upload.webFile","params":[{"name":"size","type":"int"},{"name":"mime_type","type":"string"},{"name":"file_type","type":"storage.FileType"},{"name":"mtime","type":"int"},{"name":"bytes","type":"bytes"}],"type":"upload.WebFile"},{"id":"-1610250415","predicate":"payments.paymentForm","params":[{"name":"flags","type":"#"},{"name":"can_save_credentials","type":"flags.2?true"},{"name":"password_missing","type":"flags.3?true"},{"name":"form_id","type":"long"},{"name":"bot_id","type":"long"},{"name":"title","type":"string"},{"name":"description","type":"string"},{"name":"photo","type":"flags.5?WebDocument"},{"name":"invoice","type":"Invoice"},{"name":"provider_id","type":"long"},{"name":"url","type":"string"},{"name":"native_provider","type":"flags.4?string"},{"name":"native_params","type":"flags.4?DataJSON"},{"name":"additional_methods","type":"flags.6?Vector"},{"name":"saved_info","type":"flags.0?PaymentRequestedInfo"},{"name":"saved_credentials","type":"flags.1?Vector"},{"name":"users","type":"Vector"}],"type":"payments.PaymentForm"},{"id":"-784000893","predicate":"payments.validatedRequestedInfo","params":[{"name":"flags","type":"#"},{"name":"id","type":"flags.0?string"},{"name":"shipping_options","type":"flags.1?Vector"}],"type":"payments.ValidatedRequestedInfo"},{"id":"1314881805","predicate":"payments.paymentResult","params":[{"name":"updates","type":"Updates"}],"type":"payments.PaymentResult"},{"id":"1891958275","predicate":"payments.paymentReceipt","params":[{"name":"flags","type":"#"},{"name":"date","type":"int"},{"name":"bot_id","type":"long"},{"name":"provider_id","type":"long"},{"name":"title","type":"string"},{"name":"description","type":"string"},{"name":"photo","type":"flags.2?WebDocument"},{"name":"invoice","type":"Invoice"},{"name":"info","type":"flags.0?PaymentRequestedInfo"},{"name":"shipping","type":"flags.1?ShippingOption"},{"name":"tip_amount","type":"flags.3?long"},{"name":"currency","type":"string"},{"name":"total_amount","type":"long"},{"name":"credentials_title","type":"string"},{"name":"users","type":"Vector"}],"type":"payments.PaymentReceipt"},{"id":"-74456004","predicate":"payments.savedInfo","params":[{"name":"flags","type":"#"},{"name":"has_saved_credentials","type":"flags.1?true"},{"name":"saved_info","type":"flags.0?PaymentRequestedInfo"}],"type":"payments.SavedInfo"},{"id":"-1056001329","predicate":"inputPaymentCredentialsSaved","params":[{"name":"id","type":"string"},{"name":"tmp_password","type":"bytes"}],"type":"InputPaymentCredentials"},{"id":"873977640","predicate":"inputPaymentCredentials","params":[{"name":"flags","type":"#"},{"name":"save","type":"flags.0?true"},{"name":"data","type":"DataJSON"}],"type":"InputPaymentCredentials"},{"id":"-614138572","predicate":"account.tmpPassword","params":[{"name":"tmp_password","type":"bytes"},{"name":"valid_until","type":"int"}],"type":"account.TmpPassword"},{"id":"-1239335713","predicate":"shippingOption","params":[{"name":"id","type":"string"},{"name":"title","type":"string"},{"name":"prices","type":"Vector"}],"type":"ShippingOption"},{"id":"-1246823043","predicate":"updateBotShippingQuery","params":[{"name":"query_id","type":"long"},{"name":"user_id","type":"long"},{"name":"payload","type":"bytes"},{"name":"shipping_address","type":"PostAddress"}],"type":"Update"},{"id":"-1934976362","predicate":"updateBotPrecheckoutQuery","params":[{"name":"flags","type":"#"},{"name":"query_id","type":"long"},{"name":"user_id","type":"long"},{"name":"payload","type":"bytes"},{"name":"info","type":"flags.0?PaymentRequestedInfo"},{"name":"shipping_option_id","type":"flags.1?string"},{"name":"currency","type":"string"},{"name":"total_amount","type":"long"}],"type":"Update"},{"id":"853188252","predicate":"inputStickerSetItem","params":[{"name":"flags","type":"#"},{"name":"document","type":"InputDocument"},{"name":"emoji","type":"string"},{"name":"mask_coords","type":"flags.0?MaskCoords"},{"name":"keywords","type":"flags.1?string"}],"type":"InputStickerSetItem"},{"id":"-1425052898","predicate":"updatePhoneCall","params":[{"name":"phone_call","type":"PhoneCall"}],"type":"Update"},{"id":"506920429","predicate":"inputPhoneCall","params":[{"name":"id","type":"long"},{"name":"access_hash","type":"long"}],"type":"InputPhoneCall"},{"id":"1399245077","predicate":"phoneCallEmpty","params":[{"name":"id","type":"long"}],"type":"PhoneCall"},{"id":"-987599081","predicate":"phoneCallWaiting","params":[{"name":"flags","type":"#"},{"name":"video","type":"flags.6?true"},{"name":"id","type":"long"},{"name":"access_hash","type":"long"},{"name":"date","type":"int"},{"name":"admin_id","type":"long"},{"name":"participant_id","type":"long"},{"name":"protocol","type":"PhoneCallProtocol"},{"name":"receive_date","type":"flags.0?int"}],"type":"PhoneCall"},{"id":"347139340","predicate":"phoneCallRequested","params":[{"name":"flags","type":"#"},{"name":"video","type":"flags.6?true"},{"name":"id","type":"long"},{"name":"access_hash","type":"long"},{"name":"date","type":"int"},{"name":"admin_id","type":"long"},{"name":"participant_id","type":"long"},{"name":"g_a_hash","type":"bytes"},{"name":"protocol","type":"PhoneCallProtocol"}],"type":"PhoneCall"},{"id":"912311057","predicate":"phoneCallAccepted","params":[{"name":"flags","type":"#"},{"name":"video","type":"flags.6?true"},{"name":"id","type":"long"},{"name":"access_hash","type":"long"},{"name":"date","type":"int"},{"name":"admin_id","type":"long"},{"name":"participant_id","type":"long"},{"name":"g_b","type":"bytes"},{"name":"protocol","type":"PhoneCallProtocol"}],"type":"PhoneCall"},{"id":"-1770029977","predicate":"phoneCall","params":[{"name":"flags","type":"#"},{"name":"p2p_allowed","type":"flags.5?true"},{"name":"video","type":"flags.6?true"},{"name":"id","type":"long"},{"name":"access_hash","type":"long"},{"name":"date","type":"int"},{"name":"admin_id","type":"long"},{"name":"participant_id","type":"long"},{"name":"g_a_or_b","type":"bytes"},{"name":"key_fingerprint","type":"long"},{"name":"protocol","type":"PhoneCallProtocol"},{"name":"connections","type":"Vector"},{"name":"start_date","type":"int"}],"type":"PhoneCall"},{"id":"1355435489","predicate":"phoneCallDiscarded","params":[{"name":"flags","type":"#"},{"name":"need_rating","type":"flags.2?true"},{"name":"need_debug","type":"flags.3?true"},{"name":"video","type":"flags.6?true"},{"name":"id","type":"long"},{"name":"reason","type":"flags.0?PhoneCallDiscardReason"},{"name":"duration","type":"flags.1?int"}],"type":"PhoneCall"},{"id":"-1665063993","predicate":"phoneConnection","params":[{"name":"flags","type":"#"},{"name":"tcp","type":"flags.0?true"},{"name":"id","type":"long"},{"name":"ip","type":"string"},{"name":"ipv6","type":"string"},{"name":"port","type":"int"},{"name":"peer_tag","type":"bytes"}],"type":"PhoneConnection"},{"id":"-58224696","predicate":"phoneCallProtocol","params":[{"name":"flags","type":"#"},{"name":"udp_p2p","type":"flags.0?true"},{"name":"udp_reflector","type":"flags.1?true"},{"name":"min_layer","type":"int"},{"name":"max_layer","type":"int"},{"name":"library_versions","type":"Vector"}],"type":"PhoneCallProtocol"},{"id":"-326966976","predicate":"phone.phoneCall","params":[{"name":"phone_call","type":"PhoneCall"},{"name":"users","type":"Vector"}],"type":"phone.PhoneCall"},{"id":"-2134272152","predicate":"inputMessagesFilterPhoneCalls","params":[{"name":"flags","type":"#"},{"name":"missed","type":"flags.0?true"}],"type":"MessagesFilter"},{"id":"-2132731265","predicate":"messageActionPhoneCall","params":[{"name":"flags","type":"#"},{"name":"video","type":"flags.2?true"},{"name":"call_id","type":"long"},{"name":"reason","type":"flags.0?PhoneCallDiscardReason"},{"name":"duration","type":"flags.1?int"}],"type":"MessageAction"},{"id":"2054952868","predicate":"inputMessagesFilterRoundVoice","params":[],"type":"MessagesFilter"},{"id":"-1253451181","predicate":"inputMessagesFilterRoundVideo","params":[],"type":"MessagesFilter"},{"id":"-1997373508","predicate":"sendMessageRecordRoundAction","params":[],"type":"SendMessageAction"},{"id":"608050278","predicate":"sendMessageUploadRoundAction","params":[{"name":"progress","type":"int"}],"type":"SendMessageAction"},{"id":"-242427324","predicate":"upload.fileCdnRedirect","params":[{"name":"dc_id","type":"int"},{"name":"file_token","type":"bytes"},{"name":"encryption_key","type":"bytes"},{"name":"encryption_iv","type":"bytes"},{"name":"file_hashes","type":"Vector"}],"type":"upload.File"},{"id":"-290921362","predicate":"upload.cdnFileReuploadNeeded","params":[{"name":"request_token","type":"bytes"}],"type":"upload.CdnFile"},{"id":"-1449145777","predicate":"upload.cdnFile","params":[{"name":"bytes","type":"bytes"}],"type":"upload.CdnFile"},{"id":"-914167110","predicate":"cdnPublicKey","params":[{"name":"dc_id","type":"int"},{"name":"public_key","type":"string"}],"type":"CdnPublicKey"},{"id":"1462101002","predicate":"cdnConfig","params":[{"name":"public_keys","type":"Vector"}],"type":"CdnConfig"},{"id":"-283684427","predicate":"pageBlockChannel","params":[{"name":"channel","type":"Chat"}],"type":"PageBlock"},{"id":"-892239370","predicate":"langPackString","params":[{"name":"key","type":"string"},{"name":"value","type":"string"}],"type":"LangPackString"},{"id":"1816636575","predicate":"langPackStringPluralized","params":[{"name":"flags","type":"#"},{"name":"key","type":"string"},{"name":"zero_value","type":"flags.0?string"},{"name":"one_value","type":"flags.1?string"},{"name":"two_value","type":"flags.2?string"},{"name":"few_value","type":"flags.3?string"},{"name":"many_value","type":"flags.4?string"},{"name":"other_value","type":"string"}],"type":"LangPackString"},{"id":"695856818","predicate":"langPackStringDeleted","params":[{"name":"key","type":"string"}],"type":"LangPackString"},{"id":"-209337866","predicate":"langPackDifference","params":[{"name":"lang_code","type":"string"},{"name":"from_version","type":"int"},{"name":"version","type":"int"},{"name":"strings","type":"Vector"}],"type":"LangPackDifference"},{"id":"-288727837","predicate":"langPackLanguage","params":[{"name":"flags","type":"#"},{"name":"official","type":"flags.0?true"},{"name":"rtl","type":"flags.2?true"},{"name":"beta","type":"flags.3?true"},{"name":"name","type":"string"},{"name":"native_name","type":"string"},{"name":"lang_code","type":"string"},{"name":"base_lang_code","type":"flags.1?string"},{"name":"plural_code","type":"string"},{"name":"strings_count","type":"int"},{"name":"translated_count","type":"int"},{"name":"translations_url","type":"string"}],"type":"LangPackLanguage"},{"id":"1180041828","predicate":"updateLangPackTooLong","params":[{"name":"lang_code","type":"string"}],"type":"Update"},{"id":"1442983757","predicate":"updateLangPack","params":[{"name":"difference","type":"LangPackDifference"}],"type":"Update"},{"id":"885242707","predicate":"channelParticipantAdmin","params":[{"name":"flags","type":"#"},{"name":"can_edit","type":"flags.0?true"},{"name":"self","type":"flags.1?true"},{"name":"user_id","type":"long"},{"name":"inviter_id","type":"flags.1?long"},{"name":"promoted_by","type":"long"},{"name":"date","type":"int"},{"name":"admin_rights","type":"ChatAdminRights"},{"name":"rank","type":"flags.2?string"}],"type":"ChannelParticipant"},{"id":"1844969806","predicate":"channelParticipantBanned","params":[{"name":"flags","type":"#"},{"name":"left","type":"flags.0?true"},{"name":"peer","type":"Peer"},{"name":"kicked_by","type":"long"},{"name":"date","type":"int"},{"name":"banned_rights","type":"ChatBannedRights"}],"type":"ChannelParticipant"},{"id":"338142689","predicate":"channelParticipantsBanned","params":[{"name":"q","type":"string"}],"type":"ChannelParticipantsFilter"},{"id":"106343499","predicate":"channelParticipantsSearch","params":[{"name":"q","type":"string"}],"type":"ChannelParticipantsFilter"},{"id":"-421545947","predicate":"channelAdminLogEventActionChangeTitle","params":[{"name":"prev_value","type":"string"},{"name":"new_value","type":"string"}],"type":"ChannelAdminLogEventAction"},{"id":"1427671598","predicate":"channelAdminLogEventActionChangeAbout","params":[{"name":"prev_value","type":"string"},{"name":"new_value","type":"string"}],"type":"ChannelAdminLogEventAction"},{"id":"1783299128","predicate":"channelAdminLogEventActionChangeUsername","params":[{"name":"prev_value","type":"string"},{"name":"new_value","type":"string"}],"type":"ChannelAdminLogEventAction"},{"id":"1129042607","predicate":"channelAdminLogEventActionChangePhoto","params":[{"name":"prev_photo","type":"Photo"},{"name":"new_photo","type":"Photo"}],"type":"ChannelAdminLogEventAction"},{"id":"460916654","predicate":"channelAdminLogEventActionToggleInvites","params":[{"name":"new_value","type":"Bool"}],"type":"ChannelAdminLogEventAction"},{"id":"648939889","predicate":"channelAdminLogEventActionToggleSignatures","params":[{"name":"new_value","type":"Bool"}],"type":"ChannelAdminLogEventAction"},{"id":"-370660328","predicate":"channelAdminLogEventActionUpdatePinned","params":[{"name":"message","type":"Message"}],"type":"ChannelAdminLogEventAction"},{"id":"1889215493","predicate":"channelAdminLogEventActionEditMessage","params":[{"name":"prev_message","type":"Message"},{"name":"new_message","type":"Message"}],"type":"ChannelAdminLogEventAction"},{"id":"1121994683","predicate":"channelAdminLogEventActionDeleteMessage","params":[{"name":"message","type":"Message"}],"type":"ChannelAdminLogEventAction"},{"id":"405815507","predicate":"channelAdminLogEventActionParticipantJoin","params":[],"type":"ChannelAdminLogEventAction"},{"id":"-124291086","predicate":"channelAdminLogEventActionParticipantLeave","params":[],"type":"ChannelAdminLogEventAction"},{"id":"-484690728","predicate":"channelAdminLogEventActionParticipantInvite","params":[{"name":"participant","type":"ChannelParticipant"}],"type":"ChannelAdminLogEventAction"},{"id":"-422036098","predicate":"channelAdminLogEventActionParticipantToggleBan","params":[{"name":"prev_participant","type":"ChannelParticipant"},{"name":"new_participant","type":"ChannelParticipant"}],"type":"ChannelAdminLogEventAction"},{"id":"-714643696","predicate":"channelAdminLogEventActionParticipantToggleAdmin","params":[{"name":"prev_participant","type":"ChannelParticipant"},{"name":"new_participant","type":"ChannelParticipant"}],"type":"ChannelAdminLogEventAction"},{"id":"531458253","predicate":"channelAdminLogEvent","params":[{"name":"id","type":"long"},{"name":"date","type":"int"},{"name":"user_id","type":"long"},{"name":"action","type":"ChannelAdminLogEventAction"}],"type":"ChannelAdminLogEvent"},{"id":"-309659827","predicate":"channels.adminLogResults","params":[{"name":"events","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"channels.AdminLogResults"},{"id":"-368018716","predicate":"channelAdminLogEventsFilter","params":[{"name":"flags","type":"#"},{"name":"join","type":"flags.0?true"},{"name":"leave","type":"flags.1?true"},{"name":"invite","type":"flags.2?true"},{"name":"ban","type":"flags.3?true"},{"name":"unban","type":"flags.4?true"},{"name":"kick","type":"flags.5?true"},{"name":"unkick","type":"flags.6?true"},{"name":"promote","type":"flags.7?true"},{"name":"demote","type":"flags.8?true"},{"name":"info","type":"flags.9?true"},{"name":"settings","type":"flags.10?true"},{"name":"pinned","type":"flags.11?true"},{"name":"edit","type":"flags.12?true"},{"name":"delete","type":"flags.13?true"},{"name":"group_call","type":"flags.14?true"},{"name":"invites","type":"flags.15?true"},{"name":"send","type":"flags.16?true"},{"name":"forums","type":"flags.17?true"}],"type":"ChannelAdminLogEventsFilter"},{"id":"511092620","predicate":"topPeerCategoryPhoneCalls","params":[],"type":"TopPeerCategory"},{"id":"-2143067670","predicate":"pageBlockAudio","params":[{"name":"audio_id","type":"long"},{"name":"caption","type":"PageCaption"}],"type":"PageBlock"},{"id":"1558266229","predicate":"popularContact","params":[{"name":"client_id","type":"long"},{"name":"importers","type":"int"}],"type":"PopularContact"},{"id":"1200788123","predicate":"messageActionScreenshotTaken","params":[],"type":"MessageAction"},{"id":"-1634752813","predicate":"messages.favedStickersNotModified","params":[],"type":"messages.FavedStickers"},{"id":"750063767","predicate":"messages.favedStickers","params":[{"name":"hash","type":"long"},{"name":"packs","type":"Vector"},{"name":"stickers","type":"Vector"}],"type":"messages.FavedStickers"},{"id":"-451831443","predicate":"updateFavedStickers","params":[],"type":"Update"},{"id":"-366410403","predicate":"updateChannelReadMessagesContents","params":[{"name":"flags","type":"#"},{"name":"channel_id","type":"long"},{"name":"top_msg_id","type":"flags.0?int"},{"name":"messages","type":"Vector"}],"type":"Update"},{"id":"-1040652646","predicate":"inputMessagesFilterMyMentions","params":[],"type":"MessagesFilter"},{"id":"1887741886","predicate":"updateContactsReset","params":[],"type":"Update"},{"id":"-1312568665","predicate":"channelAdminLogEventActionChangeStickerSet","params":[{"name":"prev_stickerset","type":"InputStickerSet"},{"name":"new_stickerset","type":"InputStickerSet"}],"type":"ChannelAdminLogEventAction"},{"id":"-85549226","predicate":"messageActionCustomAction","params":[{"name":"message","type":"string"}],"type":"MessageAction"},{"id":"178373535","predicate":"inputPaymentCredentialsApplePay","params":[{"name":"payment_data","type":"DataJSON"}],"type":"InputPaymentCredentials"},{"id":"-419271411","predicate":"inputMessagesFilterGeo","params":[],"type":"MessagesFilter"},{"id":"-530392189","predicate":"inputMessagesFilterContacts","params":[],"type":"MessagesFilter"},{"id":"-1304443240","predicate":"updateChannelAvailableMessages","params":[{"name":"channel_id","type":"long"},{"name":"available_min_id","type":"int"}],"type":"Update"},{"id":"1599903217","predicate":"channelAdminLogEventActionTogglePreHistoryHidden","params":[{"name":"new_value","type":"Bool"}],"type":"ChannelAdminLogEventAction"},{"id":"-1759532989","predicate":"inputMediaGeoLive","params":[{"name":"flags","type":"#"},{"name":"stopped","type":"flags.0?true"},{"name":"geo_point","type":"InputGeoPoint"},{"name":"heading","type":"flags.2?int"},{"name":"period","type":"flags.1?int"},{"name":"proximity_notification_radius","type":"flags.3?int"}],"type":"InputMedia"},{"id":"-1186937242","predicate":"messageMediaGeoLive","params":[{"name":"flags","type":"#"},{"name":"geo","type":"GeoPoint"},{"name":"heading","type":"flags.0?int"},{"name":"period","type":"int"},{"name":"proximity_notification_radius","type":"flags.1?int"}],"type":"MessageMedia"},{"id":"1189204285","predicate":"recentMeUrlUnknown","params":[{"name":"url","type":"string"}],"type":"RecentMeUrl"},{"id":"-1188296222","predicate":"recentMeUrlUser","params":[{"name":"url","type":"string"},{"name":"user_id","type":"long"}],"type":"RecentMeUrl"},{"id":"-1294306862","predicate":"recentMeUrlChat","params":[{"name":"url","type":"string"},{"name":"chat_id","type":"long"}],"type":"RecentMeUrl"},{"id":"-347535331","predicate":"recentMeUrlChatInvite","params":[{"name":"url","type":"string"},{"name":"chat_invite","type":"ChatInvite"}],"type":"RecentMeUrl"},{"id":"-1140172836","predicate":"recentMeUrlStickerSet","params":[{"name":"url","type":"string"},{"name":"set","type":"StickerSetCovered"}],"type":"RecentMeUrl"},{"id":"235081943","predicate":"help.recentMeUrls","params":[{"name":"urls","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"help.RecentMeUrls"},{"id":"-266911767","predicate":"channels.channelParticipantsNotModified","params":[],"type":"channels.ChannelParticipants"},{"id":"1951620897","predicate":"messages.messagesNotModified","params":[{"name":"count","type":"int"}],"type":"messages.Messages"},{"id":"482797855","predicate":"inputSingleMedia","params":[{"name":"flags","type":"#"},{"name":"media","type":"InputMedia"},{"name":"random_id","type":"long"},{"name":"message","type":"string"},{"name":"entities","type":"flags.0?Vector"}],"type":"InputSingleMedia"},{"id":"-1493633966","predicate":"webAuthorization","params":[{"name":"hash","type":"long"},{"name":"bot_id","type":"long"},{"name":"domain","type":"string"},{"name":"browser","type":"string"},{"name":"platform","type":"string"},{"name":"date_created","type":"int"},{"name":"date_active","type":"int"},{"name":"ip","type":"string"},{"name":"region","type":"string"}],"type":"WebAuthorization"},{"id":"-313079300","predicate":"account.webAuthorizations","params":[{"name":"authorizations","type":"Vector"},{"name":"users","type":"Vector"}],"type":"account.WebAuthorizations"},{"id":"-1502174430","predicate":"inputMessageID","params":[{"name":"id","type":"int"}],"type":"InputMessage"},{"id":"-1160215659","predicate":"inputMessageReplyTo","params":[{"name":"id","type":"int"}],"type":"InputMessage"},{"id":"-2037963464","predicate":"inputMessagePinned","params":[],"type":"InputMessage"},{"id":"-1687559349","predicate":"messageEntityPhone","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"}],"type":"MessageEntity"},{"id":"1280209983","predicate":"messageEntityCashtag","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"}],"type":"MessageEntity"},{"id":"-988359047","predicate":"messageActionBotAllowed","params":[{"name":"flags","type":"#"},{"name":"attach_menu","type":"flags.1?true"},{"name":"domain","type":"flags.0?string"},{"name":"app","type":"flags.2?BotApp"}],"type":"MessageAction"},{"id":"-55902537","predicate":"inputDialogPeer","params":[{"name":"peer","type":"InputPeer"}],"type":"InputDialogPeer"},{"id":"-445792507","predicate":"dialogPeer","params":[{"name":"peer","type":"Peer"}],"type":"DialogPeer"},{"id":"223655517","predicate":"messages.foundStickerSetsNotModified","params":[],"type":"messages.FoundStickerSets"},{"id":"-1963942446","predicate":"messages.foundStickerSets","params":[{"name":"hash","type":"long"},{"name":"sets","type":"Vector"}],"type":"messages.FoundStickerSets"},{"id":"-207944868","predicate":"fileHash","params":[{"name":"offset","type":"long"},{"name":"limit","type":"int"},{"name":"hash","type":"bytes"}],"type":"FileHash"},{"id":"-104284986","predicate":"webDocumentNoProxy","params":[{"name":"url","type":"string"},{"name":"size","type":"int"},{"name":"mime_type","type":"string"},{"name":"attributes","type":"Vector"}],"type":"WebDocument"},{"id":"1968737087","predicate":"inputClientProxy","params":[{"name":"address","type":"string"},{"name":"port","type":"int"}],"type":"InputClientProxy"},{"id":"-483352705","predicate":"help.termsOfServiceUpdateEmpty","params":[{"name":"expires","type":"int"}],"type":"help.TermsOfServiceUpdate"},{"id":"686618977","predicate":"help.termsOfServiceUpdate","params":[{"name":"expires","type":"int"},{"name":"terms_of_service","type":"help.TermsOfService"}],"type":"help.TermsOfServiceUpdate"},{"id":"859091184","predicate":"inputSecureFileUploaded","params":[{"name":"id","type":"long"},{"name":"parts","type":"int"},{"name":"md5_checksum","type":"string"},{"name":"file_hash","type":"bytes"},{"name":"secret","type":"bytes"}],"type":"InputSecureFile"},{"id":"1399317950","predicate":"inputSecureFile","params":[{"name":"id","type":"long"},{"name":"access_hash","type":"long"}],"type":"InputSecureFile"},{"id":"-876089816","predicate":"inputSecureFileLocation","params":[{"name":"id","type":"long"},{"name":"access_hash","type":"long"}],"type":"InputFileLocation"},{"id":"1679398724","predicate":"secureFileEmpty","params":[],"type":"SecureFile"},{"id":"2097791614","predicate":"secureFile","params":[{"name":"id","type":"long"},{"name":"access_hash","type":"long"},{"name":"size","type":"long"},{"name":"dc_id","type":"int"},{"name":"date","type":"int"},{"name":"file_hash","type":"bytes"},{"name":"secret","type":"bytes"}],"type":"SecureFile"},{"id":"-1964327229","predicate":"secureData","params":[{"name":"data","type":"bytes"},{"name":"data_hash","type":"bytes"},{"name":"secret","type":"bytes"}],"type":"SecureData"},{"id":"2103482845","predicate":"securePlainPhone","params":[{"name":"phone","type":"string"}],"type":"SecurePlainData"},{"id":"569137759","predicate":"securePlainEmail","params":[{"name":"email","type":"string"}],"type":"SecurePlainData"},{"id":"-1658158621","predicate":"secureValueTypePersonalDetails","params":[],"type":"SecureValueType"},{"id":"1034709504","predicate":"secureValueTypePassport","params":[],"type":"SecureValueType"},{"id":"115615172","predicate":"secureValueTypeDriverLicense","params":[],"type":"SecureValueType"},{"id":"-1596951477","predicate":"secureValueTypeIdentityCard","params":[],"type":"SecureValueType"},{"id":"-1717268701","predicate":"secureValueTypeInternalPassport","params":[],"type":"SecureValueType"},{"id":"-874308058","predicate":"secureValueTypeAddress","params":[],"type":"SecureValueType"},{"id":"-63531698","predicate":"secureValueTypeUtilityBill","params":[],"type":"SecureValueType"},{"id":"-1995211763","predicate":"secureValueTypeBankStatement","params":[],"type":"SecureValueType"},{"id":"-1954007928","predicate":"secureValueTypeRentalAgreement","params":[],"type":"SecureValueType"},{"id":"-1713143702","predicate":"secureValueTypePassportRegistration","params":[],"type":"SecureValueType"},{"id":"-368907213","predicate":"secureValueTypeTemporaryRegistration","params":[],"type":"SecureValueType"},{"id":"-1289704741","predicate":"secureValueTypePhone","params":[],"type":"SecureValueType"},{"id":"-1908627474","predicate":"secureValueTypeEmail","params":[],"type":"SecureValueType"},{"id":"411017418","predicate":"secureValue","params":[{"name":"flags","type":"#"},{"name":"type","type":"SecureValueType"},{"name":"data","type":"flags.0?SecureData"},{"name":"front_side","type":"flags.1?SecureFile"},{"name":"reverse_side","type":"flags.2?SecureFile"},{"name":"selfie","type":"flags.3?SecureFile"},{"name":"translation","type":"flags.6?Vector"},{"name":"files","type":"flags.4?Vector"},{"name":"plain_data","type":"flags.5?SecurePlainData"},{"name":"hash","type":"bytes"}],"type":"SecureValue"},{"id":"-618540889","predicate":"inputSecureValue","params":[{"name":"flags","type":"#"},{"name":"type","type":"SecureValueType"},{"name":"data","type":"flags.0?SecureData"},{"name":"front_side","type":"flags.1?InputSecureFile"},{"name":"reverse_side","type":"flags.2?InputSecureFile"},{"name":"selfie","type":"flags.3?InputSecureFile"},{"name":"translation","type":"flags.6?Vector"},{"name":"files","type":"flags.4?Vector"},{"name":"plain_data","type":"flags.5?SecurePlainData"}],"type":"InputSecureValue"},{"id":"-316748368","predicate":"secureValueHash","params":[{"name":"type","type":"SecureValueType"},{"name":"hash","type":"bytes"}],"type":"SecureValueHash"},{"id":"-391902247","predicate":"secureValueErrorData","params":[{"name":"type","type":"SecureValueType"},{"name":"data_hash","type":"bytes"},{"name":"field","type":"string"},{"name":"text","type":"string"}],"type":"SecureValueError"},{"id":"12467706","predicate":"secureValueErrorFrontSide","params":[{"name":"type","type":"SecureValueType"},{"name":"file_hash","type":"bytes"},{"name":"text","type":"string"}],"type":"SecureValueError"},{"id":"-2037765467","predicate":"secureValueErrorReverseSide","params":[{"name":"type","type":"SecureValueType"},{"name":"file_hash","type":"bytes"},{"name":"text","type":"string"}],"type":"SecureValueError"},{"id":"-449327402","predicate":"secureValueErrorSelfie","params":[{"name":"type","type":"SecureValueType"},{"name":"file_hash","type":"bytes"},{"name":"text","type":"string"}],"type":"SecureValueError"},{"id":"2054162547","predicate":"secureValueErrorFile","params":[{"name":"type","type":"SecureValueType"},{"name":"file_hash","type":"bytes"},{"name":"text","type":"string"}],"type":"SecureValueError"},{"id":"1717706985","predicate":"secureValueErrorFiles","params":[{"name":"type","type":"SecureValueType"},{"name":"file_hash","type":"Vector"},{"name":"text","type":"string"}],"type":"SecureValueError"},{"id":"871426631","predicate":"secureCredentialsEncrypted","params":[{"name":"data","type":"bytes"},{"name":"hash","type":"bytes"},{"name":"secret","type":"bytes"}],"type":"SecureCredentialsEncrypted"},{"id":"-1389486888","predicate":"account.authorizationForm","params":[{"name":"flags","type":"#"},{"name":"required_types","type":"Vector"},{"name":"values","type":"Vector"},{"name":"errors","type":"Vector"},{"name":"users","type":"Vector"},{"name":"privacy_policy_url","type":"flags.0?string"}],"type":"account.AuthorizationForm"},{"id":"-2128640689","predicate":"account.sentEmailCode","params":[{"name":"email_pattern","type":"string"},{"name":"length","type":"int"}],"type":"account.SentEmailCode"},{"id":"455635795","predicate":"messageActionSecureValuesSentMe","params":[{"name":"values","type":"Vector"},{"name":"credentials","type":"SecureCredentialsEncrypted"}],"type":"MessageAction"},{"id":"-648257196","predicate":"messageActionSecureValuesSent","params":[{"name":"types","type":"Vector"}],"type":"MessageAction"},{"id":"1722786150","predicate":"help.deepLinkInfoEmpty","params":[],"type":"help.DeepLinkInfo"},{"id":"1783556146","predicate":"help.deepLinkInfo","params":[{"name":"flags","type":"#"},{"name":"update_app","type":"flags.0?true"},{"name":"message","type":"string"},{"name":"entities","type":"flags.1?Vector"}],"type":"help.DeepLinkInfo"},{"id":"289586518","predicate":"savedPhoneContact","params":[{"name":"phone","type":"string"},{"name":"first_name","type":"string"},{"name":"last_name","type":"string"},{"name":"date","type":"int"}],"type":"SavedContact"},{"id":"1304052993","predicate":"account.takeout","params":[{"name":"id","type":"long"}],"type":"account.Takeout"},{"id":"700340377","predicate":"inputTakeoutFileLocation","params":[],"type":"InputFileLocation"},{"id":"-513517117","predicate":"updateDialogUnreadMark","params":[{"name":"flags","type":"#"},{"name":"unread","type":"flags.0?true"},{"name":"peer","type":"DialogPeer"}],"type":"Update"},{"id":"-253500010","predicate":"messages.dialogsNotModified","params":[{"name":"count","type":"int"}],"type":"messages.Dialogs"},{"id":"-1625153079","predicate":"inputWebFileGeoPointLocation","params":[{"name":"geo_point","type":"InputGeoPoint"},{"name":"access_hash","type":"long"},{"name":"w","type":"int"},{"name":"h","type":"int"},{"name":"zoom","type":"int"},{"name":"scale","type":"int"}],"type":"InputWebFileLocation"},{"id":"-1255369827","predicate":"contacts.topPeersDisabled","params":[],"type":"contacts.TopPeers"},{"id":"-1685456582","predicate":"inputReportReasonCopyright","params":[],"type":"ReportReason"},{"id":"-732254058","predicate":"passwordKdfAlgoUnknown","params":[],"type":"PasswordKdfAlgo"},{"id":"4883767","predicate":"securePasswordKdfAlgoUnknown","params":[],"type":"SecurePasswordKdfAlgo"},{"id":"-1141711456","predicate":"securePasswordKdfAlgoPBKDF2HMACSHA512iter100000","params":[{"name":"salt","type":"bytes"}],"type":"SecurePasswordKdfAlgo"},{"id":"-2042159726","predicate":"securePasswordKdfAlgoSHA512","params":[{"name":"salt","type":"bytes"}],"type":"SecurePasswordKdfAlgo"},{"id":"354925740","predicate":"secureSecretSettings","params":[{"name":"secure_algo","type":"SecurePasswordKdfAlgo"},{"name":"secure_secret","type":"bytes"},{"name":"secure_secret_id","type":"long"}],"type":"SecureSecretSettings"},{"id":"982592842","predicate":"passwordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow","params":[{"name":"salt1","type":"bytes"},{"name":"salt2","type":"bytes"},{"name":"g","type":"int"},{"name":"p","type":"bytes"}],"type":"PasswordKdfAlgo"},{"id":"-1736378792","predicate":"inputCheckPasswordEmpty","params":[],"type":"InputCheckPasswordSRP"},{"id":"-763367294","predicate":"inputCheckPasswordSRP","params":[{"name":"srp_id","type":"long"},{"name":"A","type":"bytes"},{"name":"M1","type":"bytes"}],"type":"InputCheckPasswordSRP"},{"id":"-2036501105","predicate":"secureValueError","params":[{"name":"type","type":"SecureValueType"},{"name":"hash","type":"bytes"},{"name":"text","type":"string"}],"type":"SecureValueError"},{"id":"-1592506512","predicate":"secureValueErrorTranslationFile","params":[{"name":"type","type":"SecureValueType"},{"name":"file_hash","type":"bytes"},{"name":"text","type":"string"}],"type":"SecureValueError"},{"id":"878931416","predicate":"secureValueErrorTranslationFiles","params":[{"name":"type","type":"SecureValueType"},{"name":"file_hash","type":"Vector"},{"name":"text","type":"string"}],"type":"SecureValueError"},{"id":"-2103600678","predicate":"secureRequiredType","params":[{"name":"flags","type":"#"},{"name":"native_names","type":"flags.0?true"},{"name":"selfie_required","type":"flags.1?true"},{"name":"translation_required","type":"flags.2?true"},{"name":"type","type":"SecureValueType"}],"type":"SecureRequiredType"},{"id":"41187252","predicate":"secureRequiredTypeOneOf","params":[{"name":"types","type":"Vector"}],"type":"SecureRequiredType"},{"id":"-1078332329","predicate":"help.passportConfigNotModified","params":[],"type":"help.PassportConfig"},{"id":"-1600596305","predicate":"help.passportConfig","params":[{"name":"hash","type":"int"},{"name":"countries_langs","type":"DataJSON"}],"type":"help.PassportConfig"},{"id":"488313413","predicate":"inputAppEvent","params":[{"name":"time","type":"double"},{"name":"type","type":"string"},{"name":"peer","type":"long"},{"name":"data","type":"JSONValue"}],"type":"InputAppEvent"},{"id":"-1059185703","predicate":"jsonObjectValue","params":[{"name":"key","type":"string"},{"name":"value","type":"JSONValue"}],"type":"JSONObjectValue"},{"id":"1064139624","predicate":"jsonNull","params":[],"type":"JSONValue"},{"id":"-952869270","predicate":"jsonBool","params":[{"name":"value","type":"Bool"}],"type":"JSONValue"},{"id":"736157604","predicate":"jsonNumber","params":[{"name":"value","type":"double"}],"type":"JSONValue"},{"id":"-1222740358","predicate":"jsonString","params":[{"name":"value","type":"string"}],"type":"JSONValue"},{"id":"-146520221","predicate":"jsonArray","params":[{"name":"value","type":"Vector"}],"type":"JSONValue"},{"id":"-1715350371","predicate":"jsonObject","params":[{"name":"value","type":"Vector"}],"type":"JSONValue"},{"id":"-1311015810","predicate":"inputNotifyBroadcasts","params":[],"type":"InputNotifyPeer"},{"id":"-703403793","predicate":"notifyBroadcasts","params":[],"type":"NotifyPeer"},{"id":"-311786236","predicate":"textSubscript","params":[{"name":"text","type":"RichText"}],"type":"RichText"},{"id":"-939827711","predicate":"textSuperscript","params":[{"name":"text","type":"RichText"}],"type":"RichText"},{"id":"55281185","predicate":"textMarked","params":[{"name":"text","type":"RichText"}],"type":"RichText"},{"id":"483104362","predicate":"textPhone","params":[{"name":"text","type":"RichText"},{"name":"phone","type":"string"}],"type":"RichText"},{"id":"136105807","predicate":"textImage","params":[{"name":"document_id","type":"long"},{"name":"w","type":"int"},{"name":"h","type":"int"}],"type":"RichText"},{"id":"504660880","predicate":"pageBlockKicker","params":[{"name":"text","type":"RichText"}],"type":"PageBlock"},{"id":"878078826","predicate":"pageTableCell","params":[{"name":"flags","type":"#"},{"name":"header","type":"flags.0?true"},{"name":"align_center","type":"flags.3?true"},{"name":"align_right","type":"flags.4?true"},{"name":"valign_middle","type":"flags.5?true"},{"name":"valign_bottom","type":"flags.6?true"},{"name":"text","type":"flags.7?RichText"},{"name":"colspan","type":"flags.1?int"},{"name":"rowspan","type":"flags.2?int"}],"type":"PageTableCell"},{"id":"-524237339","predicate":"pageTableRow","params":[{"name":"cells","type":"Vector"}],"type":"PageTableRow"},{"id":"-1085412734","predicate":"pageBlockTable","params":[{"name":"flags","type":"#"},{"name":"bordered","type":"flags.0?true"},{"name":"striped","type":"flags.1?true"},{"name":"title","type":"RichText"},{"name":"rows","type":"Vector"}],"type":"PageBlock"},{"id":"1869903447","predicate":"pageCaption","params":[{"name":"text","type":"RichText"},{"name":"credit","type":"RichText"}],"type":"PageCaption"},{"id":"-1188055347","predicate":"pageListItemText","params":[{"name":"text","type":"RichText"}],"type":"PageListItem"},{"id":"635466748","predicate":"pageListItemBlocks","params":[{"name":"blocks","type":"Vector"}],"type":"PageListItem"},{"id":"1577484359","predicate":"pageListOrderedItemText","params":[{"name":"num","type":"string"},{"name":"text","type":"RichText"}],"type":"PageListOrderedItem"},{"id":"-1730311882","predicate":"pageListOrderedItemBlocks","params":[{"name":"num","type":"string"},{"name":"blocks","type":"Vector"}],"type":"PageListOrderedItem"},{"id":"-1702174239","predicate":"pageBlockOrderedList","params":[{"name":"items","type":"Vector"}],"type":"PageBlock"},{"id":"1987480557","predicate":"pageBlockDetails","params":[{"name":"flags","type":"#"},{"name":"open","type":"flags.0?true"},{"name":"blocks","type":"Vector"},{"name":"title","type":"RichText"}],"type":"PageBlock"},{"id":"-1282352120","predicate":"pageRelatedArticle","params":[{"name":"flags","type":"#"},{"name":"url","type":"string"},{"name":"webpage_id","type":"long"},{"name":"title","type":"flags.0?string"},{"name":"description","type":"flags.1?string"},{"name":"photo_id","type":"flags.2?long"},{"name":"author","type":"flags.3?string"},{"name":"published_date","type":"flags.4?int"}],"type":"PageRelatedArticle"},{"id":"370236054","predicate":"pageBlockRelatedArticles","params":[{"name":"title","type":"RichText"},{"name":"articles","type":"Vector"}],"type":"PageBlock"},{"id":"-1538310410","predicate":"pageBlockMap","params":[{"name":"geo","type":"GeoPoint"},{"name":"zoom","type":"int"},{"name":"w","type":"int"},{"name":"h","type":"int"},{"name":"caption","type":"PageCaption"}],"type":"PageBlock"},{"id":"-1738178803","predicate":"page","params":[{"name":"flags","type":"#"},{"name":"part","type":"flags.0?true"},{"name":"rtl","type":"flags.1?true"},{"name":"v2","type":"flags.2?true"},{"name":"url","type":"string"},{"name":"blocks","type":"Vector"},{"name":"photos","type":"Vector"},{"name":"documents","type":"Vector"},{"name":"views","type":"flags.3?int"}],"type":"Page"},{"id":"-610373422","predicate":"inputPrivacyKeyPhoneP2P","params":[],"type":"InputPrivacyKey"},{"id":"961092808","predicate":"privacyKeyPhoneP2P","params":[],"type":"PrivacyKey"},{"id":"894777186","predicate":"textAnchor","params":[{"name":"text","type":"RichText"},{"name":"name","type":"string"}],"type":"RichText"},{"id":"-1945767479","predicate":"help.supportName","params":[{"name":"name","type":"string"}],"type":"help.SupportName"},{"id":"-206688531","predicate":"help.userInfoEmpty","params":[],"type":"help.UserInfo"},{"id":"32192344","predicate":"help.userInfo","params":[{"name":"message","type":"string"},{"name":"entities","type":"Vector"},{"name":"author","type":"string"},{"name":"date","type":"int"}],"type":"help.UserInfo"},{"id":"-202219658","predicate":"messageActionContactSignUp","params":[],"type":"MessageAction"},{"id":"-1398708869","predicate":"updateMessagePoll","params":[{"name":"flags","type":"#"},{"name":"poll_id","type":"long"},{"name":"poll","type":"flags.0?Poll"},{"name":"results","type":"PollResults"}],"type":"Update"},{"id":"1823064809","predicate":"pollAnswer","params":[{"name":"text","type":"string"},{"name":"option","type":"bytes"}],"type":"PollAnswer"},{"id":"-2032041631","predicate":"poll","params":[{"name":"id","type":"long"},{"name":"flags","type":"#"},{"name":"closed","type":"flags.0?true"},{"name":"public_voters","type":"flags.1?true"},{"name":"multiple_choice","type":"flags.2?true"},{"name":"quiz","type":"flags.3?true"},{"name":"question","type":"string"},{"name":"answers","type":"Vector"},{"name":"close_period","type":"flags.4?int"},{"name":"close_date","type":"flags.5?int"}],"type":"Poll"},{"id":"997055186","predicate":"pollAnswerVoters","params":[{"name":"flags","type":"#"},{"name":"chosen","type":"flags.0?true"},{"name":"correct","type":"flags.1?true"},{"name":"option","type":"bytes"},{"name":"voters","type":"int"}],"type":"PollAnswerVoters"},{"id":"-591909213","predicate":"pollResults","params":[{"name":"flags","type":"#"},{"name":"min","type":"flags.0?true"},{"name":"results","type":"flags.1?Vector"},{"name":"total_voters","type":"flags.2?int"},{"name":"recent_voters","type":"flags.3?Vector"},{"name":"solution","type":"flags.4?string"},{"name":"solution_entities","type":"flags.4?Vector"}],"type":"PollResults"},{"id":"261416433","predicate":"inputMediaPoll","params":[{"name":"flags","type":"#"},{"name":"poll","type":"Poll"},{"name":"correct_answers","type":"flags.0?Vector"},{"name":"solution","type":"flags.1?string"},{"name":"solution_entities","type":"flags.1?Vector"}],"type":"InputMedia"},{"id":"1272375192","predicate":"messageMediaPoll","params":[{"name":"poll","type":"Poll"},{"name":"results","type":"PollResults"}],"type":"MessageMedia"},{"id":"-264117680","predicate":"chatOnlines","params":[{"name":"onlines","type":"int"}],"type":"ChatOnlines"},{"id":"1202287072","predicate":"statsURL","params":[{"name":"url","type":"string"}],"type":"StatsURL"},{"id":"-525288402","predicate":"photoStrippedSize","params":[{"name":"type","type":"string"},{"name":"bytes","type":"bytes"}],"type":"PhotoSize"},{"id":"1605510357","predicate":"chatAdminRights","params":[{"name":"flags","type":"#"},{"name":"change_info","type":"flags.0?true"},{"name":"post_messages","type":"flags.1?true"},{"name":"edit_messages","type":"flags.2?true"},{"name":"delete_messages","type":"flags.3?true"},{"name":"ban_users","type":"flags.4?true"},{"name":"invite_users","type":"flags.5?true"},{"name":"pin_messages","type":"flags.7?true"},{"name":"add_admins","type":"flags.9?true"},{"name":"anonymous","type":"flags.10?true"},{"name":"manage_call","type":"flags.11?true"},{"name":"other","type":"flags.12?true"},{"name":"manage_topics","type":"flags.13?true"}],"type":"ChatAdminRights"},{"id":"-1626209256","predicate":"chatBannedRights","params":[{"name":"flags","type":"#"},{"name":"view_messages","type":"flags.0?true"},{"name":"send_messages","type":"flags.1?true"},{"name":"send_media","type":"flags.2?true"},{"name":"send_stickers","type":"flags.3?true"},{"name":"send_gifs","type":"flags.4?true"},{"name":"send_games","type":"flags.5?true"},{"name":"send_inline","type":"flags.6?true"},{"name":"embed_links","type":"flags.7?true"},{"name":"send_polls","type":"flags.8?true"},{"name":"change_info","type":"flags.10?true"},{"name":"invite_users","type":"flags.15?true"},{"name":"pin_messages","type":"flags.17?true"},{"name":"manage_topics","type":"flags.18?true"},{"name":"send_photos","type":"flags.19?true"},{"name":"send_videos","type":"flags.20?true"},{"name":"send_roundvideos","type":"flags.21?true"},{"name":"send_audios","type":"flags.22?true"},{"name":"send_voices","type":"flags.23?true"},{"name":"send_docs","type":"flags.24?true"},{"name":"send_plain","type":"flags.25?true"},{"name":"until_date","type":"int"}],"type":"ChatBannedRights"},{"id":"1421875280","predicate":"updateChatDefaultBannedRights","params":[{"name":"peer","type":"Peer"},{"name":"default_banned_rights","type":"ChatBannedRights"},{"name":"version","type":"int"}],"type":"Update"},{"id":"-433014407","predicate":"inputWallPaper","params":[{"name":"id","type":"long"},{"name":"access_hash","type":"long"}],"type":"InputWallPaper"},{"id":"1913199744","predicate":"inputWallPaperSlug","params":[{"name":"slug","type":"string"}],"type":"InputWallPaper"},{"id":"-1150621555","predicate":"channelParticipantsContacts","params":[{"name":"q","type":"string"}],"type":"ChannelParticipantsFilter"},{"id":"771095562","predicate":"channelAdminLogEventActionDefaultBannedRights","params":[{"name":"prev_banned_rights","type":"ChatBannedRights"},{"name":"new_banned_rights","type":"ChatBannedRights"}],"type":"ChannelAdminLogEventAction"},{"id":"-1895328189","predicate":"channelAdminLogEventActionStopPoll","params":[{"name":"message","type":"Message"}],"type":"ChannelAdminLogEventAction"},{"id":"471437699","predicate":"account.wallPapersNotModified","params":[],"type":"account.WallPapers"},{"id":"-842824308","predicate":"account.wallPapers","params":[{"name":"hash","type":"long"},{"name":"wallpapers","type":"Vector"}],"type":"account.WallPapers"},{"id":"-1390068360","predicate":"codeSettings","params":[{"name":"flags","type":"#"},{"name":"allow_flashcall","type":"flags.0?true"},{"name":"current_number","type":"flags.1?true"},{"name":"allow_app_hash","type":"flags.4?true"},{"name":"allow_missed_call","type":"flags.5?true"},{"name":"allow_firebase","type":"flags.7?true"},{"name":"logout_tokens","type":"flags.6?Vector"},{"name":"token","type":"flags.8?string"},{"name":"app_sandbox","type":"flags.8?Bool"}],"type":"CodeSettings"},{"id":"499236004","predicate":"wallPaperSettings","params":[{"name":"flags","type":"#"},{"name":"blur","type":"flags.1?true"},{"name":"motion","type":"flags.2?true"},{"name":"background_color","type":"flags.0?int"},{"name":"second_background_color","type":"flags.4?int"},{"name":"third_background_color","type":"flags.5?int"},{"name":"fourth_background_color","type":"flags.6?int"},{"name":"intensity","type":"flags.3?int"},{"name":"rotation","type":"flags.4?int"}],"type":"WallPaperSettings"},{"id":"-1896171181","predicate":"autoDownloadSettings","params":[{"name":"flags","type":"#"},{"name":"disabled","type":"flags.0?true"},{"name":"video_preload_large","type":"flags.1?true"},{"name":"audio_preload_next","type":"flags.2?true"},{"name":"phonecalls_less_data","type":"flags.3?true"},{"name":"photo_size_max","type":"int"},{"name":"video_size_max","type":"long"},{"name":"file_size_max","type":"long"},{"name":"video_upload_maxbitrate","type":"int"}],"type":"AutoDownloadSettings"},{"id":"1674235686","predicate":"account.autoDownloadSettings","params":[{"name":"low","type":"AutoDownloadSettings"},{"name":"medium","type":"AutoDownloadSettings"},{"name":"high","type":"AutoDownloadSettings"}],"type":"account.AutoDownloadSettings"},{"id":"-709641735","predicate":"emojiKeyword","params":[{"name":"keyword","type":"string"},{"name":"emoticons","type":"Vector"}],"type":"EmojiKeyword"},{"id":"594408994","predicate":"emojiKeywordDeleted","params":[{"name":"keyword","type":"string"},{"name":"emoticons","type":"Vector"}],"type":"EmojiKeyword"},{"id":"1556570557","predicate":"emojiKeywordsDifference","params":[{"name":"lang_code","type":"string"},{"name":"from_version","type":"int"},{"name":"version","type":"int"},{"name":"keywords","type":"Vector"}],"type":"EmojiKeywordsDifference"},{"id":"-1519029347","predicate":"emojiURL","params":[{"name":"url","type":"string"}],"type":"EmojiURL"},{"id":"-1275374751","predicate":"emojiLanguage","params":[{"name":"lang_code","type":"string"}],"type":"EmojiLanguage"},{"id":"-1529000952","predicate":"inputPrivacyKeyForwards","params":[],"type":"InputPrivacyKey"},{"id":"1777096355","predicate":"privacyKeyForwards","params":[],"type":"PrivacyKey"},{"id":"1461304012","predicate":"inputPrivacyKeyProfilePhoto","params":[],"type":"InputPrivacyKey"},{"id":"-1777000467","predicate":"privacyKeyProfilePhoto","params":[],"type":"PrivacyKey"},{"id":"1075322878","predicate":"inputPhotoFileLocation","params":[{"name":"id","type":"long"},{"name":"access_hash","type":"long"},{"name":"file_reference","type":"bytes"},{"name":"thumb_size","type":"string"}],"type":"InputFileLocation"},{"id":"-667654413","predicate":"inputPhotoLegacyFileLocation","params":[{"name":"id","type":"long"},{"name":"access_hash","type":"long"},{"name":"file_reference","type":"bytes"},{"name":"volume_id","type":"long"},{"name":"local_id","type":"int"},{"name":"secret","type":"long"}],"type":"InputFileLocation"},{"id":"925204121","predicate":"inputPeerPhotoFileLocation","params":[{"name":"flags","type":"#"},{"name":"big","type":"flags.0?true"},{"name":"peer","type":"InputPeer"},{"name":"photo_id","type":"long"}],"type":"InputFileLocation"},{"id":"-1652231205","predicate":"inputStickerSetThumb","params":[{"name":"stickerset","type":"InputStickerSet"},{"name":"thumb_version","type":"int"}],"type":"InputFileLocation"},{"id":"-11252123","predicate":"folder","params":[{"name":"flags","type":"#"},{"name":"autofill_new_broadcasts","type":"flags.0?true"},{"name":"autofill_public_groups","type":"flags.1?true"},{"name":"autofill_new_correspondents","type":"flags.2?true"},{"name":"id","type":"int"},{"name":"title","type":"string"},{"name":"photo","type":"flags.3?ChatPhoto"}],"type":"Folder"},{"id":"1908216652","predicate":"dialogFolder","params":[{"name":"flags","type":"#"},{"name":"pinned","type":"flags.2?true"},{"name":"folder","type":"Folder"},{"name":"peer","type":"Peer"},{"name":"top_message","type":"int"},{"name":"unread_muted_peers_count","type":"int"},{"name":"unread_unmuted_peers_count","type":"int"},{"name":"unread_muted_messages_count","type":"int"},{"name":"unread_unmuted_messages_count","type":"int"}],"type":"Dialog"},{"id":"1684014375","predicate":"inputDialogPeerFolder","params":[{"name":"folder_id","type":"int"}],"type":"InputDialogPeer"},{"id":"1363483106","predicate":"dialogPeerFolder","params":[{"name":"folder_id","type":"int"}],"type":"DialogPeer"},{"id":"-70073706","predicate":"inputFolderPeer","params":[{"name":"peer","type":"InputPeer"},{"name":"folder_id","type":"int"}],"type":"InputFolderPeer"},{"id":"-373643672","predicate":"folderPeer","params":[{"name":"peer","type":"Peer"},{"name":"folder_id","type":"int"}],"type":"FolderPeer"},{"id":"422972864","predicate":"updateFolderPeers","params":[{"name":"folder_peers","type":"Vector"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"}],"type":"Update"},{"id":"497305826","predicate":"inputUserFromMessage","params":[{"name":"peer","type":"InputPeer"},{"name":"msg_id","type":"int"},{"name":"user_id","type":"long"}],"type":"InputUser"},{"id":"1536380829","predicate":"inputChannelFromMessage","params":[{"name":"peer","type":"InputPeer"},{"name":"msg_id","type":"int"},{"name":"channel_id","type":"long"}],"type":"InputChannel"},{"id":"-1468331492","predicate":"inputPeerUserFromMessage","params":[{"name":"peer","type":"InputPeer"},{"name":"msg_id","type":"int"},{"name":"user_id","type":"long"}],"type":"InputPeer"},{"id":"-1121318848","predicate":"inputPeerChannelFromMessage","params":[{"name":"peer","type":"InputPeer"},{"name":"msg_id","type":"int"},{"name":"channel_id","type":"long"}],"type":"InputPeer"},{"id":"55761658","predicate":"inputPrivacyKeyPhoneNumber","params":[],"type":"InputPrivacyKey"},{"id":"-778378131","predicate":"privacyKeyPhoneNumber","params":[],"type":"PrivacyKey"},{"id":"-1472172887","predicate":"topPeerCategoryForwardUsers","params":[],"type":"TopPeerCategory"},{"id":"-68239120","predicate":"topPeerCategoryForwardChats","params":[],"type":"TopPeerCategory"},{"id":"84703944","predicate":"channelAdminLogEventActionChangeLinkedChat","params":[{"name":"prev_value","type":"long"},{"name":"new_value","type":"long"}],"type":"ChannelAdminLogEventAction"},{"id":"-398136321","predicate":"messages.searchCounter","params":[{"name":"flags","type":"#"},{"name":"inexact","type":"flags.1?true"},{"name":"filter","type":"MessagesFilter"},{"name":"count","type":"int"}],"type":"messages.SearchCounter"},{"id":"280464681","predicate":"keyboardButtonUrlAuth","params":[{"name":"flags","type":"#"},{"name":"text","type":"string"},{"name":"fwd_text","type":"flags.0?string"},{"name":"url","type":"string"},{"name":"button_id","type":"int"}],"type":"KeyboardButton"},{"id":"-802258988","predicate":"inputKeyboardButtonUrlAuth","params":[{"name":"flags","type":"#"},{"name":"request_write_access","type":"flags.0?true"},{"name":"text","type":"string"},{"name":"fwd_text","type":"flags.1?string"},{"name":"url","type":"string"},{"name":"bot","type":"InputUser"}],"type":"KeyboardButton"},{"id":"-1831650802","predicate":"urlAuthResultRequest","params":[{"name":"flags","type":"#"},{"name":"request_write_access","type":"flags.0?true"},{"name":"bot","type":"User"},{"name":"domain","type":"string"}],"type":"UrlAuthResult"},{"id":"-1886646706","predicate":"urlAuthResultAccepted","params":[{"name":"url","type":"string"}],"type":"UrlAuthResult"},{"id":"-1445536993","predicate":"urlAuthResultDefault","params":[],"type":"UrlAuthResult"},{"id":"-2079962673","predicate":"inputPrivacyValueAllowChatParticipants","params":[{"name":"chats","type":"Vector"}],"type":"InputPrivacyRule"},{"id":"-380694650","predicate":"inputPrivacyValueDisallowChatParticipants","params":[{"name":"chats","type":"Vector"}],"type":"InputPrivacyRule"},{"id":"1796427406","predicate":"privacyValueAllowChatParticipants","params":[{"name":"chats","type":"Vector"}],"type":"PrivacyRule"},{"id":"1103656293","predicate":"privacyValueDisallowChatParticipants","params":[{"name":"chats","type":"Vector"}],"type":"PrivacyRule"},{"id":"-1672577397","predicate":"messageEntityUnderline","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"}],"type":"MessageEntity"},{"id":"-1090087980","predicate":"messageEntityStrike","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"}],"type":"MessageEntity"},{"id":"34469328","predicate":"messageEntityBlockquote","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"}],"type":"MessageEntity"},{"id":"1786671974","predicate":"updatePeerSettings","params":[{"name":"peer","type":"Peer"},{"name":"settings","type":"PeerSettings"}],"type":"Update"},{"id":"-1078612597","predicate":"channelLocationEmpty","params":[],"type":"ChannelLocation"},{"id":"547062491","predicate":"channelLocation","params":[{"name":"geo_point","type":"GeoPoint"},{"name":"address","type":"string"}],"type":"ChannelLocation"},{"id":"-901375139","predicate":"peerLocated","params":[{"name":"peer","type":"Peer"},{"name":"expires","type":"int"},{"name":"distance","type":"int"}],"type":"PeerLocated"},{"id":"-1263546448","predicate":"updatePeerLocated","params":[{"name":"peers","type":"Vector"}],"type":"Update"},{"id":"241923758","predicate":"channelAdminLogEventActionChangeLocation","params":[{"name":"prev_value","type":"ChannelLocation"},{"name":"new_value","type":"ChannelLocation"}],"type":"ChannelAdminLogEventAction"},{"id":"-606798099","predicate":"inputReportReasonGeoIrrelevant","params":[],"type":"ReportReason"},{"id":"1401984889","predicate":"channelAdminLogEventActionToggleSlowMode","params":[{"name":"prev_value","type":"int"},{"name":"new_value","type":"int"}],"type":"ChannelAdminLogEventAction"},{"id":"1148485274","predicate":"auth.authorizationSignUpRequired","params":[{"name":"flags","type":"#"},{"name":"terms_of_service","type":"flags.0?help.TermsOfService"}],"type":"auth.Authorization"},{"id":"-666824391","predicate":"payments.paymentVerificationNeeded","params":[{"name":"url","type":"string"}],"type":"payments.PaymentResult"},{"id":"42402760","predicate":"inputStickerSetAnimatedEmoji","params":[],"type":"InputStickerSet"},{"id":"967122427","predicate":"updateNewScheduledMessage","params":[{"name":"message","type":"Message"}],"type":"Update"},{"id":"-1870238482","predicate":"updateDeleteScheduledMessages","params":[{"name":"peer","type":"Peer"},{"name":"messages","type":"Vector"}],"type":"Update"},{"id":"-797791052","predicate":"restrictionReason","params":[{"name":"platform","type":"string"},{"name":"reason","type":"string"},{"name":"text","type":"string"}],"type":"RestrictionReason"},{"id":"1012306921","predicate":"inputTheme","params":[{"name":"id","type":"long"},{"name":"access_hash","type":"long"}],"type":"InputTheme"},{"id":"-175567375","predicate":"inputThemeSlug","params":[{"name":"slug","type":"string"}],"type":"InputTheme"},{"id":"-1609668650","predicate":"theme","params":[{"name":"flags","type":"#"},{"name":"creator","type":"flags.0?true"},{"name":"default","type":"flags.1?true"},{"name":"for_chat","type":"flags.5?true"},{"name":"id","type":"long"},{"name":"access_hash","type":"long"},{"name":"slug","type":"string"},{"name":"title","type":"string"},{"name":"document","type":"flags.2?Document"},{"name":"settings","type":"flags.3?Vector"},{"name":"emoticon","type":"flags.6?string"},{"name":"installs_count","type":"flags.4?int"}],"type":"Theme"},{"id":"-199313886","predicate":"account.themesNotModified","params":[],"type":"account.Themes"},{"id":"-1707242387","predicate":"account.themes","params":[{"name":"hash","type":"long"},{"name":"themes","type":"Vector"}],"type":"account.Themes"},{"id":"-2112423005","predicate":"updateTheme","params":[{"name":"theme","type":"Theme"}],"type":"Update"},{"id":"-786326563","predicate":"inputPrivacyKeyAddedByPhone","params":[],"type":"InputPrivacyKey"},{"id":"1124062251","predicate":"privacyKeyAddedByPhone","params":[],"type":"PrivacyKey"},{"id":"-2027964103","predicate":"updateGeoLiveViewed","params":[{"name":"peer","type":"Peer"},{"name":"msg_id","type":"int"}],"type":"Update"},{"id":"1448076945","predicate":"updateLoginToken","params":[],"type":"Update"},{"id":"1654593920","predicate":"auth.loginToken","params":[{"name":"expires","type":"int"},{"name":"token","type":"bytes"}],"type":"auth.LoginToken"},{"id":"110008598","predicate":"auth.loginTokenMigrateTo","params":[{"name":"dc_id","type":"int"},{"name":"token","type":"bytes"}],"type":"auth.LoginToken"},{"id":"957176926","predicate":"auth.loginTokenSuccess","params":[{"name":"authorization","type":"auth.Authorization"}],"type":"auth.LoginToken"},{"id":"1474462241","predicate":"account.contentSettings","params":[{"name":"flags","type":"#"},{"name":"sensitive_enabled","type":"flags.0?true"},{"name":"sensitive_can_change","type":"flags.1?true"}],"type":"account.ContentSettings"},{"id":"-1456996667","predicate":"messages.inactiveChats","params":[{"name":"dates","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"messages.InactiveChats"},{"id":"-1012849566","predicate":"baseThemeClassic","params":[],"type":"BaseTheme"},{"id":"-69724536","predicate":"baseThemeDay","params":[],"type":"BaseTheme"},{"id":"-1212997976","predicate":"baseThemeNight","params":[],"type":"BaseTheme"},{"id":"1834973166","predicate":"baseThemeTinted","params":[],"type":"BaseTheme"},{"id":"1527845466","predicate":"baseThemeArctic","params":[],"type":"BaseTheme"},{"id":"-1770371538","predicate":"inputWallPaperNoFile","params":[{"name":"id","type":"long"}],"type":"InputWallPaper"},{"id":"-528465642","predicate":"wallPaperNoFile","params":[{"name":"id","type":"long"},{"name":"flags","type":"#"},{"name":"default","type":"flags.1?true"},{"name":"dark","type":"flags.4?true"},{"name":"settings","type":"flags.2?WallPaperSettings"}],"type":"WallPaper"},{"id":"-1881255857","predicate":"inputThemeSettings","params":[{"name":"flags","type":"#"},{"name":"message_colors_animated","type":"flags.2?true"},{"name":"base_theme","type":"BaseTheme"},{"name":"accent_color","type":"int"},{"name":"outbox_accent_color","type":"flags.3?int"},{"name":"message_colors","type":"flags.0?Vector"},{"name":"wallpaper","type":"flags.1?InputWallPaper"},{"name":"wallpaper_settings","type":"flags.1?WallPaperSettings"}],"type":"InputThemeSettings"},{"id":"-94849324","predicate":"themeSettings","params":[{"name":"flags","type":"#"},{"name":"message_colors_animated","type":"flags.2?true"},{"name":"base_theme","type":"BaseTheme"},{"name":"accent_color","type":"int"},{"name":"outbox_accent_color","type":"flags.3?int"},{"name":"message_colors","type":"flags.0?Vector"},{"name":"wallpaper","type":"flags.1?WallPaper"}],"type":"ThemeSettings"},{"id":"1421174295","predicate":"webPageAttributeTheme","params":[{"name":"flags","type":"#"},{"name":"documents","type":"flags.0?Vector"},{"name":"settings","type":"flags.1?ThemeSettings"}],"type":"WebPageAttribute"},{"id":"274961865","predicate":"updateMessagePollVote","params":[{"name":"poll_id","type":"long"},{"name":"user_id","type":"long"},{"name":"options","type":"Vector"},{"name":"qts","type":"int"}],"type":"Update"},{"id":"886196148","predicate":"messageUserVote","params":[{"name":"user_id","type":"long"},{"name":"option","type":"bytes"},{"name":"date","type":"int"}],"type":"MessageUserVote"},{"id":"1017491692","predicate":"messageUserVoteInputOption","params":[{"name":"user_id","type":"long"},{"name":"date","type":"int"}],"type":"MessageUserVote"},{"id":"-1973033641","predicate":"messageUserVoteMultiple","params":[{"name":"user_id","type":"long"},{"name":"options","type":"Vector"},{"name":"date","type":"int"}],"type":"MessageUserVote"},{"id":"136574537","predicate":"messages.votesList","params":[{"name":"flags","type":"#"},{"name":"count","type":"int"},{"name":"votes","type":"Vector"},{"name":"users","type":"Vector"},{"name":"next_offset","type":"flags.0?string"}],"type":"messages.VotesList"},{"id":"-1144565411","predicate":"keyboardButtonRequestPoll","params":[{"name":"flags","type":"#"},{"name":"quiz","type":"flags.0?Bool"},{"name":"text","type":"string"}],"type":"KeyboardButton"},{"id":"1981704948","predicate":"messageEntityBankCard","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"}],"type":"MessageEntity"},{"id":"-177732982","predicate":"bankCardOpenUrl","params":[{"name":"url","type":"string"},{"name":"name","type":"string"}],"type":"BankCardOpenUrl"},{"id":"1042605427","predicate":"payments.bankCardData","params":[{"name":"title","type":"string"},{"name":"open_urls","type":"Vector"}],"type":"payments.BankCardData"},{"id":"-118740917","predicate":"peerSelfLocated","params":[{"name":"expires","type":"int"}],"type":"PeerLocated"},{"id":"1949890536","predicate":"dialogFilter","params":[{"name":"flags","type":"#"},{"name":"contacts","type":"flags.0?true"},{"name":"non_contacts","type":"flags.1?true"},{"name":"groups","type":"flags.2?true"},{"name":"broadcasts","type":"flags.3?true"},{"name":"bots","type":"flags.4?true"},{"name":"exclude_muted","type":"flags.11?true"},{"name":"exclude_read","type":"flags.12?true"},{"name":"exclude_archived","type":"flags.13?true"},{"name":"id","type":"int"},{"name":"title","type":"string"},{"name":"emoticon","type":"flags.25?string"},{"name":"pinned_peers","type":"Vector"},{"name":"include_peers","type":"Vector"},{"name":"exclude_peers","type":"Vector"}],"type":"DialogFilter"},{"id":"2004110666","predicate":"dialogFilterSuggested","params":[{"name":"filter","type":"DialogFilter"},{"name":"description","type":"string"}],"type":"DialogFilterSuggested"},{"id":"654302845","predicate":"updateDialogFilter","params":[{"name":"flags","type":"#"},{"name":"id","type":"int"},{"name":"filter","type":"flags.0?DialogFilter"}],"type":"Update"},{"id":"-1512627963","predicate":"updateDialogFilterOrder","params":[{"name":"order","type":"Vector"}],"type":"Update"},{"id":"889491791","predicate":"updateDialogFilters","params":[],"type":"Update"},{"id":"-1237848657","predicate":"statsDateRangeDays","params":[{"name":"min_date","type":"int"},{"name":"max_date","type":"int"}],"type":"StatsDateRangeDays"},{"id":"-884757282","predicate":"statsAbsValueAndPrev","params":[{"name":"current","type":"double"},{"name":"previous","type":"double"}],"type":"StatsAbsValueAndPrev"},{"id":"-875679776","predicate":"statsPercentValue","params":[{"name":"part","type":"double"},{"name":"total","type":"double"}],"type":"StatsPercentValue"},{"id":"1244130093","predicate":"statsGraphAsync","params":[{"name":"token","type":"string"}],"type":"StatsGraph"},{"id":"-1092839390","predicate":"statsGraphError","params":[{"name":"error","type":"string"}],"type":"StatsGraph"},{"id":"-1901828938","predicate":"statsGraph","params":[{"name":"flags","type":"#"},{"name":"json","type":"DataJSON"},{"name":"zoom_token","type":"flags.0?string"}],"type":"StatsGraph"},{"id":"-1387279939","predicate":"messageInteractionCounters","params":[{"name":"msg_id","type":"int"},{"name":"views","type":"int"},{"name":"forwards","type":"int"}],"type":"MessageInteractionCounters"},{"id":"-1107852396","predicate":"stats.broadcastStats","params":[{"name":"period","type":"StatsDateRangeDays"},{"name":"followers","type":"StatsAbsValueAndPrev"},{"name":"views_per_post","type":"StatsAbsValueAndPrev"},{"name":"shares_per_post","type":"StatsAbsValueAndPrev"},{"name":"enabled_notifications","type":"StatsPercentValue"},{"name":"growth_graph","type":"StatsGraph"},{"name":"followers_graph","type":"StatsGraph"},{"name":"mute_graph","type":"StatsGraph"},{"name":"top_hours_graph","type":"StatsGraph"},{"name":"interactions_graph","type":"StatsGraph"},{"name":"iv_interactions_graph","type":"StatsGraph"},{"name":"views_by_source_graph","type":"StatsGraph"},{"name":"new_followers_by_source_graph","type":"StatsGraph"},{"name":"languages_graph","type":"StatsGraph"},{"name":"recent_message_interactions","type":"Vector"}],"type":"stats.BroadcastStats"},{"id":"-428884101","predicate":"inputMediaDice","params":[{"name":"emoticon","type":"string"}],"type":"InputMedia"},{"id":"1065280907","predicate":"messageMediaDice","params":[{"name":"value","type":"int"},{"name":"emoticon","type":"string"}],"type":"MessageMedia"},{"id":"-427863538","predicate":"inputStickerSetDice","params":[{"name":"emoticon","type":"string"}],"type":"InputStickerSet"},{"id":"-1728664459","predicate":"help.promoDataEmpty","params":[{"name":"expires","type":"int"}],"type":"help.PromoData"},{"id":"-1942390465","predicate":"help.promoData","params":[{"name":"flags","type":"#"},{"name":"proxy","type":"flags.0?true"},{"name":"expires","type":"int"},{"name":"peer","type":"Peer"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"},{"name":"psa_type","type":"flags.1?string"},{"name":"psa_message","type":"flags.2?string"}],"type":"help.PromoData"},{"id":"-567037804","predicate":"videoSize","params":[{"name":"flags","type":"#"},{"name":"type","type":"string"},{"name":"w","type":"int"},{"name":"h","type":"int"},{"name":"size","type":"int"},{"name":"video_start_ts","type":"flags.0?double"}],"type":"VideoSize"},{"id":"643940105","predicate":"updatePhoneCallSignalingData","params":[{"name":"phone_call_id","type":"long"},{"name":"data","type":"bytes"}],"type":"Update"},{"id":"1634294960","predicate":"chatInvitePeek","params":[{"name":"chat","type":"Chat"},{"name":"expires","type":"int"}],"type":"ChatInvite"},{"id":"-1660637285","predicate":"statsGroupTopPoster","params":[{"name":"user_id","type":"long"},{"name":"messages","type":"int"},{"name":"avg_chars","type":"int"}],"type":"StatsGroupTopPoster"},{"id":"-682079097","predicate":"statsGroupTopAdmin","params":[{"name":"user_id","type":"long"},{"name":"deleted","type":"int"},{"name":"kicked","type":"int"},{"name":"banned","type":"int"}],"type":"StatsGroupTopAdmin"},{"id":"1398765469","predicate":"statsGroupTopInviter","params":[{"name":"user_id","type":"long"},{"name":"invitations","type":"int"}],"type":"StatsGroupTopInviter"},{"id":"-276825834","predicate":"stats.megagroupStats","params":[{"name":"period","type":"StatsDateRangeDays"},{"name":"members","type":"StatsAbsValueAndPrev"},{"name":"messages","type":"StatsAbsValueAndPrev"},{"name":"viewers","type":"StatsAbsValueAndPrev"},{"name":"posters","type":"StatsAbsValueAndPrev"},{"name":"growth_graph","type":"StatsGraph"},{"name":"members_graph","type":"StatsGraph"},{"name":"new_members_by_source_graph","type":"StatsGraph"},{"name":"languages_graph","type":"StatsGraph"},{"name":"messages_graph","type":"StatsGraph"},{"name":"actions_graph","type":"StatsGraph"},{"name":"top_hours_graph","type":"StatsGraph"},{"name":"weekdays_graph","type":"StatsGraph"},{"name":"top_posters","type":"Vector"},{"name":"top_admins","type":"Vector"},{"name":"top_inviters","type":"Vector"},{"name":"users","type":"Vector"}],"type":"stats.MegagroupStats"},{"id":"-1096616924","predicate":"globalPrivacySettings","params":[{"name":"flags","type":"#"},{"name":"archive_and_mute_new_noncontact_peers","type":"flags.0?Bool"}],"type":"GlobalPrivacySettings"},{"id":"1667228533","predicate":"phoneConnectionWebrtc","params":[{"name":"flags","type":"#"},{"name":"turn","type":"flags.0?true"},{"name":"stun","type":"flags.1?true"},{"name":"id","type":"long"},{"name":"ip","type":"string"},{"name":"ipv6","type":"string"},{"name":"port","type":"int"},{"name":"username","type":"string"},{"name":"password","type":"string"}],"type":"PhoneConnection"},{"id":"1107543535","predicate":"help.countryCode","params":[{"name":"flags","type":"#"},{"name":"country_code","type":"string"},{"name":"prefixes","type":"flags.0?Vector"},{"name":"patterns","type":"flags.1?Vector"}],"type":"help.CountryCode"},{"id":"-1014526429","predicate":"help.country","params":[{"name":"flags","type":"#"},{"name":"hidden","type":"flags.0?true"},{"name":"iso2","type":"string"},{"name":"default_name","type":"string"},{"name":"name","type":"flags.1?string"},{"name":"country_codes","type":"Vector"}],"type":"help.Country"},{"id":"-1815339214","predicate":"help.countriesListNotModified","params":[],"type":"help.CountriesList"},{"id":"-2016381538","predicate":"help.countriesList","params":[{"name":"countries","type":"Vector"},{"name":"hash","type":"int"}],"type":"help.CountriesList"},{"id":"1163625789","predicate":"messageViews","params":[{"name":"flags","type":"#"},{"name":"views","type":"flags.0?int"},{"name":"forwards","type":"flags.1?int"},{"name":"replies","type":"flags.2?MessageReplies"}],"type":"MessageViews"},{"id":"-761649164","predicate":"updateChannelMessageForwards","params":[{"name":"channel_id","type":"long"},{"name":"id","type":"int"},{"name":"forwards","type":"int"}],"type":"Update"},{"id":"-96535659","predicate":"photoSizeProgressive","params":[{"name":"type","type":"string"},{"name":"w","type":"int"},{"name":"h","type":"int"},{"name":"sizes","type":"Vector"}],"type":"PhotoSize"},{"id":"-1228606141","predicate":"messages.messageViews","params":[{"name":"views","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"messages.MessageViews"},{"id":"-693004986","predicate":"updateReadChannelDiscussionInbox","params":[{"name":"flags","type":"#"},{"name":"channel_id","type":"long"},{"name":"top_msg_id","type":"int"},{"name":"read_max_id","type":"int"},{"name":"broadcast_id","type":"flags.0?long"},{"name":"broadcast_post","type":"flags.0?int"}],"type":"Update"},{"id":"1767677564","predicate":"updateReadChannelDiscussionOutbox","params":[{"name":"channel_id","type":"long"},{"name":"top_msg_id","type":"int"},{"name":"read_max_id","type":"int"}],"type":"Update"},{"id":"-1506535550","predicate":"messages.discussionMessage","params":[{"name":"flags","type":"#"},{"name":"messages","type":"Vector"},{"name":"max_id","type":"flags.0?int"},{"name":"read_inbox_max_id","type":"flags.1?int"},{"name":"read_outbox_max_id","type":"flags.2?int"},{"name":"unread_count","type":"int"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"messages.DiscussionMessage"},{"id":"-1495959709","predicate":"messageReplyHeader","params":[{"name":"flags","type":"#"},{"name":"reply_to_scheduled","type":"flags.2?true"},{"name":"forum_topic","type":"flags.3?true"},{"name":"reply_to_msg_id","type":"int"},{"name":"reply_to_peer_id","type":"flags.0?Peer"},{"name":"reply_to_top_id","type":"flags.1?int"}],"type":"MessageReplyHeader"},{"id":"-2083123262","predicate":"messageReplies","params":[{"name":"flags","type":"#"},{"name":"comments","type":"flags.0?true"},{"name":"replies","type":"int"},{"name":"replies_pts","type":"int"},{"name":"recent_repliers","type":"flags.1?Vector"},{"name":"channel_id","type":"flags.0?long"},{"name":"max_id","type":"flags.2?int"},{"name":"read_max_id","type":"flags.3?int"}],"type":"MessageReplies"},{"id":"610945826","predicate":"updatePeerBlocked","params":[{"name":"peer_id","type":"Peer"},{"name":"blocked","type":"Bool"}],"type":"Update"},{"id":"-386039788","predicate":"peerBlocked","params":[{"name":"peer_id","type":"Peer"},{"name":"date","type":"int"}],"type":"PeerBlocked"},{"id":"-1937192669","predicate":"updateChannelUserTyping","params":[{"name":"flags","type":"#"},{"name":"channel_id","type":"long"},{"name":"top_msg_id","type":"flags.0?int"},{"name":"from_id","type":"Peer"},{"name":"action","type":"SendMessageAction"}],"type":"Update"},{"id":"-1392895362","predicate":"inputMessageCallbackQuery","params":[{"name":"id","type":"int"},{"name":"query_id","type":"long"}],"type":"InputMessage"},{"id":"453242886","predicate":"channelParticipantLeft","params":[{"name":"peer","type":"Peer"}],"type":"ChannelParticipant"},{"id":"-531931925","predicate":"channelParticipantsMentions","params":[{"name":"flags","type":"#"},{"name":"q","type":"flags.0?string"},{"name":"top_msg_id","type":"flags.1?int"}],"type":"ChannelParticipantsFilter"},{"id":"-309990731","predicate":"updatePinnedMessages","params":[{"name":"flags","type":"#"},{"name":"pinned","type":"flags.0?true"},{"name":"peer","type":"Peer"},{"name":"messages","type":"Vector"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"}],"type":"Update"},{"id":"1538885128","predicate":"updatePinnedChannelMessages","params":[{"name":"flags","type":"#"},{"name":"pinned","type":"flags.0?true"},{"name":"channel_id","type":"long"},{"name":"messages","type":"Vector"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"}],"type":"Update"},{"id":"464520273","predicate":"inputMessagesFilterPinned","params":[],"type":"MessagesFilter"},{"id":"-1986399595","predicate":"stats.messageStats","params":[{"name":"views_graph","type":"StatsGraph"}],"type":"stats.MessageStats"},{"id":"-1730095465","predicate":"messageActionGeoProximityReached","params":[{"name":"from_id","type":"Peer"},{"name":"to_id","type":"Peer"},{"name":"distance","type":"int"}],"type":"MessageAction"},{"id":"-668906175","predicate":"photoPathSize","params":[{"name":"type","type":"string"},{"name":"bytes","type":"bytes"}],"type":"PhotoSize"},{"id":"-651419003","predicate":"speakingInGroupCallAction","params":[],"type":"SendMessageAction"},{"id":"2004925620","predicate":"groupCallDiscarded","params":[{"name":"id","type":"long"},{"name":"access_hash","type":"long"},{"name":"duration","type":"int"}],"type":"GroupCall"},{"id":"-711498484","predicate":"groupCall","params":[{"name":"flags","type":"#"},{"name":"join_muted","type":"flags.1?true"},{"name":"can_change_join_muted","type":"flags.2?true"},{"name":"join_date_asc","type":"flags.6?true"},{"name":"schedule_start_subscribed","type":"flags.8?true"},{"name":"can_start_video","type":"flags.9?true"},{"name":"record_video_active","type":"flags.11?true"},{"name":"rtmp_stream","type":"flags.12?true"},{"name":"listeners_hidden","type":"flags.13?true"},{"name":"id","type":"long"},{"name":"access_hash","type":"long"},{"name":"participants_count","type":"int"},{"name":"title","type":"flags.3?string"},{"name":"stream_dc_id","type":"flags.4?int"},{"name":"record_start_date","type":"flags.5?int"},{"name":"schedule_date","type":"flags.7?int"},{"name":"unmuted_video_count","type":"flags.10?int"},{"name":"unmuted_video_limit","type":"int"},{"name":"version","type":"int"}],"type":"GroupCall"},{"id":"-659913713","predicate":"inputGroupCall","params":[{"name":"id","type":"long"},{"name":"access_hash","type":"long"}],"type":"InputGroupCall"},{"id":"2047704898","predicate":"messageActionGroupCall","params":[{"name":"flags","type":"#"},{"name":"call","type":"InputGroupCall"},{"name":"duration","type":"flags.0?int"}],"type":"MessageAction"},{"id":"1345295095","predicate":"messageActionInviteToGroupCall","params":[{"name":"call","type":"InputGroupCall"},{"name":"users","type":"Vector"}],"type":"MessageAction"},{"id":"-341428482","predicate":"groupCallParticipant","params":[{"name":"flags","type":"#"},{"name":"muted","type":"flags.0?true"},{"name":"left","type":"flags.1?true"},{"name":"can_self_unmute","type":"flags.2?true"},{"name":"just_joined","type":"flags.4?true"},{"name":"versioned","type":"flags.5?true"},{"name":"min","type":"flags.8?true"},{"name":"muted_by_you","type":"flags.9?true"},{"name":"volume_by_admin","type":"flags.10?true"},{"name":"self","type":"flags.12?true"},{"name":"video_joined","type":"flags.15?true"},{"name":"peer","type":"Peer"},{"name":"date","type":"int"},{"name":"active_date","type":"flags.3?int"},{"name":"source","type":"int"},{"name":"volume","type":"flags.7?int"},{"name":"about","type":"flags.11?string"},{"name":"raise_hand_rating","type":"flags.13?long"},{"name":"video","type":"flags.6?GroupCallParticipantVideo"},{"name":"presentation","type":"flags.14?GroupCallParticipantVideo"}],"type":"GroupCallParticipant"},{"id":"-124097970","predicate":"updateChat","params":[{"name":"chat_id","type":"long"}],"type":"Update"},{"id":"-219423922","predicate":"updateGroupCallParticipants","params":[{"name":"call","type":"InputGroupCall"},{"name":"participants","type":"Vector"},{"name":"version","type":"int"}],"type":"Update"},{"id":"347227392","predicate":"updateGroupCall","params":[{"name":"chat_id","type":"long"},{"name":"call","type":"GroupCall"}],"type":"Update"},{"id":"-1636664659","predicate":"phone.groupCall","params":[{"name":"call","type":"GroupCall"},{"name":"participants","type":"Vector"},{"name":"participants_next_offset","type":"string"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"phone.GroupCall"},{"id":"-193506890","predicate":"phone.groupParticipants","params":[{"name":"count","type":"int"},{"name":"participants","type":"Vector"},{"name":"next_offset","type":"string"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"},{"name":"version","type":"int"}],"type":"phone.GroupParticipants"},{"id":"813821341","predicate":"inlineQueryPeerTypeSameBotPM","params":[],"type":"InlineQueryPeerType"},{"id":"-2093215828","predicate":"inlineQueryPeerTypePM","params":[],"type":"InlineQueryPeerType"},{"id":"-681130742","predicate":"inlineQueryPeerTypeChat","params":[],"type":"InlineQueryPeerType"},{"id":"1589952067","predicate":"inlineQueryPeerTypeMegagroup","params":[],"type":"InlineQueryPeerType"},{"id":"1664413338","predicate":"inlineQueryPeerTypeBroadcast","params":[],"type":"InlineQueryPeerType"},{"id":"589338437","predicate":"channelAdminLogEventActionStartGroupCall","params":[{"name":"call","type":"InputGroupCall"}],"type":"ChannelAdminLogEventAction"},{"id":"-610299584","predicate":"channelAdminLogEventActionDiscardGroupCall","params":[{"name":"call","type":"InputGroupCall"}],"type":"ChannelAdminLogEventAction"},{"id":"-115071790","predicate":"channelAdminLogEventActionParticipantMute","params":[{"name":"participant","type":"GroupCallParticipant"}],"type":"ChannelAdminLogEventAction"},{"id":"-431740480","predicate":"channelAdminLogEventActionParticipantUnmute","params":[{"name":"participant","type":"GroupCallParticipant"}],"type":"ChannelAdminLogEventAction"},{"id":"1456906823","predicate":"channelAdminLogEventActionToggleGroupCallSetting","params":[{"name":"join_muted","type":"Bool"}],"type":"ChannelAdminLogEventAction"},{"id":"-1966921727","predicate":"inputPaymentCredentialsGooglePay","params":[{"name":"payment_token","type":"DataJSON"}],"type":"InputPaymentCredentials"},{"id":"375566091","predicate":"messages.historyImport","params":[{"name":"id","type":"long"}],"type":"messages.HistoryImport"},{"id":"-606432698","predicate":"sendMessageHistoryImportAction","params":[{"name":"progress","type":"int"}],"type":"SendMessageAction"},{"id":"1578088377","predicate":"messages.historyImportParsed","params":[{"name":"flags","type":"#"},{"name":"pm","type":"flags.0?true"},{"name":"group","type":"flags.1?true"},{"name":"title","type":"flags.2?string"}],"type":"messages.HistoryImportParsed"},{"id":"-170010905","predicate":"inputReportReasonFake","params":[],"type":"ReportReason"},{"id":"-275956116","predicate":"messages.affectedFoundMessages","params":[{"name":"pts","type":"int"},{"name":"pts_count","type":"int"},{"name":"offset","type":"int"},{"name":"messages","type":"Vector"}],"type":"messages.AffectedFoundMessages"},{"id":"1007897979","predicate":"messageActionSetMessagesTTL","params":[{"name":"flags","type":"#"},{"name":"period","type":"int"},{"name":"auto_setting_from","type":"flags.0?long"}],"type":"MessageAction"},{"id":"-1147422299","predicate":"updatePeerHistoryTTL","params":[{"name":"flags","type":"#"},{"name":"peer","type":"Peer"},{"name":"ttl_period","type":"flags.0?int"}],"type":"Update"},{"id":"-796432838","predicate":"updateChatParticipant","params":[{"name":"flags","type":"#"},{"name":"chat_id","type":"long"},{"name":"date","type":"int"},{"name":"actor_id","type":"long"},{"name":"user_id","type":"long"},{"name":"prev_participant","type":"flags.0?ChatParticipant"},{"name":"new_participant","type":"flags.1?ChatParticipant"},{"name":"invite","type":"flags.2?ExportedChatInvite"},{"name":"qts","type":"int"}],"type":"Update"},{"id":"-1738720581","predicate":"updateChannelParticipant","params":[{"name":"flags","type":"#"},{"name":"via_chatlist","type":"flags.3?true"},{"name":"channel_id","type":"long"},{"name":"date","type":"int"},{"name":"actor_id","type":"long"},{"name":"user_id","type":"long"},{"name":"prev_participant","type":"flags.0?ChannelParticipant"},{"name":"new_participant","type":"flags.1?ChannelParticipant"},{"name":"invite","type":"flags.2?ExportedChatInvite"},{"name":"qts","type":"int"}],"type":"Update"},{"id":"-997782967","predicate":"updateBotStopped","params":[{"name":"user_id","type":"long"},{"name":"date","type":"int"},{"name":"stopped","type":"Bool"},{"name":"qts","type":"int"}],"type":"Update"},{"id":"-1940201511","predicate":"chatInviteImporter","params":[{"name":"flags","type":"#"},{"name":"requested","type":"flags.0?true"},{"name":"via_chatlist","type":"flags.3?true"},{"name":"user_id","type":"long"},{"name":"date","type":"int"},{"name":"about","type":"flags.2?string"},{"name":"approved_by","type":"flags.1?long"}],"type":"ChatInviteImporter"},{"id":"-1111085620","predicate":"messages.exportedChatInvites","params":[{"name":"count","type":"int"},{"name":"invites","type":"Vector"},{"name":"users","type":"Vector"}],"type":"messages.ExportedChatInvites"},{"id":"410107472","predicate":"messages.exportedChatInvite","params":[{"name":"invite","type":"ExportedChatInvite"},{"name":"users","type":"Vector"}],"type":"messages.ExportedChatInvite"},{"id":"572915951","predicate":"messages.exportedChatInviteReplaced","params":[{"name":"invite","type":"ExportedChatInvite"},{"name":"new_invite","type":"ExportedChatInvite"},{"name":"users","type":"Vector"}],"type":"messages.ExportedChatInvite"},{"id":"-2118733814","predicate":"messages.chatInviteImporters","params":[{"name":"count","type":"int"},{"name":"importers","type":"Vector"},{"name":"users","type":"Vector"}],"type":"messages.ChatInviteImporters"},{"id":"-219353309","predicate":"chatAdminWithInvites","params":[{"name":"admin_id","type":"long"},{"name":"invites_count","type":"int"},{"name":"revoked_invites_count","type":"int"}],"type":"ChatAdminWithInvites"},{"id":"-1231326505","predicate":"messages.chatAdminsWithInvites","params":[{"name":"admins","type":"Vector"},{"name":"users","type":"Vector"}],"type":"messages.ChatAdminsWithInvites"},{"id":"-23084712","predicate":"channelAdminLogEventActionParticipantJoinByInvite","params":[{"name":"flags","type":"#"},{"name":"via_chatlist","type":"flags.0?true"},{"name":"invite","type":"ExportedChatInvite"}],"type":"ChannelAdminLogEventAction"},{"id":"1515256996","predicate":"channelAdminLogEventActionExportedInviteDelete","params":[{"name":"invite","type":"ExportedChatInvite"}],"type":"ChannelAdminLogEventAction"},{"id":"1091179342","predicate":"channelAdminLogEventActionExportedInviteRevoke","params":[{"name":"invite","type":"ExportedChatInvite"}],"type":"ChannelAdminLogEventAction"},{"id":"-384910503","predicate":"channelAdminLogEventActionExportedInviteEdit","params":[{"name":"prev_invite","type":"ExportedChatInvite"},{"name":"new_invite","type":"ExportedChatInvite"}],"type":"ChannelAdminLogEventAction"},{"id":"1048537159","predicate":"channelAdminLogEventActionParticipantVolume","params":[{"name":"participant","type":"GroupCallParticipant"}],"type":"ChannelAdminLogEventAction"},{"id":"1855199800","predicate":"channelAdminLogEventActionChangeHistoryTTL","params":[{"name":"prev_value","type":"int"},{"name":"new_value","type":"int"}],"type":"ChannelAdminLogEventAction"},{"id":"-1571952873","predicate":"messages.checkedHistoryImportPeer","params":[{"name":"confirm_text","type":"string"}],"type":"messages.CheckedHistoryImportPeer"},{"id":"93890858","predicate":"inputGroupCallStream","params":[{"name":"flags","type":"#"},{"name":"call","type":"InputGroupCall"},{"name":"time_ms","type":"long"},{"name":"scale","type":"int"},{"name":"video_channel","type":"flags.0?int"},{"name":"video_quality","type":"flags.0?int"}],"type":"InputFileLocation"},{"id":"-1343921601","predicate":"phone.joinAsPeers","params":[{"name":"peers","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"phone.JoinAsPeers"},{"id":"541839704","predicate":"phone.exportedGroupCallInvite","params":[{"name":"link","type":"string"}],"type":"phone.ExportedGroupCallInvite"},{"id":"-672693723","predicate":"inputBotInlineMessageMediaInvoice","params":[{"name":"flags","type":"#"},{"name":"title","type":"string"},{"name":"description","type":"string"},{"name":"photo","type":"flags.0?InputWebDocument"},{"name":"invoice","type":"Invoice"},{"name":"payload","type":"bytes"},{"name":"provider","type":"string"},{"name":"provider_data","type":"DataJSON"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"}],"type":"InputBotInlineMessage"},{"id":"894081801","predicate":"botInlineMessageMediaInvoice","params":[{"name":"flags","type":"#"},{"name":"shipping_address_requested","type":"flags.1?true"},{"name":"test","type":"flags.3?true"},{"name":"title","type":"string"},{"name":"description","type":"string"},{"name":"photo","type":"flags.0?WebDocument"},{"name":"currency","type":"string"},{"name":"total_amount","type":"long"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"}],"type":"BotInlineMessage"},{"id":"-1281329567","predicate":"messageActionGroupCallScheduled","params":[{"name":"call","type":"InputGroupCall"},{"name":"schedule_date","type":"int"}],"type":"MessageAction"},{"id":"-592373577","predicate":"groupCallParticipantVideoSourceGroup","params":[{"name":"semantics","type":"string"},{"name":"sources","type":"Vector"}],"type":"GroupCallParticipantVideoSourceGroup"},{"id":"1735736008","predicate":"groupCallParticipantVideo","params":[{"name":"flags","type":"#"},{"name":"paused","type":"flags.0?true"},{"name":"endpoint","type":"string"},{"name":"source_groups","type":"Vector"},{"name":"audio_source","type":"flags.1?int"}],"type":"GroupCallParticipantVideo"},{"id":"192428418","predicate":"updateGroupCallConnection","params":[{"name":"flags","type":"#"},{"name":"presentation","type":"flags.0?true"},{"name":"params","type":"DataJSON"}],"type":"Update"},{"id":"-2046910401","predicate":"stickers.suggestedShortName","params":[{"name":"short_name","type":"string"}],"type":"stickers.SuggestedShortName"},{"id":"795652779","predicate":"botCommandScopeDefault","params":[],"type":"BotCommandScope"},{"id":"1011811544","predicate":"botCommandScopeUsers","params":[],"type":"BotCommandScope"},{"id":"1877059713","predicate":"botCommandScopeChats","params":[],"type":"BotCommandScope"},{"id":"-1180016534","predicate":"botCommandScopeChatAdmins","params":[],"type":"BotCommandScope"},{"id":"-610432643","predicate":"botCommandScopePeer","params":[{"name":"peer","type":"InputPeer"}],"type":"BotCommandScope"},{"id":"1071145937","predicate":"botCommandScopePeerAdmins","params":[{"name":"peer","type":"InputPeer"}],"type":"BotCommandScope"},{"id":"169026035","predicate":"botCommandScopePeerUser","params":[{"name":"peer","type":"InputPeer"},{"name":"user_id","type":"InputUser"}],"type":"BotCommandScope"},{"id":"-478701471","predicate":"account.resetPasswordFailedWait","params":[{"name":"retry_date","type":"int"}],"type":"account.ResetPasswordResult"},{"id":"-370148227","predicate":"account.resetPasswordRequestedWait","params":[{"name":"until_date","type":"int"}],"type":"account.ResetPasswordResult"},{"id":"-383330754","predicate":"account.resetPasswordOk","params":[],"type":"account.ResetPasswordResult"},{"id":"1299263278","predicate":"updateBotCommands","params":[{"name":"peer","type":"Peer"},{"name":"bot_id","type":"long"},{"name":"commands","type":"Vector"}],"type":"Update"},{"id":"-1434950843","predicate":"messageActionSetChatTheme","params":[{"name":"emoticon","type":"string"}],"type":"MessageAction"},{"id":"-1336228175","predicate":"sendMessageChooseStickerAction","params":[],"type":"SendMessageAction"},{"id":"-64636888","predicate":"sponsoredMessage","params":[{"name":"flags","type":"#"},{"name":"recommended","type":"flags.5?true"},{"name":"show_peer_photo","type":"flags.6?true"},{"name":"random_id","type":"bytes"},{"name":"from_id","type":"flags.3?Peer"},{"name":"chat_invite","type":"flags.4?ChatInvite"},{"name":"chat_invite_hash","type":"flags.4?string"},{"name":"channel_post","type":"flags.2?int"},{"name":"start_param","type":"flags.0?string"},{"name":"message","type":"string"},{"name":"entities","type":"flags.1?Vector"},{"name":"sponsor_info","type":"flags.7?string"},{"name":"additional_info","type":"flags.8?string"}],"type":"SponsoredMessage"},{"id":"-907141753","predicate":"messages.sponsoredMessages","params":[{"name":"flags","type":"#"},{"name":"posts_between","type":"flags.0?int"},{"name":"messages","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"messages.SponsoredMessages"},{"id":"215889721","predicate":"inputStickerSetAnimatedEmojiAnimations","params":[],"type":"InputStickerSet"},{"id":"630664139","predicate":"sendMessageEmojiInteraction","params":[{"name":"emoticon","type":"string"},{"name":"msg_id","type":"int"},{"name":"interaction","type":"DataJSON"}],"type":"SendMessageAction"},{"id":"-1234857938","predicate":"sendMessageEmojiInteractionSeen","params":[{"name":"emoticon","type":"string"}],"type":"SendMessageAction"},{"id":"-1227287081","predicate":"inputBotInlineMessageID64","params":[{"name":"dc_id","type":"int"},{"name":"owner_id","type":"long"},{"name":"id","type":"int"},{"name":"access_hash","type":"long"}],"type":"InputBotInlineMessageID"},{"id":"-911191137","predicate":"searchResultsCalendarPeriod","params":[{"name":"date","type":"int"},{"name":"min_msg_id","type":"int"},{"name":"max_msg_id","type":"int"},{"name":"count","type":"int"}],"type":"SearchResultsCalendarPeriod"},{"id":"343859772","predicate":"messages.searchResultsCalendar","params":[{"name":"flags","type":"#"},{"name":"inexact","type":"flags.0?true"},{"name":"count","type":"int"},{"name":"min_date","type":"int"},{"name":"min_msg_id","type":"int"},{"name":"offset_id_offset","type":"flags.1?int"},{"name":"periods","type":"Vector"},{"name":"messages","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"messages.SearchResultsCalendar"},{"id":"2137295719","predicate":"searchResultPosition","params":[{"name":"msg_id","type":"int"},{"name":"date","type":"int"},{"name":"offset","type":"int"}],"type":"SearchResultsPosition"},{"id":"1404185519","predicate":"messages.searchResultsPositions","params":[{"name":"count","type":"int"},{"name":"positions","type":"Vector"}],"type":"messages.SearchResultsPositions"},{"id":"-339958837","predicate":"messageActionChatJoinedByRequest","params":[],"type":"MessageAction"},{"id":"1885586395","predicate":"updatePendingJoinRequests","params":[{"name":"peer","type":"Peer"},{"name":"requests_pending","type":"int"},{"name":"recent_requesters","type":"Vector"}],"type":"Update"},{"id":"299870598","predicate":"updateBotChatInviteRequester","params":[{"name":"peer","type":"Peer"},{"name":"date","type":"int"},{"name":"user_id","type":"long"},{"name":"about","type":"string"},{"name":"invite","type":"ExportedChatInvite"},{"name":"qts","type":"int"}],"type":"Update"},{"id":"-1347021750","predicate":"channelAdminLogEventActionParticipantJoinByRequest","params":[{"name":"invite","type":"ExportedChatInvite"},{"name":"approved_by","type":"long"}],"type":"ChannelAdminLogEventAction"},{"id":"-376962181","predicate":"inputKeyboardButtonUserProfile","params":[{"name":"text","type":"string"},{"name":"user_id","type":"InputUser"}],"type":"KeyboardButton"},{"id":"814112961","predicate":"keyboardButtonUserProfile","params":[{"name":"text","type":"string"},{"name":"user_id","type":"long"}],"type":"KeyboardButton"},{"id":"-191450938","predicate":"channels.sendAsPeers","params":[{"name":"peers","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"channels.SendAsPeers"},{"id":"-886388890","predicate":"channelAdminLogEventActionToggleNoForwards","params":[{"name":"new_value","type":"Bool"}],"type":"ChannelAdminLogEventAction"},{"id":"-738646805","predicate":"messages.stickerSetNotModified","params":[],"type":"messages.StickerSet"},{"id":"997004590","predicate":"users.userFull","params":[{"name":"full_user","type":"UserFull"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"users.UserFull"},{"id":"1753266509","predicate":"messages.peerSettings","params":[{"name":"settings","type":"PeerSettings"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"messages.PeerSettings"},{"id":"663693416","predicate":"channelAdminLogEventActionSendMessage","params":[{"name":"message","type":"Message"}],"type":"ChannelAdminLogEventAction"},{"id":"-702884114","predicate":"auth.codeTypeMissedCall","params":[],"type":"auth.CodeType"},{"id":"-2113903484","predicate":"auth.sentCodeTypeMissedCall","params":[{"name":"prefix","type":"string"},{"name":"length","type":"int"}],"type":"auth.SentCodeType"},{"id":"-1012759713","predicate":"auth.loggedOut","params":[{"name":"flags","type":"#"},{"name":"future_auth_token","type":"flags.0?bytes"}],"type":"auth.LoggedOut"},{"id":"1578843320","predicate":"updateMessageReactions","params":[{"name":"flags","type":"#"},{"name":"peer","type":"Peer"},{"name":"msg_id","type":"int"},{"name":"top_msg_id","type":"flags.0?int"},{"name":"reactions","type":"MessageReactions"}],"type":"Update"},{"id":"-1546531968","predicate":"reactionCount","params":[{"name":"flags","type":"#"},{"name":"chosen_order","type":"flags.0?int"},{"name":"reaction","type":"Reaction"},{"name":"count","type":"int"}],"type":"ReactionCount"},{"id":"1328256121","predicate":"messageReactions","params":[{"name":"flags","type":"#"},{"name":"min","type":"flags.0?true"},{"name":"can_see_list","type":"flags.2?true"},{"name":"results","type":"Vector"},{"name":"recent_reactions","type":"flags.1?Vector"}],"type":"MessageReactions"},{"id":"834488621","predicate":"messages.messageReactionsList","params":[{"name":"flags","type":"#"},{"name":"count","type":"int"},{"name":"reactions","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"},{"name":"next_offset","type":"flags.0?string"}],"type":"messages.MessageReactionsList"},{"id":"-1065882623","predicate":"availableReaction","params":[{"name":"flags","type":"#"},{"name":"inactive","type":"flags.0?true"},{"name":"premium","type":"flags.2?true"},{"name":"reaction","type":"string"},{"name":"title","type":"string"},{"name":"static_icon","type":"Document"},{"name":"appear_animation","type":"Document"},{"name":"select_animation","type":"Document"},{"name":"activate_animation","type":"Document"},{"name":"effect_animation","type":"Document"},{"name":"around_animation","type":"flags.1?Document"},{"name":"center_icon","type":"flags.1?Document"}],"type":"AvailableReaction"},{"id":"-1626924713","predicate":"messages.availableReactionsNotModified","params":[],"type":"messages.AvailableReactions"},{"id":"1989032621","predicate":"messages.availableReactions","params":[{"name":"hash","type":"int"},{"name":"reactions","type":"Vector"}],"type":"messages.AvailableReactions"},{"id":"852137487","predicate":"messageEntitySpoiler","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"}],"type":"MessageEntity"},{"id":"-1102180616","predicate":"channelAdminLogEventActionChangeAvailableReactions","params":[{"name":"prev_value","type":"ChatReactions"},{"name":"new_value","type":"ChatReactions"}],"type":"ChannelAdminLogEventAction"},{"id":"-1938180548","predicate":"messagePeerReaction","params":[{"name":"flags","type":"#"},{"name":"big","type":"flags.0?true"},{"name":"unread","type":"flags.1?true"},{"name":"my","type":"flags.2?true"},{"name":"peer_id","type":"Peer"},{"name":"date","type":"int"},{"name":"reaction","type":"Reaction"}],"type":"MessagePeerReaction"},{"id":"-2132064081","predicate":"groupCallStreamChannel","params":[{"name":"channel","type":"int"},{"name":"scale","type":"int"},{"name":"last_timestamp_ms","type":"long"}],"type":"GroupCallStreamChannel"},{"id":"-790330702","predicate":"phone.groupCallStreamChannels","params":[{"name":"channels","type":"Vector"}],"type":"phone.GroupCallStreamChannels"},{"id":"177124030","predicate":"inputReportReasonIllegalDrugs","params":[],"type":"ReportReason"},{"id":"-1631091139","predicate":"inputReportReasonPersonalDetails","params":[],"type":"ReportReason"},{"id":"767505458","predicate":"phone.groupCallStreamRtmpUrl","params":[{"name":"url","type":"string"},{"name":"key","type":"string"}],"type":"phone.GroupCallStreamRtmpUrl"},{"id":"1165423600","predicate":"attachMenuBotIconColor","params":[{"name":"name","type":"string"},{"name":"color","type":"int"}],"type":"AttachMenuBotIconColor"},{"id":"-1297663893","predicate":"attachMenuBotIcon","params":[{"name":"flags","type":"#"},{"name":"name","type":"string"},{"name":"icon","type":"Document"},{"name":"colors","type":"flags.0?Vector"}],"type":"AttachMenuBotIcon"},{"id":"-928371502","predicate":"attachMenuBot","params":[{"name":"flags","type":"#"},{"name":"inactive","type":"flags.0?true"},{"name":"has_settings","type":"flags.1?true"},{"name":"request_write_access","type":"flags.2?true"},{"name":"bot_id","type":"long"},{"name":"short_name","type":"string"},{"name":"peer_types","type":"Vector"},{"name":"icons","type":"Vector"}],"type":"AttachMenuBot"},{"id":"-237467044","predicate":"attachMenuBotsNotModified","params":[],"type":"AttachMenuBots"},{"id":"1011024320","predicate":"attachMenuBots","params":[{"name":"hash","type":"long"},{"name":"bots","type":"Vector"},{"name":"users","type":"Vector"}],"type":"AttachMenuBots"},{"id":"-1816172929","predicate":"attachMenuBotsBot","params":[{"name":"bot","type":"AttachMenuBot"},{"name":"users","type":"Vector"}],"type":"AttachMenuBotsBot"},{"id":"397910539","predicate":"updateAttachMenuBots","params":[],"type":"Update"},{"id":"202659196","predicate":"webViewResultUrl","params":[{"name":"query_id","type":"long"},{"name":"url","type":"string"}],"type":"WebViewResult"},{"id":"-2010155333","predicate":"simpleWebViewResultUrl","params":[{"name":"url","type":"string"}],"type":"SimpleWebViewResult"},{"id":"211046684","predicate":"webViewMessageSent","params":[{"name":"flags","type":"#"},{"name":"msg_id","type":"flags.0?InputBotInlineMessageID"}],"type":"WebViewMessageSent"},{"id":"361936797","predicate":"updateWebViewResultSent","params":[{"name":"query_id","type":"long"}],"type":"Update"},{"id":"326529584","predicate":"keyboardButtonWebView","params":[{"name":"text","type":"string"},{"name":"url","type":"string"}],"type":"KeyboardButton"},{"id":"-1598009252","predicate":"keyboardButtonSimpleWebView","params":[{"name":"text","type":"string"},{"name":"url","type":"string"}],"type":"KeyboardButton"},{"id":"1205698681","predicate":"messageActionWebViewDataSentMe","params":[{"name":"text","type":"string"},{"name":"data","type":"string"}],"type":"MessageAction"},{"id":"-1262252875","predicate":"messageActionWebViewDataSent","params":[{"name":"text","type":"string"}],"type":"MessageAction"},{"id":"347625491","predicate":"updateBotMenuButton","params":[{"name":"bot_id","type":"long"},{"name":"button","type":"BotMenuButton"}],"type":"Update"},{"id":"1966318984","predicate":"botMenuButtonDefault","params":[],"type":"BotMenuButton"},{"id":"1113113093","predicate":"botMenuButtonCommands","params":[],"type":"BotMenuButton"},{"id":"-944407322","predicate":"botMenuButton","params":[{"name":"text","type":"string"},{"name":"url","type":"string"}],"type":"BotMenuButton"},{"id":"-67704655","predicate":"account.savedRingtonesNotModified","params":[],"type":"account.SavedRingtones"},{"id":"-1041683259","predicate":"account.savedRingtones","params":[{"name":"hash","type":"long"},{"name":"ringtones","type":"Vector"}],"type":"account.SavedRingtones"},{"id":"1960361625","predicate":"updateSavedRingtones","params":[],"type":"Update"},{"id":"-1746354498","predicate":"notificationSoundDefault","params":[],"type":"NotificationSound"},{"id":"1863070943","predicate":"notificationSoundNone","params":[],"type":"NotificationSound"},{"id":"-2096391452","predicate":"notificationSoundLocal","params":[{"name":"title","type":"string"},{"name":"data","type":"string"}],"type":"NotificationSound"},{"id":"-9666487","predicate":"notificationSoundRingtone","params":[{"name":"id","type":"long"}],"type":"NotificationSound"},{"id":"-1222230163","predicate":"account.savedRingtone","params":[],"type":"account.SavedRingtone"},{"id":"523271863","predicate":"account.savedRingtoneConverted","params":[{"name":"document","type":"Document"}],"type":"account.SavedRingtone"},{"id":"2104224014","predicate":"attachMenuPeerTypeSameBotPM","params":[],"type":"AttachMenuPeerType"},{"id":"-1020528102","predicate":"attachMenuPeerTypeBotPM","params":[],"type":"AttachMenuPeerType"},{"id":"-247016673","predicate":"attachMenuPeerTypePM","params":[],"type":"AttachMenuPeerType"},{"id":"84480319","predicate":"attachMenuPeerTypeChat","params":[],"type":"AttachMenuPeerType"},{"id":"2080104188","predicate":"attachMenuPeerTypeBroadcast","params":[],"type":"AttachMenuPeerType"},{"id":"-317687113","predicate":"chatInvitePublicJoinRequests","params":[],"type":"ExportedChatInvite"},{"id":"-977967015","predicate":"inputInvoiceMessage","params":[{"name":"peer","type":"InputPeer"},{"name":"msg_id","type":"int"}],"type":"InputInvoice"},{"id":"-1020867857","predicate":"inputInvoiceSlug","params":[{"name":"slug","type":"string"}],"type":"InputInvoice"},{"id":"-1362048039","predicate":"payments.exportedInvoice","params":[{"name":"url","type":"string"}],"type":"payments.ExportedInvoice"},{"id":"8703322","predicate":"updateTranscribedAudio","params":[{"name":"flags","type":"#"},{"name":"pending","type":"flags.0?true"},{"name":"peer","type":"Peer"},{"name":"msg_id","type":"int"},{"name":"transcription_id","type":"long"},{"name":"text","type":"string"}],"type":"Update"},{"id":"-1821037486","predicate":"messages.transcribedAudio","params":[{"name":"flags","type":"#"},{"name":"pending","type":"flags.0?true"},{"name":"transcription_id","type":"long"},{"name":"text","type":"string"}],"type":"messages.TranscribedAudio"},{"id":"909284270","predicate":"dialogFilterDefault","params":[],"type":"DialogFilter"},{"id":"1395946908","predicate":"help.premiumPromo","params":[{"name":"status_text","type":"string"},{"name":"status_entities","type":"Vector"},{"name":"video_sections","type":"Vector"},{"name":"videos","type":"Vector"},{"name":"period_options","type":"Vector"},{"name":"users","type":"Vector"}],"type":"help.PremiumPromo"},{"id":"-925956616","predicate":"messageEntityCustomEmoji","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"},{"name":"document_id","type":"long"}],"type":"MessageEntity"},{"id":"-48981863","predicate":"documentAttributeCustomEmoji","params":[{"name":"flags","type":"#"},{"name":"free","type":"flags.0?true"},{"name":"text_color","type":"flags.1?true"},{"name":"alt","type":"string"},{"name":"stickerset","type":"InputStickerSet"}],"type":"DocumentAttribute"},{"id":"1087454222","predicate":"stickerSetFullCovered","params":[{"name":"set","type":"StickerSet"},{"name":"packs","type":"Vector"},{"name":"keywords","type":"Vector"},{"name":"documents","type":"Vector"}],"type":"StickerSetCovered"},{"id":"-1502273946","predicate":"inputStorePaymentPremiumSubscription","params":[{"name":"flags","type":"#"},{"name":"restore","type":"flags.0?true"},{"name":"upgrade","type":"flags.1?true"}],"type":"InputStorePaymentPurpose"},{"id":"1634697192","predicate":"inputStorePaymentGiftPremium","params":[{"name":"user_id","type":"InputUser"},{"name":"currency","type":"string"},{"name":"amount","type":"long"}],"type":"InputStorePaymentPurpose"},{"id":"-935499028","predicate":"messageActionGiftPremium","params":[{"name":"flags","type":"#"},{"name":"currency","type":"string"},{"name":"amount","type":"long"},{"name":"months","type":"int"},{"name":"crypto_currency","type":"flags.0?string"},{"name":"crypto_amount","type":"flags.0?long"}],"type":"MessageAction"},{"id":"1958953753","predicate":"premiumGiftOption","params":[{"name":"flags","type":"#"},{"name":"months","type":"int"},{"name":"currency","type":"string"},{"name":"amount","type":"long"},{"name":"bot_url","type":"string"},{"name":"store_product","type":"flags.0?string"}],"type":"PremiumGiftOption"},{"id":"-930399486","predicate":"inputStickerSetPremiumGifts","params":[],"type":"InputStickerSet"},{"id":"-78886548","predicate":"updateReadFeaturedEmojiStickers","params":[],"type":"Update"},{"id":"-1360618136","predicate":"inputPrivacyKeyVoiceMessages","params":[],"type":"InputPrivacyKey"},{"id":"110621716","predicate":"privacyKeyVoiceMessages","params":[],"type":"PrivacyKey"},{"id":"-1996951013","predicate":"paymentFormMethod","params":[{"name":"url","type":"string"},{"name":"title","type":"string"}],"type":"PaymentFormMethod"},{"id":"-193992412","predicate":"inputWebFileAudioAlbumThumbLocation","params":[{"name":"flags","type":"#"},{"name":"small","type":"flags.2?true"},{"name":"document","type":"flags.0?InputDocument"},{"name":"title","type":"flags.1?string"},{"name":"performer","type":"flags.1?string"}],"type":"InputWebFileLocation"},{"id":"769727150","predicate":"emojiStatusEmpty","params":[],"type":"EmojiStatus"},{"id":"-1835310691","predicate":"emojiStatus","params":[{"name":"document_id","type":"long"}],"type":"EmojiStatus"},{"id":"-97474361","predicate":"emojiStatusUntil","params":[{"name":"document_id","type":"long"},{"name":"until","type":"int"}],"type":"EmojiStatus"},{"id":"674706841","predicate":"updateUserEmojiStatus","params":[{"name":"user_id","type":"long"},{"name":"emoji_status","type":"EmojiStatus"}],"type":"Update"},{"id":"821314523","predicate":"updateRecentEmojiStatuses","params":[],"type":"Update"},{"id":"-796072379","predicate":"account.emojiStatusesNotModified","params":[],"type":"account.EmojiStatuses"},{"id":"-1866176559","predicate":"account.emojiStatuses","params":[{"name":"hash","type":"long"},{"name":"statuses","type":"Vector"}],"type":"account.EmojiStatuses"},{"id":"2046153753","predicate":"reactionEmpty","params":[],"type":"Reaction"},{"id":"455247544","predicate":"reactionEmoji","params":[{"name":"emoticon","type":"string"}],"type":"Reaction"},{"id":"-1992950669","predicate":"reactionCustomEmoji","params":[{"name":"document_id","type":"long"}],"type":"Reaction"},{"id":"-352570692","predicate":"chatReactionsNone","params":[],"type":"ChatReactions"},{"id":"1385335754","predicate":"chatReactionsAll","params":[{"name":"flags","type":"#"},{"name":"allow_custom","type":"flags.0?true"}],"type":"ChatReactions"},{"id":"1713193015","predicate":"chatReactionsSome","params":[{"name":"reactions","type":"Vector"}],"type":"ChatReactions"},{"id":"-1334846497","predicate":"messages.reactionsNotModified","params":[],"type":"messages.Reactions"},{"id":"-352454890","predicate":"messages.reactions","params":[{"name":"hash","type":"long"},{"name":"reactions","type":"Vector"}],"type":"messages.Reactions"},{"id":"1870160884","predicate":"updateRecentReactions","params":[],"type":"Update"},{"id":"-2030252155","predicate":"updateMoveStickerSetToTop","params":[{"name":"flags","type":"#"},{"name":"masks","type":"flags.0?true"},{"name":"emojis","type":"flags.1?true"},{"name":"stickerset","type":"long"}],"type":"Update"},{"id":"-196020837","predicate":"auth.sentCodeTypeEmailCode","params":[{"name":"flags","type":"#"},{"name":"apple_signin_allowed","type":"flags.0?true"},{"name":"google_signin_allowed","type":"flags.1?true"},{"name":"email_pattern","type":"string"},{"name":"length","type":"int"},{"name":"reset_available_period","type":"flags.3?int"},{"name":"reset_pending_date","type":"flags.4?int"}],"type":"auth.SentCodeType"},{"id":"-1521934870","predicate":"auth.sentCodeTypeSetUpEmailRequired","params":[{"name":"flags","type":"#"},{"name":"apple_signin_allowed","type":"flags.0?true"},{"name":"google_signin_allowed","type":"flags.1?true"}],"type":"auth.SentCodeType"},{"id":"1128644211","predicate":"emailVerifyPurposeLoginSetup","params":[{"name":"phone_number","type":"string"},{"name":"phone_code_hash","type":"string"}],"type":"EmailVerifyPurpose"},{"id":"1383932651","predicate":"emailVerifyPurposeLoginChange","params":[],"type":"EmailVerifyPurpose"},{"id":"-1141565819","predicate":"emailVerifyPurposePassport","params":[],"type":"EmailVerifyPurpose"},{"id":"-1842457175","predicate":"emailVerificationCode","params":[{"name":"code","type":"string"}],"type":"EmailVerification"},{"id":"-611279166","predicate":"emailVerificationGoogle","params":[{"name":"token","type":"string"}],"type":"EmailVerification"},{"id":"-1764723459","predicate":"emailVerificationApple","params":[{"name":"token","type":"string"}],"type":"EmailVerification"},{"id":"731303195","predicate":"account.emailVerified","params":[{"name":"email","type":"string"}],"type":"account.EmailVerified"},{"id":"-507835039","predicate":"account.emailVerifiedLogin","params":[{"name":"email","type":"string"},{"name":"sent_code","type":"auth.SentCode"}],"type":"account.EmailVerified"},{"id":"1596792306","predicate":"premiumSubscriptionOption","params":[{"name":"flags","type":"#"},{"name":"current","type":"flags.1?true"},{"name":"can_purchase_upgrade","type":"flags.2?true"},{"name":"transaction","type":"flags.3?string"},{"name":"months","type":"int"},{"name":"currency","type":"string"},{"name":"amount","type":"long"},{"name":"bot_url","type":"string"},{"name":"store_product","type":"flags.0?string"}],"type":"PremiumSubscriptionOption"},{"id":"80008398","predicate":"inputStickerSetEmojiGenericAnimations","params":[],"type":"InputStickerSet"},{"id":"701560302","predicate":"inputStickerSetEmojiDefaultStatuses","params":[],"type":"InputStickerSet"},{"id":"-1206095820","predicate":"sendAsPeer","params":[{"name":"flags","type":"#"},{"name":"premium_required","type":"flags.0?true"},{"name":"peer","type":"Peer"}],"type":"SendAsPeer"},{"id":"-1386050360","predicate":"messageExtendedMediaPreview","params":[{"name":"flags","type":"#"},{"name":"w","type":"flags.0?int"},{"name":"h","type":"flags.0?int"},{"name":"thumb","type":"flags.1?PhotoSize"},{"name":"video_duration","type":"flags.2?int"}],"type":"MessageExtendedMedia"},{"id":"-297296796","predicate":"messageExtendedMedia","params":[{"name":"media","type":"MessageMedia"}],"type":"MessageExtendedMedia"},{"id":"1517529484","predicate":"updateMessageExtendedMedia","params":[{"name":"peer","type":"Peer"},{"name":"msg_id","type":"int"},{"name":"extended_media","type":"MessageExtendedMedia"}],"type":"Update"},{"id":"-50416996","predicate":"stickerKeyword","params":[{"name":"document_id","type":"long"},{"name":"keyword","type":"Vector"}],"type":"StickerKeyword"},{"id":"-1274595769","predicate":"username","params":[{"name":"flags","type":"#"},{"name":"editable","type":"flags.0?true"},{"name":"active","type":"flags.1?true"},{"name":"username","type":"string"}],"type":"Username"},{"id":"-263212119","predicate":"channelAdminLogEventActionChangeUsernames","params":[{"name":"prev_value","type":"Vector"},{"name":"new_value","type":"Vector"}],"type":"ChannelAdminLogEventAction"},{"id":"46949251","predicate":"channelAdminLogEventActionToggleForum","params":[{"name":"new_value","type":"Bool"}],"type":"ChannelAdminLogEventAction"},{"id":"1483767080","predicate":"channelAdminLogEventActionCreateTopic","params":[{"name":"topic","type":"ForumTopic"}],"type":"ChannelAdminLogEventAction"},{"id":"-261103096","predicate":"channelAdminLogEventActionEditTopic","params":[{"name":"prev_topic","type":"ForumTopic"},{"name":"new_topic","type":"ForumTopic"}],"type":"ChannelAdminLogEventAction"},{"id":"-1374254839","predicate":"channelAdminLogEventActionDeleteTopic","params":[{"name":"topic","type":"ForumTopic"}],"type":"ChannelAdminLogEventAction"},{"id":"1569535291","predicate":"channelAdminLogEventActionPinTopic","params":[{"name":"flags","type":"#"},{"name":"prev_topic","type":"flags.0?ForumTopic"},{"name":"new_topic","type":"flags.1?ForumTopic"}],"type":"ChannelAdminLogEventAction"},{"id":"37687451","predicate":"forumTopicDeleted","params":[{"name":"id","type":"int"}],"type":"ForumTopic"},{"id":"1903173033","predicate":"forumTopic","params":[{"name":"flags","type":"#"},{"name":"my","type":"flags.1?true"},{"name":"closed","type":"flags.2?true"},{"name":"pinned","type":"flags.3?true"},{"name":"short","type":"flags.5?true"},{"name":"hidden","type":"flags.6?true"},{"name":"id","type":"int"},{"name":"date","type":"int"},{"name":"title","type":"string"},{"name":"icon_color","type":"int"},{"name":"icon_emoji_id","type":"flags.0?long"},{"name":"top_message","type":"int"},{"name":"read_inbox_max_id","type":"int"},{"name":"read_outbox_max_id","type":"int"},{"name":"unread_count","type":"int"},{"name":"unread_mentions_count","type":"int"},{"name":"unread_reactions_count","type":"int"},{"name":"from_id","type":"Peer"},{"name":"notify_settings","type":"PeerNotifySettings"},{"name":"draft","type":"flags.4?DraftMessage"}],"type":"ForumTopic"},{"id":"913709011","predicate":"messages.forumTopics","params":[{"name":"flags","type":"#"},{"name":"order_by_create_date","type":"flags.0?true"},{"name":"count","type":"int"},{"name":"topics","type":"Vector"},{"name":"messages","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"},{"name":"pts","type":"int"}],"type":"messages.ForumTopics"},{"id":"228168278","predicate":"messageActionTopicCreate","params":[{"name":"flags","type":"#"},{"name":"title","type":"string"},{"name":"icon_color","type":"int"},{"name":"icon_emoji_id","type":"flags.0?long"}],"type":"MessageAction"},{"id":"-1064024032","predicate":"messageActionTopicEdit","params":[{"name":"flags","type":"#"},{"name":"title","type":"flags.0?string"},{"name":"icon_emoji_id","type":"flags.1?long"},{"name":"closed","type":"flags.2?Bool"},{"name":"hidden","type":"flags.3?Bool"}],"type":"MessageAction"},{"id":"422509539","predicate":"updateChannelPinnedTopic","params":[{"name":"flags","type":"#"},{"name":"pinned","type":"flags.0?true"},{"name":"channel_id","type":"long"},{"name":"topic_id","type":"int"}],"type":"Update"},{"id":"1548122514","predicate":"inputNotifyForumTopic","params":[{"name":"peer","type":"InputPeer"},{"name":"top_msg_id","type":"int"}],"type":"InputNotifyPeer"},{"id":"577659656","predicate":"notifyForumTopic","params":[{"name":"peer","type":"Peer"},{"name":"top_msg_id","type":"int"}],"type":"NotifyPeer"},{"id":"1153562857","predicate":"inputStickerSetEmojiDefaultTopicIcons","params":[],"type":"InputStickerSet"},{"id":"406407439","predicate":"messages.sponsoredMessagesEmpty","params":[],"type":"messages.SponsoredMessages"},{"id":"-31881726","predicate":"updateChannelPinnedTopics","params":[{"name":"flags","type":"#"},{"name":"channel_id","type":"long"},{"name":"order","type":"flags.0?Vector"}],"type":"Update"},{"id":"1135897376","predicate":"defaultHistoryTTL","params":[{"name":"period","type":"int"}],"type":"DefaultHistoryTTL"},{"id":"116234636","predicate":"auth.codeTypeFragmentSms","params":[],"type":"auth.CodeType"},{"id":"-648651719","predicate":"auth.sentCodeTypeFragmentSms","params":[{"name":"url","type":"string"},{"name":"length","type":"int"}],"type":"auth.SentCodeType"},{"id":"1103040667","predicate":"exportedContactToken","params":[{"name":"url","type":"string"},{"name":"expires","type":"int"}],"type":"ExportedContactToken"},{"id":"1693675004","predicate":"channelAdminLogEventActionToggleAntiSpam","params":[{"name":"new_value","type":"Bool"}],"type":"ChannelAdminLogEventAction"},{"id":"1474192222","predicate":"messageActionSuggestProfilePhoto","params":[{"name":"photo","type":"Photo"}],"type":"MessageAction"},{"id":"2008112412","predicate":"stickerSetNoCovered","params":[{"name":"set","type":"StickerSet"}],"type":"StickerSetCovered"},{"id":"542282808","predicate":"updateUser","params":[{"name":"user_id","type":"long"}],"type":"Update"},{"id":"596704836","predicate":"auth.sentCodeSuccess","params":[{"name":"authorization","type":"auth.Authorization"}],"type":"auth.SentCode"},{"id":"-25742243","predicate":"messageActionRequestedPeer","params":[{"name":"button_id","type":"int"},{"name":"peer","type":"Peer"}],"type":"MessageAction"},{"id":"1597737472","predicate":"requestPeerTypeUser","params":[{"name":"flags","type":"#"},{"name":"bot","type":"flags.0?Bool"},{"name":"premium","type":"flags.1?Bool"}],"type":"RequestPeerType"},{"id":"-906990053","predicate":"requestPeerTypeChat","params":[{"name":"flags","type":"#"},{"name":"creator","type":"flags.0?true"},{"name":"bot_participant","type":"flags.5?true"},{"name":"has_username","type":"flags.3?Bool"},{"name":"forum","type":"flags.4?Bool"},{"name":"user_admin_rights","type":"flags.1?ChatAdminRights"},{"name":"bot_admin_rights","type":"flags.2?ChatAdminRights"}],"type":"RequestPeerType"},{"id":"865857388","predicate":"requestPeerTypeBroadcast","params":[{"name":"flags","type":"#"},{"name":"creator","type":"flags.0?true"},{"name":"has_username","type":"flags.3?Bool"},{"name":"user_admin_rights","type":"flags.1?ChatAdminRights"},{"name":"bot_admin_rights","type":"flags.2?ChatAdminRights"}],"type":"RequestPeerType"},{"id":"218842764","predicate":"keyboardButtonRequestPeer","params":[{"name":"text","type":"string"},{"name":"button_id","type":"int"},{"name":"peer_type","type":"RequestPeerType"}],"type":"KeyboardButton"},{"id":"1209970170","predicate":"emojiListNotModified","params":[],"type":"EmojiList"},{"id":"2048790993","predicate":"emojiList","params":[{"name":"hash","type":"long"},{"name":"document_id","type":"Vector"}],"type":"EmojiList"},{"id":"-444918734","predicate":"auth.sentCodeTypeFirebaseSms","params":[{"name":"flags","type":"#"},{"name":"nonce","type":"flags.0?bytes"},{"name":"receipt","type":"flags.1?string"},{"name":"push_timeout","type":"flags.1?int"},{"name":"length","type":"int"}],"type":"auth.SentCodeType"},{"id":"2056961449","predicate":"emojiGroup","params":[{"name":"title","type":"string"},{"name":"icon_emoji_id","type":"long"},{"name":"emoticons","type":"Vector"}],"type":"EmojiGroup"},{"id":"1874111879","predicate":"messages.emojiGroupsNotModified","params":[],"type":"messages.EmojiGroups"},{"id":"-2011186869","predicate":"messages.emojiGroups","params":[{"name":"hash","type":"int"},{"name":"groups","type":"Vector"}],"type":"messages.EmojiGroups"},{"id":"-128171716","predicate":"videoSizeEmojiMarkup","params":[{"name":"emoji_id","type":"long"},{"name":"background_colors","type":"Vector"}],"type":"VideoSize"},{"id":"228623102","predicate":"videoSizeStickerMarkup","params":[{"name":"stickerset","type":"InputStickerSet"},{"name":"sticker_id","type":"long"},{"name":"background_colors","type":"Vector"}],"type":"VideoSize"},{"id":"1964978502","predicate":"textWithEntities","params":[{"name":"text","type":"string"},{"name":"entities","type":"Vector"}],"type":"TextWithEntities"},{"id":"870003448","predicate":"messages.translateResult","params":[{"name":"result","type":"Vector"}],"type":"messages.TranslatedText"},{"id":"-934791986","predicate":"autoSaveSettings","params":[{"name":"flags","type":"#"},{"name":"photos","type":"flags.0?true"},{"name":"videos","type":"flags.1?true"},{"name":"video_max_size","type":"flags.2?long"}],"type":"AutoSaveSettings"},{"id":"-2124403385","predicate":"autoSaveException","params":[{"name":"peer","type":"Peer"},{"name":"settings","type":"AutoSaveSettings"}],"type":"AutoSaveException"},{"id":"1279133341","predicate":"account.autoSaveSettings","params":[{"name":"users_settings","type":"AutoSaveSettings"},{"name":"chats_settings","type":"AutoSaveSettings"},{"name":"broadcasts_settings","type":"AutoSaveSettings"},{"name":"exceptions","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"account.AutoSaveSettings"},{"id":"-335171433","predicate":"updateAutoSaveSettings","params":[],"type":"Update"},{"id":"2094949405","predicate":"help.appConfigNotModified","params":[],"type":"help.AppConfig"},{"id":"-585598930","predicate":"help.appConfig","params":[{"name":"hash","type":"int"},{"name":"config","type":"JSONValue"}],"type":"help.AppConfig"},{"id":"-1457472134","predicate":"inputBotAppID","params":[{"name":"id","type":"long"},{"name":"access_hash","type":"long"}],"type":"InputBotApp"},{"id":"-1869872121","predicate":"inputBotAppShortName","params":[{"name":"bot_id","type":"InputUser"},{"name":"short_name","type":"string"}],"type":"InputBotApp"},{"id":"1571189943","predicate":"botAppNotModified","params":[],"type":"BotApp"},{"id":"-1778593322","predicate":"botApp","params":[{"name":"flags","type":"#"},{"name":"id","type":"long"},{"name":"access_hash","type":"long"},{"name":"short_name","type":"string"},{"name":"title","type":"string"},{"name":"description","type":"string"},{"name":"photo","type":"Photo"},{"name":"document","type":"flags.0?Document"},{"name":"hash","type":"long"}],"type":"BotApp"},{"id":"-347034123","predicate":"messages.botApp","params":[{"name":"flags","type":"#"},{"name":"inactive","type":"flags.0?true"},{"name":"request_write_access","type":"flags.1?true"},{"name":"app","type":"BotApp"}],"type":"messages.BotApp"},{"id":"1008422669","predicate":"appWebViewResultUrl","params":[{"name":"url","type":"string"}],"type":"AppWebViewResult"},{"id":"-1250781739","predicate":"inlineBotWebView","params":[{"name":"text","type":"string"},{"name":"url","type":"string"}],"type":"InlineBotWebView"},{"id":"1246753138","predicate":"readParticipantDate","params":[{"name":"user_id","type":"long"},{"name":"date","type":"int"}],"type":"ReadParticipantDate"},{"id":"-856651050","predicate":"updateGroupInvitePrivacyForbidden","params":[{"name":"user_id","type":"long"}],"type":"Update"},{"id":"-699792216","predicate":"dialogFilterChatlist","params":[{"name":"flags","type":"#"},{"name":"has_my_invites","type":"flags.26?true"},{"name":"id","type":"int"},{"name":"title","type":"string"},{"name":"emoticon","type":"flags.25?string"},{"name":"pinned_peers","type":"Vector"},{"name":"include_peers","type":"Vector"}],"type":"DialogFilter"},{"id":"-203367885","predicate":"inputChatlistDialogFilter","params":[{"name":"filter_id","type":"int"}],"type":"InputChatlist"},{"id":"206668204","predicate":"exportedChatlistInvite","params":[{"name":"flags","type":"#"},{"name":"title","type":"string"},{"name":"url","type":"string"},{"name":"peers","type":"Vector"}],"type":"ExportedChatlistInvite"},{"id":"283567014","predicate":"chatlists.exportedChatlistInvite","params":[{"name":"filter","type":"DialogFilter"},{"name":"invite","type":"ExportedChatlistInvite"}],"type":"chatlists.ExportedChatlistInvite"},{"id":"279670215","predicate":"chatlists.exportedInvites","params":[{"name":"invites","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"chatlists.ExportedInvites"},{"id":"-91752871","predicate":"chatlists.chatlistInviteAlready","params":[{"name":"filter_id","type":"int"},{"name":"missing_peers","type":"Vector"},{"name":"already_peers","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"chatlists.ChatlistInvite"},{"id":"500007837","predicate":"chatlists.chatlistInvite","params":[{"name":"flags","type":"#"},{"name":"title","type":"string"},{"name":"emoticon","type":"flags.0?string"},{"name":"peers","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"chatlists.ChatlistInvite"},{"id":"-1816295539","predicate":"chatlists.chatlistUpdates","params":[{"name":"missing_peers","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"chatlists.ChatlistUpdates"},{"id":"-1136350937","predicate":"messageActionSetChatWallPaper","params":[{"name":"wallpaper","type":"WallPaper"}],"type":"MessageAction"},{"id":"-1065845395","predicate":"messageActionSetSameChatWallPaper","params":[{"name":"wallpaper","type":"WallPaper"}],"type":"MessageAction"},{"id":"-391678544","predicate":"bots.botInfo","params":[{"name":"name","type":"string"},{"name":"about","type":"string"},{"name":"description","type":"string"}],"type":"bots.BotInfo"},{"id":"238759180","predicate":"inlineQueryPeerTypeBotPM","params":[],"type":"InlineQueryPeerType"}],"methods":[{"id":"-878758099","method":"invokeAfterMsg","params":[{"name":"msg_id","type":"long"},{"name":"query","type":"!X"}],"type":"X"},{"id":"1036301552","method":"invokeAfterMsgs","params":[{"name":"msg_ids","type":"Vector"},{"name":"query","type":"!X"}],"type":"X"},{"id":"-1502141361","method":"auth.sendCode","params":[{"name":"phone_number","type":"string"},{"name":"api_id","type":"int"},{"name":"api_hash","type":"string"},{"name":"settings","type":"CodeSettings"}],"type":"auth.SentCode"},{"id":"-2131827673","method":"auth.signUp","params":[{"name":"phone_number","type":"string"},{"name":"phone_code_hash","type":"string"},{"name":"first_name","type":"string"},{"name":"last_name","type":"string"}],"type":"auth.Authorization"},{"id":"-1923962543","method":"auth.signIn","params":[{"name":"flags","type":"#"},{"name":"phone_number","type":"string"},{"name":"phone_code_hash","type":"string"},{"name":"phone_code","type":"flags.0?string"},{"name":"email_verification","type":"flags.1?EmailVerification"}],"type":"auth.Authorization"},{"id":"1047706137","method":"auth.logOut","params":[],"type":"auth.LoggedOut"},{"id":"-1616179942","method":"auth.resetAuthorizations","params":[],"type":"Bool"},{"id":"-440401971","method":"auth.exportAuthorization","params":[{"name":"dc_id","type":"int"}],"type":"auth.ExportedAuthorization"},{"id":"-1518699091","method":"auth.importAuthorization","params":[{"name":"id","type":"long"},{"name":"bytes","type":"bytes"}],"type":"auth.Authorization"},{"id":"-841733627","method":"auth.bindTempAuthKey","params":[{"name":"perm_auth_key_id","type":"long"},{"name":"nonce","type":"long"},{"name":"expires_at","type":"int"},{"name":"encrypted_message","type":"bytes"}],"type":"Bool"},{"id":"-326762118","method":"account.registerDevice","params":[{"name":"flags","type":"#"},{"name":"no_muted","type":"flags.0?true"},{"name":"token_type","type":"int"},{"name":"token","type":"string"},{"name":"app_sandbox","type":"Bool"},{"name":"secret","type":"bytes"},{"name":"other_uids","type":"Vector"}],"type":"Bool"},{"id":"1779249670","method":"account.unregisterDevice","params":[{"name":"token_type","type":"int"},{"name":"token","type":"string"},{"name":"other_uids","type":"Vector"}],"type":"Bool"},{"id":"-2067899501","method":"account.updateNotifySettings","params":[{"name":"peer","type":"InputNotifyPeer"},{"name":"settings","type":"InputPeerNotifySettings"}],"type":"Bool"},{"id":"313765169","method":"account.getNotifySettings","params":[{"name":"peer","type":"InputNotifyPeer"}],"type":"PeerNotifySettings"},{"id":"-612493497","method":"account.resetNotifySettings","params":[],"type":"Bool"},{"id":"2018596725","method":"account.updateProfile","params":[{"name":"flags","type":"#"},{"name":"first_name","type":"flags.0?string"},{"name":"last_name","type":"flags.1?string"},{"name":"about","type":"flags.2?string"}],"type":"User"},{"id":"1713919532","method":"account.updateStatus","params":[{"name":"offline","type":"Bool"}],"type":"Bool"},{"id":"127302966","method":"account.getWallPapers","params":[{"name":"hash","type":"long"}],"type":"account.WallPapers"},{"id":"-977650298","method":"account.reportPeer","params":[{"name":"peer","type":"InputPeer"},{"name":"reason","type":"ReportReason"},{"name":"message","type":"string"}],"type":"Bool"},{"id":"227648840","method":"users.getUsers","params":[{"name":"id","type":"Vector"}],"type":"Vector"},{"id":"-1240508136","method":"users.getFullUser","params":[{"name":"id","type":"InputUser"}],"type":"users.UserFull"},{"id":"2061264541","method":"contacts.getContactIDs","params":[{"name":"hash","type":"long"}],"type":"Vector"},{"id":"-995929106","method":"contacts.getStatuses","params":[],"type":"Vector"},{"id":"1574346258","method":"contacts.getContacts","params":[{"name":"hash","type":"long"}],"type":"contacts.Contacts"},{"id":"746589157","method":"contacts.importContacts","params":[{"name":"contacts","type":"Vector"}],"type":"contacts.ImportedContacts"},{"id":"157945344","method":"contacts.deleteContacts","params":[{"name":"id","type":"Vector"}],"type":"Updates"},{"id":"269745566","method":"contacts.deleteByPhones","params":[{"name":"phones","type":"Vector"}],"type":"Bool"},{"id":"1758204945","method":"contacts.block","params":[{"name":"id","type":"InputPeer"}],"type":"Bool"},{"id":"-1096393392","method":"contacts.unblock","params":[{"name":"id","type":"InputPeer"}],"type":"Bool"},{"id":"-176409329","method":"contacts.getBlocked","params":[{"name":"offset","type":"int"},{"name":"limit","type":"int"}],"type":"contacts.Blocked"},{"id":"1673946374","method":"messages.getMessages","params":[{"name":"id","type":"Vector"}],"type":"messages.Messages"},{"id":"-1594569905","method":"messages.getDialogs","params":[{"name":"flags","type":"#"},{"name":"exclude_pinned","type":"flags.0?true"},{"name":"folder_id","type":"flags.1?int"},{"name":"offset_date","type":"int"},{"name":"offset_id","type":"int"},{"name":"offset_peer","type":"InputPeer"},{"name":"limit","type":"int"},{"name":"hash","type":"long"}],"type":"messages.Dialogs"},{"id":"1143203525","method":"messages.getHistory","params":[{"name":"peer","type":"InputPeer"},{"name":"offset_id","type":"int"},{"name":"offset_date","type":"int"},{"name":"add_offset","type":"int"},{"name":"limit","type":"int"},{"name":"max_id","type":"int"},{"name":"min_id","type":"int"},{"name":"hash","type":"long"}],"type":"messages.Messages"},{"id":"-1593989278","method":"messages.search","params":[{"name":"flags","type":"#"},{"name":"peer","type":"InputPeer"},{"name":"q","type":"string"},{"name":"from_id","type":"flags.0?InputPeer"},{"name":"top_msg_id","type":"flags.1?int"},{"name":"filter","type":"MessagesFilter"},{"name":"min_date","type":"int"},{"name":"max_date","type":"int"},{"name":"offset_id","type":"int"},{"name":"add_offset","type":"int"},{"name":"limit","type":"int"},{"name":"max_id","type":"int"},{"name":"min_id","type":"int"},{"name":"hash","type":"long"}],"type":"messages.Messages"},{"id":"238054714","method":"messages.readHistory","params":[{"name":"peer","type":"InputPeer"},{"name":"max_id","type":"int"}],"type":"messages.AffectedMessages"},{"id":"-1332768214","method":"messages.deleteHistory","params":[{"name":"flags","type":"#"},{"name":"just_clear","type":"flags.0?true"},{"name":"revoke","type":"flags.1?true"},{"name":"peer","type":"InputPeer"},{"name":"max_id","type":"int"},{"name":"min_date","type":"flags.2?int"},{"name":"max_date","type":"flags.3?int"}],"type":"messages.AffectedHistory"},{"id":"-443640366","method":"messages.deleteMessages","params":[{"name":"flags","type":"#"},{"name":"revoke","type":"flags.0?true"},{"name":"id","type":"Vector"}],"type":"messages.AffectedMessages"},{"id":"94983360","method":"messages.receivedMessages","params":[{"name":"max_id","type":"int"}],"type":"Vector"},{"id":"1486110434","method":"messages.setTyping","params":[{"name":"flags","type":"#"},{"name":"peer","type":"InputPeer"},{"name":"top_msg_id","type":"flags.0?int"},{"name":"action","type":"SendMessageAction"}],"type":"Bool"},{"id":"482476935","method":"messages.sendMessage","params":[{"name":"flags","type":"#"},{"name":"no_webpage","type":"flags.1?true"},{"name":"silent","type":"flags.5?true"},{"name":"background","type":"flags.6?true"},{"name":"clear_draft","type":"flags.7?true"},{"name":"noforwards","type":"flags.14?true"},{"name":"update_stickersets_order","type":"flags.15?true"},{"name":"peer","type":"InputPeer"},{"name":"reply_to_msg_id","type":"flags.0?int"},{"name":"top_msg_id","type":"flags.9?int"},{"name":"message","type":"string"},{"name":"random_id","type":"long"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"},{"name":"entities","type":"flags.3?Vector"},{"name":"schedule_date","type":"flags.10?int"},{"name":"send_as","type":"flags.13?InputPeer"}],"type":"Updates"},{"id":"1967638886","method":"messages.sendMedia","params":[{"name":"flags","type":"#"},{"name":"silent","type":"flags.5?true"},{"name":"background","type":"flags.6?true"},{"name":"clear_draft","type":"flags.7?true"},{"name":"noforwards","type":"flags.14?true"},{"name":"update_stickersets_order","type":"flags.15?true"},{"name":"peer","type":"InputPeer"},{"name":"reply_to_msg_id","type":"flags.0?int"},{"name":"top_msg_id","type":"flags.9?int"},{"name":"media","type":"InputMedia"},{"name":"message","type":"string"},{"name":"random_id","type":"long"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"},{"name":"entities","type":"flags.3?Vector"},{"name":"schedule_date","type":"flags.10?int"},{"name":"send_as","type":"flags.13?InputPeer"}],"type":"Updates"},{"id":"-966673468","method":"messages.forwardMessages","params":[{"name":"flags","type":"#"},{"name":"silent","type":"flags.5?true"},{"name":"background","type":"flags.6?true"},{"name":"with_my_score","type":"flags.8?true"},{"name":"drop_author","type":"flags.11?true"},{"name":"drop_media_captions","type":"flags.12?true"},{"name":"noforwards","type":"flags.14?true"},{"name":"from_peer","type":"InputPeer"},{"name":"id","type":"Vector"},{"name":"random_id","type":"Vector"},{"name":"to_peer","type":"InputPeer"},{"name":"top_msg_id","type":"flags.9?int"},{"name":"schedule_date","type":"flags.10?int"},{"name":"send_as","type":"flags.13?InputPeer"}],"type":"Updates"},{"id":"-820669733","method":"messages.reportSpam","params":[{"name":"peer","type":"InputPeer"}],"type":"Bool"},{"id":"-270948702","method":"messages.getPeerSettings","params":[{"name":"peer","type":"InputPeer"}],"type":"messages.PeerSettings"},{"id":"-1991005362","method":"messages.report","params":[{"name":"peer","type":"InputPeer"},{"name":"id","type":"Vector"},{"name":"reason","type":"ReportReason"},{"name":"message","type":"string"}],"type":"Bool"},{"id":"1240027791","method":"messages.getChats","params":[{"name":"id","type":"Vector"}],"type":"messages.Chats"},{"id":"-1364194508","method":"messages.getFullChat","params":[{"name":"chat_id","type":"long"}],"type":"messages.ChatFull"},{"id":"1937260541","method":"messages.editChatTitle","params":[{"name":"chat_id","type":"long"},{"name":"title","type":"string"}],"type":"Updates"},{"id":"903730804","method":"messages.editChatPhoto","params":[{"name":"chat_id","type":"long"},{"name":"photo","type":"InputChatPhoto"}],"type":"Updates"},{"id":"-230206493","method":"messages.addChatUser","params":[{"name":"chat_id","type":"long"},{"name":"user_id","type":"InputUser"},{"name":"fwd_limit","type":"int"}],"type":"Updates"},{"id":"-1575461717","method":"messages.deleteChatUser","params":[{"name":"flags","type":"#"},{"name":"revoke_history","type":"flags.0?true"},{"name":"chat_id","type":"long"},{"name":"user_id","type":"InputUser"}],"type":"Updates"},{"id":"3450904","method":"messages.createChat","params":[{"name":"flags","type":"#"},{"name":"users","type":"Vector"},{"name":"title","type":"string"},{"name":"ttl_period","type":"flags.0?int"}],"type":"Updates"},{"id":"-304838614","method":"updates.getState","params":[],"type":"updates.State"},{"id":"630429265","method":"updates.getDifference","params":[{"name":"flags","type":"#"},{"name":"pts","type":"int"},{"name":"pts_total_limit","type":"flags.0?int"},{"name":"date","type":"int"},{"name":"qts","type":"int"}],"type":"updates.Difference"},{"id":"166207545","method":"photos.updateProfilePhoto","params":[{"name":"flags","type":"#"},{"name":"fallback","type":"flags.0?true"},{"name":"bot","type":"flags.1?InputUser"},{"name":"id","type":"InputPhoto"}],"type":"photos.Photo"},{"id":"59286453","method":"photos.uploadProfilePhoto","params":[{"name":"flags","type":"#"},{"name":"fallback","type":"flags.3?true"},{"name":"bot","type":"flags.5?InputUser"},{"name":"file","type":"flags.0?InputFile"},{"name":"video","type":"flags.1?InputFile"},{"name":"video_start_ts","type":"flags.2?double"},{"name":"video_emoji_markup","type":"flags.4?VideoSize"}],"type":"photos.Photo"},{"id":"-2016444625","method":"photos.deletePhotos","params":[{"name":"id","type":"Vector"}],"type":"Vector"},{"id":"-1291540959","method":"upload.saveFilePart","params":[{"name":"file_id","type":"long"},{"name":"file_part","type":"int"},{"name":"bytes","type":"bytes"}],"type":"Bool"},{"id":"-1101843010","method":"upload.getFile","params":[{"name":"flags","type":"#"},{"name":"precise","type":"flags.0?true"},{"name":"cdn_supported","type":"flags.1?true"},{"name":"location","type":"InputFileLocation"},{"name":"offset","type":"long"},{"name":"limit","type":"int"}],"type":"upload.File"},{"id":"-990308245","method":"help.getConfig","params":[],"type":"Config"},{"id":"531836966","method":"help.getNearestDc","params":[],"type":"NearestDc"},{"id":"1378703997","method":"help.getAppUpdate","params":[{"name":"source","type":"string"}],"type":"help.AppUpdate"},{"id":"1295590211","method":"help.getInviteText","params":[],"type":"help.InviteText"},{"id":"-1848823128","method":"photos.getUserPhotos","params":[{"name":"user_id","type":"InputUser"},{"name":"offset","type":"int"},{"name":"max_id","type":"long"},{"name":"limit","type":"int"}],"type":"photos.Photos"},{"id":"651135312","method":"messages.getDhConfig","params":[{"name":"version","type":"int"},{"name":"random_length","type":"int"}],"type":"messages.DhConfig"},{"id":"-162681021","method":"messages.requestEncryption","params":[{"name":"user_id","type":"InputUser"},{"name":"random_id","type":"int"},{"name":"g_a","type":"bytes"}],"type":"EncryptedChat"},{"id":"1035731989","method":"messages.acceptEncryption","params":[{"name":"peer","type":"InputEncryptedChat"},{"name":"g_b","type":"bytes"},{"name":"key_fingerprint","type":"long"}],"type":"EncryptedChat"},{"id":"-208425312","method":"messages.discardEncryption","params":[{"name":"flags","type":"#"},{"name":"delete_history","type":"flags.0?true"},{"name":"chat_id","type":"int"}],"type":"Bool"},{"id":"2031374829","method":"messages.setEncryptedTyping","params":[{"name":"peer","type":"InputEncryptedChat"},{"name":"typing","type":"Bool"}],"type":"Bool"},{"id":"2135648522","method":"messages.readEncryptedHistory","params":[{"name":"peer","type":"InputEncryptedChat"},{"name":"max_date","type":"int"}],"type":"Bool"},{"id":"1157265941","method":"messages.sendEncrypted","params":[{"name":"flags","type":"#"},{"name":"silent","type":"flags.0?true"},{"name":"peer","type":"InputEncryptedChat"},{"name":"random_id","type":"long"},{"name":"data","type":"bytes"}],"type":"messages.SentEncryptedMessage"},{"id":"1431914525","method":"messages.sendEncryptedFile","params":[{"name":"flags","type":"#"},{"name":"silent","type":"flags.0?true"},{"name":"peer","type":"InputEncryptedChat"},{"name":"random_id","type":"long"},{"name":"data","type":"bytes"},{"name":"file","type":"InputEncryptedFile"}],"type":"messages.SentEncryptedMessage"},{"id":"852769188","method":"messages.sendEncryptedService","params":[{"name":"peer","type":"InputEncryptedChat"},{"name":"random_id","type":"long"},{"name":"data","type":"bytes"}],"type":"messages.SentEncryptedMessage"},{"id":"1436924774","method":"messages.receivedQueue","params":[{"name":"max_qts","type":"int"}],"type":"Vector"},{"id":"1259113487","method":"messages.reportEncryptedSpam","params":[{"name":"peer","type":"InputEncryptedChat"}],"type":"Bool"},{"id":"-562337987","method":"upload.saveBigFilePart","params":[{"name":"file_id","type":"long"},{"name":"file_part","type":"int"},{"name":"file_total_parts","type":"int"},{"name":"bytes","type":"bytes"}],"type":"Bool"},{"id":"-1043505495","method":"initConnection","params":[{"name":"flags","type":"#"},{"name":"api_id","type":"int"},{"name":"device_model","type":"string"},{"name":"system_version","type":"string"},{"name":"app_version","type":"string"},{"name":"system_lang_code","type":"string"},{"name":"lang_pack","type":"string"},{"name":"lang_code","type":"string"},{"name":"proxy","type":"flags.0?InputClientProxy"},{"name":"params","type":"flags.1?JSONValue"},{"name":"query","type":"!X"}],"type":"X"},{"id":"-1663104819","method":"help.getSupport","params":[],"type":"help.Support"},{"id":"916930423","method":"messages.readMessageContents","params":[{"name":"id","type":"Vector"}],"type":"messages.AffectedMessages"},{"id":"655677548","method":"account.checkUsername","params":[{"name":"username","type":"string"}],"type":"Bool"},{"id":"1040964988","method":"account.updateUsername","params":[{"name":"username","type":"string"}],"type":"User"},{"id":"301470424","method":"contacts.search","params":[{"name":"q","type":"string"},{"name":"limit","type":"int"}],"type":"contacts.Found"},{"id":"-623130288","method":"account.getPrivacy","params":[{"name":"key","type":"InputPrivacyKey"}],"type":"account.PrivacyRules"},{"id":"-906486552","method":"account.setPrivacy","params":[{"name":"key","type":"InputPrivacyKey"},{"name":"rules","type":"Vector"}],"type":"account.PrivacyRules"},{"id":"-1564422284","method":"account.deleteAccount","params":[{"name":"flags","type":"#"},{"name":"reason","type":"string"},{"name":"password","type":"flags.0?InputCheckPasswordSRP"}],"type":"Bool"},{"id":"150761757","method":"account.getAccountTTL","params":[],"type":"AccountDaysTTL"},{"id":"608323678","method":"account.setAccountTTL","params":[{"name":"ttl","type":"AccountDaysTTL"}],"type":"Bool"},{"id":"-627372787","method":"invokeWithLayer","params":[{"name":"layer","type":"int"},{"name":"query","type":"!X"}],"type":"X"},{"id":"-113456221","method":"contacts.resolveUsername","params":[{"name":"username","type":"string"}],"type":"contacts.ResolvedPeer"},{"id":"-2108208411","method":"account.sendChangePhoneCode","params":[{"name":"phone_number","type":"string"},{"name":"settings","type":"CodeSettings"}],"type":"auth.SentCode"},{"id":"1891839707","method":"account.changePhone","params":[{"name":"phone_number","type":"string"},{"name":"phone_code_hash","type":"string"},{"name":"phone_code","type":"string"}],"type":"User"},{"id":"-710552671","method":"messages.getStickers","params":[{"name":"emoticon","type":"string"},{"name":"hash","type":"long"}],"type":"messages.Stickers"},{"id":"-1197432408","method":"messages.getAllStickers","params":[{"name":"hash","type":"long"}],"type":"messages.AllStickers"},{"id":"954152242","method":"account.updateDeviceLocked","params":[{"name":"period","type":"int"}],"type":"Bool"},{"id":"1738800940","method":"auth.importBotAuthorization","params":[{"name":"flags","type":"int"},{"name":"api_id","type":"int"},{"name":"api_hash","type":"string"},{"name":"bot_auth_token","type":"string"}],"type":"auth.Authorization"},{"id":"-1956073268","method":"messages.getWebPagePreview","params":[{"name":"flags","type":"#"},{"name":"message","type":"string"},{"name":"entities","type":"flags.3?Vector"}],"type":"MessageMedia"},{"id":"-484392616","method":"account.getAuthorizations","params":[],"type":"account.Authorizations"},{"id":"-545786948","method":"account.resetAuthorization","params":[{"name":"hash","type":"long"}],"type":"Bool"},{"id":"1418342645","method":"account.getPassword","params":[],"type":"account.Password"},{"id":"-1663767815","method":"account.getPasswordSettings","params":[{"name":"password","type":"InputCheckPasswordSRP"}],"type":"account.PasswordSettings"},{"id":"-1516564433","method":"account.updatePasswordSettings","params":[{"name":"password","type":"InputCheckPasswordSRP"},{"name":"new_settings","type":"account.PasswordInputSettings"}],"type":"Bool"},{"id":"-779399914","method":"auth.checkPassword","params":[{"name":"password","type":"InputCheckPasswordSRP"}],"type":"auth.Authorization"},{"id":"-661144474","method":"auth.requestPasswordRecovery","params":[],"type":"auth.PasswordRecovery"},{"id":"923364464","method":"auth.recoverPassword","params":[{"name":"flags","type":"#"},{"name":"code","type":"string"},{"name":"new_settings","type":"flags.0?account.PasswordInputSettings"}],"type":"auth.Authorization"},{"id":"-1080796745","method":"invokeWithoutUpdates","params":[{"name":"query","type":"!X"}],"type":"X"},{"id":"-1607670315","method":"messages.exportChatInvite","params":[{"name":"flags","type":"#"},{"name":"legacy_revoke_permanent","type":"flags.2?true"},{"name":"request_needed","type":"flags.3?true"},{"name":"peer","type":"InputPeer"},{"name":"expire_date","type":"flags.0?int"},{"name":"usage_limit","type":"flags.1?int"},{"name":"title","type":"flags.4?string"}],"type":"ExportedChatInvite"},{"id":"1051570619","method":"messages.checkChatInvite","params":[{"name":"hash","type":"string"}],"type":"ChatInvite"},{"id":"1817183516","method":"messages.importChatInvite","params":[{"name":"hash","type":"string"}],"type":"Updates"},{"id":"-928977804","method":"messages.getStickerSet","params":[{"name":"stickerset","type":"InputStickerSet"},{"name":"hash","type":"int"}],"type":"messages.StickerSet"},{"id":"-946871200","method":"messages.installStickerSet","params":[{"name":"stickerset","type":"InputStickerSet"},{"name":"archived","type":"Bool"}],"type":"messages.StickerSetInstallResult"},{"id":"-110209570","method":"messages.uninstallStickerSet","params":[{"name":"stickerset","type":"InputStickerSet"}],"type":"Bool"},{"id":"-421563528","method":"messages.startBot","params":[{"name":"bot","type":"InputUser"},{"name":"peer","type":"InputPeer"},{"name":"random_id","type":"long"},{"name":"start_param","type":"string"}],"type":"Updates"},{"id":"-1877938321","method":"help.getAppChangelog","params":[{"name":"prev_app_version","type":"string"}],"type":"Updates"},{"id":"1468322785","method":"messages.getMessagesViews","params":[{"name":"peer","type":"InputPeer"},{"name":"id","type":"Vector"},{"name":"increment","type":"Bool"}],"type":"messages.MessageViews"},{"id":"-871347913","method":"channels.readHistory","params":[{"name":"channel","type":"InputChannel"},{"name":"max_id","type":"int"}],"type":"Bool"},{"id":"-2067661490","method":"channels.deleteMessages","params":[{"name":"channel","type":"InputChannel"},{"name":"id","type":"Vector"}],"type":"messages.AffectedMessages"},{"id":"-196443371","method":"channels.reportSpam","params":[{"name":"channel","type":"InputChannel"},{"name":"participant","type":"InputPeer"},{"name":"id","type":"Vector"}],"type":"Bool"},{"id":"-1383294429","method":"channels.getMessages","params":[{"name":"channel","type":"InputChannel"},{"name":"id","type":"Vector"}],"type":"messages.Messages"},{"id":"2010044880","method":"channels.getParticipants","params":[{"name":"channel","type":"InputChannel"},{"name":"filter","type":"ChannelParticipantsFilter"},{"name":"offset","type":"int"},{"name":"limit","type":"int"},{"name":"hash","type":"long"}],"type":"channels.ChannelParticipants"},{"id":"-1599378234","method":"channels.getParticipant","params":[{"name":"channel","type":"InputChannel"},{"name":"participant","type":"InputPeer"}],"type":"channels.ChannelParticipant"},{"id":"176122811","method":"channels.getChannels","params":[{"name":"id","type":"Vector"}],"type":"messages.Chats"},{"id":"141781513","method":"channels.getFullChannel","params":[{"name":"channel","type":"InputChannel"}],"type":"messages.ChatFull"},{"id":"-1862244601","method":"channels.createChannel","params":[{"name":"flags","type":"#"},{"name":"broadcast","type":"flags.0?true"},{"name":"megagroup","type":"flags.1?true"},{"name":"for_import","type":"flags.3?true"},{"name":"forum","type":"flags.5?true"},{"name":"title","type":"string"},{"name":"about","type":"string"},{"name":"geo_point","type":"flags.2?InputGeoPoint"},{"name":"address","type":"flags.2?string"},{"name":"ttl_period","type":"flags.4?int"}],"type":"Updates"},{"id":"-751007486","method":"channels.editAdmin","params":[{"name":"channel","type":"InputChannel"},{"name":"user_id","type":"InputUser"},{"name":"admin_rights","type":"ChatAdminRights"},{"name":"rank","type":"string"}],"type":"Updates"},{"id":"1450044624","method":"channels.editTitle","params":[{"name":"channel","type":"InputChannel"},{"name":"title","type":"string"}],"type":"Updates"},{"id":"-248621111","method":"channels.editPhoto","params":[{"name":"channel","type":"InputChannel"},{"name":"photo","type":"InputChatPhoto"}],"type":"Updates"},{"id":"283557164","method":"channels.checkUsername","params":[{"name":"channel","type":"InputChannel"},{"name":"username","type":"string"}],"type":"Bool"},{"id":"890549214","method":"channels.updateUsername","params":[{"name":"channel","type":"InputChannel"},{"name":"username","type":"string"}],"type":"Bool"},{"id":"615851205","method":"channels.joinChannel","params":[{"name":"channel","type":"InputChannel"}],"type":"Updates"},{"id":"-130635115","method":"channels.leaveChannel","params":[{"name":"channel","type":"InputChannel"}],"type":"Updates"},{"id":"429865580","method":"channels.inviteToChannel","params":[{"name":"channel","type":"InputChannel"},{"name":"users","type":"Vector"}],"type":"Updates"},{"id":"-1072619549","method":"channels.deleteChannel","params":[{"name":"channel","type":"InputChannel"}],"type":"Updates"},{"id":"51854712","method":"updates.getChannelDifference","params":[{"name":"flags","type":"#"},{"name":"force","type":"flags.0?true"},{"name":"channel","type":"InputChannel"},{"name":"filter","type":"ChannelMessagesFilter"},{"name":"pts","type":"int"},{"name":"limit","type":"int"}],"type":"updates.ChannelDifference"},{"id":"-1470377534","method":"messages.editChatAdmin","params":[{"name":"chat_id","type":"long"},{"name":"user_id","type":"InputUser"},{"name":"is_admin","type":"Bool"}],"type":"Bool"},{"id":"-1568189671","method":"messages.migrateChat","params":[{"name":"chat_id","type":"long"}],"type":"Updates"},{"id":"1271290010","method":"messages.searchGlobal","params":[{"name":"flags","type":"#"},{"name":"folder_id","type":"flags.0?int"},{"name":"q","type":"string"},{"name":"filter","type":"MessagesFilter"},{"name":"min_date","type":"int"},{"name":"max_date","type":"int"},{"name":"offset_rate","type":"int"},{"name":"offset_peer","type":"InputPeer"},{"name":"offset_id","type":"int"},{"name":"limit","type":"int"}],"type":"messages.Messages"},{"id":"2016638777","method":"messages.reorderStickerSets","params":[{"name":"flags","type":"#"},{"name":"masks","type":"flags.0?true"},{"name":"emojis","type":"flags.1?true"},{"name":"order","type":"Vector"}],"type":"Bool"},{"id":"-1309538785","method":"messages.getDocumentByHash","params":[{"name":"sha256","type":"bytes"},{"name":"size","type":"long"},{"name":"mime_type","type":"string"}],"type":"Document"},{"id":"1559270965","method":"messages.getSavedGifs","params":[{"name":"hash","type":"long"}],"type":"messages.SavedGifs"},{"id":"846868683","method":"messages.saveGif","params":[{"name":"id","type":"InputDocument"},{"name":"unsave","type":"Bool"}],"type":"Bool"},{"id":"1364105629","method":"messages.getInlineBotResults","params":[{"name":"flags","type":"#"},{"name":"bot","type":"InputUser"},{"name":"peer","type":"InputPeer"},{"name":"geo_point","type":"flags.0?InputGeoPoint"},{"name":"query","type":"string"},{"name":"offset","type":"string"}],"type":"messages.BotResults"},{"id":"-1156406247","method":"messages.setInlineBotResults","params":[{"name":"flags","type":"#"},{"name":"gallery","type":"flags.0?true"},{"name":"private","type":"flags.1?true"},{"name":"query_id","type":"long"},{"name":"results","type":"Vector"},{"name":"cache_time","type":"int"},{"name":"next_offset","type":"flags.2?string"},{"name":"switch_pm","type":"flags.3?InlineBotSwitchPM"},{"name":"switch_webview","type":"flags.4?InlineBotWebView"}],"type":"Bool"},{"id":"-738468661","method":"messages.sendInlineBotResult","params":[{"name":"flags","type":"#"},{"name":"silent","type":"flags.5?true"},{"name":"background","type":"flags.6?true"},{"name":"clear_draft","type":"flags.7?true"},{"name":"hide_via","type":"flags.11?true"},{"name":"peer","type":"InputPeer"},{"name":"reply_to_msg_id","type":"flags.0?int"},{"name":"top_msg_id","type":"flags.9?int"},{"name":"random_id","type":"long"},{"name":"query_id","type":"long"},{"name":"id","type":"string"},{"name":"schedule_date","type":"flags.10?int"},{"name":"send_as","type":"flags.13?InputPeer"}],"type":"Updates"},{"id":"-432034325","method":"channels.exportMessageLink","params":[{"name":"flags","type":"#"},{"name":"grouped","type":"flags.0?true"},{"name":"thread","type":"flags.1?true"},{"name":"channel","type":"InputChannel"},{"name":"id","type":"int"}],"type":"ExportedMessageLink"},{"id":"527021574","method":"channels.toggleSignatures","params":[{"name":"channel","type":"InputChannel"},{"name":"enabled","type":"Bool"}],"type":"Updates"},{"id":"1056025023","method":"auth.resendCode","params":[{"name":"phone_number","type":"string"},{"name":"phone_code_hash","type":"string"}],"type":"auth.SentCode"},{"id":"520357240","method":"auth.cancelCode","params":[{"name":"phone_number","type":"string"},{"name":"phone_code_hash","type":"string"}],"type":"Bool"},{"id":"-39416522","method":"messages.getMessageEditData","params":[{"name":"peer","type":"InputPeer"},{"name":"id","type":"int"}],"type":"messages.MessageEditData"},{"id":"1224152952","method":"messages.editMessage","params":[{"name":"flags","type":"#"},{"name":"no_webpage","type":"flags.1?true"},{"name":"peer","type":"InputPeer"},{"name":"id","type":"int"},{"name":"message","type":"flags.11?string"},{"name":"media","type":"flags.14?InputMedia"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"},{"name":"entities","type":"flags.3?Vector"},{"name":"schedule_date","type":"flags.15?int"}],"type":"Updates"},{"id":"-2091549254","method":"messages.editInlineBotMessage","params":[{"name":"flags","type":"#"},{"name":"no_webpage","type":"flags.1?true"},{"name":"id","type":"InputBotInlineMessageID"},{"name":"message","type":"flags.11?string"},{"name":"media","type":"flags.14?InputMedia"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"},{"name":"entities","type":"flags.3?Vector"}],"type":"Bool"},{"id":"-1824339449","method":"messages.getBotCallbackAnswer","params":[{"name":"flags","type":"#"},{"name":"game","type":"flags.1?true"},{"name":"peer","type":"InputPeer"},{"name":"msg_id","type":"int"},{"name":"data","type":"flags.0?bytes"},{"name":"password","type":"flags.2?InputCheckPasswordSRP"}],"type":"messages.BotCallbackAnswer"},{"id":"-712043766","method":"messages.setBotCallbackAnswer","params":[{"name":"flags","type":"#"},{"name":"alert","type":"flags.1?true"},{"name":"query_id","type":"long"},{"name":"message","type":"flags.0?string"},{"name":"url","type":"flags.2?string"},{"name":"cache_time","type":"int"}],"type":"Bool"},{"id":"-1758168906","method":"contacts.getTopPeers","params":[{"name":"flags","type":"#"},{"name":"correspondents","type":"flags.0?true"},{"name":"bots_pm","type":"flags.1?true"},{"name":"bots_inline","type":"flags.2?true"},{"name":"phone_calls","type":"flags.3?true"},{"name":"forward_users","type":"flags.4?true"},{"name":"forward_chats","type":"flags.5?true"},{"name":"groups","type":"flags.10?true"},{"name":"channels","type":"flags.15?true"},{"name":"offset","type":"int"},{"name":"limit","type":"int"},{"name":"hash","type":"long"}],"type":"contacts.TopPeers"},{"id":"451113900","method":"contacts.resetTopPeerRating","params":[{"name":"category","type":"TopPeerCategory"},{"name":"peer","type":"InputPeer"}],"type":"Bool"},{"id":"-462373635","method":"messages.getPeerDialogs","params":[{"name":"peers","type":"Vector"}],"type":"messages.PeerDialogs"},{"id":"-1271718337","method":"messages.saveDraft","params":[{"name":"flags","type":"#"},{"name":"no_webpage","type":"flags.1?true"},{"name":"reply_to_msg_id","type":"flags.0?int"},{"name":"top_msg_id","type":"flags.2?int"},{"name":"peer","type":"InputPeer"},{"name":"message","type":"string"},{"name":"entities","type":"flags.3?Vector"}],"type":"Bool"},{"id":"1782549861","method":"messages.getAllDrafts","params":[],"type":"Updates"},{"id":"1685588756","method":"messages.getFeaturedStickers","params":[{"name":"hash","type":"long"}],"type":"messages.FeaturedStickers"},{"id":"1527873830","method":"messages.readFeaturedStickers","params":[{"name":"id","type":"Vector"}],"type":"Bool"},{"id":"-1649852357","method":"messages.getRecentStickers","params":[{"name":"flags","type":"#"},{"name":"attached","type":"flags.0?true"},{"name":"hash","type":"long"}],"type":"messages.RecentStickers"},{"id":"958863608","method":"messages.saveRecentSticker","params":[{"name":"flags","type":"#"},{"name":"attached","type":"flags.0?true"},{"name":"id","type":"InputDocument"},{"name":"unsave","type":"Bool"}],"type":"Bool"},{"id":"-1986437075","method":"messages.clearRecentStickers","params":[{"name":"flags","type":"#"},{"name":"attached","type":"flags.0?true"}],"type":"Bool"},{"id":"1475442322","method":"messages.getArchivedStickers","params":[{"name":"flags","type":"#"},{"name":"masks","type":"flags.0?true"},{"name":"emojis","type":"flags.1?true"},{"name":"offset_id","type":"long"},{"name":"limit","type":"int"}],"type":"messages.ArchivedStickers"},{"id":"457157256","method":"account.sendConfirmPhoneCode","params":[{"name":"hash","type":"string"},{"name":"settings","type":"CodeSettings"}],"type":"auth.SentCode"},{"id":"1596029123","method":"account.confirmPhone","params":[{"name":"phone_code_hash","type":"string"},{"name":"phone_code","type":"string"}],"type":"Bool"},{"id":"-122669393","method":"channels.getAdminedPublicChannels","params":[{"name":"flags","type":"#"},{"name":"by_location","type":"flags.0?true"},{"name":"check_limit","type":"flags.1?true"}],"type":"messages.Chats"},{"id":"1678738104","method":"messages.getMaskStickers","params":[{"name":"hash","type":"long"}],"type":"messages.AllStickers"},{"id":"-866424884","method":"messages.getAttachedStickers","params":[{"name":"media","type":"InputStickeredMedia"}],"type":"Vector"},{"id":"-1907842680","method":"auth.dropTempAuthKeys","params":[{"name":"except_auth_keys","type":"Vector"}],"type":"Bool"},{"id":"-1896289088","method":"messages.setGameScore","params":[{"name":"flags","type":"#"},{"name":"edit_message","type":"flags.0?true"},{"name":"force","type":"flags.1?true"},{"name":"peer","type":"InputPeer"},{"name":"id","type":"int"},{"name":"user_id","type":"InputUser"},{"name":"score","type":"int"}],"type":"Updates"},{"id":"363700068","method":"messages.setInlineGameScore","params":[{"name":"flags","type":"#"},{"name":"edit_message","type":"flags.0?true"},{"name":"force","type":"flags.1?true"},{"name":"id","type":"InputBotInlineMessageID"},{"name":"user_id","type":"InputUser"},{"name":"score","type":"int"}],"type":"Bool"},{"id":"-400399203","method":"messages.getGameHighScores","params":[{"name":"peer","type":"InputPeer"},{"name":"id","type":"int"},{"name":"user_id","type":"InputUser"}],"type":"messages.HighScores"},{"id":"258170395","method":"messages.getInlineGameHighScores","params":[{"name":"id","type":"InputBotInlineMessageID"},{"name":"user_id","type":"InputUser"}],"type":"messages.HighScores"},{"id":"-468934396","method":"messages.getCommonChats","params":[{"name":"user_id","type":"InputUser"},{"name":"max_id","type":"long"},{"name":"limit","type":"int"}],"type":"messages.Chats"},{"id":"-333262899","method":"help.setBotUpdatesStatus","params":[{"name":"pending_updates_count","type":"int"},{"name":"message","type":"string"}],"type":"Bool"},{"id":"852135825","method":"messages.getWebPage","params":[{"name":"url","type":"string"},{"name":"hash","type":"int"}],"type":"WebPage"},{"id":"-1489903017","method":"messages.toggleDialogPin","params":[{"name":"flags","type":"#"},{"name":"pinned","type":"flags.0?true"},{"name":"peer","type":"InputDialogPeer"}],"type":"Bool"},{"id":"991616823","method":"messages.reorderPinnedDialogs","params":[{"name":"flags","type":"#"},{"name":"force","type":"flags.0?true"},{"name":"folder_id","type":"int"},{"name":"order","type":"Vector"}],"type":"Bool"},{"id":"-692498958","method":"messages.getPinnedDialogs","params":[{"name":"folder_id","type":"int"}],"type":"messages.PeerDialogs"},{"id":"-1440257555","method":"bots.sendCustomRequest","params":[{"name":"custom_method","type":"string"},{"name":"params","type":"DataJSON"}],"type":"DataJSON"},{"id":"-434028723","method":"bots.answerWebhookJSONQuery","params":[{"name":"query_id","type":"long"},{"name":"data","type":"DataJSON"}],"type":"Bool"},{"id":"619086221","method":"upload.getWebFile","params":[{"name":"location","type":"InputWebFileLocation"},{"name":"offset","type":"int"},{"name":"limit","type":"int"}],"type":"upload.WebFile"},{"id":"924093883","method":"payments.getPaymentForm","params":[{"name":"flags","type":"#"},{"name":"invoice","type":"InputInvoice"},{"name":"theme_params","type":"flags.0?DataJSON"}],"type":"payments.PaymentForm"},{"id":"611897804","method":"payments.getPaymentReceipt","params":[{"name":"peer","type":"InputPeer"},{"name":"msg_id","type":"int"}],"type":"payments.PaymentReceipt"},{"id":"-1228345045","method":"payments.validateRequestedInfo","params":[{"name":"flags","type":"#"},{"name":"save","type":"flags.0?true"},{"name":"invoice","type":"InputInvoice"},{"name":"info","type":"PaymentRequestedInfo"}],"type":"payments.ValidatedRequestedInfo"},{"id":"755192367","method":"payments.sendPaymentForm","params":[{"name":"flags","type":"#"},{"name":"form_id","type":"long"},{"name":"invoice","type":"InputInvoice"},{"name":"requested_info_id","type":"flags.0?string"},{"name":"shipping_option_id","type":"flags.1?string"},{"name":"credentials","type":"InputPaymentCredentials"},{"name":"tip_amount","type":"flags.2?long"}],"type":"payments.PaymentResult"},{"id":"1151208273","method":"account.getTmpPassword","params":[{"name":"password","type":"InputCheckPasswordSRP"},{"name":"period","type":"int"}],"type":"account.TmpPassword"},{"id":"578650699","method":"payments.getSavedInfo","params":[],"type":"payments.SavedInfo"},{"id":"-667062079","method":"payments.clearSavedInfo","params":[{"name":"flags","type":"#"},{"name":"credentials","type":"flags.0?true"},{"name":"info","type":"flags.1?true"}],"type":"Bool"},{"id":"-436833542","method":"messages.setBotShippingResults","params":[{"name":"flags","type":"#"},{"name":"query_id","type":"long"},{"name":"error","type":"flags.0?string"},{"name":"shipping_options","type":"flags.1?Vector"}],"type":"Bool"},{"id":"163765653","method":"messages.setBotPrecheckoutResults","params":[{"name":"flags","type":"#"},{"name":"success","type":"flags.1?true"},{"name":"query_id","type":"long"},{"name":"error","type":"flags.0?string"}],"type":"Bool"},{"id":"-1876841625","method":"stickers.createStickerSet","params":[{"name":"flags","type":"#"},{"name":"masks","type":"flags.0?true"},{"name":"animated","type":"flags.1?true"},{"name":"videos","type":"flags.4?true"},{"name":"emojis","type":"flags.5?true"},{"name":"text_color","type":"flags.6?true"},{"name":"user_id","type":"InputUser"},{"name":"title","type":"string"},{"name":"short_name","type":"string"},{"name":"thumb","type":"flags.2?InputDocument"},{"name":"stickers","type":"Vector"},{"name":"software","type":"flags.3?string"}],"type":"messages.StickerSet"},{"id":"-143257775","method":"stickers.removeStickerFromSet","params":[{"name":"sticker","type":"InputDocument"}],"type":"messages.StickerSet"},{"id":"-4795190","method":"stickers.changeStickerPosition","params":[{"name":"sticker","type":"InputDocument"},{"name":"position","type":"int"}],"type":"messages.StickerSet"},{"id":"-2041315650","method":"stickers.addStickerToSet","params":[{"name":"stickerset","type":"InputStickerSet"},{"name":"sticker","type":"InputStickerSetItem"}],"type":"messages.StickerSet"},{"id":"1369162417","method":"messages.uploadMedia","params":[{"name":"peer","type":"InputPeer"},{"name":"media","type":"InputMedia"}],"type":"MessageMedia"},{"id":"1430593449","method":"phone.getCallConfig","params":[],"type":"DataJSON"},{"id":"1124046573","method":"phone.requestCall","params":[{"name":"flags","type":"#"},{"name":"video","type":"flags.0?true"},{"name":"user_id","type":"InputUser"},{"name":"random_id","type":"int"},{"name":"g_a_hash","type":"bytes"},{"name":"protocol","type":"PhoneCallProtocol"}],"type":"phone.PhoneCall"},{"id":"1003664544","method":"phone.acceptCall","params":[{"name":"peer","type":"InputPhoneCall"},{"name":"g_b","type":"bytes"},{"name":"protocol","type":"PhoneCallProtocol"}],"type":"phone.PhoneCall"},{"id":"788404002","method":"phone.confirmCall","params":[{"name":"peer","type":"InputPhoneCall"},{"name":"g_a","type":"bytes"},{"name":"key_fingerprint","type":"long"},{"name":"protocol","type":"PhoneCallProtocol"}],"type":"phone.PhoneCall"},{"id":"399855457","method":"phone.receivedCall","params":[{"name":"peer","type":"InputPhoneCall"}],"type":"Bool"},{"id":"-1295269440","method":"phone.discardCall","params":[{"name":"flags","type":"#"},{"name":"video","type":"flags.0?true"},{"name":"peer","type":"InputPhoneCall"},{"name":"duration","type":"int"},{"name":"reason","type":"PhoneCallDiscardReason"},{"name":"connection_id","type":"long"}],"type":"Updates"},{"id":"1508562471","method":"phone.setCallRating","params":[{"name":"flags","type":"#"},{"name":"user_initiative","type":"flags.0?true"},{"name":"peer","type":"InputPhoneCall"},{"name":"rating","type":"int"},{"name":"comment","type":"string"}],"type":"Updates"},{"id":"662363518","method":"phone.saveCallDebug","params":[{"name":"peer","type":"InputPhoneCall"},{"name":"debug","type":"DataJSON"}],"type":"Bool"},{"id":"962554330","method":"upload.getCdnFile","params":[{"name":"file_token","type":"bytes"},{"name":"offset","type":"long"},{"name":"limit","type":"int"}],"type":"upload.CdnFile"},{"id":"-1691921240","method":"upload.reuploadCdnFile","params":[{"name":"file_token","type":"bytes"},{"name":"request_token","type":"bytes"}],"type":"Vector"},{"id":"1375900482","method":"help.getCdnConfig","params":[],"type":"CdnConfig"},{"id":"-219008246","method":"langpack.getLangPack","params":[{"name":"lang_pack","type":"string"},{"name":"lang_code","type":"string"}],"type":"LangPackDifference"},{"id":"-269862909","method":"langpack.getStrings","params":[{"name":"lang_pack","type":"string"},{"name":"lang_code","type":"string"},{"name":"keys","type":"Vector"}],"type":"Vector"},{"id":"-845657435","method":"langpack.getDifference","params":[{"name":"lang_pack","type":"string"},{"name":"lang_code","type":"string"},{"name":"from_version","type":"int"}],"type":"LangPackDifference"},{"id":"1120311183","method":"langpack.getLanguages","params":[{"name":"lang_pack","type":"string"}],"type":"Vector"},{"id":"-1763259007","method":"channels.editBanned","params":[{"name":"channel","type":"InputChannel"},{"name":"participant","type":"InputPeer"},{"name":"banned_rights","type":"ChatBannedRights"}],"type":"Updates"},{"id":"870184064","method":"channels.getAdminLog","params":[{"name":"flags","type":"#"},{"name":"channel","type":"InputChannel"},{"name":"q","type":"string"},{"name":"events_filter","type":"flags.0?ChannelAdminLogEventsFilter"},{"name":"admins","type":"flags.1?Vector"},{"name":"max_id","type":"long"},{"name":"min_id","type":"long"},{"name":"limit","type":"int"}],"type":"channels.AdminLogResults"},{"id":"-1847836879","method":"upload.getCdnFileHashes","params":[{"name":"file_token","type":"bytes"},{"name":"offset","type":"long"}],"type":"Vector"},{"id":"-914493408","method":"messages.sendScreenshotNotification","params":[{"name":"peer","type":"InputPeer"},{"name":"reply_to_msg_id","type":"int"},{"name":"random_id","type":"long"}],"type":"Updates"},{"id":"-359881479","method":"channels.setStickers","params":[{"name":"channel","type":"InputChannel"},{"name":"stickerset","type":"InputStickerSet"}],"type":"Bool"},{"id":"82946729","method":"messages.getFavedStickers","params":[{"name":"hash","type":"long"}],"type":"messages.FavedStickers"},{"id":"-1174420133","method":"messages.faveSticker","params":[{"name":"id","type":"InputDocument"},{"name":"unfave","type":"Bool"}],"type":"Bool"},{"id":"-357180360","method":"channels.readMessageContents","params":[{"name":"channel","type":"InputChannel"},{"name":"id","type":"Vector"}],"type":"Bool"},{"id":"-2020263951","method":"contacts.resetSaved","params":[],"type":"Bool"},{"id":"-251140208","method":"messages.getUnreadMentions","params":[{"name":"flags","type":"#"},{"name":"peer","type":"InputPeer"},{"name":"top_msg_id","type":"flags.0?int"},{"name":"offset_id","type":"int"},{"name":"add_offset","type":"int"},{"name":"limit","type":"int"},{"name":"max_id","type":"int"},{"name":"min_id","type":"int"}],"type":"messages.Messages"},{"id":"-1683319225","method":"channels.deleteHistory","params":[{"name":"flags","type":"#"},{"name":"for_everyone","type":"flags.0?true"},{"name":"channel","type":"InputChannel"},{"name":"max_id","type":"int"}],"type":"Updates"},{"id":"1036054804","method":"help.getRecentMeUrls","params":[{"name":"referer","type":"string"}],"type":"help.RecentMeUrls"},{"id":"-356796084","method":"channels.togglePreHistoryHidden","params":[{"name":"channel","type":"InputChannel"},{"name":"enabled","type":"Bool"}],"type":"Updates"},{"id":"921026381","method":"messages.readMentions","params":[{"name":"flags","type":"#"},{"name":"peer","type":"InputPeer"},{"name":"top_msg_id","type":"flags.0?int"}],"type":"messages.AffectedHistory"},{"id":"1881817312","method":"messages.getRecentLocations","params":[{"name":"peer","type":"InputPeer"},{"name":"limit","type":"int"},{"name":"hash","type":"long"}],"type":"messages.Messages"},{"id":"-1225713124","method":"messages.sendMultiMedia","params":[{"name":"flags","type":"#"},{"name":"silent","type":"flags.5?true"},{"name":"background","type":"flags.6?true"},{"name":"clear_draft","type":"flags.7?true"},{"name":"noforwards","type":"flags.14?true"},{"name":"update_stickersets_order","type":"flags.15?true"},{"name":"peer","type":"InputPeer"},{"name":"reply_to_msg_id","type":"flags.0?int"},{"name":"top_msg_id","type":"flags.9?int"},{"name":"multi_media","type":"Vector"},{"name":"schedule_date","type":"flags.10?int"},{"name":"send_as","type":"flags.13?InputPeer"}],"type":"Updates"},{"id":"1347929239","method":"messages.uploadEncryptedFile","params":[{"name":"peer","type":"InputEncryptedChat"},{"name":"file","type":"InputEncryptedFile"}],"type":"EncryptedFile"},{"id":"405695855","method":"account.getWebAuthorizations","params":[],"type":"account.WebAuthorizations"},{"id":"755087855","method":"account.resetWebAuthorization","params":[{"name":"hash","type":"long"}],"type":"Bool"},{"id":"1747789204","method":"account.resetWebAuthorizations","params":[],"type":"Bool"},{"id":"896555914","method":"messages.searchStickerSets","params":[{"name":"flags","type":"#"},{"name":"exclude_featured","type":"flags.0?true"},{"name":"q","type":"string"},{"name":"hash","type":"long"}],"type":"messages.FoundStickerSets"},{"id":"-1856595926","method":"upload.getFileHashes","params":[{"name":"location","type":"InputFileLocation"},{"name":"offset","type":"long"}],"type":"Vector"},{"id":"749019089","method":"help.getTermsOfServiceUpdate","params":[],"type":"help.TermsOfServiceUpdate"},{"id":"-294455398","method":"help.acceptTermsOfService","params":[{"name":"id","type":"DataJSON"}],"type":"Bool"},{"id":"-1299661699","method":"account.getAllSecureValues","params":[],"type":"Vector"},{"id":"1936088002","method":"account.getSecureValue","params":[{"name":"types","type":"Vector"}],"type":"Vector"},{"id":"-1986010339","method":"account.saveSecureValue","params":[{"name":"value","type":"InputSecureValue"},{"name":"secure_secret_id","type":"long"}],"type":"SecureValue"},{"id":"-1199522741","method":"account.deleteSecureValue","params":[{"name":"types","type":"Vector"}],"type":"Bool"},{"id":"-1865902923","method":"users.setSecureValueErrors","params":[{"name":"id","type":"InputUser"},{"name":"errors","type":"Vector"}],"type":"Bool"},{"id":"-1456907910","method":"account.getAuthorizationForm","params":[{"name":"bot_id","type":"long"},{"name":"scope","type":"string"},{"name":"public_key","type":"string"}],"type":"account.AuthorizationForm"},{"id":"-202552205","method":"account.acceptAuthorization","params":[{"name":"bot_id","type":"long"},{"name":"scope","type":"string"},{"name":"public_key","type":"string"},{"name":"value_hashes","type":"Vector"},{"name":"credentials","type":"SecureCredentialsEncrypted"}],"type":"Bool"},{"id":"-1516022023","method":"account.sendVerifyPhoneCode","params":[{"name":"phone_number","type":"string"},{"name":"settings","type":"CodeSettings"}],"type":"auth.SentCode"},{"id":"1305716726","method":"account.verifyPhone","params":[{"name":"phone_number","type":"string"},{"name":"phone_code_hash","type":"string"},{"name":"phone_code","type":"string"}],"type":"Bool"},{"id":"-1730136133","method":"account.sendVerifyEmailCode","params":[{"name":"purpose","type":"EmailVerifyPurpose"},{"name":"email","type":"string"}],"type":"account.SentEmailCode"},{"id":"53322959","method":"account.verifyEmail","params":[{"name":"purpose","type":"EmailVerifyPurpose"},{"name":"verification","type":"EmailVerification"}],"type":"account.EmailVerified"},{"id":"1072547679","method":"help.getDeepLinkInfo","params":[{"name":"path","type":"string"}],"type":"help.DeepLinkInfo"},{"id":"-2098076769","method":"contacts.getSaved","params":[],"type":"Vector"},{"id":"-2092831552","method":"channels.getLeftChannels","params":[{"name":"offset","type":"int"}],"type":"messages.Chats"},{"id":"-1896617296","method":"account.initTakeoutSession","params":[{"name":"flags","type":"#"},{"name":"contacts","type":"flags.0?true"},{"name":"message_users","type":"flags.1?true"},{"name":"message_chats","type":"flags.2?true"},{"name":"message_megagroups","type":"flags.3?true"},{"name":"message_channels","type":"flags.4?true"},{"name":"files","type":"flags.5?true"},{"name":"file_max_size","type":"flags.5?long"}],"type":"account.Takeout"},{"id":"489050862","method":"account.finishTakeoutSession","params":[{"name":"flags","type":"#"},{"name":"success","type":"flags.0?true"}],"type":"Bool"},{"id":"486505992","method":"messages.getSplitRanges","params":[],"type":"Vector"},{"id":"911373810","method":"invokeWithMessagesRange","params":[{"name":"range","type":"MessageRange"},{"name":"query","type":"!X"}],"type":"X"},{"id":"-1398145746","method":"invokeWithTakeout","params":[{"name":"takeout_id","type":"long"},{"name":"query","type":"!X"}],"type":"X"},{"id":"-1031349873","method":"messages.markDialogUnread","params":[{"name":"flags","type":"#"},{"name":"unread","type":"flags.0?true"},{"name":"peer","type":"InputDialogPeer"}],"type":"Bool"},{"id":"585256482","method":"messages.getDialogUnreadMarks","params":[],"type":"Vector"},{"id":"-2062238246","method":"contacts.toggleTopPeers","params":[{"name":"enabled","type":"Bool"}],"type":"Bool"},{"id":"2119757468","method":"messages.clearAllDrafts","params":[],"type":"Bool"},{"id":"1642330196","method":"help.getAppConfig","params":[{"name":"hash","type":"int"}],"type":"help.AppConfig"},{"id":"1862465352","method":"help.saveAppLog","params":[{"name":"events","type":"Vector"}],"type":"Bool"},{"id":"-966677240","method":"help.getPassportConfig","params":[{"name":"hash","type":"int"}],"type":"help.PassportConfig"},{"id":"1784243458","method":"langpack.getLanguage","params":[{"name":"lang_pack","type":"string"},{"name":"lang_code","type":"string"}],"type":"LangPackLanguage"},{"id":"-760547348","method":"messages.updatePinnedMessage","params":[{"name":"flags","type":"#"},{"name":"silent","type":"flags.0?true"},{"name":"unpin","type":"flags.1?true"},{"name":"pm_oneside","type":"flags.2?true"},{"name":"peer","type":"InputPeer"},{"name":"id","type":"int"}],"type":"Updates"},{"id":"-1881204448","method":"account.confirmPasswordEmail","params":[{"name":"code","type":"string"}],"type":"Bool"},{"id":"2055154197","method":"account.resendPasswordEmail","params":[],"type":"Bool"},{"id":"-1043606090","method":"account.cancelPasswordEmail","params":[],"type":"Bool"},{"id":"-748624084","method":"help.getSupportName","params":[],"type":"help.SupportName"},{"id":"59377875","method":"help.getUserInfo","params":[{"name":"user_id","type":"InputUser"}],"type":"help.UserInfo"},{"id":"1723407216","method":"help.editUserInfo","params":[{"name":"user_id","type":"InputUser"},{"name":"message","type":"string"},{"name":"entities","type":"Vector"}],"type":"help.UserInfo"},{"id":"-1626880216","method":"account.getContactSignUpNotification","params":[],"type":"Bool"},{"id":"-806076575","method":"account.setContactSignUpNotification","params":[{"name":"silent","type":"Bool"}],"type":"Bool"},{"id":"1398240377","method":"account.getNotifyExceptions","params":[{"name":"flags","type":"#"},{"name":"compare_sound","type":"flags.1?true"},{"name":"peer","type":"flags.0?InputNotifyPeer"}],"type":"Updates"},{"id":"283795844","method":"messages.sendVote","params":[{"name":"peer","type":"InputPeer"},{"name":"msg_id","type":"int"},{"name":"options","type":"Vector"}],"type":"Updates"},{"id":"1941660731","method":"messages.getPollResults","params":[{"name":"peer","type":"InputPeer"},{"name":"msg_id","type":"int"}],"type":"Updates"},{"id":"1848369232","method":"messages.getOnlines","params":[{"name":"peer","type":"InputPeer"}],"type":"ChatOnlines"},{"id":"-554301545","method":"messages.editChatAbout","params":[{"name":"peer","type":"InputPeer"},{"name":"about","type":"string"}],"type":"Bool"},{"id":"-1517917375","method":"messages.editChatDefaultBannedRights","params":[{"name":"peer","type":"InputPeer"},{"name":"banned_rights","type":"ChatBannedRights"}],"type":"Updates"},{"id":"-57811990","method":"account.getWallPaper","params":[{"name":"wallpaper","type":"InputWallPaper"}],"type":"WallPaper"},{"id":"-476410109","method":"account.uploadWallPaper","params":[{"name":"flags","type":"#"},{"name":"for_chat","type":"flags.0?true"},{"name":"file","type":"InputFile"},{"name":"mime_type","type":"string"},{"name":"settings","type":"WallPaperSettings"}],"type":"WallPaper"},{"id":"1817860919","method":"account.saveWallPaper","params":[{"name":"wallpaper","type":"InputWallPaper"},{"name":"unsave","type":"Bool"},{"name":"settings","type":"WallPaperSettings"}],"type":"Bool"},{"id":"-18000023","method":"account.installWallPaper","params":[{"name":"wallpaper","type":"InputWallPaper"},{"name":"settings","type":"WallPaperSettings"}],"type":"Bool"},{"id":"-1153722364","method":"account.resetWallPapers","params":[],"type":"Bool"},{"id":"1457130303","method":"account.getAutoDownloadSettings","params":[],"type":"account.AutoDownloadSettings"},{"id":"1995661875","method":"account.saveAutoDownloadSettings","params":[{"name":"flags","type":"#"},{"name":"low","type":"flags.0?true"},{"name":"high","type":"flags.1?true"},{"name":"settings","type":"AutoDownloadSettings"}],"type":"Bool"},{"id":"899735650","method":"messages.getEmojiKeywords","params":[{"name":"lang_code","type":"string"}],"type":"EmojiKeywordsDifference"},{"id":"352892591","method":"messages.getEmojiKeywordsDifference","params":[{"name":"lang_code","type":"string"},{"name":"from_version","type":"int"}],"type":"EmojiKeywordsDifference"},{"id":"1318675378","method":"messages.getEmojiKeywordsLanguages","params":[{"name":"lang_codes","type":"Vector"}],"type":"Vector"},{"id":"-709817306","method":"messages.getEmojiURL","params":[{"name":"lang_code","type":"string"}],"type":"EmojiURL"},{"id":"1749536939","method":"folders.editPeerFolders","params":[{"name":"folder_peers","type":"Vector"}],"type":"Updates"},{"id":"11435201","method":"messages.getSearchCounters","params":[{"name":"flags","type":"#"},{"name":"peer","type":"InputPeer"},{"name":"top_msg_id","type":"flags.0?int"},{"name":"filters","type":"Vector"}],"type":"Vector"},{"id":"-170208392","method":"channels.getGroupsForDiscussion","params":[],"type":"messages.Chats"},{"id":"1079520178","method":"channels.setDiscussionGroup","params":[{"name":"broadcast","type":"InputChannel"},{"name":"group","type":"InputChannel"}],"type":"Bool"},{"id":"428848198","method":"messages.requestUrlAuth","params":[{"name":"flags","type":"#"},{"name":"peer","type":"flags.1?InputPeer"},{"name":"msg_id","type":"flags.1?int"},{"name":"button_id","type":"flags.1?int"},{"name":"url","type":"flags.2?string"}],"type":"UrlAuthResult"},{"id":"-1322487515","method":"messages.acceptUrlAuth","params":[{"name":"flags","type":"#"},{"name":"write_allowed","type":"flags.0?true"},{"name":"peer","type":"flags.1?InputPeer"},{"name":"msg_id","type":"flags.1?int"},{"name":"button_id","type":"flags.1?int"},{"name":"url","type":"flags.2?string"}],"type":"UrlAuthResult"},{"id":"1336717624","method":"messages.hidePeerSettingsBar","params":[{"name":"peer","type":"InputPeer"}],"type":"Bool"},{"id":"-386636848","method":"contacts.addContact","params":[{"name":"flags","type":"#"},{"name":"add_phone_privacy_exception","type":"flags.0?true"},{"name":"id","type":"InputUser"},{"name":"first_name","type":"string"},{"name":"last_name","type":"string"},{"name":"phone","type":"string"}],"type":"Updates"},{"id":"-130964977","method":"contacts.acceptContact","params":[{"name":"id","type":"InputUser"}],"type":"Updates"},{"id":"-1892102881","method":"channels.editCreator","params":[{"name":"channel","type":"InputChannel"},{"name":"user_id","type":"InputUser"},{"name":"password","type":"InputCheckPasswordSRP"}],"type":"Updates"},{"id":"-750207932","method":"contacts.getLocated","params":[{"name":"flags","type":"#"},{"name":"background","type":"flags.1?true"},{"name":"geo_point","type":"InputGeoPoint"},{"name":"self_expires","type":"flags.0?int"}],"type":"Updates"},{"id":"1491484525","method":"channels.editLocation","params":[{"name":"channel","type":"InputChannel"},{"name":"geo_point","type":"InputGeoPoint"},{"name":"address","type":"string"}],"type":"Bool"},{"id":"-304832784","method":"channels.toggleSlowMode","params":[{"name":"channel","type":"InputChannel"},{"name":"seconds","type":"int"}],"type":"Updates"},{"id":"-183077365","method":"messages.getScheduledHistory","params":[{"name":"peer","type":"InputPeer"},{"name":"hash","type":"long"}],"type":"messages.Messages"},{"id":"-1111817116","method":"messages.getScheduledMessages","params":[{"name":"peer","type":"InputPeer"},{"name":"id","type":"Vector"}],"type":"messages.Messages"},{"id":"-1120369398","method":"messages.sendScheduledMessages","params":[{"name":"peer","type":"InputPeer"},{"name":"id","type":"Vector"}],"type":"Updates"},{"id":"1504586518","method":"messages.deleteScheduledMessages","params":[{"name":"peer","type":"InputPeer"},{"name":"id","type":"Vector"}],"type":"Updates"},{"id":"473805619","method":"account.uploadTheme","params":[{"name":"flags","type":"#"},{"name":"file","type":"InputFile"},{"name":"thumb","type":"flags.0?InputFile"},{"name":"file_name","type":"string"},{"name":"mime_type","type":"string"}],"type":"Document"},{"id":"1697530880","method":"account.createTheme","params":[{"name":"flags","type":"#"},{"name":"slug","type":"string"},{"name":"title","type":"string"},{"name":"document","type":"flags.2?InputDocument"},{"name":"settings","type":"flags.3?Vector"}],"type":"Theme"},{"id":"737414348","method":"account.updateTheme","params":[{"name":"flags","type":"#"},{"name":"format","type":"string"},{"name":"theme","type":"InputTheme"},{"name":"slug","type":"flags.0?string"},{"name":"title","type":"flags.1?string"},{"name":"document","type":"flags.2?InputDocument"},{"name":"settings","type":"flags.3?Vector"}],"type":"Theme"},{"id":"-229175188","method":"account.saveTheme","params":[{"name":"theme","type":"InputTheme"},{"name":"unsave","type":"Bool"}],"type":"Bool"},{"id":"-953697477","method":"account.installTheme","params":[{"name":"flags","type":"#"},{"name":"dark","type":"flags.0?true"},{"name":"theme","type":"flags.1?InputTheme"},{"name":"format","type":"flags.2?string"},{"name":"base_theme","type":"flags.3?BaseTheme"}],"type":"Bool"},{"id":"978872812","method":"account.getTheme","params":[{"name":"format","type":"string"},{"name":"theme","type":"InputTheme"}],"type":"Theme"},{"id":"1913054296","method":"account.getThemes","params":[{"name":"format","type":"string"},{"name":"hash","type":"long"}],"type":"account.Themes"},{"id":"-1210022402","method":"auth.exportLoginToken","params":[{"name":"api_id","type":"int"},{"name":"api_hash","type":"string"},{"name":"except_ids","type":"Vector"}],"type":"auth.LoginToken"},{"id":"-1783866140","method":"auth.importLoginToken","params":[{"name":"token","type":"bytes"}],"type":"auth.LoginToken"},{"id":"-392909491","method":"auth.acceptLoginToken","params":[{"name":"token","type":"bytes"}],"type":"Authorization"},{"id":"-1250643605","method":"account.setContentSettings","params":[{"name":"flags","type":"#"},{"name":"sensitive_enabled","type":"flags.0?true"}],"type":"Bool"},{"id":"-1952756306","method":"account.getContentSettings","params":[],"type":"account.ContentSettings"},{"id":"300429806","method":"channels.getInactiveChannels","params":[],"type":"messages.InactiveChats"},{"id":"1705865692","method":"account.getMultiWallPapers","params":[{"name":"wallpapers","type":"Vector"}],"type":"Vector"},{"id":"-1200736242","method":"messages.getPollVotes","params":[{"name":"flags","type":"#"},{"name":"peer","type":"InputPeer"},{"name":"id","type":"int"},{"name":"option","type":"flags.0?bytes"},{"name":"offset","type":"flags.1?string"},{"name":"limit","type":"int"}],"type":"messages.VotesList"},{"id":"-1257951254","method":"messages.toggleStickerSets","params":[{"name":"flags","type":"#"},{"name":"uninstall","type":"flags.0?true"},{"name":"archive","type":"flags.1?true"},{"name":"unarchive","type":"flags.2?true"},{"name":"stickersets","type":"Vector"}],"type":"Bool"},{"id":"779736953","method":"payments.getBankCardData","params":[{"name":"number","type":"string"}],"type":"payments.BankCardData"},{"id":"-241247891","method":"messages.getDialogFilters","params":[],"type":"Vector"},{"id":"-1566780372","method":"messages.getSuggestedDialogFilters","params":[],"type":"Vector"},{"id":"450142282","method":"messages.updateDialogFilter","params":[{"name":"flags","type":"#"},{"name":"id","type":"int"},{"name":"filter","type":"flags.0?DialogFilter"}],"type":"Bool"},{"id":"-983318044","method":"messages.updateDialogFiltersOrder","params":[{"name":"order","type":"Vector"}],"type":"Bool"},{"id":"-1421720550","method":"stats.getBroadcastStats","params":[{"name":"flags","type":"#"},{"name":"dark","type":"flags.0?true"},{"name":"channel","type":"InputChannel"}],"type":"stats.BroadcastStats"},{"id":"1646092192","method":"stats.loadAsyncGraph","params":[{"name":"flags","type":"#"},{"name":"token","type":"string"},{"name":"x","type":"flags.0?long"}],"type":"StatsGraph"},{"id":"-1486204014","method":"stickers.setStickerSetThumb","params":[{"name":"flags","type":"#"},{"name":"stickerset","type":"InputStickerSet"},{"name":"thumb","type":"flags.0?InputDocument"},{"name":"thumb_document_id","type":"flags.1?long"}],"type":"messages.StickerSet"},{"id":"85399130","method":"bots.setBotCommands","params":[{"name":"scope","type":"BotCommandScope"},{"name":"lang_code","type":"string"},{"name":"commands","type":"Vector"}],"type":"Bool"},{"id":"2127598753","method":"messages.getOldFeaturedStickers","params":[{"name":"offset","type":"int"},{"name":"limit","type":"int"},{"name":"hash","type":"long"}],"type":"messages.FeaturedStickers"},{"id":"-1063816159","method":"help.getPromoData","params":[],"type":"help.PromoData"},{"id":"505748629","method":"help.hidePromoData","params":[{"name":"peer","type":"InputPeer"}],"type":"Bool"},{"id":"-8744061","method":"phone.sendSignalingData","params":[{"name":"peer","type":"InputPhoneCall"},{"name":"data","type":"bytes"}],"type":"Bool"},{"id":"-589330937","method":"stats.getMegagroupStats","params":[{"name":"flags","type":"#"},{"name":"dark","type":"flags.0?true"},{"name":"channel","type":"InputChannel"}],"type":"stats.MegagroupStats"},{"id":"-349483786","method":"account.getGlobalPrivacySettings","params":[],"type":"GlobalPrivacySettings"},{"id":"517647042","method":"account.setGlobalPrivacySettings","params":[{"name":"settings","type":"GlobalPrivacySettings"}],"type":"GlobalPrivacySettings"},{"id":"-183649631","method":"help.dismissSuggestion","params":[{"name":"peer","type":"InputPeer"},{"name":"suggestion","type":"string"}],"type":"Bool"},{"id":"1935116200","method":"help.getCountriesList","params":[{"name":"lang_code","type":"string"},{"name":"hash","type":"int"}],"type":"help.CountriesList"},{"id":"584962828","method":"messages.getReplies","params":[{"name":"peer","type":"InputPeer"},{"name":"msg_id","type":"int"},{"name":"offset_id","type":"int"},{"name":"offset_date","type":"int"},{"name":"add_offset","type":"int"},{"name":"limit","type":"int"},{"name":"max_id","type":"int"},{"name":"min_id","type":"int"},{"name":"hash","type":"long"}],"type":"messages.Messages"},{"id":"1147761405","method":"messages.getDiscussionMessage","params":[{"name":"peer","type":"InputPeer"},{"name":"msg_id","type":"int"}],"type":"messages.DiscussionMessage"},{"id":"-147740172","method":"messages.readDiscussion","params":[{"name":"peer","type":"InputPeer"},{"name":"msg_id","type":"int"},{"name":"read_max_id","type":"int"}],"type":"Bool"},{"id":"698914348","method":"contacts.blockFromReplies","params":[{"name":"flags","type":"#"},{"name":"delete_message","type":"flags.0?true"},{"name":"delete_history","type":"flags.1?true"},{"name":"report_spam","type":"flags.2?true"},{"name":"msg_id","type":"int"}],"type":"Updates"},{"id":"1445996571","method":"stats.getMessagePublicForwards","params":[{"name":"channel","type":"InputChannel"},{"name":"msg_id","type":"int"},{"name":"offset_rate","type":"int"},{"name":"offset_peer","type":"InputPeer"},{"name":"offset_id","type":"int"},{"name":"limit","type":"int"}],"type":"messages.Messages"},{"id":"-1226791947","method":"stats.getMessageStats","params":[{"name":"flags","type":"#"},{"name":"dark","type":"flags.0?true"},{"name":"channel","type":"InputChannel"},{"name":"msg_id","type":"int"}],"type":"stats.MessageStats"},{"id":"-299714136","method":"messages.unpinAllMessages","params":[{"name":"flags","type":"#"},{"name":"peer","type":"InputPeer"},{"name":"top_msg_id","type":"flags.0?int"}],"type":"messages.AffectedHistory"},{"id":"1221445336","method":"phone.createGroupCall","params":[{"name":"flags","type":"#"},{"name":"rtmp_stream","type":"flags.2?true"},{"name":"peer","type":"InputPeer"},{"name":"random_id","type":"int"},{"name":"title","type":"flags.0?string"},{"name":"schedule_date","type":"flags.1?int"}],"type":"Updates"},{"id":"-1322057861","method":"phone.joinGroupCall","params":[{"name":"flags","type":"#"},{"name":"muted","type":"flags.0?true"},{"name":"video_stopped","type":"flags.2?true"},{"name":"call","type":"InputGroupCall"},{"name":"join_as","type":"InputPeer"},{"name":"invite_hash","type":"flags.1?string"},{"name":"params","type":"DataJSON"}],"type":"Updates"},{"id":"1342404601","method":"phone.leaveGroupCall","params":[{"name":"call","type":"InputGroupCall"},{"name":"source","type":"int"}],"type":"Updates"},{"id":"2067345760","method":"phone.inviteToGroupCall","params":[{"name":"call","type":"InputGroupCall"},{"name":"users","type":"Vector"}],"type":"Updates"},{"id":"2054648117","method":"phone.discardGroupCall","params":[{"name":"call","type":"InputGroupCall"}],"type":"Updates"},{"id":"1958458429","method":"phone.toggleGroupCallSettings","params":[{"name":"flags","type":"#"},{"name":"reset_invite_hash","type":"flags.1?true"},{"name":"call","type":"InputGroupCall"},{"name":"join_muted","type":"flags.0?Bool"}],"type":"Updates"},{"id":"68699611","method":"phone.getGroupCall","params":[{"name":"call","type":"InputGroupCall"},{"name":"limit","type":"int"}],"type":"phone.GroupCall"},{"id":"-984033109","method":"phone.getGroupParticipants","params":[{"name":"call","type":"InputGroupCall"},{"name":"ids","type":"Vector"},{"name":"sources","type":"Vector"},{"name":"offset","type":"string"},{"name":"limit","type":"int"}],"type":"phone.GroupParticipants"},{"id":"-1248003721","method":"phone.checkGroupCall","params":[{"name":"call","type":"InputGroupCall"},{"name":"sources","type":"Vector"}],"type":"Vector"},{"id":"1540419152","method":"messages.deleteChat","params":[{"name":"chat_id","type":"long"}],"type":"Bool"},{"id":"-104078327","method":"messages.deletePhoneCallHistory","params":[{"name":"flags","type":"#"},{"name":"revoke","type":"flags.0?true"}],"type":"messages.AffectedFoundMessages"},{"id":"1140726259","method":"messages.checkHistoryImport","params":[{"name":"import_head","type":"string"}],"type":"messages.HistoryImportParsed"},{"id":"873008187","method":"messages.initHistoryImport","params":[{"name":"peer","type":"InputPeer"},{"name":"file","type":"InputFile"},{"name":"media_count","type":"int"}],"type":"messages.HistoryImport"},{"id":"713433234","method":"messages.uploadImportedMedia","params":[{"name":"peer","type":"InputPeer"},{"name":"import_id","type":"long"},{"name":"file_name","type":"string"},{"name":"media","type":"InputMedia"}],"type":"MessageMedia"},{"id":"-1271008444","method":"messages.startHistoryImport","params":[{"name":"peer","type":"InputPeer"},{"name":"import_id","type":"long"}],"type":"Bool"},{"id":"-1565154314","method":"messages.getExportedChatInvites","params":[{"name":"flags","type":"#"},{"name":"revoked","type":"flags.3?true"},{"name":"peer","type":"InputPeer"},{"name":"admin_id","type":"InputUser"},{"name":"offset_date","type":"flags.2?int"},{"name":"offset_link","type":"flags.2?string"},{"name":"limit","type":"int"}],"type":"messages.ExportedChatInvites"},{"id":"1937010524","method":"messages.getExportedChatInvite","params":[{"name":"peer","type":"InputPeer"},{"name":"link","type":"string"}],"type":"messages.ExportedChatInvite"},{"id":"-1110823051","method":"messages.editExportedChatInvite","params":[{"name":"flags","type":"#"},{"name":"revoked","type":"flags.2?true"},{"name":"peer","type":"InputPeer"},{"name":"link","type":"string"},{"name":"expire_date","type":"flags.0?int"},{"name":"usage_limit","type":"flags.1?int"},{"name":"request_needed","type":"flags.3?Bool"},{"name":"title","type":"flags.4?string"}],"type":"messages.ExportedChatInvite"},{"id":"1452833749","method":"messages.deleteRevokedExportedChatInvites","params":[{"name":"peer","type":"InputPeer"},{"name":"admin_id","type":"InputUser"}],"type":"Bool"},{"id":"-731601877","method":"messages.deleteExportedChatInvite","params":[{"name":"peer","type":"InputPeer"},{"name":"link","type":"string"}],"type":"Bool"},{"id":"958457583","method":"messages.getAdminsWithInvites","params":[{"name":"peer","type":"InputPeer"}],"type":"messages.ChatAdminsWithInvites"},{"id":"-553329330","method":"messages.getChatInviteImporters","params":[{"name":"flags","type":"#"},{"name":"requested","type":"flags.0?true"},{"name":"peer","type":"InputPeer"},{"name":"link","type":"flags.1?string"},{"name":"q","type":"flags.2?string"},{"name":"offset_date","type":"int"},{"name":"offset_user","type":"InputUser"},{"name":"limit","type":"int"}],"type":"messages.ChatInviteImporters"},{"id":"-1207017500","method":"messages.setHistoryTTL","params":[{"name":"peer","type":"InputPeer"},{"name":"period","type":"int"}],"type":"Updates"},{"id":"-91437323","method":"account.reportProfilePhoto","params":[{"name":"peer","type":"InputPeer"},{"name":"photo_id","type":"InputPhoto"},{"name":"reason","type":"ReportReason"},{"name":"message","type":"string"}],"type":"Bool"},{"id":"187239529","method":"channels.convertToGigagroup","params":[{"name":"channel","type":"InputChannel"}],"type":"Updates"},{"id":"1573261059","method":"messages.checkHistoryImportPeer","params":[{"name":"peer","type":"InputPeer"}],"type":"messages.CheckedHistoryImportPeer"},{"id":"-248985848","method":"phone.toggleGroupCallRecord","params":[{"name":"flags","type":"#"},{"name":"start","type":"flags.0?true"},{"name":"video","type":"flags.2?true"},{"name":"call","type":"InputGroupCall"},{"name":"title","type":"flags.1?string"},{"name":"video_portrait","type":"flags.2?Bool"}],"type":"Updates"},{"id":"-1524155713","method":"phone.editGroupCallParticipant","params":[{"name":"flags","type":"#"},{"name":"call","type":"InputGroupCall"},{"name":"participant","type":"InputPeer"},{"name":"muted","type":"flags.0?Bool"},{"name":"volume","type":"flags.1?int"},{"name":"raise_hand","type":"flags.2?Bool"},{"name":"video_stopped","type":"flags.3?Bool"},{"name":"video_paused","type":"flags.4?Bool"},{"name":"presentation_paused","type":"flags.5?Bool"}],"type":"Updates"},{"id":"480685066","method":"phone.editGroupCallTitle","params":[{"name":"call","type":"InputGroupCall"},{"name":"title","type":"string"}],"type":"Updates"},{"id":"-277077702","method":"phone.getGroupCallJoinAs","params":[{"name":"peer","type":"InputPeer"}],"type":"phone.JoinAsPeers"},{"id":"-425040769","method":"phone.exportGroupCallInvite","params":[{"name":"flags","type":"#"},{"name":"can_self_unmute","type":"flags.0?true"},{"name":"call","type":"InputGroupCall"}],"type":"phone.ExportedGroupCallInvite"},{"id":"563885286","method":"phone.toggleGroupCallStartSubscription","params":[{"name":"call","type":"InputGroupCall"},{"name":"subscribed","type":"Bool"}],"type":"Updates"},{"id":"1451287362","method":"phone.startScheduledGroupCall","params":[{"name":"call","type":"InputGroupCall"}],"type":"Updates"},{"id":"1465786252","method":"phone.saveDefaultGroupCallJoinAs","params":[{"name":"peer","type":"InputPeer"},{"name":"join_as","type":"InputPeer"}],"type":"Bool"},{"id":"-873829436","method":"phone.joinGroupCallPresentation","params":[{"name":"call","type":"InputGroupCall"},{"name":"params","type":"DataJSON"}],"type":"Updates"},{"id":"475058500","method":"phone.leaveGroupCallPresentation","params":[{"name":"call","type":"InputGroupCall"}],"type":"Updates"},{"id":"676017721","method":"stickers.checkShortName","params":[{"name":"short_name","type":"string"}],"type":"Bool"},{"id":"1303364867","method":"stickers.suggestShortName","params":[{"name":"title","type":"string"}],"type":"stickers.SuggestedShortName"},{"id":"1032708345","method":"bots.resetBotCommands","params":[{"name":"scope","type":"BotCommandScope"},{"name":"lang_code","type":"string"}],"type":"Bool"},{"id":"-481554986","method":"bots.getBotCommands","params":[{"name":"scope","type":"BotCommandScope"},{"name":"lang_code","type":"string"}],"type":"Vector"},{"id":"-1828139493","method":"account.resetPassword","params":[],"type":"account.ResetPasswordResult"},{"id":"1284770294","method":"account.declinePasswordReset","params":[],"type":"Bool"},{"id":"221691769","method":"auth.checkRecoveryPassword","params":[{"name":"code","type":"string"}],"type":"Bool"},{"id":"-700916087","method":"account.getChatThemes","params":[{"name":"hash","type":"long"}],"type":"account.Themes"},{"id":"-432283329","method":"messages.setChatTheme","params":[{"name":"peer","type":"InputPeer"},{"name":"emoticon","type":"string"}],"type":"Updates"},{"id":"-1095836780","method":"channels.viewSponsoredMessage","params":[{"name":"channel","type":"InputChannel"},{"name":"random_id","type":"bytes"}],"type":"Bool"},{"id":"-333377601","method":"channels.getSponsoredMessages","params":[{"name":"channel","type":"InputChannel"}],"type":"messages.SponsoredMessages"},{"id":"834782287","method":"messages.getMessageReadParticipants","params":[{"name":"peer","type":"InputPeer"},{"name":"msg_id","type":"int"}],"type":"Vector"},{"id":"1240514025","method":"messages.getSearchResultsCalendar","params":[{"name":"peer","type":"InputPeer"},{"name":"filter","type":"MessagesFilter"},{"name":"offset_id","type":"int"},{"name":"offset_date","type":"int"}],"type":"messages.SearchResultsCalendar"},{"id":"1855292323","method":"messages.getSearchResultsPositions","params":[{"name":"peer","type":"InputPeer"},{"name":"filter","type":"MessagesFilter"},{"name":"offset_id","type":"int"},{"name":"limit","type":"int"}],"type":"messages.SearchResultsPositions"},{"id":"2145904661","method":"messages.hideChatJoinRequest","params":[{"name":"flags","type":"#"},{"name":"approved","type":"flags.0?true"},{"name":"peer","type":"InputPeer"},{"name":"user_id","type":"InputUser"}],"type":"Updates"},{"id":"-528091926","method":"messages.hideAllChatJoinRequests","params":[{"name":"flags","type":"#"},{"name":"approved","type":"flags.0?true"},{"name":"peer","type":"InputPeer"},{"name":"link","type":"flags.1?string"}],"type":"Updates"},{"id":"-1323389022","method":"messages.toggleNoForwards","params":[{"name":"peer","type":"InputPeer"},{"name":"enabled","type":"Bool"}],"type":"Updates"},{"id":"-855777386","method":"messages.saveDefaultSendAs","params":[{"name":"peer","type":"InputPeer"},{"name":"send_as","type":"InputPeer"}],"type":"Bool"},{"id":"231174382","method":"channels.getSendAs","params":[{"name":"peer","type":"InputPeer"}],"type":"channels.SendAsPeers"},{"id":"-1081501024","method":"account.setAuthorizationTTL","params":[{"name":"authorization_ttl_days","type":"int"}],"type":"Bool"},{"id":"1089766498","method":"account.changeAuthorizationSettings","params":[{"name":"flags","type":"#"},{"name":"hash","type":"long"},{"name":"encrypted_requests_disabled","type":"flags.0?Bool"},{"name":"call_requests_disabled","type":"flags.1?Bool"}],"type":"Bool"},{"id":"913655003","method":"channels.deleteParticipantHistory","params":[{"name":"channel","type":"InputChannel"},{"name":"participant","type":"InputPeer"}],"type":"messages.AffectedHistory"},{"id":"-754091820","method":"messages.sendReaction","params":[{"name":"flags","type":"#"},{"name":"big","type":"flags.1?true"},{"name":"add_to_recent","type":"flags.2?true"},{"name":"peer","type":"InputPeer"},{"name":"msg_id","type":"int"},{"name":"reaction","type":"flags.0?Vector"}],"type":"Updates"},{"id":"-1950707482","method":"messages.getMessagesReactions","params":[{"name":"peer","type":"InputPeer"},{"name":"id","type":"Vector"}],"type":"Updates"},{"id":"1176190792","method":"messages.getMessageReactionsList","params":[{"name":"flags","type":"#"},{"name":"peer","type":"InputPeer"},{"name":"id","type":"int"},{"name":"reaction","type":"flags.0?Reaction"},{"name":"offset","type":"flags.1?string"},{"name":"limit","type":"int"}],"type":"messages.MessageReactionsList"},{"id":"-21928079","method":"messages.setChatAvailableReactions","params":[{"name":"peer","type":"InputPeer"},{"name":"available_reactions","type":"ChatReactions"}],"type":"Updates"},{"id":"417243308","method":"messages.getAvailableReactions","params":[{"name":"hash","type":"int"}],"type":"messages.AvailableReactions"},{"id":"1330094102","method":"messages.setDefaultReaction","params":[{"name":"reaction","type":"Reaction"}],"type":"Bool"},{"id":"1662529584","method":"messages.translateText","params":[{"name":"flags","type":"#"},{"name":"peer","type":"flags.0?InputPeer"},{"name":"id","type":"flags.0?Vector"},{"name":"text","type":"flags.1?Vector"},{"name":"to_lang","type":"string"}],"type":"messages.TranslatedText"},{"id":"841173339","method":"messages.getUnreadReactions","params":[{"name":"flags","type":"#"},{"name":"peer","type":"InputPeer"},{"name":"top_msg_id","type":"flags.0?int"},{"name":"offset_id","type":"int"},{"name":"add_offset","type":"int"},{"name":"limit","type":"int"},{"name":"max_id","type":"int"},{"name":"min_id","type":"int"}],"type":"messages.Messages"},{"id":"1420459918","method":"messages.readReactions","params":[{"name":"flags","type":"#"},{"name":"peer","type":"InputPeer"},{"name":"top_msg_id","type":"flags.0?int"}],"type":"messages.AffectedHistory"},{"id":"-1963375804","method":"contacts.resolvePhone","params":[{"name":"phone","type":"string"}],"type":"contacts.ResolvedPeer"},{"id":"447879488","method":"phone.getGroupCallStreamChannels","params":[{"name":"call","type":"InputGroupCall"}],"type":"phone.GroupCallStreamChannels"},{"id":"-558650433","method":"phone.getGroupCallStreamRtmpUrl","params":[{"name":"peer","type":"InputPeer"},{"name":"revoke","type":"Bool"}],"type":"phone.GroupCallStreamRtmpUrl"},{"id":"276705696","method":"messages.searchSentMedia","params":[{"name":"q","type":"string"},{"name":"filter","type":"MessagesFilter"},{"name":"limit","type":"int"}],"type":"messages.Messages"},{"id":"385663691","method":"messages.getAttachMenuBots","params":[{"name":"hash","type":"long"}],"type":"AttachMenuBots"},{"id":"1998676370","method":"messages.getAttachMenuBot","params":[{"name":"bot","type":"InputUser"}],"type":"AttachMenuBotsBot"},{"id":"1777704297","method":"messages.toggleBotInAttachMenu","params":[{"name":"flags","type":"#"},{"name":"write_allowed","type":"flags.0?true"},{"name":"bot","type":"InputUser"},{"name":"enabled","type":"Bool"}],"type":"Bool"},{"id":"395003915","method":"messages.requestWebView","params":[{"name":"flags","type":"#"},{"name":"from_bot_menu","type":"flags.4?true"},{"name":"silent","type":"flags.5?true"},{"name":"peer","type":"InputPeer"},{"name":"bot","type":"InputUser"},{"name":"url","type":"flags.1?string"},{"name":"start_param","type":"flags.3?string"},{"name":"theme_params","type":"flags.2?DataJSON"},{"name":"platform","type":"string"},{"name":"reply_to_msg_id","type":"flags.0?int"},{"name":"top_msg_id","type":"flags.9?int"},{"name":"send_as","type":"flags.13?InputPeer"}],"type":"WebViewResult"},{"id":"2146648841","method":"messages.prolongWebView","params":[{"name":"flags","type":"#"},{"name":"silent","type":"flags.5?true"},{"name":"peer","type":"InputPeer"},{"name":"bot","type":"InputUser"},{"name":"query_id","type":"long"},{"name":"reply_to_msg_id","type":"flags.0?int"},{"name":"top_msg_id","type":"flags.9?int"},{"name":"send_as","type":"flags.13?InputPeer"}],"type":"Bool"},{"id":"698084494","method":"messages.requestSimpleWebView","params":[{"name":"flags","type":"#"},{"name":"from_switch_webview","type":"flags.1?true"},{"name":"bot","type":"InputUser"},{"name":"url","type":"string"},{"name":"theme_params","type":"flags.0?DataJSON"},{"name":"platform","type":"string"}],"type":"SimpleWebViewResult"},{"id":"172168437","method":"messages.sendWebViewResultMessage","params":[{"name":"bot_query_id","type":"string"},{"name":"result","type":"InputBotInlineResult"}],"type":"WebViewMessageSent"},{"id":"-603831608","method":"messages.sendWebViewData","params":[{"name":"bot","type":"InputUser"},{"name":"random_id","type":"long"},{"name":"button_text","type":"string"},{"name":"data","type":"string"}],"type":"Updates"},{"id":"1157944655","method":"bots.setBotMenuButton","params":[{"name":"user_id","type":"InputUser"},{"name":"button","type":"BotMenuButton"}],"type":"Bool"},{"id":"-1671369944","method":"bots.getBotMenuButton","params":[{"name":"user_id","type":"InputUser"}],"type":"BotMenuButton"},{"id":"-510647672","method":"account.getSavedRingtones","params":[{"name":"hash","type":"long"}],"type":"account.SavedRingtones"},{"id":"1038768899","method":"account.saveRingtone","params":[{"name":"id","type":"InputDocument"},{"name":"unsave","type":"Bool"}],"type":"account.SavedRingtone"},{"id":"-2095414366","method":"account.uploadRingtone","params":[{"name":"file","type":"InputFile"},{"name":"file_name","type":"string"},{"name":"mime_type","type":"string"}],"type":"Document"},{"id":"2021942497","method":"bots.setBotBroadcastDefaultAdminRights","params":[{"name":"admin_rights","type":"ChatAdminRights"}],"type":"Bool"},{"id":"-1839281686","method":"bots.setBotGroupDefaultAdminRights","params":[{"name":"admin_rights","type":"ChatAdminRights"}],"type":"Bool"},{"id":"1092913030","method":"phone.saveCallLog","params":[{"name":"peer","type":"InputPhoneCall"},{"name":"file","type":"InputFile"}],"type":"Bool"},{"id":"-456419968","method":"channels.toggleJoinToSend","params":[{"name":"channel","type":"InputChannel"},{"name":"enabled","type":"Bool"}],"type":"Updates"},{"id":"1277789622","method":"channels.toggleJoinRequest","params":[{"name":"channel","type":"InputChannel"},{"name":"enabled","type":"Bool"}],"type":"Updates"},{"id":"261206117","method":"payments.exportInvoice","params":[{"name":"invoice_media","type":"InputMedia"}],"type":"payments.ExportedInvoice"},{"id":"647928393","method":"messages.transcribeAudio","params":[{"name":"peer","type":"InputPeer"},{"name":"msg_id","type":"int"}],"type":"messages.TranscribedAudio"},{"id":"2132608815","method":"messages.rateTranscribedAudio","params":[{"name":"peer","type":"InputPeer"},{"name":"msg_id","type":"int"},{"name":"transcription_id","type":"long"},{"name":"good","type":"Bool"}],"type":"Bool"},{"id":"-2131921795","method":"payments.assignAppStoreTransaction","params":[{"name":"receipt","type":"bytes"},{"name":"purpose","type":"InputStorePaymentPurpose"}],"type":"Updates"},{"id":"-537046829","method":"payments.assignPlayMarketTransaction","params":[{"name":"receipt","type":"DataJSON"},{"name":"purpose","type":"InputStorePaymentPurpose"}],"type":"Updates"},{"id":"-1614700874","method":"payments.canPurchasePremium","params":[{"name":"purpose","type":"InputStorePaymentPurpose"}],"type":"Bool"},{"id":"-1206152236","method":"help.getPremiumPromo","params":[],"type":"help.PremiumPromo"},{"id":"-643100844","method":"messages.getCustomEmojiDocuments","params":[{"name":"document_id","type":"Vector"}],"type":"Vector"},{"id":"-67329649","method":"messages.getEmojiStickers","params":[{"name":"hash","type":"long"}],"type":"messages.AllStickers"},{"id":"248473398","method":"messages.getFeaturedEmojiStickers","params":[{"name":"hash","type":"long"}],"type":"messages.FeaturedStickers"},{"id":"-70001045","method":"account.updateEmojiStatus","params":[{"name":"emoji_status","type":"EmojiStatus"}],"type":"Bool"},{"id":"-696962170","method":"account.getDefaultEmojiStatuses","params":[{"name":"hash","type":"long"}],"type":"account.EmojiStatuses"},{"id":"257392901","method":"account.getRecentEmojiStatuses","params":[{"name":"hash","type":"long"}],"type":"account.EmojiStatuses"},{"id":"404757166","method":"account.clearRecentEmojiStatuses","params":[],"type":"Bool"},{"id":"1063567478","method":"messages.reportReaction","params":[{"name":"peer","type":"InputPeer"},{"name":"id","type":"int"},{"name":"reaction_peer","type":"InputPeer"}],"type":"Bool"},{"id":"-1149164102","method":"messages.getTopReactions","params":[{"name":"limit","type":"int"},{"name":"hash","type":"long"}],"type":"messages.Reactions"},{"id":"960896434","method":"messages.getRecentReactions","params":[{"name":"limit","type":"int"},{"name":"hash","type":"long"}],"type":"messages.Reactions"},{"id":"-1644236876","method":"messages.clearRecentReactions","params":[],"type":"Bool"},{"id":"-2064119788","method":"messages.getExtendedMedia","params":[{"name":"peer","type":"InputPeer"},{"name":"id","type":"Vector"}],"type":"Updates"},{"id":"767062953","method":"auth.importWebTokenAuthorization","params":[{"name":"api_id","type":"int"},{"name":"api_hash","type":"string"},{"name":"web_auth_token","type":"string"}],"type":"auth.Authorization"},{"id":"-279966037","method":"account.reorderUsernames","params":[{"name":"order","type":"Vector"}],"type":"Bool"},{"id":"1490465654","method":"account.toggleUsername","params":[{"name":"username","type":"string"},{"name":"active","type":"Bool"}],"type":"Bool"},{"id":"-1268978403","method":"channels.reorderUsernames","params":[{"name":"channel","type":"InputChannel"},{"name":"order","type":"Vector"}],"type":"Bool"},{"id":"1358053637","method":"channels.toggleUsername","params":[{"name":"channel","type":"InputChannel"},{"name":"username","type":"string"},{"name":"active","type":"Bool"}],"type":"Bool"},{"id":"170155475","method":"channels.deactivateAllUsernames","params":[{"name":"channel","type":"InputChannel"}],"type":"Bool"},{"id":"-1540781271","method":"channels.toggleForum","params":[{"name":"channel","type":"InputChannel"},{"name":"enabled","type":"Bool"}],"type":"Updates"},{"id":"-200539612","method":"channels.createForumTopic","params":[{"name":"flags","type":"#"},{"name":"channel","type":"InputChannel"},{"name":"title","type":"string"},{"name":"icon_color","type":"flags.0?int"},{"name":"icon_emoji_id","type":"flags.3?long"},{"name":"random_id","type":"long"},{"name":"send_as","type":"flags.2?InputPeer"}],"type":"Updates"},{"id":"233136337","method":"channels.getForumTopics","params":[{"name":"flags","type":"#"},{"name":"channel","type":"InputChannel"},{"name":"q","type":"flags.0?string"},{"name":"offset_date","type":"int"},{"name":"offset_id","type":"int"},{"name":"offset_topic","type":"int"},{"name":"limit","type":"int"}],"type":"messages.ForumTopics"},{"id":"-1333584199","method":"channels.getForumTopicsByID","params":[{"name":"channel","type":"InputChannel"},{"name":"topics","type":"Vector"}],"type":"messages.ForumTopics"},{"id":"-186670715","method":"channels.editForumTopic","params":[{"name":"flags","type":"#"},{"name":"channel","type":"InputChannel"},{"name":"topic_id","type":"int"},{"name":"title","type":"flags.0?string"},{"name":"icon_emoji_id","type":"flags.1?long"},{"name":"closed","type":"flags.2?Bool"},{"name":"hidden","type":"flags.3?Bool"}],"type":"Updates"},{"id":"1814925350","method":"channels.updatePinnedForumTopic","params":[{"name":"channel","type":"InputChannel"},{"name":"topic_id","type":"int"},{"name":"pinned","type":"Bool"}],"type":"Updates"},{"id":"876830509","method":"channels.deleteTopicHistory","params":[{"name":"channel","type":"InputChannel"},{"name":"top_msg_id","type":"int"}],"type":"messages.AffectedHistory"},{"id":"693150095","method":"channels.reorderPinnedForumTopics","params":[{"name":"flags","type":"#"},{"name":"force","type":"flags.0?true"},{"name":"channel","type":"InputChannel"},{"name":"order","type":"Vector"}],"type":"Updates"},{"id":"1760814315","method":"channels.toggleAntiSpam","params":[{"name":"channel","type":"InputChannel"},{"name":"enabled","type":"Bool"}],"type":"Updates"},{"id":"-1471109485","method":"channels.reportAntiSpamFalsePositive","params":[{"name":"channel","type":"InputChannel"},{"name":"msg_id","type":"int"}],"type":"Bool"},{"id":"-1632299963","method":"messages.setDefaultHistoryTTL","params":[{"name":"period","type":"int"}],"type":"Bool"},{"id":"1703637384","method":"messages.getDefaultHistoryTTL","params":[],"type":"DefaultHistoryTTL"},{"id":"-127582169","method":"contacts.exportContactToken","params":[],"type":"ExportedContactToken"},{"id":"318789512","method":"contacts.importContactToken","params":[{"name":"token","type":"string"}],"type":"User"},{"id":"-515093903","method":"photos.uploadContactProfilePhoto","params":[{"name":"flags","type":"#"},{"name":"suggest","type":"flags.3?true"},{"name":"save","type":"flags.4?true"},{"name":"user_id","type":"InputUser"},{"name":"file","type":"flags.0?InputFile"},{"name":"video","type":"flags.1?InputFile"},{"name":"video_start_ts","type":"flags.2?double"},{"name":"video_emoji_markup","type":"flags.5?VideoSize"}],"type":"photos.Photo"},{"id":"1785624660","method":"channels.toggleParticipantsHidden","params":[{"name":"channel","type":"InputChannel"},{"name":"enabled","type":"Bool"}],"type":"Updates"},{"id":"-29831141","method":"messages.sendBotRequestedPeer","params":[{"name":"peer","type":"InputPeer"},{"name":"msg_id","type":"int"},{"name":"button_id","type":"int"},{"name":"requested_peer","type":"InputPeer"}],"type":"Updates"},{"id":"-495647960","method":"account.getDefaultProfilePhotoEmojis","params":[{"name":"hash","type":"long"}],"type":"EmojiList"},{"id":"-1856479058","method":"account.getDefaultGroupPhotoEmojis","params":[{"name":"hash","type":"long"}],"type":"EmojiList"},{"id":"-1991881904","method":"auth.requestFirebaseSms","params":[{"name":"flags","type":"#"},{"name":"phone_number","type":"string"},{"name":"phone_code_hash","type":"string"},{"name":"safety_net_token","type":"flags.0?string"},{"name":"ios_push_secret","type":"flags.1?string"}],"type":"Bool"},{"id":"1955122779","method":"messages.getEmojiGroups","params":[{"name":"hash","type":"int"}],"type":"messages.EmojiGroups"},{"id":"785209037","method":"messages.getEmojiStatusGroups","params":[{"name":"hash","type":"int"}],"type":"messages.EmojiGroups"},{"id":"564480243","method":"messages.getEmojiProfilePhotoGroups","params":[{"name":"hash","type":"int"}],"type":"messages.EmojiGroups"},{"id":"739360983","method":"messages.searchCustomEmoji","params":[{"name":"emoticon","type":"string"},{"name":"hash","type":"long"}],"type":"EmojiList"},{"id":"-461589127","method":"messages.togglePeerTranslations","params":[{"name":"flags","type":"#"},{"name":"disabled","type":"flags.0?true"},{"name":"peer","type":"InputPeer"}],"type":"Bool"},{"id":"-1379156774","method":"account.getAutoSaveSettings","params":[],"type":"account.AutoSaveSettings"},{"id":"-694451359","method":"account.saveAutoSaveSettings","params":[{"name":"flags","type":"#"},{"name":"users","type":"flags.0?true"},{"name":"chats","type":"flags.1?true"},{"name":"broadcasts","type":"flags.2?true"},{"name":"peer","type":"flags.3?InputPeer"},{"name":"settings","type":"AutoSaveSettings"}],"type":"Bool"},{"id":"1404829728","method":"account.deleteAutoSaveExceptions","params":[],"type":"Bool"},{"id":"-179077444","method":"stickers.changeSticker","params":[{"name":"flags","type":"#"},{"name":"sticker","type":"InputDocument"},{"name":"emoji","type":"flags.0?string"},{"name":"mask_coords","type":"flags.1?MaskCoords"},{"name":"keywords","type":"flags.2?string"}],"type":"messages.StickerSet"},{"id":"306912256","method":"stickers.renameStickerSet","params":[{"name":"stickerset","type":"InputStickerSet"},{"name":"title","type":"string"}],"type":"messages.StickerSet"},{"id":"-2022685804","method":"stickers.deleteStickerSet","params":[{"name":"stickerset","type":"InputStickerSet"}],"type":"Bool"},{"id":"889046467","method":"messages.getBotApp","params":[{"name":"app","type":"InputBotApp"},{"name":"hash","type":"long"}],"type":"messages.BotApp"},{"id":"-1940243652","method":"messages.requestAppWebView","params":[{"name":"flags","type":"#"},{"name":"write_allowed","type":"flags.0?true"},{"name":"peer","type":"InputPeer"},{"name":"app","type":"InputBotApp"},{"name":"start_param","type":"flags.1?string"},{"name":"theme_params","type":"flags.2?DataJSON"},{"name":"platform","type":"string"}],"type":"AppWebViewResult"},{"id":"282013987","method":"bots.setBotInfo","params":[{"name":"flags","type":"#"},{"name":"bot","type":"flags.2?InputUser"},{"name":"lang_code","type":"string"},{"name":"name","type":"flags.3?string"},{"name":"about","type":"flags.0?string"},{"name":"description","type":"flags.1?string"}],"type":"Bool"},{"id":"-589753091","method":"bots.getBotInfo","params":[{"name":"flags","type":"#"},{"name":"bot","type":"flags.0?InputUser"},{"name":"lang_code","type":"string"}],"type":"bots.BotInfo"},{"id":"2123760019","method":"auth.resetLoginEmail","params":[{"name":"phone_number","type":"string"},{"name":"phone_code_hash","type":"string"}],"type":"auth.SentCode"},{"id":"-2072885362","method":"chatlists.exportChatlistInvite","params":[{"name":"chatlist","type":"InputChatlist"},{"name":"title","type":"string"},{"name":"peers","type":"Vector"}],"type":"chatlists.ExportedChatlistInvite"},{"id":"1906072670","method":"chatlists.deleteExportedInvite","params":[{"name":"chatlist","type":"InputChatlist"},{"name":"slug","type":"string"}],"type":"Bool"},{"id":"1698543165","method":"chatlists.editExportedInvite","params":[{"name":"flags","type":"#"},{"name":"chatlist","type":"InputChatlist"},{"name":"slug","type":"string"},{"name":"title","type":"flags.1?string"},{"name":"peers","type":"flags.2?Vector"}],"type":"ExportedChatlistInvite"},{"id":"-838608253","method":"chatlists.getExportedInvites","params":[{"name":"chatlist","type":"InputChatlist"}],"type":"chatlists.ExportedInvites"},{"id":"1103171583","method":"chatlists.checkChatlistInvite","params":[{"name":"slug","type":"string"}],"type":"chatlists.ChatlistInvite"},{"id":"-1498291302","method":"chatlists.joinChatlistInvite","params":[{"name":"slug","type":"string"},{"name":"peers","type":"Vector"}],"type":"Updates"},{"id":"-1992190687","method":"chatlists.getChatlistUpdates","params":[{"name":"chatlist","type":"InputChatlist"}],"type":"chatlists.ChatlistUpdates"},{"id":"-527828747","method":"chatlists.joinChatlistUpdates","params":[{"name":"chatlist","type":"InputChatlist"},{"name":"peers","type":"Vector"}],"type":"Updates"},{"id":"1726252795","method":"chatlists.hideChatlistUpdates","params":[{"name":"chatlist","type":"InputChatlist"}],"type":"Bool"},{"id":"-37955820","method":"chatlists.getLeaveChatlistSuggestions","params":[{"name":"chatlist","type":"InputChatlist"}],"type":"Vector"},{"id":"1962598714","method":"chatlists.leaveChatlist","params":[{"name":"chatlist","type":"InputChatlist"},{"name":"peers","type":"Vector"}],"type":"Updates"},{"id":"-1760972350","method":"bots.reorderUsernames","params":[{"name":"bot","type":"InputUser"},{"name":"order","type":"Vector"}],"type":"Bool"},{"id":"87861619","method":"bots.toggleUsername","params":[{"name":"bot","type":"InputUser"},{"name":"username","type":"string"},{"name":"active","type":"Bool"}],"type":"Bool"},{"id":"-1879389471","method":"messages.setChatWallPaper","params":[{"name":"flags","type":"#"},{"name":"peer","type":"InputPeer"},{"name":"wallpaper","type":"flags.0?InputWallPaper"},{"name":"settings","type":"flags.2?WallPaperSettings"},{"name":"id","type":"flags.1?int"}],"type":"Updates"}]} \ No newline at end of file +{"constructors":[{"id":"-1132882121","predicate":"boolFalse","params":[],"type":"Bool"},{"id":"-1720552011","predicate":"boolTrue","params":[],"type":"Bool"},{"id":"1072550713","predicate":"true","params":[],"type":"True"},{"id":"481674261","predicate":"vector","params":[],"type":"Vector t"},{"id":"-994444869","predicate":"error","params":[{"name":"code","type":"int"},{"name":"text","type":"string"}],"type":"Error"},{"id":"1450380236","predicate":"null","params":[],"type":"Null"},{"id":"2134579434","predicate":"inputPeerEmpty","params":[],"type":"InputPeer"},{"id":"2107670217","predicate":"inputPeerSelf","params":[],"type":"InputPeer"},{"id":"900291769","predicate":"inputPeerChat","params":[{"name":"chat_id","type":"long"}],"type":"InputPeer"},{"id":"-1182234929","predicate":"inputUserEmpty","params":[],"type":"InputUser"},{"id":"-138301121","predicate":"inputUserSelf","params":[],"type":"InputUser"},{"id":"-208488460","predicate":"inputPhoneContact","params":[{"name":"client_id","type":"long"},{"name":"phone","type":"string"},{"name":"first_name","type":"string"},{"name":"last_name","type":"string"}],"type":"InputContact"},{"id":"-181407105","predicate":"inputFile","params":[{"name":"id","type":"long"},{"name":"parts","type":"int"},{"name":"name","type":"string"},{"name":"md5_checksum","type":"string"}],"type":"InputFile"},{"id":"-1771768449","predicate":"inputMediaEmpty","params":[],"type":"InputMedia"},{"id":"505969924","predicate":"inputMediaUploadedPhoto","params":[{"name":"flags","type":"#"},{"name":"spoiler","type":"flags.2?true"},{"name":"file","type":"InputFile"},{"name":"stickers","type":"flags.0?Vector"},{"name":"ttl_seconds","type":"flags.1?int"}],"type":"InputMedia"},{"id":"-1279654347","predicate":"inputMediaPhoto","params":[{"name":"flags","type":"#"},{"name":"spoiler","type":"flags.1?true"},{"name":"id","type":"InputPhoto"},{"name":"ttl_seconds","type":"flags.0?int"}],"type":"InputMedia"},{"id":"-104578748","predicate":"inputMediaGeoPoint","params":[{"name":"geo_point","type":"InputGeoPoint"}],"type":"InputMedia"},{"id":"-122978821","predicate":"inputMediaContact","params":[{"name":"phone_number","type":"string"},{"name":"first_name","type":"string"},{"name":"last_name","type":"string"},{"name":"vcard","type":"string"}],"type":"InputMedia"},{"id":"480546647","predicate":"inputChatPhotoEmpty","params":[],"type":"InputChatPhoto"},{"id":"-1110593856","predicate":"inputChatUploadedPhoto","params":[{"name":"flags","type":"#"},{"name":"file","type":"flags.0?InputFile"},{"name":"video","type":"flags.1?InputFile"},{"name":"video_start_ts","type":"flags.2?double"},{"name":"video_emoji_markup","type":"flags.3?VideoSize"}],"type":"InputChatPhoto"},{"id":"-1991004873","predicate":"inputChatPhoto","params":[{"name":"id","type":"InputPhoto"}],"type":"InputChatPhoto"},{"id":"-457104426","predicate":"inputGeoPointEmpty","params":[],"type":"InputGeoPoint"},{"id":"1210199983","predicate":"inputGeoPoint","params":[{"name":"flags","type":"#"},{"name":"lat","type":"double"},{"name":"long","type":"double"},{"name":"accuracy_radius","type":"flags.0?int"}],"type":"InputGeoPoint"},{"id":"483901197","predicate":"inputPhotoEmpty","params":[],"type":"InputPhoto"},{"id":"1001634122","predicate":"inputPhoto","params":[{"name":"id","type":"long"},{"name":"access_hash","type":"long"},{"name":"file_reference","type":"bytes"}],"type":"InputPhoto"},{"id":"-539317279","predicate":"inputFileLocation","params":[{"name":"volume_id","type":"long"},{"name":"local_id","type":"int"},{"name":"secret","type":"long"},{"name":"file_reference","type":"bytes"}],"type":"InputFileLocation"},{"id":"1498486562","predicate":"peerUser","params":[{"name":"user_id","type":"long"}],"type":"Peer"},{"id":"918946202","predicate":"peerChat","params":[{"name":"chat_id","type":"long"}],"type":"Peer"},{"id":"-1432995067","predicate":"storage.fileUnknown","params":[],"type":"storage.FileType"},{"id":"1086091090","predicate":"storage.filePartial","params":[],"type":"storage.FileType"},{"id":"8322574","predicate":"storage.fileJpeg","params":[],"type":"storage.FileType"},{"id":"-891180321","predicate":"storage.fileGif","params":[],"type":"storage.FileType"},{"id":"172975040","predicate":"storage.filePng","params":[],"type":"storage.FileType"},{"id":"-1373745011","predicate":"storage.filePdf","params":[],"type":"storage.FileType"},{"id":"1384777335","predicate":"storage.fileMp3","params":[],"type":"storage.FileType"},{"id":"1258941372","predicate":"storage.fileMov","params":[],"type":"storage.FileType"},{"id":"-1278304028","predicate":"storage.fileMp4","params":[],"type":"storage.FileType"},{"id":"276907596","predicate":"storage.fileWebp","params":[],"type":"storage.FileType"},{"id":"-742634630","predicate":"userEmpty","params":[{"name":"id","type":"long"}],"type":"User"},{"id":"1326562017","predicate":"userProfilePhotoEmpty","params":[],"type":"UserProfilePhoto"},{"id":"-2100168954","predicate":"userProfilePhoto","params":[{"name":"flags","type":"#"},{"name":"has_video","type":"flags.0?true"},{"name":"personal","type":"flags.2?true"},{"name":"photo_id","type":"long"},{"name":"stripped_thumb","type":"flags.1?bytes"},{"name":"dc_id","type":"int"}],"type":"UserProfilePhoto"},{"id":"164646985","predicate":"userStatusEmpty","params":[],"type":"UserStatus"},{"id":"-306628279","predicate":"userStatusOnline","params":[{"name":"expires","type":"int"}],"type":"UserStatus"},{"id":"9203775","predicate":"userStatusOffline","params":[{"name":"was_online","type":"int"}],"type":"UserStatus"},{"id":"693512293","predicate":"chatEmpty","params":[{"name":"id","type":"long"}],"type":"Chat"},{"id":"1103884886","predicate":"chat","params":[{"name":"flags","type":"#"},{"name":"creator","type":"flags.0?true"},{"name":"left","type":"flags.2?true"},{"name":"deactivated","type":"flags.5?true"},{"name":"call_active","type":"flags.23?true"},{"name":"call_not_empty","type":"flags.24?true"},{"name":"noforwards","type":"flags.25?true"},{"name":"id","type":"long"},{"name":"title","type":"string"},{"name":"photo","type":"ChatPhoto"},{"name":"participants_count","type":"int"},{"name":"date","type":"int"},{"name":"version","type":"int"},{"name":"migrated_to","type":"flags.6?InputChannel"},{"name":"admin_rights","type":"flags.14?ChatAdminRights"},{"name":"default_banned_rights","type":"flags.18?ChatBannedRights"}],"type":"Chat"},{"id":"1704108455","predicate":"chatForbidden","params":[{"name":"id","type":"long"},{"name":"title","type":"string"}],"type":"Chat"},{"id":"-908914376","predicate":"chatFull","params":[{"name":"flags","type":"#"},{"name":"can_set_username","type":"flags.7?true"},{"name":"has_scheduled","type":"flags.8?true"},{"name":"translations_disabled","type":"flags.19?true"},{"name":"id","type":"long"},{"name":"about","type":"string"},{"name":"participants","type":"ChatParticipants"},{"name":"chat_photo","type":"flags.2?Photo"},{"name":"notify_settings","type":"PeerNotifySettings"},{"name":"exported_invite","type":"flags.13?ExportedChatInvite"},{"name":"bot_info","type":"flags.3?Vector"},{"name":"pinned_msg_id","type":"flags.6?int"},{"name":"folder_id","type":"flags.11?int"},{"name":"call","type":"flags.12?InputGroupCall"},{"name":"ttl_period","type":"flags.14?int"},{"name":"groupcall_default_join_as","type":"flags.15?Peer"},{"name":"theme_emoticon","type":"flags.16?string"},{"name":"requests_pending","type":"flags.17?int"},{"name":"recent_requesters","type":"flags.17?Vector"},{"name":"available_reactions","type":"flags.18?ChatReactions"}],"type":"ChatFull"},{"id":"-1070776313","predicate":"chatParticipant","params":[{"name":"user_id","type":"long"},{"name":"inviter_id","type":"long"},{"name":"date","type":"int"}],"type":"ChatParticipant"},{"id":"-2023500831","predicate":"chatParticipantsForbidden","params":[{"name":"flags","type":"#"},{"name":"chat_id","type":"long"},{"name":"self_participant","type":"flags.0?ChatParticipant"}],"type":"ChatParticipants"},{"id":"1018991608","predicate":"chatParticipants","params":[{"name":"chat_id","type":"long"},{"name":"participants","type":"Vector"},{"name":"version","type":"int"}],"type":"ChatParticipants"},{"id":"935395612","predicate":"chatPhotoEmpty","params":[],"type":"ChatPhoto"},{"id":"476978193","predicate":"chatPhoto","params":[{"name":"flags","type":"#"},{"name":"has_video","type":"flags.0?true"},{"name":"photo_id","type":"long"},{"name":"stripped_thumb","type":"flags.1?bytes"},{"name":"dc_id","type":"int"}],"type":"ChatPhoto"},{"id":"-1868117372","predicate":"messageEmpty","params":[{"name":"flags","type":"#"},{"name":"id","type":"int"},{"name":"peer_id","type":"flags.0?Peer"}],"type":"Message"},{"id":"1992213009","predicate":"message","params":[{"name":"flags","type":"#"},{"name":"out","type":"flags.1?true"},{"name":"mentioned","type":"flags.4?true"},{"name":"media_unread","type":"flags.5?true"},{"name":"silent","type":"flags.13?true"},{"name":"post","type":"flags.14?true"},{"name":"from_scheduled","type":"flags.18?true"},{"name":"legacy","type":"flags.19?true"},{"name":"edit_hide","type":"flags.21?true"},{"name":"pinned","type":"flags.24?true"},{"name":"noforwards","type":"flags.26?true"},{"name":"invert_media","type":"flags.27?true"},{"name":"id","type":"int"},{"name":"from_id","type":"flags.8?Peer"},{"name":"peer_id","type":"Peer"},{"name":"saved_peer_id","type":"flags.28?Peer"},{"name":"fwd_from","type":"flags.2?MessageFwdHeader"},{"name":"via_bot_id","type":"flags.11?long"},{"name":"reply_to","type":"flags.3?MessageReplyHeader"},{"name":"date","type":"int"},{"name":"message","type":"string"},{"name":"media","type":"flags.9?MessageMedia"},{"name":"reply_markup","type":"flags.6?ReplyMarkup"},{"name":"entities","type":"flags.7?Vector"},{"name":"views","type":"flags.10?int"},{"name":"forwards","type":"flags.10?int"},{"name":"replies","type":"flags.23?MessageReplies"},{"name":"edit_date","type":"flags.15?int"},{"name":"post_author","type":"flags.16?string"},{"name":"grouped_id","type":"flags.17?long"},{"name":"reactions","type":"flags.20?MessageReactions"},{"name":"restriction_reason","type":"flags.22?Vector"},{"name":"ttl_period","type":"flags.25?int"}],"type":"Message"},{"id":"721967202","predicate":"messageService","params":[{"name":"flags","type":"#"},{"name":"out","type":"flags.1?true"},{"name":"mentioned","type":"flags.4?true"},{"name":"media_unread","type":"flags.5?true"},{"name":"silent","type":"flags.13?true"},{"name":"post","type":"flags.14?true"},{"name":"legacy","type":"flags.19?true"},{"name":"id","type":"int"},{"name":"from_id","type":"flags.8?Peer"},{"name":"peer_id","type":"Peer"},{"name":"reply_to","type":"flags.3?MessageReplyHeader"},{"name":"date","type":"int"},{"name":"action","type":"MessageAction"},{"name":"ttl_period","type":"flags.25?int"}],"type":"Message"},{"id":"1038967584","predicate":"messageMediaEmpty","params":[],"type":"MessageMedia"},{"id":"1766936791","predicate":"messageMediaPhoto","params":[{"name":"flags","type":"#"},{"name":"spoiler","type":"flags.3?true"},{"name":"photo","type":"flags.0?Photo"},{"name":"ttl_seconds","type":"flags.2?int"}],"type":"MessageMedia"},{"id":"1457575028","predicate":"messageMediaGeo","params":[{"name":"geo","type":"GeoPoint"}],"type":"MessageMedia"},{"id":"1882335561","predicate":"messageMediaContact","params":[{"name":"phone_number","type":"string"},{"name":"first_name","type":"string"},{"name":"last_name","type":"string"},{"name":"vcard","type":"string"},{"name":"user_id","type":"long"}],"type":"MessageMedia"},{"id":"-1618676578","predicate":"messageMediaUnsupported","params":[],"type":"MessageMedia"},{"id":"-1230047312","predicate":"messageActionEmpty","params":[],"type":"MessageAction"},{"id":"-1119368275","predicate":"messageActionChatCreate","params":[{"name":"title","type":"string"},{"name":"users","type":"Vector"}],"type":"MessageAction"},{"id":"-1247687078","predicate":"messageActionChatEditTitle","params":[{"name":"title","type":"string"}],"type":"MessageAction"},{"id":"2144015272","predicate":"messageActionChatEditPhoto","params":[{"name":"photo","type":"Photo"}],"type":"MessageAction"},{"id":"-1780220945","predicate":"messageActionChatDeletePhoto","params":[],"type":"MessageAction"},{"id":"365886720","predicate":"messageActionChatAddUser","params":[{"name":"users","type":"Vector"}],"type":"MessageAction"},{"id":"-1539362612","predicate":"messageActionChatDeleteUser","params":[{"name":"user_id","type":"long"}],"type":"MessageAction"},{"id":"-712374074","predicate":"dialog","params":[{"name":"flags","type":"#"},{"name":"pinned","type":"flags.2?true"},{"name":"unread_mark","type":"flags.3?true"},{"name":"view_forum_as_messages","type":"flags.6?true"},{"name":"peer","type":"Peer"},{"name":"top_message","type":"int"},{"name":"read_inbox_max_id","type":"int"},{"name":"read_outbox_max_id","type":"int"},{"name":"unread_count","type":"int"},{"name":"unread_mentions_count","type":"int"},{"name":"unread_reactions_count","type":"int"},{"name":"notify_settings","type":"PeerNotifySettings"},{"name":"pts","type":"flags.0?int"},{"name":"draft","type":"flags.1?DraftMessage"},{"name":"folder_id","type":"flags.4?int"},{"name":"ttl_period","type":"flags.5?int"}],"type":"Dialog"},{"id":"590459437","predicate":"photoEmpty","params":[{"name":"id","type":"long"}],"type":"Photo"},{"id":"-82216347","predicate":"photo","params":[{"name":"flags","type":"#"},{"name":"has_stickers","type":"flags.0?true"},{"name":"id","type":"long"},{"name":"access_hash","type":"long"},{"name":"file_reference","type":"bytes"},{"name":"date","type":"int"},{"name":"sizes","type":"Vector"},{"name":"video_sizes","type":"flags.1?Vector"},{"name":"dc_id","type":"int"}],"type":"Photo"},{"id":"236446268","predicate":"photoSizeEmpty","params":[{"name":"type","type":"string"}],"type":"PhotoSize"},{"id":"1976012384","predicate":"photoSize","params":[{"name":"type","type":"string"},{"name":"w","type":"int"},{"name":"h","type":"int"},{"name":"size","type":"int"}],"type":"PhotoSize"},{"id":"35527382","predicate":"photoCachedSize","params":[{"name":"type","type":"string"},{"name":"w","type":"int"},{"name":"h","type":"int"},{"name":"bytes","type":"bytes"}],"type":"PhotoSize"},{"id":"286776671","predicate":"geoPointEmpty","params":[],"type":"GeoPoint"},{"id":"-1297942941","predicate":"geoPoint","params":[{"name":"flags","type":"#"},{"name":"long","type":"double"},{"name":"lat","type":"double"},{"name":"access_hash","type":"long"},{"name":"accuracy_radius","type":"flags.0?int"}],"type":"GeoPoint"},{"id":"1577067778","predicate":"auth.sentCode","params":[{"name":"flags","type":"#"},{"name":"type","type":"auth.SentCodeType"},{"name":"phone_code_hash","type":"string"},{"name":"next_type","type":"flags.1?auth.CodeType"},{"name":"timeout","type":"flags.2?int"}],"type":"auth.SentCode"},{"id":"782418132","predicate":"auth.authorization","params":[{"name":"flags","type":"#"},{"name":"setup_password_required","type":"flags.1?true"},{"name":"otherwise_relogin_days","type":"flags.1?int"},{"name":"tmp_sessions","type":"flags.0?int"},{"name":"future_auth_token","type":"flags.2?bytes"},{"name":"user","type":"User"}],"type":"auth.Authorization"},{"id":"-1271602504","predicate":"auth.exportedAuthorization","params":[{"name":"id","type":"long"},{"name":"bytes","type":"bytes"}],"type":"auth.ExportedAuthorization"},{"id":"-1195615476","predicate":"inputNotifyPeer","params":[{"name":"peer","type":"InputPeer"}],"type":"InputNotifyPeer"},{"id":"423314455","predicate":"inputNotifyUsers","params":[],"type":"InputNotifyPeer"},{"id":"1251338318","predicate":"inputNotifyChats","params":[],"type":"InputNotifyPeer"},{"id":"-892638494","predicate":"inputPeerNotifySettings","params":[{"name":"flags","type":"#"},{"name":"show_previews","type":"flags.0?Bool"},{"name":"silent","type":"flags.1?Bool"},{"name":"mute_until","type":"flags.2?int"},{"name":"sound","type":"flags.3?NotificationSound"},{"name":"stories_muted","type":"flags.6?Bool"},{"name":"stories_hide_sender","type":"flags.7?Bool"},{"name":"stories_sound","type":"flags.8?NotificationSound"}],"type":"InputPeerNotifySettings"},{"id":"-1721619444","predicate":"peerNotifySettings","params":[{"name":"flags","type":"#"},{"name":"show_previews","type":"flags.0?Bool"},{"name":"silent","type":"flags.1?Bool"},{"name":"mute_until","type":"flags.2?int"},{"name":"ios_sound","type":"flags.3?NotificationSound"},{"name":"android_sound","type":"flags.4?NotificationSound"},{"name":"other_sound","type":"flags.5?NotificationSound"},{"name":"stories_muted","type":"flags.6?Bool"},{"name":"stories_hide_sender","type":"flags.7?Bool"},{"name":"stories_ios_sound","type":"flags.8?NotificationSound"},{"name":"stories_android_sound","type":"flags.9?NotificationSound"},{"name":"stories_other_sound","type":"flags.10?NotificationSound"}],"type":"PeerNotifySettings"},{"id":"-1525149427","predicate":"peerSettings","params":[{"name":"flags","type":"#"},{"name":"report_spam","type":"flags.0?true"},{"name":"add_contact","type":"flags.1?true"},{"name":"block_contact","type":"flags.2?true"},{"name":"share_contact","type":"flags.3?true"},{"name":"need_contacts_exception","type":"flags.4?true"},{"name":"report_geo","type":"flags.5?true"},{"name":"autoarchived","type":"flags.7?true"},{"name":"invite_members","type":"flags.8?true"},{"name":"request_chat_broadcast","type":"flags.10?true"},{"name":"geo_distance","type":"flags.6?int"},{"name":"request_chat_title","type":"flags.9?string"},{"name":"request_chat_date","type":"flags.9?int"}],"type":"PeerSettings"},{"id":"-1539849235","predicate":"wallPaper","params":[{"name":"id","type":"long"},{"name":"flags","type":"#"},{"name":"creator","type":"flags.0?true"},{"name":"default","type":"flags.1?true"},{"name":"pattern","type":"flags.3?true"},{"name":"dark","type":"flags.4?true"},{"name":"access_hash","type":"long"},{"name":"slug","type":"string"},{"name":"document","type":"Document"},{"name":"settings","type":"flags.2?WallPaperSettings"}],"type":"WallPaper"},{"id":"1490799288","predicate":"inputReportReasonSpam","params":[],"type":"ReportReason"},{"id":"505595789","predicate":"inputReportReasonViolence","params":[],"type":"ReportReason"},{"id":"777640226","predicate":"inputReportReasonPornography","params":[],"type":"ReportReason"},{"id":"-1376497949","predicate":"inputReportReasonChildAbuse","params":[],"type":"ReportReason"},{"id":"-1041980751","predicate":"inputReportReasonOther","params":[],"type":"ReportReason"},{"id":"-1179571092","predicate":"userFull","params":[{"name":"flags","type":"#"},{"name":"blocked","type":"flags.0?true"},{"name":"phone_calls_available","type":"flags.4?true"},{"name":"phone_calls_private","type":"flags.5?true"},{"name":"can_pin_message","type":"flags.7?true"},{"name":"has_scheduled","type":"flags.12?true"},{"name":"video_calls_available","type":"flags.13?true"},{"name":"voice_messages_forbidden","type":"flags.20?true"},{"name":"translations_disabled","type":"flags.23?true"},{"name":"stories_pinned_available","type":"flags.26?true"},{"name":"blocked_my_stories_from","type":"flags.27?true"},{"name":"wallpaper_overridden","type":"flags.28?true"},{"name":"id","type":"long"},{"name":"about","type":"flags.1?string"},{"name":"settings","type":"PeerSettings"},{"name":"personal_photo","type":"flags.21?Photo"},{"name":"profile_photo","type":"flags.2?Photo"},{"name":"fallback_photo","type":"flags.22?Photo"},{"name":"notify_settings","type":"PeerNotifySettings"},{"name":"bot_info","type":"flags.3?BotInfo"},{"name":"pinned_msg_id","type":"flags.6?int"},{"name":"common_chats_count","type":"int"},{"name":"folder_id","type":"flags.11?int"},{"name":"ttl_period","type":"flags.14?int"},{"name":"theme_emoticon","type":"flags.15?string"},{"name":"private_forward_name","type":"flags.16?string"},{"name":"bot_group_admin_rights","type":"flags.17?ChatAdminRights"},{"name":"bot_broadcast_admin_rights","type":"flags.18?ChatAdminRights"},{"name":"premium_gifts","type":"flags.19?Vector"},{"name":"wallpaper","type":"flags.24?WallPaper"},{"name":"stories","type":"flags.25?PeerStories"}],"type":"UserFull"},{"id":"341499403","predicate":"contact","params":[{"name":"user_id","type":"long"},{"name":"mutual","type":"Bool"}],"type":"Contact"},{"id":"-1052885936","predicate":"importedContact","params":[{"name":"user_id","type":"long"},{"name":"client_id","type":"long"}],"type":"ImportedContact"},{"id":"383348795","predicate":"contactStatus","params":[{"name":"user_id","type":"long"},{"name":"status","type":"UserStatus"}],"type":"ContactStatus"},{"id":"-1219778094","predicate":"contacts.contactsNotModified","params":[],"type":"contacts.Contacts"},{"id":"-353862078","predicate":"contacts.contacts","params":[{"name":"contacts","type":"Vector"},{"name":"saved_count","type":"int"},{"name":"users","type":"Vector"}],"type":"contacts.Contacts"},{"id":"2010127419","predicate":"contacts.importedContacts","params":[{"name":"imported","type":"Vector"},{"name":"popular_invites","type":"Vector"},{"name":"retry_contacts","type":"Vector"},{"name":"users","type":"Vector"}],"type":"contacts.ImportedContacts"},{"id":"182326673","predicate":"contacts.blocked","params":[{"name":"blocked","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"contacts.Blocked"},{"id":"-513392236","predicate":"contacts.blockedSlice","params":[{"name":"count","type":"int"},{"name":"blocked","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"contacts.Blocked"},{"id":"364538944","predicate":"messages.dialogs","params":[{"name":"dialogs","type":"Vector"},{"name":"messages","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"messages.Dialogs"},{"id":"1910543603","predicate":"messages.dialogsSlice","params":[{"name":"count","type":"int"},{"name":"dialogs","type":"Vector"},{"name":"messages","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"messages.Dialogs"},{"id":"-1938715001","predicate":"messages.messages","params":[{"name":"messages","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"messages.Messages"},{"id":"978610270","predicate":"messages.messagesSlice","params":[{"name":"flags","type":"#"},{"name":"inexact","type":"flags.1?true"},{"name":"count","type":"int"},{"name":"next_rate","type":"flags.0?int"},{"name":"offset_id_offset","type":"flags.2?int"},{"name":"messages","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"messages.Messages"},{"id":"1694474197","predicate":"messages.chats","params":[{"name":"chats","type":"Vector"}],"type":"messages.Chats"},{"id":"-438840932","predicate":"messages.chatFull","params":[{"name":"full_chat","type":"ChatFull"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"messages.ChatFull"},{"id":"-1269012015","predicate":"messages.affectedHistory","params":[{"name":"pts","type":"int"},{"name":"pts_count","type":"int"},{"name":"offset","type":"int"}],"type":"messages.AffectedHistory"},{"id":"1474492012","predicate":"inputMessagesFilterEmpty","params":[],"type":"MessagesFilter"},{"id":"-1777752804","predicate":"inputMessagesFilterPhotos","params":[],"type":"MessagesFilter"},{"id":"-1614803355","predicate":"inputMessagesFilterVideo","params":[],"type":"MessagesFilter"},{"id":"1458172132","predicate":"inputMessagesFilterPhotoVideo","params":[],"type":"MessagesFilter"},{"id":"-1629621880","predicate":"inputMessagesFilterDocument","params":[],"type":"MessagesFilter"},{"id":"2129714567","predicate":"inputMessagesFilterUrl","params":[],"type":"MessagesFilter"},{"id":"-3644025","predicate":"inputMessagesFilterGif","params":[],"type":"MessagesFilter"},{"id":"522914557","predicate":"updateNewMessage","params":[{"name":"message","type":"Message"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"}],"type":"Update"},{"id":"1318109142","predicate":"updateMessageID","params":[{"name":"id","type":"int"},{"name":"random_id","type":"long"}],"type":"Update"},{"id":"-1576161051","predicate":"updateDeleteMessages","params":[{"name":"messages","type":"Vector"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"}],"type":"Update"},{"id":"-1071741569","predicate":"updateUserTyping","params":[{"name":"user_id","type":"long"},{"name":"action","type":"SendMessageAction"}],"type":"Update"},{"id":"-2092401936","predicate":"updateChatUserTyping","params":[{"name":"chat_id","type":"long"},{"name":"from_id","type":"Peer"},{"name":"action","type":"SendMessageAction"}],"type":"Update"},{"id":"125178264","predicate":"updateChatParticipants","params":[{"name":"participants","type":"ChatParticipants"}],"type":"Update"},{"id":"-440534818","predicate":"updateUserStatus","params":[{"name":"user_id","type":"long"},{"name":"status","type":"UserStatus"}],"type":"Update"},{"id":"-1484486364","predicate":"updateUserName","params":[{"name":"user_id","type":"long"},{"name":"first_name","type":"string"},{"name":"last_name","type":"string"},{"name":"usernames","type":"Vector"}],"type":"Update"},{"id":"-1991136273","predicate":"updateNewAuthorization","params":[{"name":"flags","type":"#"},{"name":"unconfirmed","type":"flags.0?true"},{"name":"hash","type":"long"},{"name":"date","type":"flags.0?int"},{"name":"device","type":"flags.0?string"},{"name":"location","type":"flags.0?string"}],"type":"Update"},{"id":"-1519637954","predicate":"updates.state","params":[{"name":"pts","type":"int"},{"name":"qts","type":"int"},{"name":"date","type":"int"},{"name":"seq","type":"int"},{"name":"unread_count","type":"int"}],"type":"updates.State"},{"id":"1567990072","predicate":"updates.differenceEmpty","params":[{"name":"date","type":"int"},{"name":"seq","type":"int"}],"type":"updates.Difference"},{"id":"16030880","predicate":"updates.difference","params":[{"name":"new_messages","type":"Vector"},{"name":"new_encrypted_messages","type":"Vector"},{"name":"other_updates","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"},{"name":"state","type":"updates.State"}],"type":"updates.Difference"},{"id":"-1459938943","predicate":"updates.differenceSlice","params":[{"name":"new_messages","type":"Vector"},{"name":"new_encrypted_messages","type":"Vector"},{"name":"other_updates","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"},{"name":"intermediate_state","type":"updates.State"}],"type":"updates.Difference"},{"id":"-484987010","predicate":"updatesTooLong","params":[],"type":"Updates"},{"id":"826001400","predicate":"updateShortMessage","params":[{"name":"flags","type":"#"},{"name":"out","type":"flags.1?true"},{"name":"mentioned","type":"flags.4?true"},{"name":"media_unread","type":"flags.5?true"},{"name":"silent","type":"flags.13?true"},{"name":"id","type":"int"},{"name":"user_id","type":"long"},{"name":"message","type":"string"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"},{"name":"date","type":"int"},{"name":"fwd_from","type":"flags.2?MessageFwdHeader"},{"name":"via_bot_id","type":"flags.11?long"},{"name":"reply_to","type":"flags.3?MessageReplyHeader"},{"name":"entities","type":"flags.7?Vector"},{"name":"ttl_period","type":"flags.25?int"}],"type":"Updates"},{"id":"1299050149","predicate":"updateShortChatMessage","params":[{"name":"flags","type":"#"},{"name":"out","type":"flags.1?true"},{"name":"mentioned","type":"flags.4?true"},{"name":"media_unread","type":"flags.5?true"},{"name":"silent","type":"flags.13?true"},{"name":"id","type":"int"},{"name":"from_id","type":"long"},{"name":"chat_id","type":"long"},{"name":"message","type":"string"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"},{"name":"date","type":"int"},{"name":"fwd_from","type":"flags.2?MessageFwdHeader"},{"name":"via_bot_id","type":"flags.11?long"},{"name":"reply_to","type":"flags.3?MessageReplyHeader"},{"name":"entities","type":"flags.7?Vector"},{"name":"ttl_period","type":"flags.25?int"}],"type":"Updates"},{"id":"2027216577","predicate":"updateShort","params":[{"name":"update","type":"Update"},{"name":"date","type":"int"}],"type":"Updates"},{"id":"1918567619","predicate":"updatesCombined","params":[{"name":"updates","type":"Vector"},{"name":"users","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"date","type":"int"},{"name":"seq_start","type":"int"},{"name":"seq","type":"int"}],"type":"Updates"},{"id":"1957577280","predicate":"updates","params":[{"name":"updates","type":"Vector"},{"name":"users","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"date","type":"int"},{"name":"seq","type":"int"}],"type":"Updates"},{"id":"-1916114267","predicate":"photos.photos","params":[{"name":"photos","type":"Vector"},{"name":"users","type":"Vector"}],"type":"photos.Photos"},{"id":"352657236","predicate":"photos.photosSlice","params":[{"name":"count","type":"int"},{"name":"photos","type":"Vector"},{"name":"users","type":"Vector"}],"type":"photos.Photos"},{"id":"539045032","predicate":"photos.photo","params":[{"name":"photo","type":"Photo"},{"name":"users","type":"Vector"}],"type":"photos.Photo"},{"id":"157948117","predicate":"upload.file","params":[{"name":"type","type":"storage.FileType"},{"name":"mtime","type":"int"},{"name":"bytes","type":"bytes"}],"type":"upload.File"},{"id":"414687501","predicate":"dcOption","params":[{"name":"flags","type":"#"},{"name":"ipv6","type":"flags.0?true"},{"name":"media_only","type":"flags.1?true"},{"name":"tcpo_only","type":"flags.2?true"},{"name":"cdn","type":"flags.3?true"},{"name":"static","type":"flags.4?true"},{"name":"this_port_only","type":"flags.5?true"},{"name":"id","type":"int"},{"name":"ip_address","type":"string"},{"name":"port","type":"int"},{"name":"secret","type":"flags.10?bytes"}],"type":"DcOption"},{"id":"-870702050","predicate":"config","params":[{"name":"flags","type":"#"},{"name":"default_p2p_contacts","type":"flags.3?true"},{"name":"preload_featured_stickers","type":"flags.4?true"},{"name":"revoke_pm_inbox","type":"flags.6?true"},{"name":"blocked_mode","type":"flags.8?true"},{"name":"force_try_ipv6","type":"flags.14?true"},{"name":"date","type":"int"},{"name":"expires","type":"int"},{"name":"test_mode","type":"Bool"},{"name":"this_dc","type":"int"},{"name":"dc_options","type":"Vector"},{"name":"dc_txt_domain_name","type":"string"},{"name":"chat_size_max","type":"int"},{"name":"megagroup_size_max","type":"int"},{"name":"forwarded_count_max","type":"int"},{"name":"online_update_period_ms","type":"int"},{"name":"offline_blur_timeout_ms","type":"int"},{"name":"offline_idle_timeout_ms","type":"int"},{"name":"online_cloud_timeout_ms","type":"int"},{"name":"notify_cloud_delay_ms","type":"int"},{"name":"notify_default_delay_ms","type":"int"},{"name":"push_chat_period_ms","type":"int"},{"name":"push_chat_limit","type":"int"},{"name":"edit_time_limit","type":"int"},{"name":"revoke_time_limit","type":"int"},{"name":"revoke_pm_time_limit","type":"int"},{"name":"rating_e_decay","type":"int"},{"name":"stickers_recent_limit","type":"int"},{"name":"channels_read_media_period","type":"int"},{"name":"tmp_sessions","type":"flags.0?int"},{"name":"call_receive_timeout_ms","type":"int"},{"name":"call_ring_timeout_ms","type":"int"},{"name":"call_connect_timeout_ms","type":"int"},{"name":"call_packet_timeout_ms","type":"int"},{"name":"me_url_prefix","type":"string"},{"name":"autoupdate_url_prefix","type":"flags.7?string"},{"name":"gif_search_username","type":"flags.9?string"},{"name":"venue_search_username","type":"flags.10?string"},{"name":"img_search_username","type":"flags.11?string"},{"name":"static_maps_provider","type":"flags.12?string"},{"name":"caption_length_max","type":"int"},{"name":"message_length_max","type":"int"},{"name":"webfile_dc_id","type":"int"},{"name":"suggested_lang_code","type":"flags.2?string"},{"name":"lang_pack_version","type":"flags.2?int"},{"name":"base_lang_pack_version","type":"flags.2?int"},{"name":"reactions_default","type":"flags.15?Reaction"},{"name":"autologin_token","type":"flags.16?string"}],"type":"Config"},{"id":"-1910892683","predicate":"nearestDc","params":[{"name":"country","type":"string"},{"name":"this_dc","type":"int"},{"name":"nearest_dc","type":"int"}],"type":"NearestDc"},{"id":"-860107216","predicate":"help.appUpdate","params":[{"name":"flags","type":"#"},{"name":"can_not_skip","type":"flags.0?true"},{"name":"id","type":"int"},{"name":"version","type":"string"},{"name":"text","type":"string"},{"name":"entities","type":"Vector"},{"name":"document","type":"flags.1?Document"},{"name":"url","type":"flags.2?string"},{"name":"sticker","type":"flags.3?Document"}],"type":"help.AppUpdate"},{"id":"-1000708810","predicate":"help.noAppUpdate","params":[],"type":"help.AppUpdate"},{"id":"415997816","predicate":"help.inviteText","params":[{"name":"message","type":"string"}],"type":"help.InviteText"},{"id":"314359194","predicate":"updateNewEncryptedMessage","params":[{"name":"message","type":"EncryptedMessage"},{"name":"qts","type":"int"}],"type":"Update"},{"id":"386986326","predicate":"updateEncryptedChatTyping","params":[{"name":"chat_id","type":"int"}],"type":"Update"},{"id":"-1264392051","predicate":"updateEncryption","params":[{"name":"chat","type":"EncryptedChat"},{"name":"date","type":"int"}],"type":"Update"},{"id":"956179895","predicate":"updateEncryptedMessagesRead","params":[{"name":"chat_id","type":"int"},{"name":"max_date","type":"int"},{"name":"date","type":"int"}],"type":"Update"},{"id":"-1417756512","predicate":"encryptedChatEmpty","params":[{"name":"id","type":"int"}],"type":"EncryptedChat"},{"id":"1722964307","predicate":"encryptedChatWaiting","params":[{"name":"id","type":"int"},{"name":"access_hash","type":"long"},{"name":"date","type":"int"},{"name":"admin_id","type":"long"},{"name":"participant_id","type":"long"}],"type":"EncryptedChat"},{"id":"1223809356","predicate":"encryptedChatRequested","params":[{"name":"flags","type":"#"},{"name":"folder_id","type":"flags.0?int"},{"name":"id","type":"int"},{"name":"access_hash","type":"long"},{"name":"date","type":"int"},{"name":"admin_id","type":"long"},{"name":"participant_id","type":"long"},{"name":"g_a","type":"bytes"}],"type":"EncryptedChat"},{"id":"1643173063","predicate":"encryptedChat","params":[{"name":"id","type":"int"},{"name":"access_hash","type":"long"},{"name":"date","type":"int"},{"name":"admin_id","type":"long"},{"name":"participant_id","type":"long"},{"name":"g_a_or_b","type":"bytes"},{"name":"key_fingerprint","type":"long"}],"type":"EncryptedChat"},{"id":"505183301","predicate":"encryptedChatDiscarded","params":[{"name":"flags","type":"#"},{"name":"history_deleted","type":"flags.0?true"},{"name":"id","type":"int"}],"type":"EncryptedChat"},{"id":"-247351839","predicate":"inputEncryptedChat","params":[{"name":"chat_id","type":"int"},{"name":"access_hash","type":"long"}],"type":"InputEncryptedChat"},{"id":"-1038136962","predicate":"encryptedFileEmpty","params":[],"type":"EncryptedFile"},{"id":"-1476358952","predicate":"encryptedFile","params":[{"name":"id","type":"long"},{"name":"access_hash","type":"long"},{"name":"size","type":"long"},{"name":"dc_id","type":"int"},{"name":"key_fingerprint","type":"int"}],"type":"EncryptedFile"},{"id":"406307684","predicate":"inputEncryptedFileEmpty","params":[],"type":"InputEncryptedFile"},{"id":"1690108678","predicate":"inputEncryptedFileUploaded","params":[{"name":"id","type":"long"},{"name":"parts","type":"int"},{"name":"md5_checksum","type":"string"},{"name":"key_fingerprint","type":"int"}],"type":"InputEncryptedFile"},{"id":"1511503333","predicate":"inputEncryptedFile","params":[{"name":"id","type":"long"},{"name":"access_hash","type":"long"}],"type":"InputEncryptedFile"},{"id":"-182231723","predicate":"inputEncryptedFileLocation","params":[{"name":"id","type":"long"},{"name":"access_hash","type":"long"}],"type":"InputFileLocation"},{"id":"-317144808","predicate":"encryptedMessage","params":[{"name":"random_id","type":"long"},{"name":"chat_id","type":"int"},{"name":"date","type":"int"},{"name":"bytes","type":"bytes"},{"name":"file","type":"EncryptedFile"}],"type":"EncryptedMessage"},{"id":"594758406","predicate":"encryptedMessageService","params":[{"name":"random_id","type":"long"},{"name":"chat_id","type":"int"},{"name":"date","type":"int"},{"name":"bytes","type":"bytes"}],"type":"EncryptedMessage"},{"id":"-1058912715","predicate":"messages.dhConfigNotModified","params":[{"name":"random","type":"bytes"}],"type":"messages.DhConfig"},{"id":"740433629","predicate":"messages.dhConfig","params":[{"name":"g","type":"int"},{"name":"p","type":"bytes"},{"name":"version","type":"int"},{"name":"random","type":"bytes"}],"type":"messages.DhConfig"},{"id":"1443858741","predicate":"messages.sentEncryptedMessage","params":[{"name":"date","type":"int"}],"type":"messages.SentEncryptedMessage"},{"id":"-1802240206","predicate":"messages.sentEncryptedFile","params":[{"name":"date","type":"int"},{"name":"file","type":"EncryptedFile"}],"type":"messages.SentEncryptedMessage"},{"id":"-95482955","predicate":"inputFileBig","params":[{"name":"id","type":"long"},{"name":"parts","type":"int"},{"name":"name","type":"string"}],"type":"InputFile"},{"id":"767652808","predicate":"inputEncryptedFileBigUploaded","params":[{"name":"id","type":"long"},{"name":"parts","type":"int"},{"name":"key_fingerprint","type":"int"}],"type":"InputEncryptedFile"},{"id":"1037718609","predicate":"updateChatParticipantAdd","params":[{"name":"chat_id","type":"long"},{"name":"user_id","type":"long"},{"name":"inviter_id","type":"long"},{"name":"date","type":"int"},{"name":"version","type":"int"}],"type":"Update"},{"id":"-483443337","predicate":"updateChatParticipantDelete","params":[{"name":"chat_id","type":"long"},{"name":"user_id","type":"long"},{"name":"version","type":"int"}],"type":"Update"},{"id":"-1906403213","predicate":"updateDcOptions","params":[{"name":"dc_options","type":"Vector"}],"type":"Update"},{"id":"1530447553","predicate":"inputMediaUploadedDocument","params":[{"name":"flags","type":"#"},{"name":"nosound_video","type":"flags.3?true"},{"name":"force_file","type":"flags.4?true"},{"name":"spoiler","type":"flags.5?true"},{"name":"file","type":"InputFile"},{"name":"thumb","type":"flags.2?InputFile"},{"name":"mime_type","type":"string"},{"name":"attributes","type":"Vector"},{"name":"stickers","type":"flags.0?Vector"},{"name":"ttl_seconds","type":"flags.1?int"}],"type":"InputMedia"},{"id":"860303448","predicate":"inputMediaDocument","params":[{"name":"flags","type":"#"},{"name":"spoiler","type":"flags.2?true"},{"name":"id","type":"InputDocument"},{"name":"ttl_seconds","type":"flags.0?int"},{"name":"query","type":"flags.1?string"}],"type":"InputMedia"},{"id":"1291114285","predicate":"messageMediaDocument","params":[{"name":"flags","type":"#"},{"name":"nopremium","type":"flags.3?true"},{"name":"spoiler","type":"flags.4?true"},{"name":"video","type":"flags.6?true"},{"name":"round","type":"flags.7?true"},{"name":"voice","type":"flags.8?true"},{"name":"document","type":"flags.0?Document"},{"name":"alt_document","type":"flags.5?Document"},{"name":"ttl_seconds","type":"flags.2?int"}],"type":"MessageMedia"},{"id":"1928391342","predicate":"inputDocumentEmpty","params":[],"type":"InputDocument"},{"id":"448771445","predicate":"inputDocument","params":[{"name":"id","type":"long"},{"name":"access_hash","type":"long"},{"name":"file_reference","type":"bytes"}],"type":"InputDocument"},{"id":"-1160743548","predicate":"inputDocumentFileLocation","params":[{"name":"id","type":"long"},{"name":"access_hash","type":"long"},{"name":"file_reference","type":"bytes"},{"name":"thumb_size","type":"string"}],"type":"InputFileLocation"},{"id":"922273905","predicate":"documentEmpty","params":[{"name":"id","type":"long"}],"type":"Document"},{"id":"-1881881384","predicate":"document","params":[{"name":"flags","type":"#"},{"name":"id","type":"long"},{"name":"access_hash","type":"long"},{"name":"file_reference","type":"bytes"},{"name":"date","type":"int"},{"name":"mime_type","type":"string"},{"name":"size","type":"long"},{"name":"thumbs","type":"flags.0?Vector"},{"name":"video_thumbs","type":"flags.1?Vector"},{"name":"dc_id","type":"int"},{"name":"attributes","type":"Vector"}],"type":"Document"},{"id":"398898678","predicate":"help.support","params":[{"name":"phone_number","type":"string"},{"name":"user","type":"User"}],"type":"help.Support"},{"id":"-1613493288","predicate":"notifyPeer","params":[{"name":"peer","type":"Peer"}],"type":"NotifyPeer"},{"id":"-1261946036","predicate":"notifyUsers","params":[],"type":"NotifyPeer"},{"id":"-1073230141","predicate":"notifyChats","params":[],"type":"NotifyPeer"},{"id":"-1094555409","predicate":"updateNotifySettings","params":[{"name":"peer","type":"NotifyPeer"},{"name":"notify_settings","type":"PeerNotifySettings"}],"type":"Update"},{"id":"381645902","predicate":"sendMessageTypingAction","params":[],"type":"SendMessageAction"},{"id":"-44119819","predicate":"sendMessageCancelAction","params":[],"type":"SendMessageAction"},{"id":"-1584933265","predicate":"sendMessageRecordVideoAction","params":[],"type":"SendMessageAction"},{"id":"-378127636","predicate":"sendMessageUploadVideoAction","params":[{"name":"progress","type":"int"}],"type":"SendMessageAction"},{"id":"-718310409","predicate":"sendMessageRecordAudioAction","params":[],"type":"SendMessageAction"},{"id":"-212740181","predicate":"sendMessageUploadAudioAction","params":[{"name":"progress","type":"int"}],"type":"SendMessageAction"},{"id":"-774682074","predicate":"sendMessageUploadPhotoAction","params":[{"name":"progress","type":"int"}],"type":"SendMessageAction"},{"id":"-1441998364","predicate":"sendMessageUploadDocumentAction","params":[{"name":"progress","type":"int"}],"type":"SendMessageAction"},{"id":"393186209","predicate":"sendMessageGeoLocationAction","params":[],"type":"SendMessageAction"},{"id":"1653390447","predicate":"sendMessageChooseContactAction","params":[],"type":"SendMessageAction"},{"id":"-1290580579","predicate":"contacts.found","params":[{"name":"my_results","type":"Vector"},{"name":"results","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"contacts.Found"},{"id":"-337352679","predicate":"updateServiceNotification","params":[{"name":"flags","type":"#"},{"name":"popup","type":"flags.0?true"},{"name":"invert_media","type":"flags.2?true"},{"name":"inbox_date","type":"flags.1?int"},{"name":"type","type":"string"},{"name":"message","type":"string"},{"name":"media","type":"MessageMedia"},{"name":"entities","type":"Vector"}],"type":"Update"},{"id":"-496024847","predicate":"userStatusRecently","params":[],"type":"UserStatus"},{"id":"129960444","predicate":"userStatusLastWeek","params":[],"type":"UserStatus"},{"id":"2011940674","predicate":"userStatusLastMonth","params":[],"type":"UserStatus"},{"id":"-298113238","predicate":"updatePrivacy","params":[{"name":"key","type":"PrivacyKey"},{"name":"rules","type":"Vector"}],"type":"Update"},{"id":"1335282456","predicate":"inputPrivacyKeyStatusTimestamp","params":[],"type":"InputPrivacyKey"},{"id":"-1137792208","predicate":"privacyKeyStatusTimestamp","params":[],"type":"PrivacyKey"},{"id":"218751099","predicate":"inputPrivacyValueAllowContacts","params":[],"type":"InputPrivacyRule"},{"id":"407582158","predicate":"inputPrivacyValueAllowAll","params":[],"type":"InputPrivacyRule"},{"id":"320652927","predicate":"inputPrivacyValueAllowUsers","params":[{"name":"users","type":"Vector"}],"type":"InputPrivacyRule"},{"id":"195371015","predicate":"inputPrivacyValueDisallowContacts","params":[],"type":"InputPrivacyRule"},{"id":"-697604407","predicate":"inputPrivacyValueDisallowAll","params":[],"type":"InputPrivacyRule"},{"id":"-1877932953","predicate":"inputPrivacyValueDisallowUsers","params":[{"name":"users","type":"Vector"}],"type":"InputPrivacyRule"},{"id":"-123988","predicate":"privacyValueAllowContacts","params":[],"type":"PrivacyRule"},{"id":"1698855810","predicate":"privacyValueAllowAll","params":[],"type":"PrivacyRule"},{"id":"-1198497870","predicate":"privacyValueAllowUsers","params":[{"name":"users","type":"Vector"}],"type":"PrivacyRule"},{"id":"-125240806","predicate":"privacyValueDisallowContacts","params":[],"type":"PrivacyRule"},{"id":"-1955338397","predicate":"privacyValueDisallowAll","params":[],"type":"PrivacyRule"},{"id":"-463335103","predicate":"privacyValueDisallowUsers","params":[{"name":"users","type":"Vector"}],"type":"PrivacyRule"},{"id":"1352683077","predicate":"account.privacyRules","params":[{"name":"rules","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"account.PrivacyRules"},{"id":"-1194283041","predicate":"accountDaysTTL","params":[{"name":"days","type":"int"}],"type":"AccountDaysTTL"},{"id":"88680979","predicate":"updateUserPhone","params":[{"name":"user_id","type":"long"},{"name":"phone","type":"string"}],"type":"Update"},{"id":"1815593308","predicate":"documentAttributeImageSize","params":[{"name":"w","type":"int"},{"name":"h","type":"int"}],"type":"DocumentAttribute"},{"id":"297109817","predicate":"documentAttributeAnimated","params":[],"type":"DocumentAttribute"},{"id":"1662637586","predicate":"documentAttributeSticker","params":[{"name":"flags","type":"#"},{"name":"mask","type":"flags.1?true"},{"name":"alt","type":"string"},{"name":"stickerset","type":"InputStickerSet"},{"name":"mask_coords","type":"flags.0?MaskCoords"}],"type":"DocumentAttribute"},{"id":"-745541182","predicate":"documentAttributeVideo","params":[{"name":"flags","type":"#"},{"name":"round_message","type":"flags.0?true"},{"name":"supports_streaming","type":"flags.1?true"},{"name":"nosound","type":"flags.3?true"},{"name":"duration","type":"double"},{"name":"w","type":"int"},{"name":"h","type":"int"},{"name":"preload_prefix_size","type":"flags.2?int"}],"type":"DocumentAttribute"},{"id":"-1739392570","predicate":"documentAttributeAudio","params":[{"name":"flags","type":"#"},{"name":"voice","type":"flags.10?true"},{"name":"duration","type":"int"},{"name":"title","type":"flags.0?string"},{"name":"performer","type":"flags.1?string"},{"name":"waveform","type":"flags.2?bytes"}],"type":"DocumentAttribute"},{"id":"358154344","predicate":"documentAttributeFilename","params":[{"name":"file_name","type":"string"}],"type":"DocumentAttribute"},{"id":"-244016606","predicate":"messages.stickersNotModified","params":[],"type":"messages.Stickers"},{"id":"816245886","predicate":"messages.stickers","params":[{"name":"hash","type":"long"},{"name":"stickers","type":"Vector"}],"type":"messages.Stickers"},{"id":"313694676","predicate":"stickerPack","params":[{"name":"emoticon","type":"string"},{"name":"documents","type":"Vector"}],"type":"StickerPack"},{"id":"-395967805","predicate":"messages.allStickersNotModified","params":[],"type":"messages.AllStickers"},{"id":"-843329861","predicate":"messages.allStickers","params":[{"name":"hash","type":"long"},{"name":"sets","type":"Vector"}],"type":"messages.AllStickers"},{"id":"-1667805217","predicate":"updateReadHistoryInbox","params":[{"name":"flags","type":"#"},{"name":"folder_id","type":"flags.0?int"},{"name":"peer","type":"Peer"},{"name":"max_id","type":"int"},{"name":"still_unread_count","type":"int"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"}],"type":"Update"},{"id":"791617983","predicate":"updateReadHistoryOutbox","params":[{"name":"peer","type":"Peer"},{"name":"max_id","type":"int"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"}],"type":"Update"},{"id":"-2066640507","predicate":"messages.affectedMessages","params":[{"name":"pts","type":"int"},{"name":"pts_count","type":"int"}],"type":"messages.AffectedMessages"},{"id":"2139689491","predicate":"updateWebPage","params":[{"name":"webpage","type":"WebPage"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"}],"type":"Update"},{"id":"555358088","predicate":"webPageEmpty","params":[{"name":"flags","type":"#"},{"name":"id","type":"long"},{"name":"url","type":"flags.0?string"}],"type":"WebPage"},{"id":"-1328464313","predicate":"webPagePending","params":[{"name":"flags","type":"#"},{"name":"id","type":"long"},{"name":"url","type":"flags.0?string"},{"name":"date","type":"int"}],"type":"WebPage"},{"id":"-392411726","predicate":"webPage","params":[{"name":"flags","type":"#"},{"name":"has_large_media","type":"flags.13?true"},{"name":"id","type":"long"},{"name":"url","type":"string"},{"name":"display_url","type":"string"},{"name":"hash","type":"int"},{"name":"type","type":"flags.0?string"},{"name":"site_name","type":"flags.1?string"},{"name":"title","type":"flags.2?string"},{"name":"description","type":"flags.3?string"},{"name":"photo","type":"flags.4?Photo"},{"name":"embed_url","type":"flags.5?string"},{"name":"embed_type","type":"flags.5?string"},{"name":"embed_width","type":"flags.6?int"},{"name":"embed_height","type":"flags.6?int"},{"name":"duration","type":"flags.7?int"},{"name":"author","type":"flags.8?string"},{"name":"document","type":"flags.9?Document"},{"name":"cached_page","type":"flags.10?Page"},{"name":"attributes","type":"flags.12?Vector"}],"type":"WebPage"},{"id":"-571405253","predicate":"messageMediaWebPage","params":[{"name":"flags","type":"#"},{"name":"force_large_media","type":"flags.0?true"},{"name":"force_small_media","type":"flags.1?true"},{"name":"manual","type":"flags.3?true"},{"name":"safe","type":"flags.4?true"},{"name":"webpage","type":"WebPage"}],"type":"MessageMedia"},{"id":"-1392388579","predicate":"authorization","params":[{"name":"flags","type":"#"},{"name":"current","type":"flags.0?true"},{"name":"official_app","type":"flags.1?true"},{"name":"password_pending","type":"flags.2?true"},{"name":"encrypted_requests_disabled","type":"flags.3?true"},{"name":"call_requests_disabled","type":"flags.4?true"},{"name":"unconfirmed","type":"flags.5?true"},{"name":"hash","type":"long"},{"name":"device_model","type":"string"},{"name":"platform","type":"string"},{"name":"system_version","type":"string"},{"name":"api_id","type":"int"},{"name":"app_name","type":"string"},{"name":"app_version","type":"string"},{"name":"date_created","type":"int"},{"name":"date_active","type":"int"},{"name":"ip","type":"string"},{"name":"country","type":"string"},{"name":"region","type":"string"}],"type":"Authorization"},{"id":"1275039392","predicate":"account.authorizations","params":[{"name":"authorization_ttl_days","type":"int"},{"name":"authorizations","type":"Vector"}],"type":"account.Authorizations"},{"id":"-1787080453","predicate":"account.password","params":[{"name":"flags","type":"#"},{"name":"has_recovery","type":"flags.0?true"},{"name":"has_secure_values","type":"flags.1?true"},{"name":"has_password","type":"flags.2?true"},{"name":"current_algo","type":"flags.2?PasswordKdfAlgo"},{"name":"srp_B","type":"flags.2?bytes"},{"name":"srp_id","type":"flags.2?long"},{"name":"hint","type":"flags.3?string"},{"name":"email_unconfirmed_pattern","type":"flags.4?string"},{"name":"new_algo","type":"PasswordKdfAlgo"},{"name":"new_secure_algo","type":"SecurePasswordKdfAlgo"},{"name":"secure_random","type":"bytes"},{"name":"pending_reset_date","type":"flags.5?int"},{"name":"login_email_pattern","type":"flags.6?string"}],"type":"account.Password"},{"id":"-1705233435","predicate":"account.passwordSettings","params":[{"name":"flags","type":"#"},{"name":"email","type":"flags.0?string"},{"name":"secure_settings","type":"flags.1?SecureSecretSettings"}],"type":"account.PasswordSettings"},{"id":"-1036572727","predicate":"account.passwordInputSettings","params":[{"name":"flags","type":"#"},{"name":"new_algo","type":"flags.0?PasswordKdfAlgo"},{"name":"new_password_hash","type":"flags.0?bytes"},{"name":"hint","type":"flags.0?string"},{"name":"email","type":"flags.1?string"},{"name":"new_secure_settings","type":"flags.2?SecureSecretSettings"}],"type":"account.PasswordInputSettings"},{"id":"326715557","predicate":"auth.passwordRecovery","params":[{"name":"email_pattern","type":"string"}],"type":"auth.PasswordRecovery"},{"id":"-1052959727","predicate":"inputMediaVenue","params":[{"name":"geo_point","type":"InputGeoPoint"},{"name":"title","type":"string"},{"name":"address","type":"string"},{"name":"provider","type":"string"},{"name":"venue_id","type":"string"},{"name":"venue_type","type":"string"}],"type":"InputMedia"},{"id":"784356159","predicate":"messageMediaVenue","params":[{"name":"geo","type":"GeoPoint"},{"name":"title","type":"string"},{"name":"address","type":"string"},{"name":"provider","type":"string"},{"name":"venue_id","type":"string"},{"name":"venue_type","type":"string"}],"type":"MessageMedia"},{"id":"-1551583367","predicate":"receivedNotifyMessage","params":[{"name":"id","type":"int"},{"name":"flags","type":"int"}],"type":"ReceivedNotifyMessage"},{"id":"179611673","predicate":"chatInviteExported","params":[{"name":"flags","type":"#"},{"name":"revoked","type":"flags.0?true"},{"name":"permanent","type":"flags.5?true"},{"name":"request_needed","type":"flags.6?true"},{"name":"link","type":"string"},{"name":"admin_id","type":"long"},{"name":"date","type":"int"},{"name":"start_date","type":"flags.4?int"},{"name":"expire_date","type":"flags.1?int"},{"name":"usage_limit","type":"flags.2?int"},{"name":"usage","type":"flags.3?int"},{"name":"requested","type":"flags.7?int"},{"name":"title","type":"flags.8?string"}],"type":"ExportedChatInvite"},{"id":"1516793212","predicate":"chatInviteAlready","params":[{"name":"chat","type":"Chat"}],"type":"ChatInvite"},{"id":"-840897472","predicate":"chatInvite","params":[{"name":"flags","type":"#"},{"name":"channel","type":"flags.0?true"},{"name":"broadcast","type":"flags.1?true"},{"name":"public","type":"flags.2?true"},{"name":"megagroup","type":"flags.3?true"},{"name":"request_needed","type":"flags.6?true"},{"name":"verified","type":"flags.7?true"},{"name":"scam","type":"flags.8?true"},{"name":"fake","type":"flags.9?true"},{"name":"title","type":"string"},{"name":"about","type":"flags.5?string"},{"name":"photo","type":"Photo"},{"name":"participants_count","type":"int"},{"name":"participants","type":"flags.4?Vector"},{"name":"color","type":"int"}],"type":"ChatInvite"},{"id":"51520707","predicate":"messageActionChatJoinedByLink","params":[{"name":"inviter_id","type":"long"}],"type":"MessageAction"},{"id":"-131960447","predicate":"updateReadMessagesContents","params":[{"name":"flags","type":"#"},{"name":"messages","type":"Vector"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"},{"name":"date","type":"flags.0?int"}],"type":"Update"},{"id":"-4838507","predicate":"inputStickerSetEmpty","params":[],"type":"InputStickerSet"},{"id":"-1645763991","predicate":"inputStickerSetID","params":[{"name":"id","type":"long"},{"name":"access_hash","type":"long"}],"type":"InputStickerSet"},{"id":"-2044933984","predicate":"inputStickerSetShortName","params":[{"name":"short_name","type":"string"}],"type":"InputStickerSet"},{"id":"768691932","predicate":"stickerSet","params":[{"name":"flags","type":"#"},{"name":"archived","type":"flags.1?true"},{"name":"official","type":"flags.2?true"},{"name":"masks","type":"flags.3?true"},{"name":"animated","type":"flags.5?true"},{"name":"videos","type":"flags.6?true"},{"name":"emojis","type":"flags.7?true"},{"name":"text_color","type":"flags.9?true"},{"name":"channel_emoji_status","type":"flags.10?true"},{"name":"installed_date","type":"flags.0?int"},{"name":"id","type":"long"},{"name":"access_hash","type":"long"},{"name":"title","type":"string"},{"name":"short_name","type":"string"},{"name":"thumbs","type":"flags.4?Vector"},{"name":"thumb_dc_id","type":"flags.4?int"},{"name":"thumb_version","type":"flags.4?int"},{"name":"thumb_document_id","type":"flags.8?long"},{"name":"count","type":"int"},{"name":"hash","type":"int"}],"type":"StickerSet"},{"id":"1846886166","predicate":"messages.stickerSet","params":[{"name":"set","type":"StickerSet"},{"name":"packs","type":"Vector"},{"name":"keywords","type":"Vector"},{"name":"documents","type":"Vector"}],"type":"messages.StickerSet"},{"id":"559694904","predicate":"user","params":[{"name":"flags","type":"#"},{"name":"self","type":"flags.10?true"},{"name":"contact","type":"flags.11?true"},{"name":"mutual_contact","type":"flags.12?true"},{"name":"deleted","type":"flags.13?true"},{"name":"bot","type":"flags.14?true"},{"name":"bot_chat_history","type":"flags.15?true"},{"name":"bot_nochats","type":"flags.16?true"},{"name":"verified","type":"flags.17?true"},{"name":"restricted","type":"flags.18?true"},{"name":"min","type":"flags.20?true"},{"name":"bot_inline_geo","type":"flags.21?true"},{"name":"support","type":"flags.23?true"},{"name":"scam","type":"flags.24?true"},{"name":"apply_min_photo","type":"flags.25?true"},{"name":"fake","type":"flags.26?true"},{"name":"bot_attach_menu","type":"flags.27?true"},{"name":"premium","type":"flags.28?true"},{"name":"attach_menu_enabled","type":"flags.29?true"},{"name":"flags2","type":"#"},{"name":"bot_can_edit","type":"flags2.1?true"},{"name":"close_friend","type":"flags2.2?true"},{"name":"stories_hidden","type":"flags2.3?true"},{"name":"stories_unavailable","type":"flags2.4?true"},{"name":"id","type":"long"},{"name":"access_hash","type":"flags.0?long"},{"name":"first_name","type":"flags.1?string"},{"name":"last_name","type":"flags.2?string"},{"name":"username","type":"flags.3?string"},{"name":"phone","type":"flags.4?string"},{"name":"photo","type":"flags.5?UserProfilePhoto"},{"name":"status","type":"flags.6?UserStatus"},{"name":"bot_info_version","type":"flags.14?int"},{"name":"restriction_reason","type":"flags.18?Vector"},{"name":"bot_inline_placeholder","type":"flags.19?string"},{"name":"lang_code","type":"flags.22?string"},{"name":"emoji_status","type":"flags.30?EmojiStatus"},{"name":"usernames","type":"flags2.0?Vector"},{"name":"stories_max_id","type":"flags2.5?int"},{"name":"color","type":"flags2.8?PeerColor"},{"name":"profile_color","type":"flags2.9?PeerColor"}],"type":"User"},{"id":"-1032140601","predicate":"botCommand","params":[{"name":"command","type":"string"},{"name":"description","type":"string"}],"type":"BotCommand"},{"id":"-1892676777","predicate":"botInfo","params":[{"name":"flags","type":"#"},{"name":"user_id","type":"flags.0?long"},{"name":"description","type":"flags.1?string"},{"name":"description_photo","type":"flags.4?Photo"},{"name":"description_document","type":"flags.5?Document"},{"name":"commands","type":"flags.2?Vector"},{"name":"menu_button","type":"flags.3?BotMenuButton"}],"type":"BotInfo"},{"id":"-1560655744","predicate":"keyboardButton","params":[{"name":"text","type":"string"}],"type":"KeyboardButton"},{"id":"2002815875","predicate":"keyboardButtonRow","params":[{"name":"buttons","type":"Vector"}],"type":"KeyboardButtonRow"},{"id":"-1606526075","predicate":"replyKeyboardHide","params":[{"name":"flags","type":"#"},{"name":"selective","type":"flags.2?true"}],"type":"ReplyMarkup"},{"id":"-2035021048","predicate":"replyKeyboardForceReply","params":[{"name":"flags","type":"#"},{"name":"single_use","type":"flags.1?true"},{"name":"selective","type":"flags.2?true"},{"name":"placeholder","type":"flags.3?string"}],"type":"ReplyMarkup"},{"id":"-2049074735","predicate":"replyKeyboardMarkup","params":[{"name":"flags","type":"#"},{"name":"resize","type":"flags.0?true"},{"name":"single_use","type":"flags.1?true"},{"name":"selective","type":"flags.2?true"},{"name":"persistent","type":"flags.4?true"},{"name":"rows","type":"Vector"},{"name":"placeholder","type":"flags.3?string"}],"type":"ReplyMarkup"},{"id":"-571955892","predicate":"inputPeerUser","params":[{"name":"user_id","type":"long"},{"name":"access_hash","type":"long"}],"type":"InputPeer"},{"id":"-233744186","predicate":"inputUser","params":[{"name":"user_id","type":"long"},{"name":"access_hash","type":"long"}],"type":"InputUser"},{"id":"-1148011883","predicate":"messageEntityUnknown","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"}],"type":"MessageEntity"},{"id":"-100378723","predicate":"messageEntityMention","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"}],"type":"MessageEntity"},{"id":"1868782349","predicate":"messageEntityHashtag","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"}],"type":"MessageEntity"},{"id":"1827637959","predicate":"messageEntityBotCommand","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"}],"type":"MessageEntity"},{"id":"1859134776","predicate":"messageEntityUrl","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"}],"type":"MessageEntity"},{"id":"1692693954","predicate":"messageEntityEmail","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"}],"type":"MessageEntity"},{"id":"-1117713463","predicate":"messageEntityBold","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"}],"type":"MessageEntity"},{"id":"-2106619040","predicate":"messageEntityItalic","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"}],"type":"MessageEntity"},{"id":"681706865","predicate":"messageEntityCode","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"}],"type":"MessageEntity"},{"id":"1938967520","predicate":"messageEntityPre","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"},{"name":"language","type":"string"}],"type":"MessageEntity"},{"id":"1990644519","predicate":"messageEntityTextUrl","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"},{"name":"url","type":"string"}],"type":"MessageEntity"},{"id":"-1877614335","predicate":"updateShortSentMessage","params":[{"name":"flags","type":"#"},{"name":"out","type":"flags.1?true"},{"name":"id","type":"int"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"},{"name":"date","type":"int"},{"name":"media","type":"flags.9?MessageMedia"},{"name":"entities","type":"flags.7?Vector"},{"name":"ttl_period","type":"flags.25?int"}],"type":"Updates"},{"id":"-292807034","predicate":"inputChannelEmpty","params":[],"type":"InputChannel"},{"id":"-212145112","predicate":"inputChannel","params":[{"name":"channel_id","type":"long"},{"name":"access_hash","type":"long"}],"type":"InputChannel"},{"id":"-1566230754","predicate":"peerChannel","params":[{"name":"channel_id","type":"long"}],"type":"Peer"},{"id":"666680316","predicate":"inputPeerChannel","params":[{"name":"channel_id","type":"long"},{"name":"access_hash","type":"long"}],"type":"InputPeer"},{"id":"179174543","predicate":"channel","params":[{"name":"flags","type":"#"},{"name":"creator","type":"flags.0?true"},{"name":"left","type":"flags.2?true"},{"name":"broadcast","type":"flags.5?true"},{"name":"verified","type":"flags.7?true"},{"name":"megagroup","type":"flags.8?true"},{"name":"restricted","type":"flags.9?true"},{"name":"signatures","type":"flags.11?true"},{"name":"min","type":"flags.12?true"},{"name":"scam","type":"flags.19?true"},{"name":"has_link","type":"flags.20?true"},{"name":"has_geo","type":"flags.21?true"},{"name":"slowmode_enabled","type":"flags.22?true"},{"name":"call_active","type":"flags.23?true"},{"name":"call_not_empty","type":"flags.24?true"},{"name":"fake","type":"flags.25?true"},{"name":"gigagroup","type":"flags.26?true"},{"name":"noforwards","type":"flags.27?true"},{"name":"join_to_send","type":"flags.28?true"},{"name":"join_request","type":"flags.29?true"},{"name":"forum","type":"flags.30?true"},{"name":"flags2","type":"#"},{"name":"stories_hidden","type":"flags2.1?true"},{"name":"stories_hidden_min","type":"flags2.2?true"},{"name":"stories_unavailable","type":"flags2.3?true"},{"name":"id","type":"long"},{"name":"access_hash","type":"flags.13?long"},{"name":"title","type":"string"},{"name":"username","type":"flags.6?string"},{"name":"photo","type":"ChatPhoto"},{"name":"date","type":"int"},{"name":"restriction_reason","type":"flags.9?Vector"},{"name":"admin_rights","type":"flags.14?ChatAdminRights"},{"name":"banned_rights","type":"flags.15?ChatBannedRights"},{"name":"default_banned_rights","type":"flags.18?ChatBannedRights"},{"name":"participants_count","type":"flags.17?int"},{"name":"usernames","type":"flags2.0?Vector"},{"name":"stories_max_id","type":"flags2.4?int"},{"name":"color","type":"flags2.7?PeerColor"},{"name":"profile_color","type":"flags2.8?PeerColor"},{"name":"emoji_status","type":"flags2.9?EmojiStatus"},{"name":"level","type":"flags2.10?int"}],"type":"Chat"},{"id":"399807445","predicate":"channelForbidden","params":[{"name":"flags","type":"#"},{"name":"broadcast","type":"flags.5?true"},{"name":"megagroup","type":"flags.8?true"},{"name":"id","type":"long"},{"name":"access_hash","type":"long"},{"name":"title","type":"string"},{"name":"until_date","type":"flags.16?int"}],"type":"Chat"},{"id":"2131196633","predicate":"contacts.resolvedPeer","params":[{"name":"peer","type":"Peer"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"contacts.ResolvedPeer"},{"id":"254528367","predicate":"channelFull","params":[{"name":"flags","type":"#"},{"name":"can_view_participants","type":"flags.3?true"},{"name":"can_set_username","type":"flags.6?true"},{"name":"can_set_stickers","type":"flags.7?true"},{"name":"hidden_prehistory","type":"flags.10?true"},{"name":"can_set_location","type":"flags.16?true"},{"name":"has_scheduled","type":"flags.19?true"},{"name":"can_view_stats","type":"flags.20?true"},{"name":"blocked","type":"flags.22?true"},{"name":"flags2","type":"#"},{"name":"can_delete_channel","type":"flags2.0?true"},{"name":"antispam","type":"flags2.1?true"},{"name":"participants_hidden","type":"flags2.2?true"},{"name":"translations_disabled","type":"flags2.3?true"},{"name":"stories_pinned_available","type":"flags2.5?true"},{"name":"view_forum_as_messages","type":"flags2.6?true"},{"name":"id","type":"long"},{"name":"about","type":"string"},{"name":"participants_count","type":"flags.0?int"},{"name":"admins_count","type":"flags.1?int"},{"name":"kicked_count","type":"flags.2?int"},{"name":"banned_count","type":"flags.2?int"},{"name":"online_count","type":"flags.13?int"},{"name":"read_inbox_max_id","type":"int"},{"name":"read_outbox_max_id","type":"int"},{"name":"unread_count","type":"int"},{"name":"chat_photo","type":"Photo"},{"name":"notify_settings","type":"PeerNotifySettings"},{"name":"exported_invite","type":"flags.23?ExportedChatInvite"},{"name":"bot_info","type":"Vector"},{"name":"migrated_from_chat_id","type":"flags.4?long"},{"name":"migrated_from_max_id","type":"flags.4?int"},{"name":"pinned_msg_id","type":"flags.5?int"},{"name":"stickerset","type":"flags.8?StickerSet"},{"name":"available_min_id","type":"flags.9?int"},{"name":"folder_id","type":"flags.11?int"},{"name":"linked_chat_id","type":"flags.14?long"},{"name":"location","type":"flags.15?ChannelLocation"},{"name":"slowmode_seconds","type":"flags.17?int"},{"name":"slowmode_next_send_date","type":"flags.18?int"},{"name":"stats_dc","type":"flags.12?int"},{"name":"pts","type":"int"},{"name":"call","type":"flags.21?InputGroupCall"},{"name":"ttl_period","type":"flags.24?int"},{"name":"pending_suggestions","type":"flags.25?Vector"},{"name":"groupcall_default_join_as","type":"flags.26?Peer"},{"name":"theme_emoticon","type":"flags.27?string"},{"name":"requests_pending","type":"flags.28?int"},{"name":"recent_requesters","type":"flags.28?Vector"},{"name":"default_send_as","type":"flags.29?Peer"},{"name":"available_reactions","type":"flags.30?ChatReactions"},{"name":"stories","type":"flags2.4?PeerStories"},{"name":"wallpaper","type":"flags2.7?WallPaper"}],"type":"ChatFull"},{"id":"182649427","predicate":"messageRange","params":[{"name":"min_id","type":"int"},{"name":"max_id","type":"int"}],"type":"MessageRange"},{"id":"-948520370","predicate":"messages.channelMessages","params":[{"name":"flags","type":"#"},{"name":"inexact","type":"flags.1?true"},{"name":"pts","type":"int"},{"name":"count","type":"int"},{"name":"offset_id_offset","type":"flags.2?int"},{"name":"messages","type":"Vector"},{"name":"topics","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"messages.Messages"},{"id":"-1781355374","predicate":"messageActionChannelCreate","params":[{"name":"title","type":"string"}],"type":"MessageAction"},{"id":"277713951","predicate":"updateChannelTooLong","params":[{"name":"flags","type":"#"},{"name":"channel_id","type":"long"},{"name":"pts","type":"flags.0?int"}],"type":"Update"},{"id":"1666927625","predicate":"updateChannel","params":[{"name":"channel_id","type":"long"}],"type":"Update"},{"id":"1656358105","predicate":"updateNewChannelMessage","params":[{"name":"message","type":"Message"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"}],"type":"Update"},{"id":"-1842450928","predicate":"updateReadChannelInbox","params":[{"name":"flags","type":"#"},{"name":"folder_id","type":"flags.0?int"},{"name":"channel_id","type":"long"},{"name":"max_id","type":"int"},{"name":"still_unread_count","type":"int"},{"name":"pts","type":"int"}],"type":"Update"},{"id":"-1020437742","predicate":"updateDeleteChannelMessages","params":[{"name":"channel_id","type":"long"},{"name":"messages","type":"Vector"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"}],"type":"Update"},{"id":"-232346616","predicate":"updateChannelMessageViews","params":[{"name":"channel_id","type":"long"},{"name":"id","type":"int"},{"name":"views","type":"int"}],"type":"Update"},{"id":"1041346555","predicate":"updates.channelDifferenceEmpty","params":[{"name":"flags","type":"#"},{"name":"final","type":"flags.0?true"},{"name":"pts","type":"int"},{"name":"timeout","type":"flags.1?int"}],"type":"updates.ChannelDifference"},{"id":"-1531132162","predicate":"updates.channelDifferenceTooLong","params":[{"name":"flags","type":"#"},{"name":"final","type":"flags.0?true"},{"name":"timeout","type":"flags.1?int"},{"name":"dialog","type":"Dialog"},{"name":"messages","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"updates.ChannelDifference"},{"id":"543450958","predicate":"updates.channelDifference","params":[{"name":"flags","type":"#"},{"name":"final","type":"flags.0?true"},{"name":"pts","type":"int"},{"name":"timeout","type":"flags.1?int"},{"name":"new_messages","type":"Vector"},{"name":"other_updates","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"updates.ChannelDifference"},{"id":"-1798033689","predicate":"channelMessagesFilterEmpty","params":[],"type":"ChannelMessagesFilter"},{"id":"-847783593","predicate":"channelMessagesFilter","params":[{"name":"flags","type":"#"},{"name":"exclude_new_messages","type":"flags.1?true"},{"name":"ranges","type":"Vector"}],"type":"ChannelMessagesFilter"},{"id":"-1072953408","predicate":"channelParticipant","params":[{"name":"user_id","type":"long"},{"name":"date","type":"int"}],"type":"ChannelParticipant"},{"id":"900251559","predicate":"channelParticipantSelf","params":[{"name":"flags","type":"#"},{"name":"via_request","type":"flags.0?true"},{"name":"user_id","type":"long"},{"name":"inviter_id","type":"long"},{"name":"date","type":"int"}],"type":"ChannelParticipant"},{"id":"803602899","predicate":"channelParticipantCreator","params":[{"name":"flags","type":"#"},{"name":"user_id","type":"long"},{"name":"admin_rights","type":"ChatAdminRights"},{"name":"rank","type":"flags.0?string"}],"type":"ChannelParticipant"},{"id":"-566281095","predicate":"channelParticipantsRecent","params":[],"type":"ChannelParticipantsFilter"},{"id":"-1268741783","predicate":"channelParticipantsAdmins","params":[],"type":"ChannelParticipantsFilter"},{"id":"-1548400251","predicate":"channelParticipantsKicked","params":[{"name":"q","type":"string"}],"type":"ChannelParticipantsFilter"},{"id":"-1699676497","predicate":"channels.channelParticipants","params":[{"name":"count","type":"int"},{"name":"participants","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"channels.ChannelParticipants"},{"id":"-541588713","predicate":"channels.channelParticipant","params":[{"name":"participant","type":"ChannelParticipant"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"channels.ChannelParticipant"},{"id":"-462696732","predicate":"chatParticipantCreator","params":[{"name":"user_id","type":"long"}],"type":"ChatParticipant"},{"id":"-1600962725","predicate":"chatParticipantAdmin","params":[{"name":"user_id","type":"long"},{"name":"inviter_id","type":"long"},{"name":"date","type":"int"}],"type":"ChatParticipant"},{"id":"-674602590","predicate":"updateChatParticipantAdmin","params":[{"name":"chat_id","type":"long"},{"name":"user_id","type":"long"},{"name":"is_admin","type":"Bool"},{"name":"version","type":"int"}],"type":"Update"},{"id":"-519864430","predicate":"messageActionChatMigrateTo","params":[{"name":"channel_id","type":"long"}],"type":"MessageAction"},{"id":"-365344535","predicate":"messageActionChannelMigrateFrom","params":[{"name":"title","type":"string"},{"name":"chat_id","type":"long"}],"type":"MessageAction"},{"id":"-1328445861","predicate":"channelParticipantsBots","params":[],"type":"ChannelParticipantsFilter"},{"id":"2013922064","predicate":"help.termsOfService","params":[{"name":"flags","type":"#"},{"name":"popup","type":"flags.0?true"},{"name":"id","type":"DataJSON"},{"name":"text","type":"string"},{"name":"entities","type":"Vector"},{"name":"min_age_confirm","type":"flags.1?int"}],"type":"help.TermsOfService"},{"id":"1753886890","predicate":"updateNewStickerSet","params":[{"name":"stickerset","type":"messages.StickerSet"}],"type":"Update"},{"id":"196268545","predicate":"updateStickerSetsOrder","params":[{"name":"flags","type":"#"},{"name":"masks","type":"flags.0?true"},{"name":"emojis","type":"flags.1?true"},{"name":"order","type":"Vector"}],"type":"Update"},{"id":"834816008","predicate":"updateStickerSets","params":[{"name":"flags","type":"#"},{"name":"masks","type":"flags.0?true"},{"name":"emojis","type":"flags.1?true"}],"type":"Update"},{"id":"-402498398","predicate":"messages.savedGifsNotModified","params":[],"type":"messages.SavedGifs"},{"id":"-2069878259","predicate":"messages.savedGifs","params":[{"name":"hash","type":"long"},{"name":"gifs","type":"Vector"}],"type":"messages.SavedGifs"},{"id":"-1821035490","predicate":"updateSavedGifs","params":[],"type":"Update"},{"id":"864077702","predicate":"inputBotInlineMessageMediaAuto","params":[{"name":"flags","type":"#"},{"name":"invert_media","type":"flags.3?true"},{"name":"message","type":"string"},{"name":"entities","type":"flags.1?Vector"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"}],"type":"InputBotInlineMessage"},{"id":"1036876423","predicate":"inputBotInlineMessageText","params":[{"name":"flags","type":"#"},{"name":"no_webpage","type":"flags.0?true"},{"name":"invert_media","type":"flags.3?true"},{"name":"message","type":"string"},{"name":"entities","type":"flags.1?Vector"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"}],"type":"InputBotInlineMessage"},{"id":"-2000710887","predicate":"inputBotInlineResult","params":[{"name":"flags","type":"#"},{"name":"id","type":"string"},{"name":"type","type":"string"},{"name":"title","type":"flags.1?string"},{"name":"description","type":"flags.2?string"},{"name":"url","type":"flags.3?string"},{"name":"thumb","type":"flags.4?InputWebDocument"},{"name":"content","type":"flags.5?InputWebDocument"},{"name":"send_message","type":"InputBotInlineMessage"}],"type":"InputBotInlineResult"},{"id":"1984755728","predicate":"botInlineMessageMediaAuto","params":[{"name":"flags","type":"#"},{"name":"invert_media","type":"flags.3?true"},{"name":"message","type":"string"},{"name":"entities","type":"flags.1?Vector"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"}],"type":"BotInlineMessage"},{"id":"-1937807902","predicate":"botInlineMessageText","params":[{"name":"flags","type":"#"},{"name":"no_webpage","type":"flags.0?true"},{"name":"invert_media","type":"flags.3?true"},{"name":"message","type":"string"},{"name":"entities","type":"flags.1?Vector"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"}],"type":"BotInlineMessage"},{"id":"295067450","predicate":"botInlineResult","params":[{"name":"flags","type":"#"},{"name":"id","type":"string"},{"name":"type","type":"string"},{"name":"title","type":"flags.1?string"},{"name":"description","type":"flags.2?string"},{"name":"url","type":"flags.3?string"},{"name":"thumb","type":"flags.4?WebDocument"},{"name":"content","type":"flags.5?WebDocument"},{"name":"send_message","type":"BotInlineMessage"}],"type":"BotInlineResult"},{"id":"-534646026","predicate":"messages.botResults","params":[{"name":"flags","type":"#"},{"name":"gallery","type":"flags.0?true"},{"name":"query_id","type":"long"},{"name":"next_offset","type":"flags.1?string"},{"name":"switch_pm","type":"flags.2?InlineBotSwitchPM"},{"name":"switch_webview","type":"flags.3?InlineBotWebView"},{"name":"results","type":"Vector"},{"name":"cache_time","type":"int"},{"name":"users","type":"Vector"}],"type":"messages.BotResults"},{"id":"1232025500","predicate":"updateBotInlineQuery","params":[{"name":"flags","type":"#"},{"name":"query_id","type":"long"},{"name":"user_id","type":"long"},{"name":"query","type":"string"},{"name":"geo","type":"flags.0?GeoPoint"},{"name":"peer_type","type":"flags.1?InlineQueryPeerType"},{"name":"offset","type":"string"}],"type":"Update"},{"id":"317794823","predicate":"updateBotInlineSend","params":[{"name":"flags","type":"#"},{"name":"user_id","type":"long"},{"name":"query","type":"string"},{"name":"geo","type":"flags.0?GeoPoint"},{"name":"id","type":"string"},{"name":"msg_id","type":"flags.1?InputBotInlineMessageID"}],"type":"Update"},{"id":"1358283666","predicate":"inputMessagesFilterVoice","params":[],"type":"MessagesFilter"},{"id":"928101534","predicate":"inputMessagesFilterMusic","params":[],"type":"MessagesFilter"},{"id":"-1107622874","predicate":"inputPrivacyKeyChatInvite","params":[],"type":"InputPrivacyKey"},{"id":"1343122938","predicate":"privacyKeyChatInvite","params":[],"type":"PrivacyKey"},{"id":"1571494644","predicate":"exportedMessageLink","params":[{"name":"link","type":"string"},{"name":"html","type":"string"}],"type":"ExportedMessageLink"},{"id":"1313731771","predicate":"messageFwdHeader","params":[{"name":"flags","type":"#"},{"name":"imported","type":"flags.7?true"},{"name":"saved_out","type":"flags.11?true"},{"name":"from_id","type":"flags.0?Peer"},{"name":"from_name","type":"flags.5?string"},{"name":"date","type":"int"},{"name":"channel_post","type":"flags.2?int"},{"name":"post_author","type":"flags.3?string"},{"name":"saved_from_peer","type":"flags.4?Peer"},{"name":"saved_from_msg_id","type":"flags.4?int"},{"name":"saved_from_id","type":"flags.8?Peer"},{"name":"saved_from_name","type":"flags.9?string"},{"name":"saved_date","type":"flags.10?int"},{"name":"psa_type","type":"flags.6?string"}],"type":"MessageFwdHeader"},{"id":"457133559","predicate":"updateEditChannelMessage","params":[{"name":"message","type":"Message"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"}],"type":"Update"},{"id":"-1799538451","predicate":"messageActionPinMessage","params":[],"type":"MessageAction"},{"id":"1923290508","predicate":"auth.codeTypeSms","params":[],"type":"auth.CodeType"},{"id":"1948046307","predicate":"auth.codeTypeCall","params":[],"type":"auth.CodeType"},{"id":"577556219","predicate":"auth.codeTypeFlashCall","params":[],"type":"auth.CodeType"},{"id":"1035688326","predicate":"auth.sentCodeTypeApp","params":[{"name":"length","type":"int"}],"type":"auth.SentCodeType"},{"id":"-1073693790","predicate":"auth.sentCodeTypeSms","params":[{"name":"length","type":"int"}],"type":"auth.SentCodeType"},{"id":"1398007207","predicate":"auth.sentCodeTypeCall","params":[{"name":"length","type":"int"}],"type":"auth.SentCodeType"},{"id":"-1425815847","predicate":"auth.sentCodeTypeFlashCall","params":[{"name":"pattern","type":"string"}],"type":"auth.SentCodeType"},{"id":"629866245","predicate":"keyboardButtonUrl","params":[{"name":"text","type":"string"},{"name":"url","type":"string"}],"type":"KeyboardButton"},{"id":"901503851","predicate":"keyboardButtonCallback","params":[{"name":"flags","type":"#"},{"name":"requires_password","type":"flags.0?true"},{"name":"text","type":"string"},{"name":"data","type":"bytes"}],"type":"KeyboardButton"},{"id":"-1318425559","predicate":"keyboardButtonRequestPhone","params":[{"name":"text","type":"string"}],"type":"KeyboardButton"},{"id":"-59151553","predicate":"keyboardButtonRequestGeoLocation","params":[{"name":"text","type":"string"}],"type":"KeyboardButton"},{"id":"-1816527947","predicate":"keyboardButtonSwitchInline","params":[{"name":"flags","type":"#"},{"name":"same_peer","type":"flags.0?true"},{"name":"text","type":"string"},{"name":"query","type":"string"},{"name":"peer_types","type":"flags.1?Vector"}],"type":"KeyboardButton"},{"id":"1218642516","predicate":"replyInlineMarkup","params":[{"name":"rows","type":"Vector"}],"type":"ReplyMarkup"},{"id":"911761060","predicate":"messages.botCallbackAnswer","params":[{"name":"flags","type":"#"},{"name":"alert","type":"flags.1?true"},{"name":"has_url","type":"flags.3?true"},{"name":"native_ui","type":"flags.4?true"},{"name":"message","type":"flags.0?string"},{"name":"url","type":"flags.2?string"},{"name":"cache_time","type":"int"}],"type":"messages.BotCallbackAnswer"},{"id":"-1177566067","predicate":"updateBotCallbackQuery","params":[{"name":"flags","type":"#"},{"name":"query_id","type":"long"},{"name":"user_id","type":"long"},{"name":"peer","type":"Peer"},{"name":"msg_id","type":"int"},{"name":"chat_instance","type":"long"},{"name":"data","type":"flags.0?bytes"},{"name":"game_short_name","type":"flags.1?string"}],"type":"Update"},{"id":"649453030","predicate":"messages.messageEditData","params":[{"name":"flags","type":"#"},{"name":"caption","type":"flags.0?true"}],"type":"messages.MessageEditData"},{"id":"-469536605","predicate":"updateEditMessage","params":[{"name":"message","type":"Message"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"}],"type":"Update"},{"id":"-1768777083","predicate":"inputBotInlineMessageMediaGeo","params":[{"name":"flags","type":"#"},{"name":"geo_point","type":"InputGeoPoint"},{"name":"heading","type":"flags.0?int"},{"name":"period","type":"flags.1?int"},{"name":"proximity_notification_radius","type":"flags.3?int"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"}],"type":"InputBotInlineMessage"},{"id":"1098628881","predicate":"inputBotInlineMessageMediaVenue","params":[{"name":"flags","type":"#"},{"name":"geo_point","type":"InputGeoPoint"},{"name":"title","type":"string"},{"name":"address","type":"string"},{"name":"provider","type":"string"},{"name":"venue_id","type":"string"},{"name":"venue_type","type":"string"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"}],"type":"InputBotInlineMessage"},{"id":"-1494368259","predicate":"inputBotInlineMessageMediaContact","params":[{"name":"flags","type":"#"},{"name":"phone_number","type":"string"},{"name":"first_name","type":"string"},{"name":"last_name","type":"string"},{"name":"vcard","type":"string"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"}],"type":"InputBotInlineMessage"},{"id":"85477117","predicate":"botInlineMessageMediaGeo","params":[{"name":"flags","type":"#"},{"name":"geo","type":"GeoPoint"},{"name":"heading","type":"flags.0?int"},{"name":"period","type":"flags.1?int"},{"name":"proximity_notification_radius","type":"flags.3?int"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"}],"type":"BotInlineMessage"},{"id":"-1970903652","predicate":"botInlineMessageMediaVenue","params":[{"name":"flags","type":"#"},{"name":"geo","type":"GeoPoint"},{"name":"title","type":"string"},{"name":"address","type":"string"},{"name":"provider","type":"string"},{"name":"venue_id","type":"string"},{"name":"venue_type","type":"string"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"}],"type":"BotInlineMessage"},{"id":"416402882","predicate":"botInlineMessageMediaContact","params":[{"name":"flags","type":"#"},{"name":"phone_number","type":"string"},{"name":"first_name","type":"string"},{"name":"last_name","type":"string"},{"name":"vcard","type":"string"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"}],"type":"BotInlineMessage"},{"id":"-1462213465","predicate":"inputBotInlineResultPhoto","params":[{"name":"id","type":"string"},{"name":"type","type":"string"},{"name":"photo","type":"InputPhoto"},{"name":"send_message","type":"InputBotInlineMessage"}],"type":"InputBotInlineResult"},{"id":"-459324","predicate":"inputBotInlineResultDocument","params":[{"name":"flags","type":"#"},{"name":"id","type":"string"},{"name":"type","type":"string"},{"name":"title","type":"flags.1?string"},{"name":"description","type":"flags.2?string"},{"name":"document","type":"InputDocument"},{"name":"send_message","type":"InputBotInlineMessage"}],"type":"InputBotInlineResult"},{"id":"400266251","predicate":"botInlineMediaResult","params":[{"name":"flags","type":"#"},{"name":"id","type":"string"},{"name":"type","type":"string"},{"name":"photo","type":"flags.0?Photo"},{"name":"document","type":"flags.1?Document"},{"name":"title","type":"flags.2?string"},{"name":"description","type":"flags.3?string"},{"name":"send_message","type":"BotInlineMessage"}],"type":"BotInlineResult"},{"id":"-1995686519","predicate":"inputBotInlineMessageID","params":[{"name":"dc_id","type":"int"},{"name":"id","type":"long"},{"name":"access_hash","type":"long"}],"type":"InputBotInlineMessageID"},{"id":"1763610706","predicate":"updateInlineBotCallbackQuery","params":[{"name":"flags","type":"#"},{"name":"query_id","type":"long"},{"name":"user_id","type":"long"},{"name":"msg_id","type":"InputBotInlineMessageID"},{"name":"chat_instance","type":"long"},{"name":"data","type":"flags.0?bytes"},{"name":"game_short_name","type":"flags.1?string"}],"type":"Update"},{"id":"1008755359","predicate":"inlineBotSwitchPM","params":[{"name":"text","type":"string"},{"name":"start_param","type":"string"}],"type":"InlineBotSwitchPM"},{"id":"863093588","predicate":"messages.peerDialogs","params":[{"name":"dialogs","type":"Vector"},{"name":"messages","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"},{"name":"state","type":"updates.State"}],"type":"messages.PeerDialogs"},{"id":"-305282981","predicate":"topPeer","params":[{"name":"peer","type":"Peer"},{"name":"rating","type":"double"}],"type":"TopPeer"},{"id":"-1419371685","predicate":"topPeerCategoryBotsPM","params":[],"type":"TopPeerCategory"},{"id":"344356834","predicate":"topPeerCategoryBotsInline","params":[],"type":"TopPeerCategory"},{"id":"104314861","predicate":"topPeerCategoryCorrespondents","params":[],"type":"TopPeerCategory"},{"id":"-1122524854","predicate":"topPeerCategoryGroups","params":[],"type":"TopPeerCategory"},{"id":"371037736","predicate":"topPeerCategoryChannels","params":[],"type":"TopPeerCategory"},{"id":"-75283823","predicate":"topPeerCategoryPeers","params":[{"name":"category","type":"TopPeerCategory"},{"name":"count","type":"int"},{"name":"peers","type":"Vector"}],"type":"TopPeerCategoryPeers"},{"id":"-567906571","predicate":"contacts.topPeersNotModified","params":[],"type":"contacts.TopPeers"},{"id":"1891070632","predicate":"contacts.topPeers","params":[{"name":"categories","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"contacts.TopPeers"},{"id":"-595914432","predicate":"messageEntityMentionName","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"},{"name":"user_id","type":"long"}],"type":"MessageEntity"},{"id":"546203849","predicate":"inputMessageEntityMentionName","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"},{"name":"user_id","type":"InputUser"}],"type":"MessageEntity"},{"id":"975236280","predicate":"inputMessagesFilterChatPhotos","params":[],"type":"MessagesFilter"},{"id":"-1218471511","predicate":"updateReadChannelOutbox","params":[{"name":"channel_id","type":"long"},{"name":"max_id","type":"int"}],"type":"Update"},{"id":"457829485","predicate":"updateDraftMessage","params":[{"name":"flags","type":"#"},{"name":"peer","type":"Peer"},{"name":"top_msg_id","type":"flags.0?int"},{"name":"draft","type":"DraftMessage"}],"type":"Update"},{"id":"453805082","predicate":"draftMessageEmpty","params":[{"name":"flags","type":"#"},{"name":"date","type":"flags.0?int"}],"type":"DraftMessage"},{"id":"1070397423","predicate":"draftMessage","params":[{"name":"flags","type":"#"},{"name":"no_webpage","type":"flags.1?true"},{"name":"invert_media","type":"flags.6?true"},{"name":"reply_to","type":"flags.4?InputReplyTo"},{"name":"message","type":"string"},{"name":"entities","type":"flags.3?Vector"},{"name":"media","type":"flags.5?InputMedia"},{"name":"date","type":"int"}],"type":"DraftMessage"},{"id":"-1615153660","predicate":"messageActionHistoryClear","params":[],"type":"MessageAction"},{"id":"-958657434","predicate":"messages.featuredStickersNotModified","params":[{"name":"count","type":"int"}],"type":"messages.FeaturedStickers"},{"id":"-1103615738","predicate":"messages.featuredStickers","params":[{"name":"flags","type":"#"},{"name":"premium","type":"flags.0?true"},{"name":"hash","type":"long"},{"name":"count","type":"int"},{"name":"sets","type":"Vector"},{"name":"unread","type":"Vector"}],"type":"messages.FeaturedStickers"},{"id":"1461528386","predicate":"updateReadFeaturedStickers","params":[],"type":"Update"},{"id":"186120336","predicate":"messages.recentStickersNotModified","params":[],"type":"messages.RecentStickers"},{"id":"-1999405994","predicate":"messages.recentStickers","params":[{"name":"hash","type":"long"},{"name":"packs","type":"Vector"},{"name":"stickers","type":"Vector"},{"name":"dates","type":"Vector"}],"type":"messages.RecentStickers"},{"id":"-1706939360","predicate":"updateRecentStickers","params":[],"type":"Update"},{"id":"1338747336","predicate":"messages.archivedStickers","params":[{"name":"count","type":"int"},{"name":"sets","type":"Vector"}],"type":"messages.ArchivedStickers"},{"id":"946083368","predicate":"messages.stickerSetInstallResultSuccess","params":[],"type":"messages.StickerSetInstallResult"},{"id":"904138920","predicate":"messages.stickerSetInstallResultArchive","params":[{"name":"sets","type":"Vector"}],"type":"messages.StickerSetInstallResult"},{"id":"1678812626","predicate":"stickerSetCovered","params":[{"name":"set","type":"StickerSet"},{"name":"cover","type":"Document"}],"type":"StickerSetCovered"},{"id":"-1574314746","predicate":"updateConfig","params":[],"type":"Update"},{"id":"861169551","predicate":"updatePtsChanged","params":[],"type":"Update"},{"id":"-440664550","predicate":"inputMediaPhotoExternal","params":[{"name":"flags","type":"#"},{"name":"spoiler","type":"flags.1?true"},{"name":"url","type":"string"},{"name":"ttl_seconds","type":"flags.0?int"}],"type":"InputMedia"},{"id":"-78455655","predicate":"inputMediaDocumentExternal","params":[{"name":"flags","type":"#"},{"name":"spoiler","type":"flags.1?true"},{"name":"url","type":"string"},{"name":"ttl_seconds","type":"flags.0?int"}],"type":"InputMedia"},{"id":"872932635","predicate":"stickerSetMultiCovered","params":[{"name":"set","type":"StickerSet"},{"name":"covers","type":"Vector"}],"type":"StickerSetCovered"},{"id":"-1361650766","predicate":"maskCoords","params":[{"name":"n","type":"int"},{"name":"x","type":"double"},{"name":"y","type":"double"},{"name":"zoom","type":"double"}],"type":"MaskCoords"},{"id":"-1744710921","predicate":"documentAttributeHasStickers","params":[],"type":"DocumentAttribute"},{"id":"1251549527","predicate":"inputStickeredMediaPhoto","params":[{"name":"id","type":"InputPhoto"}],"type":"InputStickeredMedia"},{"id":"70813275","predicate":"inputStickeredMediaDocument","params":[{"name":"id","type":"InputDocument"}],"type":"InputStickeredMedia"},{"id":"-1107729093","predicate":"game","params":[{"name":"flags","type":"#"},{"name":"id","type":"long"},{"name":"access_hash","type":"long"},{"name":"short_name","type":"string"},{"name":"title","type":"string"},{"name":"description","type":"string"},{"name":"photo","type":"Photo"},{"name":"document","type":"flags.0?Document"}],"type":"Game"},{"id":"1336154098","predicate":"inputBotInlineResultGame","params":[{"name":"id","type":"string"},{"name":"short_name","type":"string"},{"name":"send_message","type":"InputBotInlineMessage"}],"type":"InputBotInlineResult"},{"id":"1262639204","predicate":"inputBotInlineMessageGame","params":[{"name":"flags","type":"#"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"}],"type":"InputBotInlineMessage"},{"id":"-38694904","predicate":"messageMediaGame","params":[{"name":"game","type":"Game"}],"type":"MessageMedia"},{"id":"-750828557","predicate":"inputMediaGame","params":[{"name":"id","type":"InputGame"}],"type":"InputMedia"},{"id":"53231223","predicate":"inputGameID","params":[{"name":"id","type":"long"},{"name":"access_hash","type":"long"}],"type":"InputGame"},{"id":"-1020139510","predicate":"inputGameShortName","params":[{"name":"bot_id","type":"InputUser"},{"name":"short_name","type":"string"}],"type":"InputGame"},{"id":"1358175439","predicate":"keyboardButtonGame","params":[{"name":"text","type":"string"}],"type":"KeyboardButton"},{"id":"-1834538890","predicate":"messageActionGameScore","params":[{"name":"game_id","type":"long"},{"name":"score","type":"int"}],"type":"MessageAction"},{"id":"1940093419","predicate":"highScore","params":[{"name":"pos","type":"int"},{"name":"user_id","type":"long"},{"name":"score","type":"int"}],"type":"HighScore"},{"id":"-1707344487","predicate":"messages.highScores","params":[{"name":"scores","type":"Vector"},{"name":"users","type":"Vector"}],"type":"messages.HighScores"},{"id":"1258196845","predicate":"updates.differenceTooLong","params":[{"name":"pts","type":"int"}],"type":"updates.Difference"},{"id":"791390623","predicate":"updateChannelWebPage","params":[{"name":"channel_id","type":"long"},{"name":"webpage","type":"WebPage"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"}],"type":"Update"},{"id":"-1663561404","predicate":"messages.chatsSlice","params":[{"name":"count","type":"int"},{"name":"chats","type":"Vector"}],"type":"messages.Chats"},{"id":"-599948721","predicate":"textEmpty","params":[],"type":"RichText"},{"id":"1950782688","predicate":"textPlain","params":[{"name":"text","type":"string"}],"type":"RichText"},{"id":"1730456516","predicate":"textBold","params":[{"name":"text","type":"RichText"}],"type":"RichText"},{"id":"-653089380","predicate":"textItalic","params":[{"name":"text","type":"RichText"}],"type":"RichText"},{"id":"-1054465340","predicate":"textUnderline","params":[{"name":"text","type":"RichText"}],"type":"RichText"},{"id":"-1678197867","predicate":"textStrike","params":[{"name":"text","type":"RichText"}],"type":"RichText"},{"id":"1816074681","predicate":"textFixed","params":[{"name":"text","type":"RichText"}],"type":"RichText"},{"id":"1009288385","predicate":"textUrl","params":[{"name":"text","type":"RichText"},{"name":"url","type":"string"},{"name":"webpage_id","type":"long"}],"type":"RichText"},{"id":"-564523562","predicate":"textEmail","params":[{"name":"text","type":"RichText"},{"name":"email","type":"string"}],"type":"RichText"},{"id":"2120376535","predicate":"textConcat","params":[{"name":"texts","type":"Vector"}],"type":"RichText"},{"id":"324435594","predicate":"pageBlockUnsupported","params":[],"type":"PageBlock"},{"id":"1890305021","predicate":"pageBlockTitle","params":[{"name":"text","type":"RichText"}],"type":"PageBlock"},{"id":"-1879401953","predicate":"pageBlockSubtitle","params":[{"name":"text","type":"RichText"}],"type":"PageBlock"},{"id":"-1162877472","predicate":"pageBlockAuthorDate","params":[{"name":"author","type":"RichText"},{"name":"published_date","type":"int"}],"type":"PageBlock"},{"id":"-1076861716","predicate":"pageBlockHeader","params":[{"name":"text","type":"RichText"}],"type":"PageBlock"},{"id":"-248793375","predicate":"pageBlockSubheader","params":[{"name":"text","type":"RichText"}],"type":"PageBlock"},{"id":"1182402406","predicate":"pageBlockParagraph","params":[{"name":"text","type":"RichText"}],"type":"PageBlock"},{"id":"-1066346178","predicate":"pageBlockPreformatted","params":[{"name":"text","type":"RichText"},{"name":"language","type":"string"}],"type":"PageBlock"},{"id":"1216809369","predicate":"pageBlockFooter","params":[{"name":"text","type":"RichText"}],"type":"PageBlock"},{"id":"-618614392","predicate":"pageBlockDivider","params":[],"type":"PageBlock"},{"id":"-837994576","predicate":"pageBlockAnchor","params":[{"name":"name","type":"string"}],"type":"PageBlock"},{"id":"-454524911","predicate":"pageBlockList","params":[{"name":"items","type":"Vector"}],"type":"PageBlock"},{"id":"641563686","predicate":"pageBlockBlockquote","params":[{"name":"text","type":"RichText"},{"name":"caption","type":"RichText"}],"type":"PageBlock"},{"id":"1329878739","predicate":"pageBlockPullquote","params":[{"name":"text","type":"RichText"},{"name":"caption","type":"RichText"}],"type":"PageBlock"},{"id":"391759200","predicate":"pageBlockPhoto","params":[{"name":"flags","type":"#"},{"name":"photo_id","type":"long"},{"name":"caption","type":"PageCaption"},{"name":"url","type":"flags.0?string"},{"name":"webpage_id","type":"flags.0?long"}],"type":"PageBlock"},{"id":"2089805750","predicate":"pageBlockVideo","params":[{"name":"flags","type":"#"},{"name":"autoplay","type":"flags.0?true"},{"name":"loop","type":"flags.1?true"},{"name":"video_id","type":"long"},{"name":"caption","type":"PageCaption"}],"type":"PageBlock"},{"id":"972174080","predicate":"pageBlockCover","params":[{"name":"cover","type":"PageBlock"}],"type":"PageBlock"},{"id":"-1468953147","predicate":"pageBlockEmbed","params":[{"name":"flags","type":"#"},{"name":"full_width","type":"flags.0?true"},{"name":"allow_scrolling","type":"flags.3?true"},{"name":"url","type":"flags.1?string"},{"name":"html","type":"flags.2?string"},{"name":"poster_photo_id","type":"flags.4?long"},{"name":"w","type":"flags.5?int"},{"name":"h","type":"flags.5?int"},{"name":"caption","type":"PageCaption"}],"type":"PageBlock"},{"id":"-229005301","predicate":"pageBlockEmbedPost","params":[{"name":"url","type":"string"},{"name":"webpage_id","type":"long"},{"name":"author_photo_id","type":"long"},{"name":"author","type":"string"},{"name":"date","type":"int"},{"name":"blocks","type":"Vector"},{"name":"caption","type":"PageCaption"}],"type":"PageBlock"},{"id":"1705048653","predicate":"pageBlockCollage","params":[{"name":"items","type":"Vector"},{"name":"caption","type":"PageCaption"}],"type":"PageBlock"},{"id":"52401552","predicate":"pageBlockSlideshow","params":[{"name":"items","type":"Vector"},{"name":"caption","type":"PageCaption"}],"type":"PageBlock"},{"id":"1930545681","predicate":"webPageNotModified","params":[{"name":"flags","type":"#"},{"name":"cached_page_views","type":"flags.0?int"}],"type":"WebPage"},{"id":"-88417185","predicate":"inputPrivacyKeyPhoneCall","params":[],"type":"InputPrivacyKey"},{"id":"1030105979","predicate":"privacyKeyPhoneCall","params":[],"type":"PrivacyKey"},{"id":"-580219064","predicate":"sendMessageGamePlayAction","params":[],"type":"SendMessageAction"},{"id":"-2048646399","predicate":"phoneCallDiscardReasonMissed","params":[],"type":"PhoneCallDiscardReason"},{"id":"-527056480","predicate":"phoneCallDiscardReasonDisconnect","params":[],"type":"PhoneCallDiscardReason"},{"id":"1471006352","predicate":"phoneCallDiscardReasonHangup","params":[],"type":"PhoneCallDiscardReason"},{"id":"-84416311","predicate":"phoneCallDiscardReasonBusy","params":[],"type":"PhoneCallDiscardReason"},{"id":"1852826908","predicate":"updateDialogPinned","params":[{"name":"flags","type":"#"},{"name":"pinned","type":"flags.0?true"},{"name":"folder_id","type":"flags.1?int"},{"name":"peer","type":"DialogPeer"}],"type":"Update"},{"id":"-99664734","predicate":"updatePinnedDialogs","params":[{"name":"flags","type":"#"},{"name":"folder_id","type":"flags.1?int"},{"name":"order","type":"flags.0?Vector"}],"type":"Update"},{"id":"2104790276","predicate":"dataJSON","params":[{"name":"data","type":"string"}],"type":"DataJSON"},{"id":"-2095595325","predicate":"updateBotWebhookJSON","params":[{"name":"data","type":"DataJSON"}],"type":"Update"},{"id":"-1684914010","predicate":"updateBotWebhookJSONQuery","params":[{"name":"query_id","type":"long"},{"name":"data","type":"DataJSON"},{"name":"timeout","type":"int"}],"type":"Update"},{"id":"-886477832","predicate":"labeledPrice","params":[{"name":"label","type":"string"},{"name":"amount","type":"long"}],"type":"LabeledPrice"},{"id":"1572428309","predicate":"invoice","params":[{"name":"flags","type":"#"},{"name":"test","type":"flags.0?true"},{"name":"name_requested","type":"flags.1?true"},{"name":"phone_requested","type":"flags.2?true"},{"name":"email_requested","type":"flags.3?true"},{"name":"shipping_address_requested","type":"flags.4?true"},{"name":"flexible","type":"flags.5?true"},{"name":"phone_to_provider","type":"flags.6?true"},{"name":"email_to_provider","type":"flags.7?true"},{"name":"recurring","type":"flags.9?true"},{"name":"currency","type":"string"},{"name":"prices","type":"Vector"},{"name":"max_tip_amount","type":"flags.8?long"},{"name":"suggested_tip_amounts","type":"flags.8?Vector"},{"name":"terms_url","type":"flags.10?string"}],"type":"Invoice"},{"id":"-1900697899","predicate":"inputMediaInvoice","params":[{"name":"flags","type":"#"},{"name":"title","type":"string"},{"name":"description","type":"string"},{"name":"photo","type":"flags.0?InputWebDocument"},{"name":"invoice","type":"Invoice"},{"name":"payload","type":"bytes"},{"name":"provider","type":"string"},{"name":"provider_data","type":"DataJSON"},{"name":"start_param","type":"flags.1?string"},{"name":"extended_media","type":"flags.2?InputMedia"}],"type":"InputMedia"},{"id":"-368917890","predicate":"paymentCharge","params":[{"name":"id","type":"string"},{"name":"provider_charge_id","type":"string"}],"type":"PaymentCharge"},{"id":"-1892568281","predicate":"messageActionPaymentSentMe","params":[{"name":"flags","type":"#"},{"name":"recurring_init","type":"flags.2?true"},{"name":"recurring_used","type":"flags.3?true"},{"name":"currency","type":"string"},{"name":"total_amount","type":"long"},{"name":"payload","type":"bytes"},{"name":"info","type":"flags.0?PaymentRequestedInfo"},{"name":"shipping_option_id","type":"flags.1?string"},{"name":"charge","type":"PaymentCharge"}],"type":"MessageAction"},{"id":"-156940077","predicate":"messageMediaInvoice","params":[{"name":"flags","type":"#"},{"name":"shipping_address_requested","type":"flags.1?true"},{"name":"test","type":"flags.3?true"},{"name":"title","type":"string"},{"name":"description","type":"string"},{"name":"photo","type":"flags.0?WebDocument"},{"name":"receipt_msg_id","type":"flags.2?int"},{"name":"currency","type":"string"},{"name":"total_amount","type":"long"},{"name":"start_param","type":"string"},{"name":"extended_media","type":"flags.4?MessageExtendedMedia"}],"type":"MessageMedia"},{"id":"512535275","predicate":"postAddress","params":[{"name":"street_line1","type":"string"},{"name":"street_line2","type":"string"},{"name":"city","type":"string"},{"name":"state","type":"string"},{"name":"country_iso2","type":"string"},{"name":"post_code","type":"string"}],"type":"PostAddress"},{"id":"-1868808300","predicate":"paymentRequestedInfo","params":[{"name":"flags","type":"#"},{"name":"name","type":"flags.0?string"},{"name":"phone","type":"flags.1?string"},{"name":"email","type":"flags.2?string"},{"name":"shipping_address","type":"flags.3?PostAddress"}],"type":"PaymentRequestedInfo"},{"id":"-1344716869","predicate":"keyboardButtonBuy","params":[{"name":"text","type":"string"}],"type":"KeyboardButton"},{"id":"-1776926890","predicate":"messageActionPaymentSent","params":[{"name":"flags","type":"#"},{"name":"recurring_init","type":"flags.2?true"},{"name":"recurring_used","type":"flags.3?true"},{"name":"currency","type":"string"},{"name":"total_amount","type":"long"},{"name":"invoice_slug","type":"flags.0?string"}],"type":"MessageAction"},{"id":"-842892769","predicate":"paymentSavedCredentialsCard","params":[{"name":"id","type":"string"},{"name":"title","type":"string"}],"type":"PaymentSavedCredentials"},{"id":"475467473","predicate":"webDocument","params":[{"name":"url","type":"string"},{"name":"access_hash","type":"long"},{"name":"size","type":"int"},{"name":"mime_type","type":"string"},{"name":"attributes","type":"Vector"}],"type":"WebDocument"},{"id":"-1678949555","predicate":"inputWebDocument","params":[{"name":"url","type":"string"},{"name":"size","type":"int"},{"name":"mime_type","type":"string"},{"name":"attributes","type":"Vector"}],"type":"InputWebDocument"},{"id":"-1036396922","predicate":"inputWebFileLocation","params":[{"name":"url","type":"string"},{"name":"access_hash","type":"long"}],"type":"InputWebFileLocation"},{"id":"568808380","predicate":"upload.webFile","params":[{"name":"size","type":"int"},{"name":"mime_type","type":"string"},{"name":"file_type","type":"storage.FileType"},{"name":"mtime","type":"int"},{"name":"bytes","type":"bytes"}],"type":"upload.WebFile"},{"id":"-1610250415","predicate":"payments.paymentForm","params":[{"name":"flags","type":"#"},{"name":"can_save_credentials","type":"flags.2?true"},{"name":"password_missing","type":"flags.3?true"},{"name":"form_id","type":"long"},{"name":"bot_id","type":"long"},{"name":"title","type":"string"},{"name":"description","type":"string"},{"name":"photo","type":"flags.5?WebDocument"},{"name":"invoice","type":"Invoice"},{"name":"provider_id","type":"long"},{"name":"url","type":"string"},{"name":"native_provider","type":"flags.4?string"},{"name":"native_params","type":"flags.4?DataJSON"},{"name":"additional_methods","type":"flags.6?Vector"},{"name":"saved_info","type":"flags.0?PaymentRequestedInfo"},{"name":"saved_credentials","type":"flags.1?Vector"},{"name":"users","type":"Vector"}],"type":"payments.PaymentForm"},{"id":"-784000893","predicate":"payments.validatedRequestedInfo","params":[{"name":"flags","type":"#"},{"name":"id","type":"flags.0?string"},{"name":"shipping_options","type":"flags.1?Vector"}],"type":"payments.ValidatedRequestedInfo"},{"id":"1314881805","predicate":"payments.paymentResult","params":[{"name":"updates","type":"Updates"}],"type":"payments.PaymentResult"},{"id":"1891958275","predicate":"payments.paymentReceipt","params":[{"name":"flags","type":"#"},{"name":"date","type":"int"},{"name":"bot_id","type":"long"},{"name":"provider_id","type":"long"},{"name":"title","type":"string"},{"name":"description","type":"string"},{"name":"photo","type":"flags.2?WebDocument"},{"name":"invoice","type":"Invoice"},{"name":"info","type":"flags.0?PaymentRequestedInfo"},{"name":"shipping","type":"flags.1?ShippingOption"},{"name":"tip_amount","type":"flags.3?long"},{"name":"currency","type":"string"},{"name":"total_amount","type":"long"},{"name":"credentials_title","type":"string"},{"name":"users","type":"Vector"}],"type":"payments.PaymentReceipt"},{"id":"-74456004","predicate":"payments.savedInfo","params":[{"name":"flags","type":"#"},{"name":"has_saved_credentials","type":"flags.1?true"},{"name":"saved_info","type":"flags.0?PaymentRequestedInfo"}],"type":"payments.SavedInfo"},{"id":"-1056001329","predicate":"inputPaymentCredentialsSaved","params":[{"name":"id","type":"string"},{"name":"tmp_password","type":"bytes"}],"type":"InputPaymentCredentials"},{"id":"873977640","predicate":"inputPaymentCredentials","params":[{"name":"flags","type":"#"},{"name":"save","type":"flags.0?true"},{"name":"data","type":"DataJSON"}],"type":"InputPaymentCredentials"},{"id":"-614138572","predicate":"account.tmpPassword","params":[{"name":"tmp_password","type":"bytes"},{"name":"valid_until","type":"int"}],"type":"account.TmpPassword"},{"id":"-1239335713","predicate":"shippingOption","params":[{"name":"id","type":"string"},{"name":"title","type":"string"},{"name":"prices","type":"Vector"}],"type":"ShippingOption"},{"id":"-1246823043","predicate":"updateBotShippingQuery","params":[{"name":"query_id","type":"long"},{"name":"user_id","type":"long"},{"name":"payload","type":"bytes"},{"name":"shipping_address","type":"PostAddress"}],"type":"Update"},{"id":"-1934976362","predicate":"updateBotPrecheckoutQuery","params":[{"name":"flags","type":"#"},{"name":"query_id","type":"long"},{"name":"user_id","type":"long"},{"name":"payload","type":"bytes"},{"name":"info","type":"flags.0?PaymentRequestedInfo"},{"name":"shipping_option_id","type":"flags.1?string"},{"name":"currency","type":"string"},{"name":"total_amount","type":"long"}],"type":"Update"},{"id":"853188252","predicate":"inputStickerSetItem","params":[{"name":"flags","type":"#"},{"name":"document","type":"InputDocument"},{"name":"emoji","type":"string"},{"name":"mask_coords","type":"flags.0?MaskCoords"},{"name":"keywords","type":"flags.1?string"}],"type":"InputStickerSetItem"},{"id":"-1425052898","predicate":"updatePhoneCall","params":[{"name":"phone_call","type":"PhoneCall"}],"type":"Update"},{"id":"506920429","predicate":"inputPhoneCall","params":[{"name":"id","type":"long"},{"name":"access_hash","type":"long"}],"type":"InputPhoneCall"},{"id":"1399245077","predicate":"phoneCallEmpty","params":[{"name":"id","type":"long"}],"type":"PhoneCall"},{"id":"-987599081","predicate":"phoneCallWaiting","params":[{"name":"flags","type":"#"},{"name":"video","type":"flags.6?true"},{"name":"id","type":"long"},{"name":"access_hash","type":"long"},{"name":"date","type":"int"},{"name":"admin_id","type":"long"},{"name":"participant_id","type":"long"},{"name":"protocol","type":"PhoneCallProtocol"},{"name":"receive_date","type":"flags.0?int"}],"type":"PhoneCall"},{"id":"347139340","predicate":"phoneCallRequested","params":[{"name":"flags","type":"#"},{"name":"video","type":"flags.6?true"},{"name":"id","type":"long"},{"name":"access_hash","type":"long"},{"name":"date","type":"int"},{"name":"admin_id","type":"long"},{"name":"participant_id","type":"long"},{"name":"g_a_hash","type":"bytes"},{"name":"protocol","type":"PhoneCallProtocol"}],"type":"PhoneCall"},{"id":"912311057","predicate":"phoneCallAccepted","params":[{"name":"flags","type":"#"},{"name":"video","type":"flags.6?true"},{"name":"id","type":"long"},{"name":"access_hash","type":"long"},{"name":"date","type":"int"},{"name":"admin_id","type":"long"},{"name":"participant_id","type":"long"},{"name":"g_b","type":"bytes"},{"name":"protocol","type":"PhoneCallProtocol"}],"type":"PhoneCall"},{"id":"-1770029977","predicate":"phoneCall","params":[{"name":"flags","type":"#"},{"name":"p2p_allowed","type":"flags.5?true"},{"name":"video","type":"flags.6?true"},{"name":"id","type":"long"},{"name":"access_hash","type":"long"},{"name":"date","type":"int"},{"name":"admin_id","type":"long"},{"name":"participant_id","type":"long"},{"name":"g_a_or_b","type":"bytes"},{"name":"key_fingerprint","type":"long"},{"name":"protocol","type":"PhoneCallProtocol"},{"name":"connections","type":"Vector"},{"name":"start_date","type":"int"}],"type":"PhoneCall"},{"id":"1355435489","predicate":"phoneCallDiscarded","params":[{"name":"flags","type":"#"},{"name":"need_rating","type":"flags.2?true"},{"name":"need_debug","type":"flags.3?true"},{"name":"video","type":"flags.6?true"},{"name":"id","type":"long"},{"name":"reason","type":"flags.0?PhoneCallDiscardReason"},{"name":"duration","type":"flags.1?int"}],"type":"PhoneCall"},{"id":"-1665063993","predicate":"phoneConnection","params":[{"name":"flags","type":"#"},{"name":"tcp","type":"flags.0?true"},{"name":"id","type":"long"},{"name":"ip","type":"string"},{"name":"ipv6","type":"string"},{"name":"port","type":"int"},{"name":"peer_tag","type":"bytes"}],"type":"PhoneConnection"},{"id":"-58224696","predicate":"phoneCallProtocol","params":[{"name":"flags","type":"#"},{"name":"udp_p2p","type":"flags.0?true"},{"name":"udp_reflector","type":"flags.1?true"},{"name":"min_layer","type":"int"},{"name":"max_layer","type":"int"},{"name":"library_versions","type":"Vector"}],"type":"PhoneCallProtocol"},{"id":"-326966976","predicate":"phone.phoneCall","params":[{"name":"phone_call","type":"PhoneCall"},{"name":"users","type":"Vector"}],"type":"phone.PhoneCall"},{"id":"-2134272152","predicate":"inputMessagesFilterPhoneCalls","params":[{"name":"flags","type":"#"},{"name":"missed","type":"flags.0?true"}],"type":"MessagesFilter"},{"id":"-2132731265","predicate":"messageActionPhoneCall","params":[{"name":"flags","type":"#"},{"name":"video","type":"flags.2?true"},{"name":"call_id","type":"long"},{"name":"reason","type":"flags.0?PhoneCallDiscardReason"},{"name":"duration","type":"flags.1?int"}],"type":"MessageAction"},{"id":"2054952868","predicate":"inputMessagesFilterRoundVoice","params":[],"type":"MessagesFilter"},{"id":"-1253451181","predicate":"inputMessagesFilterRoundVideo","params":[],"type":"MessagesFilter"},{"id":"-1997373508","predicate":"sendMessageRecordRoundAction","params":[],"type":"SendMessageAction"},{"id":"608050278","predicate":"sendMessageUploadRoundAction","params":[{"name":"progress","type":"int"}],"type":"SendMessageAction"},{"id":"-242427324","predicate":"upload.fileCdnRedirect","params":[{"name":"dc_id","type":"int"},{"name":"file_token","type":"bytes"},{"name":"encryption_key","type":"bytes"},{"name":"encryption_iv","type":"bytes"},{"name":"file_hashes","type":"Vector"}],"type":"upload.File"},{"id":"-290921362","predicate":"upload.cdnFileReuploadNeeded","params":[{"name":"request_token","type":"bytes"}],"type":"upload.CdnFile"},{"id":"-1449145777","predicate":"upload.cdnFile","params":[{"name":"bytes","type":"bytes"}],"type":"upload.CdnFile"},{"id":"-914167110","predicate":"cdnPublicKey","params":[{"name":"dc_id","type":"int"},{"name":"public_key","type":"string"}],"type":"CdnPublicKey"},{"id":"1462101002","predicate":"cdnConfig","params":[{"name":"public_keys","type":"Vector"}],"type":"CdnConfig"},{"id":"-283684427","predicate":"pageBlockChannel","params":[{"name":"channel","type":"Chat"}],"type":"PageBlock"},{"id":"-892239370","predicate":"langPackString","params":[{"name":"key","type":"string"},{"name":"value","type":"string"}],"type":"LangPackString"},{"id":"1816636575","predicate":"langPackStringPluralized","params":[{"name":"flags","type":"#"},{"name":"key","type":"string"},{"name":"zero_value","type":"flags.0?string"},{"name":"one_value","type":"flags.1?string"},{"name":"two_value","type":"flags.2?string"},{"name":"few_value","type":"flags.3?string"},{"name":"many_value","type":"flags.4?string"},{"name":"other_value","type":"string"}],"type":"LangPackString"},{"id":"695856818","predicate":"langPackStringDeleted","params":[{"name":"key","type":"string"}],"type":"LangPackString"},{"id":"-209337866","predicate":"langPackDifference","params":[{"name":"lang_code","type":"string"},{"name":"from_version","type":"int"},{"name":"version","type":"int"},{"name":"strings","type":"Vector"}],"type":"LangPackDifference"},{"id":"-288727837","predicate":"langPackLanguage","params":[{"name":"flags","type":"#"},{"name":"official","type":"flags.0?true"},{"name":"rtl","type":"flags.2?true"},{"name":"beta","type":"flags.3?true"},{"name":"name","type":"string"},{"name":"native_name","type":"string"},{"name":"lang_code","type":"string"},{"name":"base_lang_code","type":"flags.1?string"},{"name":"plural_code","type":"string"},{"name":"strings_count","type":"int"},{"name":"translated_count","type":"int"},{"name":"translations_url","type":"string"}],"type":"LangPackLanguage"},{"id":"1180041828","predicate":"updateLangPackTooLong","params":[{"name":"lang_code","type":"string"}],"type":"Update"},{"id":"1442983757","predicate":"updateLangPack","params":[{"name":"difference","type":"LangPackDifference"}],"type":"Update"},{"id":"885242707","predicate":"channelParticipantAdmin","params":[{"name":"flags","type":"#"},{"name":"can_edit","type":"flags.0?true"},{"name":"self","type":"flags.1?true"},{"name":"user_id","type":"long"},{"name":"inviter_id","type":"flags.1?long"},{"name":"promoted_by","type":"long"},{"name":"date","type":"int"},{"name":"admin_rights","type":"ChatAdminRights"},{"name":"rank","type":"flags.2?string"}],"type":"ChannelParticipant"},{"id":"1844969806","predicate":"channelParticipantBanned","params":[{"name":"flags","type":"#"},{"name":"left","type":"flags.0?true"},{"name":"peer","type":"Peer"},{"name":"kicked_by","type":"long"},{"name":"date","type":"int"},{"name":"banned_rights","type":"ChatBannedRights"}],"type":"ChannelParticipant"},{"id":"338142689","predicate":"channelParticipantsBanned","params":[{"name":"q","type":"string"}],"type":"ChannelParticipantsFilter"},{"id":"106343499","predicate":"channelParticipantsSearch","params":[{"name":"q","type":"string"}],"type":"ChannelParticipantsFilter"},{"id":"-421545947","predicate":"channelAdminLogEventActionChangeTitle","params":[{"name":"prev_value","type":"string"},{"name":"new_value","type":"string"}],"type":"ChannelAdminLogEventAction"},{"id":"1427671598","predicate":"channelAdminLogEventActionChangeAbout","params":[{"name":"prev_value","type":"string"},{"name":"new_value","type":"string"}],"type":"ChannelAdminLogEventAction"},{"id":"1783299128","predicate":"channelAdminLogEventActionChangeUsername","params":[{"name":"prev_value","type":"string"},{"name":"new_value","type":"string"}],"type":"ChannelAdminLogEventAction"},{"id":"1129042607","predicate":"channelAdminLogEventActionChangePhoto","params":[{"name":"prev_photo","type":"Photo"},{"name":"new_photo","type":"Photo"}],"type":"ChannelAdminLogEventAction"},{"id":"460916654","predicate":"channelAdminLogEventActionToggleInvites","params":[{"name":"new_value","type":"Bool"}],"type":"ChannelAdminLogEventAction"},{"id":"648939889","predicate":"channelAdminLogEventActionToggleSignatures","params":[{"name":"new_value","type":"Bool"}],"type":"ChannelAdminLogEventAction"},{"id":"-370660328","predicate":"channelAdminLogEventActionUpdatePinned","params":[{"name":"message","type":"Message"}],"type":"ChannelAdminLogEventAction"},{"id":"1889215493","predicate":"channelAdminLogEventActionEditMessage","params":[{"name":"prev_message","type":"Message"},{"name":"new_message","type":"Message"}],"type":"ChannelAdminLogEventAction"},{"id":"1121994683","predicate":"channelAdminLogEventActionDeleteMessage","params":[{"name":"message","type":"Message"}],"type":"ChannelAdminLogEventAction"},{"id":"405815507","predicate":"channelAdminLogEventActionParticipantJoin","params":[],"type":"ChannelAdminLogEventAction"},{"id":"-124291086","predicate":"channelAdminLogEventActionParticipantLeave","params":[],"type":"ChannelAdminLogEventAction"},{"id":"-484690728","predicate":"channelAdminLogEventActionParticipantInvite","params":[{"name":"participant","type":"ChannelParticipant"}],"type":"ChannelAdminLogEventAction"},{"id":"-422036098","predicate":"channelAdminLogEventActionParticipantToggleBan","params":[{"name":"prev_participant","type":"ChannelParticipant"},{"name":"new_participant","type":"ChannelParticipant"}],"type":"ChannelAdminLogEventAction"},{"id":"-714643696","predicate":"channelAdminLogEventActionParticipantToggleAdmin","params":[{"name":"prev_participant","type":"ChannelParticipant"},{"name":"new_participant","type":"ChannelParticipant"}],"type":"ChannelAdminLogEventAction"},{"id":"531458253","predicate":"channelAdminLogEvent","params":[{"name":"id","type":"long"},{"name":"date","type":"int"},{"name":"user_id","type":"long"},{"name":"action","type":"ChannelAdminLogEventAction"}],"type":"ChannelAdminLogEvent"},{"id":"-309659827","predicate":"channels.adminLogResults","params":[{"name":"events","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"channels.AdminLogResults"},{"id":"-368018716","predicate":"channelAdminLogEventsFilter","params":[{"name":"flags","type":"#"},{"name":"join","type":"flags.0?true"},{"name":"leave","type":"flags.1?true"},{"name":"invite","type":"flags.2?true"},{"name":"ban","type":"flags.3?true"},{"name":"unban","type":"flags.4?true"},{"name":"kick","type":"flags.5?true"},{"name":"unkick","type":"flags.6?true"},{"name":"promote","type":"flags.7?true"},{"name":"demote","type":"flags.8?true"},{"name":"info","type":"flags.9?true"},{"name":"settings","type":"flags.10?true"},{"name":"pinned","type":"flags.11?true"},{"name":"edit","type":"flags.12?true"},{"name":"delete","type":"flags.13?true"},{"name":"group_call","type":"flags.14?true"},{"name":"invites","type":"flags.15?true"},{"name":"send","type":"flags.16?true"},{"name":"forums","type":"flags.17?true"}],"type":"ChannelAdminLogEventsFilter"},{"id":"511092620","predicate":"topPeerCategoryPhoneCalls","params":[],"type":"TopPeerCategory"},{"id":"-2143067670","predicate":"pageBlockAudio","params":[{"name":"audio_id","type":"long"},{"name":"caption","type":"PageCaption"}],"type":"PageBlock"},{"id":"1558266229","predicate":"popularContact","params":[{"name":"client_id","type":"long"},{"name":"importers","type":"int"}],"type":"PopularContact"},{"id":"1200788123","predicate":"messageActionScreenshotTaken","params":[],"type":"MessageAction"},{"id":"-1634752813","predicate":"messages.favedStickersNotModified","params":[],"type":"messages.FavedStickers"},{"id":"750063767","predicate":"messages.favedStickers","params":[{"name":"hash","type":"long"},{"name":"packs","type":"Vector"},{"name":"stickers","type":"Vector"}],"type":"messages.FavedStickers"},{"id":"-451831443","predicate":"updateFavedStickers","params":[],"type":"Update"},{"id":"-366410403","predicate":"updateChannelReadMessagesContents","params":[{"name":"flags","type":"#"},{"name":"channel_id","type":"long"},{"name":"top_msg_id","type":"flags.0?int"},{"name":"messages","type":"Vector"}],"type":"Update"},{"id":"-1040652646","predicate":"inputMessagesFilterMyMentions","params":[],"type":"MessagesFilter"},{"id":"1887741886","predicate":"updateContactsReset","params":[],"type":"Update"},{"id":"-1312568665","predicate":"channelAdminLogEventActionChangeStickerSet","params":[{"name":"prev_stickerset","type":"InputStickerSet"},{"name":"new_stickerset","type":"InputStickerSet"}],"type":"ChannelAdminLogEventAction"},{"id":"-85549226","predicate":"messageActionCustomAction","params":[{"name":"message","type":"string"}],"type":"MessageAction"},{"id":"178373535","predicate":"inputPaymentCredentialsApplePay","params":[{"name":"payment_data","type":"DataJSON"}],"type":"InputPaymentCredentials"},{"id":"-419271411","predicate":"inputMessagesFilterGeo","params":[],"type":"MessagesFilter"},{"id":"-530392189","predicate":"inputMessagesFilterContacts","params":[],"type":"MessagesFilter"},{"id":"-1304443240","predicate":"updateChannelAvailableMessages","params":[{"name":"channel_id","type":"long"},{"name":"available_min_id","type":"int"}],"type":"Update"},{"id":"1599903217","predicate":"channelAdminLogEventActionTogglePreHistoryHidden","params":[{"name":"new_value","type":"Bool"}],"type":"ChannelAdminLogEventAction"},{"id":"-1759532989","predicate":"inputMediaGeoLive","params":[{"name":"flags","type":"#"},{"name":"stopped","type":"flags.0?true"},{"name":"geo_point","type":"InputGeoPoint"},{"name":"heading","type":"flags.2?int"},{"name":"period","type":"flags.1?int"},{"name":"proximity_notification_radius","type":"flags.3?int"}],"type":"InputMedia"},{"id":"-1186937242","predicate":"messageMediaGeoLive","params":[{"name":"flags","type":"#"},{"name":"geo","type":"GeoPoint"},{"name":"heading","type":"flags.0?int"},{"name":"period","type":"int"},{"name":"proximity_notification_radius","type":"flags.1?int"}],"type":"MessageMedia"},{"id":"1189204285","predicate":"recentMeUrlUnknown","params":[{"name":"url","type":"string"}],"type":"RecentMeUrl"},{"id":"-1188296222","predicate":"recentMeUrlUser","params":[{"name":"url","type":"string"},{"name":"user_id","type":"long"}],"type":"RecentMeUrl"},{"id":"-1294306862","predicate":"recentMeUrlChat","params":[{"name":"url","type":"string"},{"name":"chat_id","type":"long"}],"type":"RecentMeUrl"},{"id":"-347535331","predicate":"recentMeUrlChatInvite","params":[{"name":"url","type":"string"},{"name":"chat_invite","type":"ChatInvite"}],"type":"RecentMeUrl"},{"id":"-1140172836","predicate":"recentMeUrlStickerSet","params":[{"name":"url","type":"string"},{"name":"set","type":"StickerSetCovered"}],"type":"RecentMeUrl"},{"id":"235081943","predicate":"help.recentMeUrls","params":[{"name":"urls","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"help.RecentMeUrls"},{"id":"-266911767","predicate":"channels.channelParticipantsNotModified","params":[],"type":"channels.ChannelParticipants"},{"id":"1951620897","predicate":"messages.messagesNotModified","params":[{"name":"count","type":"int"}],"type":"messages.Messages"},{"id":"482797855","predicate":"inputSingleMedia","params":[{"name":"flags","type":"#"},{"name":"media","type":"InputMedia"},{"name":"random_id","type":"long"},{"name":"message","type":"string"},{"name":"entities","type":"flags.0?Vector"}],"type":"InputSingleMedia"},{"id":"-1493633966","predicate":"webAuthorization","params":[{"name":"hash","type":"long"},{"name":"bot_id","type":"long"},{"name":"domain","type":"string"},{"name":"browser","type":"string"},{"name":"platform","type":"string"},{"name":"date_created","type":"int"},{"name":"date_active","type":"int"},{"name":"ip","type":"string"},{"name":"region","type":"string"}],"type":"WebAuthorization"},{"id":"-313079300","predicate":"account.webAuthorizations","params":[{"name":"authorizations","type":"Vector"},{"name":"users","type":"Vector"}],"type":"account.WebAuthorizations"},{"id":"-1502174430","predicate":"inputMessageID","params":[{"name":"id","type":"int"}],"type":"InputMessage"},{"id":"-1160215659","predicate":"inputMessageReplyTo","params":[{"name":"id","type":"int"}],"type":"InputMessage"},{"id":"-2037963464","predicate":"inputMessagePinned","params":[],"type":"InputMessage"},{"id":"-1687559349","predicate":"messageEntityPhone","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"}],"type":"MessageEntity"},{"id":"1280209983","predicate":"messageEntityCashtag","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"}],"type":"MessageEntity"},{"id":"-988359047","predicate":"messageActionBotAllowed","params":[{"name":"flags","type":"#"},{"name":"attach_menu","type":"flags.1?true"},{"name":"from_request","type":"flags.3?true"},{"name":"domain","type":"flags.0?string"},{"name":"app","type":"flags.2?BotApp"}],"type":"MessageAction"},{"id":"-55902537","predicate":"inputDialogPeer","params":[{"name":"peer","type":"InputPeer"}],"type":"InputDialogPeer"},{"id":"-445792507","predicate":"dialogPeer","params":[{"name":"peer","type":"Peer"}],"type":"DialogPeer"},{"id":"223655517","predicate":"messages.foundStickerSetsNotModified","params":[],"type":"messages.FoundStickerSets"},{"id":"-1963942446","predicate":"messages.foundStickerSets","params":[{"name":"hash","type":"long"},{"name":"sets","type":"Vector"}],"type":"messages.FoundStickerSets"},{"id":"-207944868","predicate":"fileHash","params":[{"name":"offset","type":"long"},{"name":"limit","type":"int"},{"name":"hash","type":"bytes"}],"type":"FileHash"},{"id":"-104284986","predicate":"webDocumentNoProxy","params":[{"name":"url","type":"string"},{"name":"size","type":"int"},{"name":"mime_type","type":"string"},{"name":"attributes","type":"Vector"}],"type":"WebDocument"},{"id":"1968737087","predicate":"inputClientProxy","params":[{"name":"address","type":"string"},{"name":"port","type":"int"}],"type":"InputClientProxy"},{"id":"-483352705","predicate":"help.termsOfServiceUpdateEmpty","params":[{"name":"expires","type":"int"}],"type":"help.TermsOfServiceUpdate"},{"id":"686618977","predicate":"help.termsOfServiceUpdate","params":[{"name":"expires","type":"int"},{"name":"terms_of_service","type":"help.TermsOfService"}],"type":"help.TermsOfServiceUpdate"},{"id":"859091184","predicate":"inputSecureFileUploaded","params":[{"name":"id","type":"long"},{"name":"parts","type":"int"},{"name":"md5_checksum","type":"string"},{"name":"file_hash","type":"bytes"},{"name":"secret","type":"bytes"}],"type":"InputSecureFile"},{"id":"1399317950","predicate":"inputSecureFile","params":[{"name":"id","type":"long"},{"name":"access_hash","type":"long"}],"type":"InputSecureFile"},{"id":"-876089816","predicate":"inputSecureFileLocation","params":[{"name":"id","type":"long"},{"name":"access_hash","type":"long"}],"type":"InputFileLocation"},{"id":"1679398724","predicate":"secureFileEmpty","params":[],"type":"SecureFile"},{"id":"2097791614","predicate":"secureFile","params":[{"name":"id","type":"long"},{"name":"access_hash","type":"long"},{"name":"size","type":"long"},{"name":"dc_id","type":"int"},{"name":"date","type":"int"},{"name":"file_hash","type":"bytes"},{"name":"secret","type":"bytes"}],"type":"SecureFile"},{"id":"-1964327229","predicate":"secureData","params":[{"name":"data","type":"bytes"},{"name":"data_hash","type":"bytes"},{"name":"secret","type":"bytes"}],"type":"SecureData"},{"id":"2103482845","predicate":"securePlainPhone","params":[{"name":"phone","type":"string"}],"type":"SecurePlainData"},{"id":"569137759","predicate":"securePlainEmail","params":[{"name":"email","type":"string"}],"type":"SecurePlainData"},{"id":"-1658158621","predicate":"secureValueTypePersonalDetails","params":[],"type":"SecureValueType"},{"id":"1034709504","predicate":"secureValueTypePassport","params":[],"type":"SecureValueType"},{"id":"115615172","predicate":"secureValueTypeDriverLicense","params":[],"type":"SecureValueType"},{"id":"-1596951477","predicate":"secureValueTypeIdentityCard","params":[],"type":"SecureValueType"},{"id":"-1717268701","predicate":"secureValueTypeInternalPassport","params":[],"type":"SecureValueType"},{"id":"-874308058","predicate":"secureValueTypeAddress","params":[],"type":"SecureValueType"},{"id":"-63531698","predicate":"secureValueTypeUtilityBill","params":[],"type":"SecureValueType"},{"id":"-1995211763","predicate":"secureValueTypeBankStatement","params":[],"type":"SecureValueType"},{"id":"-1954007928","predicate":"secureValueTypeRentalAgreement","params":[],"type":"SecureValueType"},{"id":"-1713143702","predicate":"secureValueTypePassportRegistration","params":[],"type":"SecureValueType"},{"id":"-368907213","predicate":"secureValueTypeTemporaryRegistration","params":[],"type":"SecureValueType"},{"id":"-1289704741","predicate":"secureValueTypePhone","params":[],"type":"SecureValueType"},{"id":"-1908627474","predicate":"secureValueTypeEmail","params":[],"type":"SecureValueType"},{"id":"411017418","predicate":"secureValue","params":[{"name":"flags","type":"#"},{"name":"type","type":"SecureValueType"},{"name":"data","type":"flags.0?SecureData"},{"name":"front_side","type":"flags.1?SecureFile"},{"name":"reverse_side","type":"flags.2?SecureFile"},{"name":"selfie","type":"flags.3?SecureFile"},{"name":"translation","type":"flags.6?Vector"},{"name":"files","type":"flags.4?Vector"},{"name":"plain_data","type":"flags.5?SecurePlainData"},{"name":"hash","type":"bytes"}],"type":"SecureValue"},{"id":"-618540889","predicate":"inputSecureValue","params":[{"name":"flags","type":"#"},{"name":"type","type":"SecureValueType"},{"name":"data","type":"flags.0?SecureData"},{"name":"front_side","type":"flags.1?InputSecureFile"},{"name":"reverse_side","type":"flags.2?InputSecureFile"},{"name":"selfie","type":"flags.3?InputSecureFile"},{"name":"translation","type":"flags.6?Vector"},{"name":"files","type":"flags.4?Vector"},{"name":"plain_data","type":"flags.5?SecurePlainData"}],"type":"InputSecureValue"},{"id":"-316748368","predicate":"secureValueHash","params":[{"name":"type","type":"SecureValueType"},{"name":"hash","type":"bytes"}],"type":"SecureValueHash"},{"id":"-391902247","predicate":"secureValueErrorData","params":[{"name":"type","type":"SecureValueType"},{"name":"data_hash","type":"bytes"},{"name":"field","type":"string"},{"name":"text","type":"string"}],"type":"SecureValueError"},{"id":"12467706","predicate":"secureValueErrorFrontSide","params":[{"name":"type","type":"SecureValueType"},{"name":"file_hash","type":"bytes"},{"name":"text","type":"string"}],"type":"SecureValueError"},{"id":"-2037765467","predicate":"secureValueErrorReverseSide","params":[{"name":"type","type":"SecureValueType"},{"name":"file_hash","type":"bytes"},{"name":"text","type":"string"}],"type":"SecureValueError"},{"id":"-449327402","predicate":"secureValueErrorSelfie","params":[{"name":"type","type":"SecureValueType"},{"name":"file_hash","type":"bytes"},{"name":"text","type":"string"}],"type":"SecureValueError"},{"id":"2054162547","predicate":"secureValueErrorFile","params":[{"name":"type","type":"SecureValueType"},{"name":"file_hash","type":"bytes"},{"name":"text","type":"string"}],"type":"SecureValueError"},{"id":"1717706985","predicate":"secureValueErrorFiles","params":[{"name":"type","type":"SecureValueType"},{"name":"file_hash","type":"Vector"},{"name":"text","type":"string"}],"type":"SecureValueError"},{"id":"871426631","predicate":"secureCredentialsEncrypted","params":[{"name":"data","type":"bytes"},{"name":"hash","type":"bytes"},{"name":"secret","type":"bytes"}],"type":"SecureCredentialsEncrypted"},{"id":"-1389486888","predicate":"account.authorizationForm","params":[{"name":"flags","type":"#"},{"name":"required_types","type":"Vector"},{"name":"values","type":"Vector"},{"name":"errors","type":"Vector"},{"name":"users","type":"Vector"},{"name":"privacy_policy_url","type":"flags.0?string"}],"type":"account.AuthorizationForm"},{"id":"-2128640689","predicate":"account.sentEmailCode","params":[{"name":"email_pattern","type":"string"},{"name":"length","type":"int"}],"type":"account.SentEmailCode"},{"id":"455635795","predicate":"messageActionSecureValuesSentMe","params":[{"name":"values","type":"Vector"},{"name":"credentials","type":"SecureCredentialsEncrypted"}],"type":"MessageAction"},{"id":"-648257196","predicate":"messageActionSecureValuesSent","params":[{"name":"types","type":"Vector"}],"type":"MessageAction"},{"id":"1722786150","predicate":"help.deepLinkInfoEmpty","params":[],"type":"help.DeepLinkInfo"},{"id":"1783556146","predicate":"help.deepLinkInfo","params":[{"name":"flags","type":"#"},{"name":"update_app","type":"flags.0?true"},{"name":"message","type":"string"},{"name":"entities","type":"flags.1?Vector"}],"type":"help.DeepLinkInfo"},{"id":"289586518","predicate":"savedPhoneContact","params":[{"name":"phone","type":"string"},{"name":"first_name","type":"string"},{"name":"last_name","type":"string"},{"name":"date","type":"int"}],"type":"SavedContact"},{"id":"1304052993","predicate":"account.takeout","params":[{"name":"id","type":"long"}],"type":"account.Takeout"},{"id":"700340377","predicate":"inputTakeoutFileLocation","params":[],"type":"InputFileLocation"},{"id":"-513517117","predicate":"updateDialogUnreadMark","params":[{"name":"flags","type":"#"},{"name":"unread","type":"flags.0?true"},{"name":"peer","type":"DialogPeer"}],"type":"Update"},{"id":"-253500010","predicate":"messages.dialogsNotModified","params":[{"name":"count","type":"int"}],"type":"messages.Dialogs"},{"id":"-1625153079","predicate":"inputWebFileGeoPointLocation","params":[{"name":"geo_point","type":"InputGeoPoint"},{"name":"access_hash","type":"long"},{"name":"w","type":"int"},{"name":"h","type":"int"},{"name":"zoom","type":"int"},{"name":"scale","type":"int"}],"type":"InputWebFileLocation"},{"id":"-1255369827","predicate":"contacts.topPeersDisabled","params":[],"type":"contacts.TopPeers"},{"id":"-1685456582","predicate":"inputReportReasonCopyright","params":[],"type":"ReportReason"},{"id":"-732254058","predicate":"passwordKdfAlgoUnknown","params":[],"type":"PasswordKdfAlgo"},{"id":"4883767","predicate":"securePasswordKdfAlgoUnknown","params":[],"type":"SecurePasswordKdfAlgo"},{"id":"-1141711456","predicate":"securePasswordKdfAlgoPBKDF2HMACSHA512iter100000","params":[{"name":"salt","type":"bytes"}],"type":"SecurePasswordKdfAlgo"},{"id":"-2042159726","predicate":"securePasswordKdfAlgoSHA512","params":[{"name":"salt","type":"bytes"}],"type":"SecurePasswordKdfAlgo"},{"id":"354925740","predicate":"secureSecretSettings","params":[{"name":"secure_algo","type":"SecurePasswordKdfAlgo"},{"name":"secure_secret","type":"bytes"},{"name":"secure_secret_id","type":"long"}],"type":"SecureSecretSettings"},{"id":"982592842","predicate":"passwordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow","params":[{"name":"salt1","type":"bytes"},{"name":"salt2","type":"bytes"},{"name":"g","type":"int"},{"name":"p","type":"bytes"}],"type":"PasswordKdfAlgo"},{"id":"-1736378792","predicate":"inputCheckPasswordEmpty","params":[],"type":"InputCheckPasswordSRP"},{"id":"-763367294","predicate":"inputCheckPasswordSRP","params":[{"name":"srp_id","type":"long"},{"name":"A","type":"bytes"},{"name":"M1","type":"bytes"}],"type":"InputCheckPasswordSRP"},{"id":"-2036501105","predicate":"secureValueError","params":[{"name":"type","type":"SecureValueType"},{"name":"hash","type":"bytes"},{"name":"text","type":"string"}],"type":"SecureValueError"},{"id":"-1592506512","predicate":"secureValueErrorTranslationFile","params":[{"name":"type","type":"SecureValueType"},{"name":"file_hash","type":"bytes"},{"name":"text","type":"string"}],"type":"SecureValueError"},{"id":"878931416","predicate":"secureValueErrorTranslationFiles","params":[{"name":"type","type":"SecureValueType"},{"name":"file_hash","type":"Vector"},{"name":"text","type":"string"}],"type":"SecureValueError"},{"id":"-2103600678","predicate":"secureRequiredType","params":[{"name":"flags","type":"#"},{"name":"native_names","type":"flags.0?true"},{"name":"selfie_required","type":"flags.1?true"},{"name":"translation_required","type":"flags.2?true"},{"name":"type","type":"SecureValueType"}],"type":"SecureRequiredType"},{"id":"41187252","predicate":"secureRequiredTypeOneOf","params":[{"name":"types","type":"Vector"}],"type":"SecureRequiredType"},{"id":"-1078332329","predicate":"help.passportConfigNotModified","params":[],"type":"help.PassportConfig"},{"id":"-1600596305","predicate":"help.passportConfig","params":[{"name":"hash","type":"int"},{"name":"countries_langs","type":"DataJSON"}],"type":"help.PassportConfig"},{"id":"488313413","predicate":"inputAppEvent","params":[{"name":"time","type":"double"},{"name":"type","type":"string"},{"name":"peer","type":"long"},{"name":"data","type":"JSONValue"}],"type":"InputAppEvent"},{"id":"-1059185703","predicate":"jsonObjectValue","params":[{"name":"key","type":"string"},{"name":"value","type":"JSONValue"}],"type":"JSONObjectValue"},{"id":"1064139624","predicate":"jsonNull","params":[],"type":"JSONValue"},{"id":"-952869270","predicate":"jsonBool","params":[{"name":"value","type":"Bool"}],"type":"JSONValue"},{"id":"736157604","predicate":"jsonNumber","params":[{"name":"value","type":"double"}],"type":"JSONValue"},{"id":"-1222740358","predicate":"jsonString","params":[{"name":"value","type":"string"}],"type":"JSONValue"},{"id":"-146520221","predicate":"jsonArray","params":[{"name":"value","type":"Vector"}],"type":"JSONValue"},{"id":"-1715350371","predicate":"jsonObject","params":[{"name":"value","type":"Vector"}],"type":"JSONValue"},{"id":"-1311015810","predicate":"inputNotifyBroadcasts","params":[],"type":"InputNotifyPeer"},{"id":"-703403793","predicate":"notifyBroadcasts","params":[],"type":"NotifyPeer"},{"id":"-311786236","predicate":"textSubscript","params":[{"name":"text","type":"RichText"}],"type":"RichText"},{"id":"-939827711","predicate":"textSuperscript","params":[{"name":"text","type":"RichText"}],"type":"RichText"},{"id":"55281185","predicate":"textMarked","params":[{"name":"text","type":"RichText"}],"type":"RichText"},{"id":"483104362","predicate":"textPhone","params":[{"name":"text","type":"RichText"},{"name":"phone","type":"string"}],"type":"RichText"},{"id":"136105807","predicate":"textImage","params":[{"name":"document_id","type":"long"},{"name":"w","type":"int"},{"name":"h","type":"int"}],"type":"RichText"},{"id":"504660880","predicate":"pageBlockKicker","params":[{"name":"text","type":"RichText"}],"type":"PageBlock"},{"id":"878078826","predicate":"pageTableCell","params":[{"name":"flags","type":"#"},{"name":"header","type":"flags.0?true"},{"name":"align_center","type":"flags.3?true"},{"name":"align_right","type":"flags.4?true"},{"name":"valign_middle","type":"flags.5?true"},{"name":"valign_bottom","type":"flags.6?true"},{"name":"text","type":"flags.7?RichText"},{"name":"colspan","type":"flags.1?int"},{"name":"rowspan","type":"flags.2?int"}],"type":"PageTableCell"},{"id":"-524237339","predicate":"pageTableRow","params":[{"name":"cells","type":"Vector"}],"type":"PageTableRow"},{"id":"-1085412734","predicate":"pageBlockTable","params":[{"name":"flags","type":"#"},{"name":"bordered","type":"flags.0?true"},{"name":"striped","type":"flags.1?true"},{"name":"title","type":"RichText"},{"name":"rows","type":"Vector"}],"type":"PageBlock"},{"id":"1869903447","predicate":"pageCaption","params":[{"name":"text","type":"RichText"},{"name":"credit","type":"RichText"}],"type":"PageCaption"},{"id":"-1188055347","predicate":"pageListItemText","params":[{"name":"text","type":"RichText"}],"type":"PageListItem"},{"id":"635466748","predicate":"pageListItemBlocks","params":[{"name":"blocks","type":"Vector"}],"type":"PageListItem"},{"id":"1577484359","predicate":"pageListOrderedItemText","params":[{"name":"num","type":"string"},{"name":"text","type":"RichText"}],"type":"PageListOrderedItem"},{"id":"-1730311882","predicate":"pageListOrderedItemBlocks","params":[{"name":"num","type":"string"},{"name":"blocks","type":"Vector"}],"type":"PageListOrderedItem"},{"id":"-1702174239","predicate":"pageBlockOrderedList","params":[{"name":"items","type":"Vector"}],"type":"PageBlock"},{"id":"1987480557","predicate":"pageBlockDetails","params":[{"name":"flags","type":"#"},{"name":"open","type":"flags.0?true"},{"name":"blocks","type":"Vector"},{"name":"title","type":"RichText"}],"type":"PageBlock"},{"id":"-1282352120","predicate":"pageRelatedArticle","params":[{"name":"flags","type":"#"},{"name":"url","type":"string"},{"name":"webpage_id","type":"long"},{"name":"title","type":"flags.0?string"},{"name":"description","type":"flags.1?string"},{"name":"photo_id","type":"flags.2?long"},{"name":"author","type":"flags.3?string"},{"name":"published_date","type":"flags.4?int"}],"type":"PageRelatedArticle"},{"id":"370236054","predicate":"pageBlockRelatedArticles","params":[{"name":"title","type":"RichText"},{"name":"articles","type":"Vector"}],"type":"PageBlock"},{"id":"-1538310410","predicate":"pageBlockMap","params":[{"name":"geo","type":"GeoPoint"},{"name":"zoom","type":"int"},{"name":"w","type":"int"},{"name":"h","type":"int"},{"name":"caption","type":"PageCaption"}],"type":"PageBlock"},{"id":"-1738178803","predicate":"page","params":[{"name":"flags","type":"#"},{"name":"part","type":"flags.0?true"},{"name":"rtl","type":"flags.1?true"},{"name":"v2","type":"flags.2?true"},{"name":"url","type":"string"},{"name":"blocks","type":"Vector"},{"name":"photos","type":"Vector"},{"name":"documents","type":"Vector"},{"name":"views","type":"flags.3?int"}],"type":"Page"},{"id":"-610373422","predicate":"inputPrivacyKeyPhoneP2P","params":[],"type":"InputPrivacyKey"},{"id":"961092808","predicate":"privacyKeyPhoneP2P","params":[],"type":"PrivacyKey"},{"id":"894777186","predicate":"textAnchor","params":[{"name":"text","type":"RichText"},{"name":"name","type":"string"}],"type":"RichText"},{"id":"-1945767479","predicate":"help.supportName","params":[{"name":"name","type":"string"}],"type":"help.SupportName"},{"id":"-206688531","predicate":"help.userInfoEmpty","params":[],"type":"help.UserInfo"},{"id":"32192344","predicate":"help.userInfo","params":[{"name":"message","type":"string"},{"name":"entities","type":"Vector"},{"name":"author","type":"string"},{"name":"date","type":"int"}],"type":"help.UserInfo"},{"id":"-202219658","predicate":"messageActionContactSignUp","params":[],"type":"MessageAction"},{"id":"-1398708869","predicate":"updateMessagePoll","params":[{"name":"flags","type":"#"},{"name":"poll_id","type":"long"},{"name":"poll","type":"flags.0?Poll"},{"name":"results","type":"PollResults"}],"type":"Update"},{"id":"1823064809","predicate":"pollAnswer","params":[{"name":"text","type":"string"},{"name":"option","type":"bytes"}],"type":"PollAnswer"},{"id":"-2032041631","predicate":"poll","params":[{"name":"id","type":"long"},{"name":"flags","type":"#"},{"name":"closed","type":"flags.0?true"},{"name":"public_voters","type":"flags.1?true"},{"name":"multiple_choice","type":"flags.2?true"},{"name":"quiz","type":"flags.3?true"},{"name":"question","type":"string"},{"name":"answers","type":"Vector"},{"name":"close_period","type":"flags.4?int"},{"name":"close_date","type":"flags.5?int"}],"type":"Poll"},{"id":"997055186","predicate":"pollAnswerVoters","params":[{"name":"flags","type":"#"},{"name":"chosen","type":"flags.0?true"},{"name":"correct","type":"flags.1?true"},{"name":"option","type":"bytes"},{"name":"voters","type":"int"}],"type":"PollAnswerVoters"},{"id":"2061444128","predicate":"pollResults","params":[{"name":"flags","type":"#"},{"name":"min","type":"flags.0?true"},{"name":"results","type":"flags.1?Vector"},{"name":"total_voters","type":"flags.2?int"},{"name":"recent_voters","type":"flags.3?Vector"},{"name":"solution","type":"flags.4?string"},{"name":"solution_entities","type":"flags.4?Vector"}],"type":"PollResults"},{"id":"261416433","predicate":"inputMediaPoll","params":[{"name":"flags","type":"#"},{"name":"poll","type":"Poll"},{"name":"correct_answers","type":"flags.0?Vector"},{"name":"solution","type":"flags.1?string"},{"name":"solution_entities","type":"flags.1?Vector"}],"type":"InputMedia"},{"id":"1272375192","predicate":"messageMediaPoll","params":[{"name":"poll","type":"Poll"},{"name":"results","type":"PollResults"}],"type":"MessageMedia"},{"id":"-264117680","predicate":"chatOnlines","params":[{"name":"onlines","type":"int"}],"type":"ChatOnlines"},{"id":"1202287072","predicate":"statsURL","params":[{"name":"url","type":"string"}],"type":"StatsURL"},{"id":"-525288402","predicate":"photoStrippedSize","params":[{"name":"type","type":"string"},{"name":"bytes","type":"bytes"}],"type":"PhotoSize"},{"id":"1605510357","predicate":"chatAdminRights","params":[{"name":"flags","type":"#"},{"name":"change_info","type":"flags.0?true"},{"name":"post_messages","type":"flags.1?true"},{"name":"edit_messages","type":"flags.2?true"},{"name":"delete_messages","type":"flags.3?true"},{"name":"ban_users","type":"flags.4?true"},{"name":"invite_users","type":"flags.5?true"},{"name":"pin_messages","type":"flags.7?true"},{"name":"add_admins","type":"flags.9?true"},{"name":"anonymous","type":"flags.10?true"},{"name":"manage_call","type":"flags.11?true"},{"name":"other","type":"flags.12?true"},{"name":"manage_topics","type":"flags.13?true"},{"name":"post_stories","type":"flags.14?true"},{"name":"edit_stories","type":"flags.15?true"},{"name":"delete_stories","type":"flags.16?true"}],"type":"ChatAdminRights"},{"id":"-1626209256","predicate":"chatBannedRights","params":[{"name":"flags","type":"#"},{"name":"view_messages","type":"flags.0?true"},{"name":"send_messages","type":"flags.1?true"},{"name":"send_media","type":"flags.2?true"},{"name":"send_stickers","type":"flags.3?true"},{"name":"send_gifs","type":"flags.4?true"},{"name":"send_games","type":"flags.5?true"},{"name":"send_inline","type":"flags.6?true"},{"name":"embed_links","type":"flags.7?true"},{"name":"send_polls","type":"flags.8?true"},{"name":"change_info","type":"flags.10?true"},{"name":"invite_users","type":"flags.15?true"},{"name":"pin_messages","type":"flags.17?true"},{"name":"manage_topics","type":"flags.18?true"},{"name":"send_photos","type":"flags.19?true"},{"name":"send_videos","type":"flags.20?true"},{"name":"send_roundvideos","type":"flags.21?true"},{"name":"send_audios","type":"flags.22?true"},{"name":"send_voices","type":"flags.23?true"},{"name":"send_docs","type":"flags.24?true"},{"name":"send_plain","type":"flags.25?true"},{"name":"until_date","type":"int"}],"type":"ChatBannedRights"},{"id":"1421875280","predicate":"updateChatDefaultBannedRights","params":[{"name":"peer","type":"Peer"},{"name":"default_banned_rights","type":"ChatBannedRights"},{"name":"version","type":"int"}],"type":"Update"},{"id":"-433014407","predicate":"inputWallPaper","params":[{"name":"id","type":"long"},{"name":"access_hash","type":"long"}],"type":"InputWallPaper"},{"id":"1913199744","predicate":"inputWallPaperSlug","params":[{"name":"slug","type":"string"}],"type":"InputWallPaper"},{"id":"-1150621555","predicate":"channelParticipantsContacts","params":[{"name":"q","type":"string"}],"type":"ChannelParticipantsFilter"},{"id":"771095562","predicate":"channelAdminLogEventActionDefaultBannedRights","params":[{"name":"prev_banned_rights","type":"ChatBannedRights"},{"name":"new_banned_rights","type":"ChatBannedRights"}],"type":"ChannelAdminLogEventAction"},{"id":"-1895328189","predicate":"channelAdminLogEventActionStopPoll","params":[{"name":"message","type":"Message"}],"type":"ChannelAdminLogEventAction"},{"id":"471437699","predicate":"account.wallPapersNotModified","params":[],"type":"account.WallPapers"},{"id":"-842824308","predicate":"account.wallPapers","params":[{"name":"hash","type":"long"},{"name":"wallpapers","type":"Vector"}],"type":"account.WallPapers"},{"id":"-1390068360","predicate":"codeSettings","params":[{"name":"flags","type":"#"},{"name":"allow_flashcall","type":"flags.0?true"},{"name":"current_number","type":"flags.1?true"},{"name":"allow_app_hash","type":"flags.4?true"},{"name":"allow_missed_call","type":"flags.5?true"},{"name":"allow_firebase","type":"flags.7?true"},{"name":"logout_tokens","type":"flags.6?Vector"},{"name":"token","type":"flags.8?string"},{"name":"app_sandbox","type":"flags.8?Bool"}],"type":"CodeSettings"},{"id":"925826256","predicate":"wallPaperSettings","params":[{"name":"flags","type":"#"},{"name":"blur","type":"flags.1?true"},{"name":"motion","type":"flags.2?true"},{"name":"background_color","type":"flags.0?int"},{"name":"second_background_color","type":"flags.4?int"},{"name":"third_background_color","type":"flags.5?int"},{"name":"fourth_background_color","type":"flags.6?int"},{"name":"intensity","type":"flags.3?int"},{"name":"rotation","type":"flags.4?int"},{"name":"emoticon","type":"flags.7?string"}],"type":"WallPaperSettings"},{"id":"-1163561432","predicate":"autoDownloadSettings","params":[{"name":"flags","type":"#"},{"name":"disabled","type":"flags.0?true"},{"name":"video_preload_large","type":"flags.1?true"},{"name":"audio_preload_next","type":"flags.2?true"},{"name":"phonecalls_less_data","type":"flags.3?true"},{"name":"stories_preload","type":"flags.4?true"},{"name":"photo_size_max","type":"int"},{"name":"video_size_max","type":"long"},{"name":"file_size_max","type":"long"},{"name":"video_upload_maxbitrate","type":"int"},{"name":"small_queue_active_operations_max","type":"int"},{"name":"large_queue_active_operations_max","type":"int"}],"type":"AutoDownloadSettings"},{"id":"1674235686","predicate":"account.autoDownloadSettings","params":[{"name":"low","type":"AutoDownloadSettings"},{"name":"medium","type":"AutoDownloadSettings"},{"name":"high","type":"AutoDownloadSettings"}],"type":"account.AutoDownloadSettings"},{"id":"-709641735","predicate":"emojiKeyword","params":[{"name":"keyword","type":"string"},{"name":"emoticons","type":"Vector"}],"type":"EmojiKeyword"},{"id":"594408994","predicate":"emojiKeywordDeleted","params":[{"name":"keyword","type":"string"},{"name":"emoticons","type":"Vector"}],"type":"EmojiKeyword"},{"id":"1556570557","predicate":"emojiKeywordsDifference","params":[{"name":"lang_code","type":"string"},{"name":"from_version","type":"int"},{"name":"version","type":"int"},{"name":"keywords","type":"Vector"}],"type":"EmojiKeywordsDifference"},{"id":"-1519029347","predicate":"emojiURL","params":[{"name":"url","type":"string"}],"type":"EmojiURL"},{"id":"-1275374751","predicate":"emojiLanguage","params":[{"name":"lang_code","type":"string"}],"type":"EmojiLanguage"},{"id":"-1529000952","predicate":"inputPrivacyKeyForwards","params":[],"type":"InputPrivacyKey"},{"id":"1777096355","predicate":"privacyKeyForwards","params":[],"type":"PrivacyKey"},{"id":"1461304012","predicate":"inputPrivacyKeyProfilePhoto","params":[],"type":"InputPrivacyKey"},{"id":"-1777000467","predicate":"privacyKeyProfilePhoto","params":[],"type":"PrivacyKey"},{"id":"1075322878","predicate":"inputPhotoFileLocation","params":[{"name":"id","type":"long"},{"name":"access_hash","type":"long"},{"name":"file_reference","type":"bytes"},{"name":"thumb_size","type":"string"}],"type":"InputFileLocation"},{"id":"-667654413","predicate":"inputPhotoLegacyFileLocation","params":[{"name":"id","type":"long"},{"name":"access_hash","type":"long"},{"name":"file_reference","type":"bytes"},{"name":"volume_id","type":"long"},{"name":"local_id","type":"int"},{"name":"secret","type":"long"}],"type":"InputFileLocation"},{"id":"925204121","predicate":"inputPeerPhotoFileLocation","params":[{"name":"flags","type":"#"},{"name":"big","type":"flags.0?true"},{"name":"peer","type":"InputPeer"},{"name":"photo_id","type":"long"}],"type":"InputFileLocation"},{"id":"-1652231205","predicate":"inputStickerSetThumb","params":[{"name":"stickerset","type":"InputStickerSet"},{"name":"thumb_version","type":"int"}],"type":"InputFileLocation"},{"id":"-11252123","predicate":"folder","params":[{"name":"flags","type":"#"},{"name":"autofill_new_broadcasts","type":"flags.0?true"},{"name":"autofill_public_groups","type":"flags.1?true"},{"name":"autofill_new_correspondents","type":"flags.2?true"},{"name":"id","type":"int"},{"name":"title","type":"string"},{"name":"photo","type":"flags.3?ChatPhoto"}],"type":"Folder"},{"id":"1908216652","predicate":"dialogFolder","params":[{"name":"flags","type":"#"},{"name":"pinned","type":"flags.2?true"},{"name":"folder","type":"Folder"},{"name":"peer","type":"Peer"},{"name":"top_message","type":"int"},{"name":"unread_muted_peers_count","type":"int"},{"name":"unread_unmuted_peers_count","type":"int"},{"name":"unread_muted_messages_count","type":"int"},{"name":"unread_unmuted_messages_count","type":"int"}],"type":"Dialog"},{"id":"1684014375","predicate":"inputDialogPeerFolder","params":[{"name":"folder_id","type":"int"}],"type":"InputDialogPeer"},{"id":"1363483106","predicate":"dialogPeerFolder","params":[{"name":"folder_id","type":"int"}],"type":"DialogPeer"},{"id":"-70073706","predicate":"inputFolderPeer","params":[{"name":"peer","type":"InputPeer"},{"name":"folder_id","type":"int"}],"type":"InputFolderPeer"},{"id":"-373643672","predicate":"folderPeer","params":[{"name":"peer","type":"Peer"},{"name":"folder_id","type":"int"}],"type":"FolderPeer"},{"id":"422972864","predicate":"updateFolderPeers","params":[{"name":"folder_peers","type":"Vector"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"}],"type":"Update"},{"id":"497305826","predicate":"inputUserFromMessage","params":[{"name":"peer","type":"InputPeer"},{"name":"msg_id","type":"int"},{"name":"user_id","type":"long"}],"type":"InputUser"},{"id":"1536380829","predicate":"inputChannelFromMessage","params":[{"name":"peer","type":"InputPeer"},{"name":"msg_id","type":"int"},{"name":"channel_id","type":"long"}],"type":"InputChannel"},{"id":"-1468331492","predicate":"inputPeerUserFromMessage","params":[{"name":"peer","type":"InputPeer"},{"name":"msg_id","type":"int"},{"name":"user_id","type":"long"}],"type":"InputPeer"},{"id":"-1121318848","predicate":"inputPeerChannelFromMessage","params":[{"name":"peer","type":"InputPeer"},{"name":"msg_id","type":"int"},{"name":"channel_id","type":"long"}],"type":"InputPeer"},{"id":"55761658","predicate":"inputPrivacyKeyPhoneNumber","params":[],"type":"InputPrivacyKey"},{"id":"-778378131","predicate":"privacyKeyPhoneNumber","params":[],"type":"PrivacyKey"},{"id":"-1472172887","predicate":"topPeerCategoryForwardUsers","params":[],"type":"TopPeerCategory"},{"id":"-68239120","predicate":"topPeerCategoryForwardChats","params":[],"type":"TopPeerCategory"},{"id":"84703944","predicate":"channelAdminLogEventActionChangeLinkedChat","params":[{"name":"prev_value","type":"long"},{"name":"new_value","type":"long"}],"type":"ChannelAdminLogEventAction"},{"id":"-398136321","predicate":"messages.searchCounter","params":[{"name":"flags","type":"#"},{"name":"inexact","type":"flags.1?true"},{"name":"filter","type":"MessagesFilter"},{"name":"count","type":"int"}],"type":"messages.SearchCounter"},{"id":"280464681","predicate":"keyboardButtonUrlAuth","params":[{"name":"flags","type":"#"},{"name":"text","type":"string"},{"name":"fwd_text","type":"flags.0?string"},{"name":"url","type":"string"},{"name":"button_id","type":"int"}],"type":"KeyboardButton"},{"id":"-802258988","predicate":"inputKeyboardButtonUrlAuth","params":[{"name":"flags","type":"#"},{"name":"request_write_access","type":"flags.0?true"},{"name":"text","type":"string"},{"name":"fwd_text","type":"flags.1?string"},{"name":"url","type":"string"},{"name":"bot","type":"InputUser"}],"type":"KeyboardButton"},{"id":"-1831650802","predicate":"urlAuthResultRequest","params":[{"name":"flags","type":"#"},{"name":"request_write_access","type":"flags.0?true"},{"name":"bot","type":"User"},{"name":"domain","type":"string"}],"type":"UrlAuthResult"},{"id":"-1886646706","predicate":"urlAuthResultAccepted","params":[{"name":"url","type":"string"}],"type":"UrlAuthResult"},{"id":"-1445536993","predicate":"urlAuthResultDefault","params":[],"type":"UrlAuthResult"},{"id":"-2079962673","predicate":"inputPrivacyValueAllowChatParticipants","params":[{"name":"chats","type":"Vector"}],"type":"InputPrivacyRule"},{"id":"-380694650","predicate":"inputPrivacyValueDisallowChatParticipants","params":[{"name":"chats","type":"Vector"}],"type":"InputPrivacyRule"},{"id":"1796427406","predicate":"privacyValueAllowChatParticipants","params":[{"name":"chats","type":"Vector"}],"type":"PrivacyRule"},{"id":"1103656293","predicate":"privacyValueDisallowChatParticipants","params":[{"name":"chats","type":"Vector"}],"type":"PrivacyRule"},{"id":"-1672577397","predicate":"messageEntityUnderline","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"}],"type":"MessageEntity"},{"id":"-1090087980","predicate":"messageEntityStrike","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"}],"type":"MessageEntity"},{"id":"1786671974","predicate":"updatePeerSettings","params":[{"name":"peer","type":"Peer"},{"name":"settings","type":"PeerSettings"}],"type":"Update"},{"id":"-1078612597","predicate":"channelLocationEmpty","params":[],"type":"ChannelLocation"},{"id":"547062491","predicate":"channelLocation","params":[{"name":"geo_point","type":"GeoPoint"},{"name":"address","type":"string"}],"type":"ChannelLocation"},{"id":"-901375139","predicate":"peerLocated","params":[{"name":"peer","type":"Peer"},{"name":"expires","type":"int"},{"name":"distance","type":"int"}],"type":"PeerLocated"},{"id":"-1263546448","predicate":"updatePeerLocated","params":[{"name":"peers","type":"Vector"}],"type":"Update"},{"id":"241923758","predicate":"channelAdminLogEventActionChangeLocation","params":[{"name":"prev_value","type":"ChannelLocation"},{"name":"new_value","type":"ChannelLocation"}],"type":"ChannelAdminLogEventAction"},{"id":"-606798099","predicate":"inputReportReasonGeoIrrelevant","params":[],"type":"ReportReason"},{"id":"1401984889","predicate":"channelAdminLogEventActionToggleSlowMode","params":[{"name":"prev_value","type":"int"},{"name":"new_value","type":"int"}],"type":"ChannelAdminLogEventAction"},{"id":"1148485274","predicate":"auth.authorizationSignUpRequired","params":[{"name":"flags","type":"#"},{"name":"terms_of_service","type":"flags.0?help.TermsOfService"}],"type":"auth.Authorization"},{"id":"-666824391","predicate":"payments.paymentVerificationNeeded","params":[{"name":"url","type":"string"}],"type":"payments.PaymentResult"},{"id":"42402760","predicate":"inputStickerSetAnimatedEmoji","params":[],"type":"InputStickerSet"},{"id":"967122427","predicate":"updateNewScheduledMessage","params":[{"name":"message","type":"Message"}],"type":"Update"},{"id":"-1870238482","predicate":"updateDeleteScheduledMessages","params":[{"name":"peer","type":"Peer"},{"name":"messages","type":"Vector"}],"type":"Update"},{"id":"-797791052","predicate":"restrictionReason","params":[{"name":"platform","type":"string"},{"name":"reason","type":"string"},{"name":"text","type":"string"}],"type":"RestrictionReason"},{"id":"1012306921","predicate":"inputTheme","params":[{"name":"id","type":"long"},{"name":"access_hash","type":"long"}],"type":"InputTheme"},{"id":"-175567375","predicate":"inputThemeSlug","params":[{"name":"slug","type":"string"}],"type":"InputTheme"},{"id":"-1609668650","predicate":"theme","params":[{"name":"flags","type":"#"},{"name":"creator","type":"flags.0?true"},{"name":"default","type":"flags.1?true"},{"name":"for_chat","type":"flags.5?true"},{"name":"id","type":"long"},{"name":"access_hash","type":"long"},{"name":"slug","type":"string"},{"name":"title","type":"string"},{"name":"document","type":"flags.2?Document"},{"name":"settings","type":"flags.3?Vector"},{"name":"emoticon","type":"flags.6?string"},{"name":"installs_count","type":"flags.4?int"}],"type":"Theme"},{"id":"-199313886","predicate":"account.themesNotModified","params":[],"type":"account.Themes"},{"id":"-1707242387","predicate":"account.themes","params":[{"name":"hash","type":"long"},{"name":"themes","type":"Vector"}],"type":"account.Themes"},{"id":"-2112423005","predicate":"updateTheme","params":[{"name":"theme","type":"Theme"}],"type":"Update"},{"id":"-786326563","predicate":"inputPrivacyKeyAddedByPhone","params":[],"type":"InputPrivacyKey"},{"id":"1124062251","predicate":"privacyKeyAddedByPhone","params":[],"type":"PrivacyKey"},{"id":"-2027964103","predicate":"updateGeoLiveViewed","params":[{"name":"peer","type":"Peer"},{"name":"msg_id","type":"int"}],"type":"Update"},{"id":"1448076945","predicate":"updateLoginToken","params":[],"type":"Update"},{"id":"1654593920","predicate":"auth.loginToken","params":[{"name":"expires","type":"int"},{"name":"token","type":"bytes"}],"type":"auth.LoginToken"},{"id":"110008598","predicate":"auth.loginTokenMigrateTo","params":[{"name":"dc_id","type":"int"},{"name":"token","type":"bytes"}],"type":"auth.LoginToken"},{"id":"957176926","predicate":"auth.loginTokenSuccess","params":[{"name":"authorization","type":"auth.Authorization"}],"type":"auth.LoginToken"},{"id":"1474462241","predicate":"account.contentSettings","params":[{"name":"flags","type":"#"},{"name":"sensitive_enabled","type":"flags.0?true"},{"name":"sensitive_can_change","type":"flags.1?true"}],"type":"account.ContentSettings"},{"id":"-1456996667","predicate":"messages.inactiveChats","params":[{"name":"dates","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"messages.InactiveChats"},{"id":"-1012849566","predicate":"baseThemeClassic","params":[],"type":"BaseTheme"},{"id":"-69724536","predicate":"baseThemeDay","params":[],"type":"BaseTheme"},{"id":"-1212997976","predicate":"baseThemeNight","params":[],"type":"BaseTheme"},{"id":"1834973166","predicate":"baseThemeTinted","params":[],"type":"BaseTheme"},{"id":"1527845466","predicate":"baseThemeArctic","params":[],"type":"BaseTheme"},{"id":"-1770371538","predicate":"inputWallPaperNoFile","params":[{"name":"id","type":"long"}],"type":"InputWallPaper"},{"id":"-528465642","predicate":"wallPaperNoFile","params":[{"name":"id","type":"long"},{"name":"flags","type":"#"},{"name":"default","type":"flags.1?true"},{"name":"dark","type":"flags.4?true"},{"name":"settings","type":"flags.2?WallPaperSettings"}],"type":"WallPaper"},{"id":"-1881255857","predicate":"inputThemeSettings","params":[{"name":"flags","type":"#"},{"name":"message_colors_animated","type":"flags.2?true"},{"name":"base_theme","type":"BaseTheme"},{"name":"accent_color","type":"int"},{"name":"outbox_accent_color","type":"flags.3?int"},{"name":"message_colors","type":"flags.0?Vector"},{"name":"wallpaper","type":"flags.1?InputWallPaper"},{"name":"wallpaper_settings","type":"flags.1?WallPaperSettings"}],"type":"InputThemeSettings"},{"id":"-94849324","predicate":"themeSettings","params":[{"name":"flags","type":"#"},{"name":"message_colors_animated","type":"flags.2?true"},{"name":"base_theme","type":"BaseTheme"},{"name":"accent_color","type":"int"},{"name":"outbox_accent_color","type":"flags.3?int"},{"name":"message_colors","type":"flags.0?Vector"},{"name":"wallpaper","type":"flags.1?WallPaper"}],"type":"ThemeSettings"},{"id":"1421174295","predicate":"webPageAttributeTheme","params":[{"name":"flags","type":"#"},{"name":"documents","type":"flags.0?Vector"},{"name":"settings","type":"flags.1?ThemeSettings"}],"type":"WebPageAttribute"},{"id":"619974263","predicate":"updateMessagePollVote","params":[{"name":"poll_id","type":"long"},{"name":"peer","type":"Peer"},{"name":"options","type":"Vector"},{"name":"qts","type":"int"}],"type":"Update"},{"id":"1218005070","predicate":"messages.votesList","params":[{"name":"flags","type":"#"},{"name":"count","type":"int"},{"name":"votes","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"},{"name":"next_offset","type":"flags.0?string"}],"type":"messages.VotesList"},{"id":"-1144565411","predicate":"keyboardButtonRequestPoll","params":[{"name":"flags","type":"#"},{"name":"quiz","type":"flags.0?Bool"},{"name":"text","type":"string"}],"type":"KeyboardButton"},{"id":"1981704948","predicate":"messageEntityBankCard","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"}],"type":"MessageEntity"},{"id":"-177732982","predicate":"bankCardOpenUrl","params":[{"name":"url","type":"string"},{"name":"name","type":"string"}],"type":"BankCardOpenUrl"},{"id":"1042605427","predicate":"payments.bankCardData","params":[{"name":"title","type":"string"},{"name":"open_urls","type":"Vector"}],"type":"payments.BankCardData"},{"id":"-118740917","predicate":"peerSelfLocated","params":[{"name":"expires","type":"int"}],"type":"PeerLocated"},{"id":"1949890536","predicate":"dialogFilter","params":[{"name":"flags","type":"#"},{"name":"contacts","type":"flags.0?true"},{"name":"non_contacts","type":"flags.1?true"},{"name":"groups","type":"flags.2?true"},{"name":"broadcasts","type":"flags.3?true"},{"name":"bots","type":"flags.4?true"},{"name":"exclude_muted","type":"flags.11?true"},{"name":"exclude_read","type":"flags.12?true"},{"name":"exclude_archived","type":"flags.13?true"},{"name":"id","type":"int"},{"name":"title","type":"string"},{"name":"emoticon","type":"flags.25?string"},{"name":"pinned_peers","type":"Vector"},{"name":"include_peers","type":"Vector"},{"name":"exclude_peers","type":"Vector"}],"type":"DialogFilter"},{"id":"2004110666","predicate":"dialogFilterSuggested","params":[{"name":"filter","type":"DialogFilter"},{"name":"description","type":"string"}],"type":"DialogFilterSuggested"},{"id":"654302845","predicate":"updateDialogFilter","params":[{"name":"flags","type":"#"},{"name":"id","type":"int"},{"name":"filter","type":"flags.0?DialogFilter"}],"type":"Update"},{"id":"-1512627963","predicate":"updateDialogFilterOrder","params":[{"name":"order","type":"Vector"}],"type":"Update"},{"id":"889491791","predicate":"updateDialogFilters","params":[],"type":"Update"},{"id":"-1237848657","predicate":"statsDateRangeDays","params":[{"name":"min_date","type":"int"},{"name":"max_date","type":"int"}],"type":"StatsDateRangeDays"},{"id":"-884757282","predicate":"statsAbsValueAndPrev","params":[{"name":"current","type":"double"},{"name":"previous","type":"double"}],"type":"StatsAbsValueAndPrev"},{"id":"-875679776","predicate":"statsPercentValue","params":[{"name":"part","type":"double"},{"name":"total","type":"double"}],"type":"StatsPercentValue"},{"id":"1244130093","predicate":"statsGraphAsync","params":[{"name":"token","type":"string"}],"type":"StatsGraph"},{"id":"-1092839390","predicate":"statsGraphError","params":[{"name":"error","type":"string"}],"type":"StatsGraph"},{"id":"-1901828938","predicate":"statsGraph","params":[{"name":"flags","type":"#"},{"name":"json","type":"DataJSON"},{"name":"zoom_token","type":"flags.0?string"}],"type":"StatsGraph"},{"id":"963421692","predicate":"stats.broadcastStats","params":[{"name":"period","type":"StatsDateRangeDays"},{"name":"followers","type":"StatsAbsValueAndPrev"},{"name":"views_per_post","type":"StatsAbsValueAndPrev"},{"name":"shares_per_post","type":"StatsAbsValueAndPrev"},{"name":"reactions_per_post","type":"StatsAbsValueAndPrev"},{"name":"views_per_story","type":"StatsAbsValueAndPrev"},{"name":"shares_per_story","type":"StatsAbsValueAndPrev"},{"name":"reactions_per_story","type":"StatsAbsValueAndPrev"},{"name":"enabled_notifications","type":"StatsPercentValue"},{"name":"growth_graph","type":"StatsGraph"},{"name":"followers_graph","type":"StatsGraph"},{"name":"mute_graph","type":"StatsGraph"},{"name":"top_hours_graph","type":"StatsGraph"},{"name":"interactions_graph","type":"StatsGraph"},{"name":"iv_interactions_graph","type":"StatsGraph"},{"name":"views_by_source_graph","type":"StatsGraph"},{"name":"new_followers_by_source_graph","type":"StatsGraph"},{"name":"languages_graph","type":"StatsGraph"},{"name":"reactions_by_emotion_graph","type":"StatsGraph"},{"name":"story_interactions_graph","type":"StatsGraph"},{"name":"story_reactions_by_emotion_graph","type":"StatsGraph"},{"name":"recent_posts_interactions","type":"Vector"}],"type":"stats.BroadcastStats"},{"id":"-428884101","predicate":"inputMediaDice","params":[{"name":"emoticon","type":"string"}],"type":"InputMedia"},{"id":"1065280907","predicate":"messageMediaDice","params":[{"name":"value","type":"int"},{"name":"emoticon","type":"string"}],"type":"MessageMedia"},{"id":"-427863538","predicate":"inputStickerSetDice","params":[{"name":"emoticon","type":"string"}],"type":"InputStickerSet"},{"id":"-1728664459","predicate":"help.promoDataEmpty","params":[{"name":"expires","type":"int"}],"type":"help.PromoData"},{"id":"-1942390465","predicate":"help.promoData","params":[{"name":"flags","type":"#"},{"name":"proxy","type":"flags.0?true"},{"name":"expires","type":"int"},{"name":"peer","type":"Peer"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"},{"name":"psa_type","type":"flags.1?string"},{"name":"psa_message","type":"flags.2?string"}],"type":"help.PromoData"},{"id":"-567037804","predicate":"videoSize","params":[{"name":"flags","type":"#"},{"name":"type","type":"string"},{"name":"w","type":"int"},{"name":"h","type":"int"},{"name":"size","type":"int"},{"name":"video_start_ts","type":"flags.0?double"}],"type":"VideoSize"},{"id":"643940105","predicate":"updatePhoneCallSignalingData","params":[{"name":"phone_call_id","type":"long"},{"name":"data","type":"bytes"}],"type":"Update"},{"id":"1634294960","predicate":"chatInvitePeek","params":[{"name":"chat","type":"Chat"},{"name":"expires","type":"int"}],"type":"ChatInvite"},{"id":"-1660637285","predicate":"statsGroupTopPoster","params":[{"name":"user_id","type":"long"},{"name":"messages","type":"int"},{"name":"avg_chars","type":"int"}],"type":"StatsGroupTopPoster"},{"id":"-682079097","predicate":"statsGroupTopAdmin","params":[{"name":"user_id","type":"long"},{"name":"deleted","type":"int"},{"name":"kicked","type":"int"},{"name":"banned","type":"int"}],"type":"StatsGroupTopAdmin"},{"id":"1398765469","predicate":"statsGroupTopInviter","params":[{"name":"user_id","type":"long"},{"name":"invitations","type":"int"}],"type":"StatsGroupTopInviter"},{"id":"-276825834","predicate":"stats.megagroupStats","params":[{"name":"period","type":"StatsDateRangeDays"},{"name":"members","type":"StatsAbsValueAndPrev"},{"name":"messages","type":"StatsAbsValueAndPrev"},{"name":"viewers","type":"StatsAbsValueAndPrev"},{"name":"posters","type":"StatsAbsValueAndPrev"},{"name":"growth_graph","type":"StatsGraph"},{"name":"members_graph","type":"StatsGraph"},{"name":"new_members_by_source_graph","type":"StatsGraph"},{"name":"languages_graph","type":"StatsGraph"},{"name":"messages_graph","type":"StatsGraph"},{"name":"actions_graph","type":"StatsGraph"},{"name":"top_hours_graph","type":"StatsGraph"},{"name":"weekdays_graph","type":"StatsGraph"},{"name":"top_posters","type":"Vector"},{"name":"top_admins","type":"Vector"},{"name":"top_inviters","type":"Vector"},{"name":"users","type":"Vector"}],"type":"stats.MegagroupStats"},{"id":"1934380235","predicate":"globalPrivacySettings","params":[{"name":"flags","type":"#"},{"name":"archive_and_mute_new_noncontact_peers","type":"flags.0?true"},{"name":"keep_archived_unmuted","type":"flags.1?true"},{"name":"keep_archived_folders","type":"flags.2?true"}],"type":"GlobalPrivacySettings"},{"id":"1667228533","predicate":"phoneConnectionWebrtc","params":[{"name":"flags","type":"#"},{"name":"turn","type":"flags.0?true"},{"name":"stun","type":"flags.1?true"},{"name":"id","type":"long"},{"name":"ip","type":"string"},{"name":"ipv6","type":"string"},{"name":"port","type":"int"},{"name":"username","type":"string"},{"name":"password","type":"string"}],"type":"PhoneConnection"},{"id":"1107543535","predicate":"help.countryCode","params":[{"name":"flags","type":"#"},{"name":"country_code","type":"string"},{"name":"prefixes","type":"flags.0?Vector"},{"name":"patterns","type":"flags.1?Vector"}],"type":"help.CountryCode"},{"id":"-1014526429","predicate":"help.country","params":[{"name":"flags","type":"#"},{"name":"hidden","type":"flags.0?true"},{"name":"iso2","type":"string"},{"name":"default_name","type":"string"},{"name":"name","type":"flags.1?string"},{"name":"country_codes","type":"Vector"}],"type":"help.Country"},{"id":"-1815339214","predicate":"help.countriesListNotModified","params":[],"type":"help.CountriesList"},{"id":"-2016381538","predicate":"help.countriesList","params":[{"name":"countries","type":"Vector"},{"name":"hash","type":"int"}],"type":"help.CountriesList"},{"id":"1163625789","predicate":"messageViews","params":[{"name":"flags","type":"#"},{"name":"views","type":"flags.0?int"},{"name":"forwards","type":"flags.1?int"},{"name":"replies","type":"flags.2?MessageReplies"}],"type":"MessageViews"},{"id":"-761649164","predicate":"updateChannelMessageForwards","params":[{"name":"channel_id","type":"long"},{"name":"id","type":"int"},{"name":"forwards","type":"int"}],"type":"Update"},{"id":"-96535659","predicate":"photoSizeProgressive","params":[{"name":"type","type":"string"},{"name":"w","type":"int"},{"name":"h","type":"int"},{"name":"sizes","type":"Vector"}],"type":"PhotoSize"},{"id":"-1228606141","predicate":"messages.messageViews","params":[{"name":"views","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"messages.MessageViews"},{"id":"-693004986","predicate":"updateReadChannelDiscussionInbox","params":[{"name":"flags","type":"#"},{"name":"channel_id","type":"long"},{"name":"top_msg_id","type":"int"},{"name":"read_max_id","type":"int"},{"name":"broadcast_id","type":"flags.0?long"},{"name":"broadcast_post","type":"flags.0?int"}],"type":"Update"},{"id":"1767677564","predicate":"updateReadChannelDiscussionOutbox","params":[{"name":"channel_id","type":"long"},{"name":"top_msg_id","type":"int"},{"name":"read_max_id","type":"int"}],"type":"Update"},{"id":"-1506535550","predicate":"messages.discussionMessage","params":[{"name":"flags","type":"#"},{"name":"messages","type":"Vector"},{"name":"max_id","type":"flags.0?int"},{"name":"read_inbox_max_id","type":"flags.1?int"},{"name":"read_outbox_max_id","type":"flags.2?int"},{"name":"unread_count","type":"int"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"messages.DiscussionMessage"},{"id":"-1346631205","predicate":"messageReplyHeader","params":[{"name":"flags","type":"#"},{"name":"reply_to_scheduled","type":"flags.2?true"},{"name":"forum_topic","type":"flags.3?true"},{"name":"quote","type":"flags.9?true"},{"name":"reply_to_msg_id","type":"flags.4?int"},{"name":"reply_to_peer_id","type":"flags.0?Peer"},{"name":"reply_from","type":"flags.5?MessageFwdHeader"},{"name":"reply_media","type":"flags.8?MessageMedia"},{"name":"reply_to_top_id","type":"flags.1?int"},{"name":"quote_text","type":"flags.6?string"},{"name":"quote_entities","type":"flags.7?Vector"},{"name":"quote_offset","type":"flags.10?int"}],"type":"MessageReplyHeader"},{"id":"-2083123262","predicate":"messageReplies","params":[{"name":"flags","type":"#"},{"name":"comments","type":"flags.0?true"},{"name":"replies","type":"int"},{"name":"replies_pts","type":"int"},{"name":"recent_repliers","type":"flags.1?Vector"},{"name":"channel_id","type":"flags.0?long"},{"name":"max_id","type":"flags.2?int"},{"name":"read_max_id","type":"flags.3?int"}],"type":"MessageReplies"},{"id":"-337610926","predicate":"updatePeerBlocked","params":[{"name":"flags","type":"#"},{"name":"blocked","type":"flags.0?true"},{"name":"blocked_my_stories_from","type":"flags.1?true"},{"name":"peer_id","type":"Peer"}],"type":"Update"},{"id":"-386039788","predicate":"peerBlocked","params":[{"name":"peer_id","type":"Peer"},{"name":"date","type":"int"}],"type":"PeerBlocked"},{"id":"-1937192669","predicate":"updateChannelUserTyping","params":[{"name":"flags","type":"#"},{"name":"channel_id","type":"long"},{"name":"top_msg_id","type":"flags.0?int"},{"name":"from_id","type":"Peer"},{"name":"action","type":"SendMessageAction"}],"type":"Update"},{"id":"-1392895362","predicate":"inputMessageCallbackQuery","params":[{"name":"id","type":"int"},{"name":"query_id","type":"long"}],"type":"InputMessage"},{"id":"453242886","predicate":"channelParticipantLeft","params":[{"name":"peer","type":"Peer"}],"type":"ChannelParticipant"},{"id":"-531931925","predicate":"channelParticipantsMentions","params":[{"name":"flags","type":"#"},{"name":"q","type":"flags.0?string"},{"name":"top_msg_id","type":"flags.1?int"}],"type":"ChannelParticipantsFilter"},{"id":"-309990731","predicate":"updatePinnedMessages","params":[{"name":"flags","type":"#"},{"name":"pinned","type":"flags.0?true"},{"name":"peer","type":"Peer"},{"name":"messages","type":"Vector"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"}],"type":"Update"},{"id":"1538885128","predicate":"updatePinnedChannelMessages","params":[{"name":"flags","type":"#"},{"name":"pinned","type":"flags.0?true"},{"name":"channel_id","type":"long"},{"name":"messages","type":"Vector"},{"name":"pts","type":"int"},{"name":"pts_count","type":"int"}],"type":"Update"},{"id":"464520273","predicate":"inputMessagesFilterPinned","params":[],"type":"MessagesFilter"},{"id":"2145983508","predicate":"stats.messageStats","params":[{"name":"views_graph","type":"StatsGraph"},{"name":"reactions_by_emotion_graph","type":"StatsGraph"}],"type":"stats.MessageStats"},{"id":"-1730095465","predicate":"messageActionGeoProximityReached","params":[{"name":"from_id","type":"Peer"},{"name":"to_id","type":"Peer"},{"name":"distance","type":"int"}],"type":"MessageAction"},{"id":"-668906175","predicate":"photoPathSize","params":[{"name":"type","type":"string"},{"name":"bytes","type":"bytes"}],"type":"PhotoSize"},{"id":"-651419003","predicate":"speakingInGroupCallAction","params":[],"type":"SendMessageAction"},{"id":"2004925620","predicate":"groupCallDiscarded","params":[{"name":"id","type":"long"},{"name":"access_hash","type":"long"},{"name":"duration","type":"int"}],"type":"GroupCall"},{"id":"-711498484","predicate":"groupCall","params":[{"name":"flags","type":"#"},{"name":"join_muted","type":"flags.1?true"},{"name":"can_change_join_muted","type":"flags.2?true"},{"name":"join_date_asc","type":"flags.6?true"},{"name":"schedule_start_subscribed","type":"flags.8?true"},{"name":"can_start_video","type":"flags.9?true"},{"name":"record_video_active","type":"flags.11?true"},{"name":"rtmp_stream","type":"flags.12?true"},{"name":"listeners_hidden","type":"flags.13?true"},{"name":"id","type":"long"},{"name":"access_hash","type":"long"},{"name":"participants_count","type":"int"},{"name":"title","type":"flags.3?string"},{"name":"stream_dc_id","type":"flags.4?int"},{"name":"record_start_date","type":"flags.5?int"},{"name":"schedule_date","type":"flags.7?int"},{"name":"unmuted_video_count","type":"flags.10?int"},{"name":"unmuted_video_limit","type":"int"},{"name":"version","type":"int"}],"type":"GroupCall"},{"id":"-659913713","predicate":"inputGroupCall","params":[{"name":"id","type":"long"},{"name":"access_hash","type":"long"}],"type":"InputGroupCall"},{"id":"2047704898","predicate":"messageActionGroupCall","params":[{"name":"flags","type":"#"},{"name":"call","type":"InputGroupCall"},{"name":"duration","type":"flags.0?int"}],"type":"MessageAction"},{"id":"1345295095","predicate":"messageActionInviteToGroupCall","params":[{"name":"call","type":"InputGroupCall"},{"name":"users","type":"Vector"}],"type":"MessageAction"},{"id":"-341428482","predicate":"groupCallParticipant","params":[{"name":"flags","type":"#"},{"name":"muted","type":"flags.0?true"},{"name":"left","type":"flags.1?true"},{"name":"can_self_unmute","type":"flags.2?true"},{"name":"just_joined","type":"flags.4?true"},{"name":"versioned","type":"flags.5?true"},{"name":"min","type":"flags.8?true"},{"name":"muted_by_you","type":"flags.9?true"},{"name":"volume_by_admin","type":"flags.10?true"},{"name":"self","type":"flags.12?true"},{"name":"video_joined","type":"flags.15?true"},{"name":"peer","type":"Peer"},{"name":"date","type":"int"},{"name":"active_date","type":"flags.3?int"},{"name":"source","type":"int"},{"name":"volume","type":"flags.7?int"},{"name":"about","type":"flags.11?string"},{"name":"raise_hand_rating","type":"flags.13?long"},{"name":"video","type":"flags.6?GroupCallParticipantVideo"},{"name":"presentation","type":"flags.14?GroupCallParticipantVideo"}],"type":"GroupCallParticipant"},{"id":"-124097970","predicate":"updateChat","params":[{"name":"chat_id","type":"long"}],"type":"Update"},{"id":"-219423922","predicate":"updateGroupCallParticipants","params":[{"name":"call","type":"InputGroupCall"},{"name":"participants","type":"Vector"},{"name":"version","type":"int"}],"type":"Update"},{"id":"347227392","predicate":"updateGroupCall","params":[{"name":"chat_id","type":"long"},{"name":"call","type":"GroupCall"}],"type":"Update"},{"id":"-1636664659","predicate":"phone.groupCall","params":[{"name":"call","type":"GroupCall"},{"name":"participants","type":"Vector"},{"name":"participants_next_offset","type":"string"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"phone.GroupCall"},{"id":"-193506890","predicate":"phone.groupParticipants","params":[{"name":"count","type":"int"},{"name":"participants","type":"Vector"},{"name":"next_offset","type":"string"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"},{"name":"version","type":"int"}],"type":"phone.GroupParticipants"},{"id":"813821341","predicate":"inlineQueryPeerTypeSameBotPM","params":[],"type":"InlineQueryPeerType"},{"id":"-2093215828","predicate":"inlineQueryPeerTypePM","params":[],"type":"InlineQueryPeerType"},{"id":"-681130742","predicate":"inlineQueryPeerTypeChat","params":[],"type":"InlineQueryPeerType"},{"id":"1589952067","predicate":"inlineQueryPeerTypeMegagroup","params":[],"type":"InlineQueryPeerType"},{"id":"1664413338","predicate":"inlineQueryPeerTypeBroadcast","params":[],"type":"InlineQueryPeerType"},{"id":"589338437","predicate":"channelAdminLogEventActionStartGroupCall","params":[{"name":"call","type":"InputGroupCall"}],"type":"ChannelAdminLogEventAction"},{"id":"-610299584","predicate":"channelAdminLogEventActionDiscardGroupCall","params":[{"name":"call","type":"InputGroupCall"}],"type":"ChannelAdminLogEventAction"},{"id":"-115071790","predicate":"channelAdminLogEventActionParticipantMute","params":[{"name":"participant","type":"GroupCallParticipant"}],"type":"ChannelAdminLogEventAction"},{"id":"-431740480","predicate":"channelAdminLogEventActionParticipantUnmute","params":[{"name":"participant","type":"GroupCallParticipant"}],"type":"ChannelAdminLogEventAction"},{"id":"1456906823","predicate":"channelAdminLogEventActionToggleGroupCallSetting","params":[{"name":"join_muted","type":"Bool"}],"type":"ChannelAdminLogEventAction"},{"id":"-1966921727","predicate":"inputPaymentCredentialsGooglePay","params":[{"name":"payment_token","type":"DataJSON"}],"type":"InputPaymentCredentials"},{"id":"375566091","predicate":"messages.historyImport","params":[{"name":"id","type":"long"}],"type":"messages.HistoryImport"},{"id":"-606432698","predicate":"sendMessageHistoryImportAction","params":[{"name":"progress","type":"int"}],"type":"SendMessageAction"},{"id":"1578088377","predicate":"messages.historyImportParsed","params":[{"name":"flags","type":"#"},{"name":"pm","type":"flags.0?true"},{"name":"group","type":"flags.1?true"},{"name":"title","type":"flags.2?string"}],"type":"messages.HistoryImportParsed"},{"id":"-170010905","predicate":"inputReportReasonFake","params":[],"type":"ReportReason"},{"id":"-275956116","predicate":"messages.affectedFoundMessages","params":[{"name":"pts","type":"int"},{"name":"pts_count","type":"int"},{"name":"offset","type":"int"},{"name":"messages","type":"Vector"}],"type":"messages.AffectedFoundMessages"},{"id":"1007897979","predicate":"messageActionSetMessagesTTL","params":[{"name":"flags","type":"#"},{"name":"period","type":"int"},{"name":"auto_setting_from","type":"flags.0?long"}],"type":"MessageAction"},{"id":"-1147422299","predicate":"updatePeerHistoryTTL","params":[{"name":"flags","type":"#"},{"name":"peer","type":"Peer"},{"name":"ttl_period","type":"flags.0?int"}],"type":"Update"},{"id":"-796432838","predicate":"updateChatParticipant","params":[{"name":"flags","type":"#"},{"name":"chat_id","type":"long"},{"name":"date","type":"int"},{"name":"actor_id","type":"long"},{"name":"user_id","type":"long"},{"name":"prev_participant","type":"flags.0?ChatParticipant"},{"name":"new_participant","type":"flags.1?ChatParticipant"},{"name":"invite","type":"flags.2?ExportedChatInvite"},{"name":"qts","type":"int"}],"type":"Update"},{"id":"-1738720581","predicate":"updateChannelParticipant","params":[{"name":"flags","type":"#"},{"name":"via_chatlist","type":"flags.3?true"},{"name":"channel_id","type":"long"},{"name":"date","type":"int"},{"name":"actor_id","type":"long"},{"name":"user_id","type":"long"},{"name":"prev_participant","type":"flags.0?ChannelParticipant"},{"name":"new_participant","type":"flags.1?ChannelParticipant"},{"name":"invite","type":"flags.2?ExportedChatInvite"},{"name":"qts","type":"int"}],"type":"Update"},{"id":"-997782967","predicate":"updateBotStopped","params":[{"name":"user_id","type":"long"},{"name":"date","type":"int"},{"name":"stopped","type":"Bool"},{"name":"qts","type":"int"}],"type":"Update"},{"id":"-1940201511","predicate":"chatInviteImporter","params":[{"name":"flags","type":"#"},{"name":"requested","type":"flags.0?true"},{"name":"via_chatlist","type":"flags.3?true"},{"name":"user_id","type":"long"},{"name":"date","type":"int"},{"name":"about","type":"flags.2?string"},{"name":"approved_by","type":"flags.1?long"}],"type":"ChatInviteImporter"},{"id":"-1111085620","predicate":"messages.exportedChatInvites","params":[{"name":"count","type":"int"},{"name":"invites","type":"Vector"},{"name":"users","type":"Vector"}],"type":"messages.ExportedChatInvites"},{"id":"410107472","predicate":"messages.exportedChatInvite","params":[{"name":"invite","type":"ExportedChatInvite"},{"name":"users","type":"Vector"}],"type":"messages.ExportedChatInvite"},{"id":"572915951","predicate":"messages.exportedChatInviteReplaced","params":[{"name":"invite","type":"ExportedChatInvite"},{"name":"new_invite","type":"ExportedChatInvite"},{"name":"users","type":"Vector"}],"type":"messages.ExportedChatInvite"},{"id":"-2118733814","predicate":"messages.chatInviteImporters","params":[{"name":"count","type":"int"},{"name":"importers","type":"Vector"},{"name":"users","type":"Vector"}],"type":"messages.ChatInviteImporters"},{"id":"-219353309","predicate":"chatAdminWithInvites","params":[{"name":"admin_id","type":"long"},{"name":"invites_count","type":"int"},{"name":"revoked_invites_count","type":"int"}],"type":"ChatAdminWithInvites"},{"id":"-1231326505","predicate":"messages.chatAdminsWithInvites","params":[{"name":"admins","type":"Vector"},{"name":"users","type":"Vector"}],"type":"messages.ChatAdminsWithInvites"},{"id":"-23084712","predicate":"channelAdminLogEventActionParticipantJoinByInvite","params":[{"name":"flags","type":"#"},{"name":"via_chatlist","type":"flags.0?true"},{"name":"invite","type":"ExportedChatInvite"}],"type":"ChannelAdminLogEventAction"},{"id":"1515256996","predicate":"channelAdminLogEventActionExportedInviteDelete","params":[{"name":"invite","type":"ExportedChatInvite"}],"type":"ChannelAdminLogEventAction"},{"id":"1091179342","predicate":"channelAdminLogEventActionExportedInviteRevoke","params":[{"name":"invite","type":"ExportedChatInvite"}],"type":"ChannelAdminLogEventAction"},{"id":"-384910503","predicate":"channelAdminLogEventActionExportedInviteEdit","params":[{"name":"prev_invite","type":"ExportedChatInvite"},{"name":"new_invite","type":"ExportedChatInvite"}],"type":"ChannelAdminLogEventAction"},{"id":"1048537159","predicate":"channelAdminLogEventActionParticipantVolume","params":[{"name":"participant","type":"GroupCallParticipant"}],"type":"ChannelAdminLogEventAction"},{"id":"1855199800","predicate":"channelAdminLogEventActionChangeHistoryTTL","params":[{"name":"prev_value","type":"int"},{"name":"new_value","type":"int"}],"type":"ChannelAdminLogEventAction"},{"id":"-1571952873","predicate":"messages.checkedHistoryImportPeer","params":[{"name":"confirm_text","type":"string"}],"type":"messages.CheckedHistoryImportPeer"},{"id":"93890858","predicate":"inputGroupCallStream","params":[{"name":"flags","type":"#"},{"name":"call","type":"InputGroupCall"},{"name":"time_ms","type":"long"},{"name":"scale","type":"int"},{"name":"video_channel","type":"flags.0?int"},{"name":"video_quality","type":"flags.0?int"}],"type":"InputFileLocation"},{"id":"-1343921601","predicate":"phone.joinAsPeers","params":[{"name":"peers","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"phone.JoinAsPeers"},{"id":"541839704","predicate":"phone.exportedGroupCallInvite","params":[{"name":"link","type":"string"}],"type":"phone.ExportedGroupCallInvite"},{"id":"-672693723","predicate":"inputBotInlineMessageMediaInvoice","params":[{"name":"flags","type":"#"},{"name":"title","type":"string"},{"name":"description","type":"string"},{"name":"photo","type":"flags.0?InputWebDocument"},{"name":"invoice","type":"Invoice"},{"name":"payload","type":"bytes"},{"name":"provider","type":"string"},{"name":"provider_data","type":"DataJSON"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"}],"type":"InputBotInlineMessage"},{"id":"894081801","predicate":"botInlineMessageMediaInvoice","params":[{"name":"flags","type":"#"},{"name":"shipping_address_requested","type":"flags.1?true"},{"name":"test","type":"flags.3?true"},{"name":"title","type":"string"},{"name":"description","type":"string"},{"name":"photo","type":"flags.0?WebDocument"},{"name":"currency","type":"string"},{"name":"total_amount","type":"long"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"}],"type":"BotInlineMessage"},{"id":"-1281329567","predicate":"messageActionGroupCallScheduled","params":[{"name":"call","type":"InputGroupCall"},{"name":"schedule_date","type":"int"}],"type":"MessageAction"},{"id":"-592373577","predicate":"groupCallParticipantVideoSourceGroup","params":[{"name":"semantics","type":"string"},{"name":"sources","type":"Vector"}],"type":"GroupCallParticipantVideoSourceGroup"},{"id":"1735736008","predicate":"groupCallParticipantVideo","params":[{"name":"flags","type":"#"},{"name":"paused","type":"flags.0?true"},{"name":"endpoint","type":"string"},{"name":"source_groups","type":"Vector"},{"name":"audio_source","type":"flags.1?int"}],"type":"GroupCallParticipantVideo"},{"id":"192428418","predicate":"updateGroupCallConnection","params":[{"name":"flags","type":"#"},{"name":"presentation","type":"flags.0?true"},{"name":"params","type":"DataJSON"}],"type":"Update"},{"id":"-2046910401","predicate":"stickers.suggestedShortName","params":[{"name":"short_name","type":"string"}],"type":"stickers.SuggestedShortName"},{"id":"795652779","predicate":"botCommandScopeDefault","params":[],"type":"BotCommandScope"},{"id":"1011811544","predicate":"botCommandScopeUsers","params":[],"type":"BotCommandScope"},{"id":"1877059713","predicate":"botCommandScopeChats","params":[],"type":"BotCommandScope"},{"id":"-1180016534","predicate":"botCommandScopeChatAdmins","params":[],"type":"BotCommandScope"},{"id":"-610432643","predicate":"botCommandScopePeer","params":[{"name":"peer","type":"InputPeer"}],"type":"BotCommandScope"},{"id":"1071145937","predicate":"botCommandScopePeerAdmins","params":[{"name":"peer","type":"InputPeer"}],"type":"BotCommandScope"},{"id":"169026035","predicate":"botCommandScopePeerUser","params":[{"name":"peer","type":"InputPeer"},{"name":"user_id","type":"InputUser"}],"type":"BotCommandScope"},{"id":"-478701471","predicate":"account.resetPasswordFailedWait","params":[{"name":"retry_date","type":"int"}],"type":"account.ResetPasswordResult"},{"id":"-370148227","predicate":"account.resetPasswordRequestedWait","params":[{"name":"until_date","type":"int"}],"type":"account.ResetPasswordResult"},{"id":"-383330754","predicate":"account.resetPasswordOk","params":[],"type":"account.ResetPasswordResult"},{"id":"1299263278","predicate":"updateBotCommands","params":[{"name":"peer","type":"Peer"},{"name":"bot_id","type":"long"},{"name":"commands","type":"Vector"}],"type":"Update"},{"id":"-1434950843","predicate":"messageActionSetChatTheme","params":[{"name":"emoticon","type":"string"}],"type":"MessageAction"},{"id":"-1336228175","predicate":"sendMessageChooseStickerAction","params":[],"type":"SendMessageAction"},{"id":"-313293833","predicate":"sponsoredMessage","params":[{"name":"flags","type":"#"},{"name":"recommended","type":"flags.5?true"},{"name":"show_peer_photo","type":"flags.6?true"},{"name":"random_id","type":"bytes"},{"name":"from_id","type":"flags.3?Peer"},{"name":"chat_invite","type":"flags.4?ChatInvite"},{"name":"chat_invite_hash","type":"flags.4?string"},{"name":"channel_post","type":"flags.2?int"},{"name":"start_param","type":"flags.0?string"},{"name":"webpage","type":"flags.9?SponsoredWebPage"},{"name":"app","type":"flags.10?BotApp"},{"name":"message","type":"string"},{"name":"entities","type":"flags.1?Vector"},{"name":"button_text","type":"flags.11?string"},{"name":"sponsor_info","type":"flags.7?string"},{"name":"additional_info","type":"flags.8?string"}],"type":"SponsoredMessage"},{"id":"-907141753","predicate":"messages.sponsoredMessages","params":[{"name":"flags","type":"#"},{"name":"posts_between","type":"flags.0?int"},{"name":"messages","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"messages.SponsoredMessages"},{"id":"215889721","predicate":"inputStickerSetAnimatedEmojiAnimations","params":[],"type":"InputStickerSet"},{"id":"630664139","predicate":"sendMessageEmojiInteraction","params":[{"name":"emoticon","type":"string"},{"name":"msg_id","type":"int"},{"name":"interaction","type":"DataJSON"}],"type":"SendMessageAction"},{"id":"-1234857938","predicate":"sendMessageEmojiInteractionSeen","params":[{"name":"emoticon","type":"string"}],"type":"SendMessageAction"},{"id":"-1227287081","predicate":"inputBotInlineMessageID64","params":[{"name":"dc_id","type":"int"},{"name":"owner_id","type":"long"},{"name":"id","type":"int"},{"name":"access_hash","type":"long"}],"type":"InputBotInlineMessageID"},{"id":"-911191137","predicate":"searchResultsCalendarPeriod","params":[{"name":"date","type":"int"},{"name":"min_msg_id","type":"int"},{"name":"max_msg_id","type":"int"},{"name":"count","type":"int"}],"type":"SearchResultsCalendarPeriod"},{"id":"343859772","predicate":"messages.searchResultsCalendar","params":[{"name":"flags","type":"#"},{"name":"inexact","type":"flags.0?true"},{"name":"count","type":"int"},{"name":"min_date","type":"int"},{"name":"min_msg_id","type":"int"},{"name":"offset_id_offset","type":"flags.1?int"},{"name":"periods","type":"Vector"},{"name":"messages","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"messages.SearchResultsCalendar"},{"id":"2137295719","predicate":"searchResultPosition","params":[{"name":"msg_id","type":"int"},{"name":"date","type":"int"},{"name":"offset","type":"int"}],"type":"SearchResultsPosition"},{"id":"1404185519","predicate":"messages.searchResultsPositions","params":[{"name":"count","type":"int"},{"name":"positions","type":"Vector"}],"type":"messages.SearchResultsPositions"},{"id":"-339958837","predicate":"messageActionChatJoinedByRequest","params":[],"type":"MessageAction"},{"id":"1885586395","predicate":"updatePendingJoinRequests","params":[{"name":"peer","type":"Peer"},{"name":"requests_pending","type":"int"},{"name":"recent_requesters","type":"Vector"}],"type":"Update"},{"id":"299870598","predicate":"updateBotChatInviteRequester","params":[{"name":"peer","type":"Peer"},{"name":"date","type":"int"},{"name":"user_id","type":"long"},{"name":"about","type":"string"},{"name":"invite","type":"ExportedChatInvite"},{"name":"qts","type":"int"}],"type":"Update"},{"id":"-1347021750","predicate":"channelAdminLogEventActionParticipantJoinByRequest","params":[{"name":"invite","type":"ExportedChatInvite"},{"name":"approved_by","type":"long"}],"type":"ChannelAdminLogEventAction"},{"id":"-376962181","predicate":"inputKeyboardButtonUserProfile","params":[{"name":"text","type":"string"},{"name":"user_id","type":"InputUser"}],"type":"KeyboardButton"},{"id":"814112961","predicate":"keyboardButtonUserProfile","params":[{"name":"text","type":"string"},{"name":"user_id","type":"long"}],"type":"KeyboardButton"},{"id":"-191450938","predicate":"channels.sendAsPeers","params":[{"name":"peers","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"channels.SendAsPeers"},{"id":"-886388890","predicate":"channelAdminLogEventActionToggleNoForwards","params":[{"name":"new_value","type":"Bool"}],"type":"ChannelAdminLogEventAction"},{"id":"-738646805","predicate":"messages.stickerSetNotModified","params":[],"type":"messages.StickerSet"},{"id":"997004590","predicate":"users.userFull","params":[{"name":"full_user","type":"UserFull"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"users.UserFull"},{"id":"1753266509","predicate":"messages.peerSettings","params":[{"name":"settings","type":"PeerSettings"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"messages.PeerSettings"},{"id":"663693416","predicate":"channelAdminLogEventActionSendMessage","params":[{"name":"message","type":"Message"}],"type":"ChannelAdminLogEventAction"},{"id":"-702884114","predicate":"auth.codeTypeMissedCall","params":[],"type":"auth.CodeType"},{"id":"-2113903484","predicate":"auth.sentCodeTypeMissedCall","params":[{"name":"prefix","type":"string"},{"name":"length","type":"int"}],"type":"auth.SentCodeType"},{"id":"-1012759713","predicate":"auth.loggedOut","params":[{"name":"flags","type":"#"},{"name":"future_auth_token","type":"flags.0?bytes"}],"type":"auth.LoggedOut"},{"id":"1578843320","predicate":"updateMessageReactions","params":[{"name":"flags","type":"#"},{"name":"peer","type":"Peer"},{"name":"msg_id","type":"int"},{"name":"top_msg_id","type":"flags.0?int"},{"name":"reactions","type":"MessageReactions"}],"type":"Update"},{"id":"-1546531968","predicate":"reactionCount","params":[{"name":"flags","type":"#"},{"name":"chosen_order","type":"flags.0?int"},{"name":"reaction","type":"Reaction"},{"name":"count","type":"int"}],"type":"ReactionCount"},{"id":"1328256121","predicate":"messageReactions","params":[{"name":"flags","type":"#"},{"name":"min","type":"flags.0?true"},{"name":"can_see_list","type":"flags.2?true"},{"name":"results","type":"Vector"},{"name":"recent_reactions","type":"flags.1?Vector"}],"type":"MessageReactions"},{"id":"834488621","predicate":"messages.messageReactionsList","params":[{"name":"flags","type":"#"},{"name":"count","type":"int"},{"name":"reactions","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"},{"name":"next_offset","type":"flags.0?string"}],"type":"messages.MessageReactionsList"},{"id":"-1065882623","predicate":"availableReaction","params":[{"name":"flags","type":"#"},{"name":"inactive","type":"flags.0?true"},{"name":"premium","type":"flags.2?true"},{"name":"reaction","type":"string"},{"name":"title","type":"string"},{"name":"static_icon","type":"Document"},{"name":"appear_animation","type":"Document"},{"name":"select_animation","type":"Document"},{"name":"activate_animation","type":"Document"},{"name":"effect_animation","type":"Document"},{"name":"around_animation","type":"flags.1?Document"},{"name":"center_icon","type":"flags.1?Document"}],"type":"AvailableReaction"},{"id":"-1626924713","predicate":"messages.availableReactionsNotModified","params":[],"type":"messages.AvailableReactions"},{"id":"1989032621","predicate":"messages.availableReactions","params":[{"name":"hash","type":"int"},{"name":"reactions","type":"Vector"}],"type":"messages.AvailableReactions"},{"id":"852137487","predicate":"messageEntitySpoiler","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"}],"type":"MessageEntity"},{"id":"-1102180616","predicate":"channelAdminLogEventActionChangeAvailableReactions","params":[{"name":"prev_value","type":"ChatReactions"},{"name":"new_value","type":"ChatReactions"}],"type":"ChannelAdminLogEventAction"},{"id":"-1938180548","predicate":"messagePeerReaction","params":[{"name":"flags","type":"#"},{"name":"big","type":"flags.0?true"},{"name":"unread","type":"flags.1?true"},{"name":"my","type":"flags.2?true"},{"name":"peer_id","type":"Peer"},{"name":"date","type":"int"},{"name":"reaction","type":"Reaction"}],"type":"MessagePeerReaction"},{"id":"-2132064081","predicate":"groupCallStreamChannel","params":[{"name":"channel","type":"int"},{"name":"scale","type":"int"},{"name":"last_timestamp_ms","type":"long"}],"type":"GroupCallStreamChannel"},{"id":"-790330702","predicate":"phone.groupCallStreamChannels","params":[{"name":"channels","type":"Vector"}],"type":"phone.GroupCallStreamChannels"},{"id":"177124030","predicate":"inputReportReasonIllegalDrugs","params":[],"type":"ReportReason"},{"id":"-1631091139","predicate":"inputReportReasonPersonalDetails","params":[],"type":"ReportReason"},{"id":"767505458","predicate":"phone.groupCallStreamRtmpUrl","params":[{"name":"url","type":"string"},{"name":"key","type":"string"}],"type":"phone.GroupCallStreamRtmpUrl"},{"id":"1165423600","predicate":"attachMenuBotIconColor","params":[{"name":"name","type":"string"},{"name":"color","type":"int"}],"type":"AttachMenuBotIconColor"},{"id":"-1297663893","predicate":"attachMenuBotIcon","params":[{"name":"flags","type":"#"},{"name":"name","type":"string"},{"name":"icon","type":"Document"},{"name":"colors","type":"flags.0?Vector"}],"type":"AttachMenuBotIcon"},{"id":"-653423106","predicate":"attachMenuBot","params":[{"name":"flags","type":"#"},{"name":"inactive","type":"flags.0?true"},{"name":"has_settings","type":"flags.1?true"},{"name":"request_write_access","type":"flags.2?true"},{"name":"show_in_attach_menu","type":"flags.3?true"},{"name":"show_in_side_menu","type":"flags.4?true"},{"name":"side_menu_disclaimer_needed","type":"flags.5?true"},{"name":"bot_id","type":"long"},{"name":"short_name","type":"string"},{"name":"peer_types","type":"flags.3?Vector"},{"name":"icons","type":"Vector"}],"type":"AttachMenuBot"},{"id":"-237467044","predicate":"attachMenuBotsNotModified","params":[],"type":"AttachMenuBots"},{"id":"1011024320","predicate":"attachMenuBots","params":[{"name":"hash","type":"long"},{"name":"bots","type":"Vector"},{"name":"users","type":"Vector"}],"type":"AttachMenuBots"},{"id":"-1816172929","predicate":"attachMenuBotsBot","params":[{"name":"bot","type":"AttachMenuBot"},{"name":"users","type":"Vector"}],"type":"AttachMenuBotsBot"},{"id":"397910539","predicate":"updateAttachMenuBots","params":[],"type":"Update"},{"id":"202659196","predicate":"webViewResultUrl","params":[{"name":"query_id","type":"long"},{"name":"url","type":"string"}],"type":"WebViewResult"},{"id":"-2010155333","predicate":"simpleWebViewResultUrl","params":[{"name":"url","type":"string"}],"type":"SimpleWebViewResult"},{"id":"211046684","predicate":"webViewMessageSent","params":[{"name":"flags","type":"#"},{"name":"msg_id","type":"flags.0?InputBotInlineMessageID"}],"type":"WebViewMessageSent"},{"id":"361936797","predicate":"updateWebViewResultSent","params":[{"name":"query_id","type":"long"}],"type":"Update"},{"id":"326529584","predicate":"keyboardButtonWebView","params":[{"name":"text","type":"string"},{"name":"url","type":"string"}],"type":"KeyboardButton"},{"id":"-1598009252","predicate":"keyboardButtonSimpleWebView","params":[{"name":"text","type":"string"},{"name":"url","type":"string"}],"type":"KeyboardButton"},{"id":"1205698681","predicate":"messageActionWebViewDataSentMe","params":[{"name":"text","type":"string"},{"name":"data","type":"string"}],"type":"MessageAction"},{"id":"-1262252875","predicate":"messageActionWebViewDataSent","params":[{"name":"text","type":"string"}],"type":"MessageAction"},{"id":"347625491","predicate":"updateBotMenuButton","params":[{"name":"bot_id","type":"long"},{"name":"button","type":"BotMenuButton"}],"type":"Update"},{"id":"1966318984","predicate":"botMenuButtonDefault","params":[],"type":"BotMenuButton"},{"id":"1113113093","predicate":"botMenuButtonCommands","params":[],"type":"BotMenuButton"},{"id":"-944407322","predicate":"botMenuButton","params":[{"name":"text","type":"string"},{"name":"url","type":"string"}],"type":"BotMenuButton"},{"id":"-67704655","predicate":"account.savedRingtonesNotModified","params":[],"type":"account.SavedRingtones"},{"id":"-1041683259","predicate":"account.savedRingtones","params":[{"name":"hash","type":"long"},{"name":"ringtones","type":"Vector"}],"type":"account.SavedRingtones"},{"id":"1960361625","predicate":"updateSavedRingtones","params":[],"type":"Update"},{"id":"-1746354498","predicate":"notificationSoundDefault","params":[],"type":"NotificationSound"},{"id":"1863070943","predicate":"notificationSoundNone","params":[],"type":"NotificationSound"},{"id":"-2096391452","predicate":"notificationSoundLocal","params":[{"name":"title","type":"string"},{"name":"data","type":"string"}],"type":"NotificationSound"},{"id":"-9666487","predicate":"notificationSoundRingtone","params":[{"name":"id","type":"long"}],"type":"NotificationSound"},{"id":"-1222230163","predicate":"account.savedRingtone","params":[],"type":"account.SavedRingtone"},{"id":"523271863","predicate":"account.savedRingtoneConverted","params":[{"name":"document","type":"Document"}],"type":"account.SavedRingtone"},{"id":"2104224014","predicate":"attachMenuPeerTypeSameBotPM","params":[],"type":"AttachMenuPeerType"},{"id":"-1020528102","predicate":"attachMenuPeerTypeBotPM","params":[],"type":"AttachMenuPeerType"},{"id":"-247016673","predicate":"attachMenuPeerTypePM","params":[],"type":"AttachMenuPeerType"},{"id":"84480319","predicate":"attachMenuPeerTypeChat","params":[],"type":"AttachMenuPeerType"},{"id":"2080104188","predicate":"attachMenuPeerTypeBroadcast","params":[],"type":"AttachMenuPeerType"},{"id":"-317687113","predicate":"chatInvitePublicJoinRequests","params":[],"type":"ExportedChatInvite"},{"id":"-977967015","predicate":"inputInvoiceMessage","params":[{"name":"peer","type":"InputPeer"},{"name":"msg_id","type":"int"}],"type":"InputInvoice"},{"id":"-1020867857","predicate":"inputInvoiceSlug","params":[{"name":"slug","type":"string"}],"type":"InputInvoice"},{"id":"-1362048039","predicate":"payments.exportedInvoice","params":[{"name":"url","type":"string"}],"type":"payments.ExportedInvoice"},{"id":"8703322","predicate":"updateTranscribedAudio","params":[{"name":"flags","type":"#"},{"name":"pending","type":"flags.0?true"},{"name":"peer","type":"Peer"},{"name":"msg_id","type":"int"},{"name":"transcription_id","type":"long"},{"name":"text","type":"string"}],"type":"Update"},{"id":"-809903785","predicate":"messages.transcribedAudio","params":[{"name":"flags","type":"#"},{"name":"pending","type":"flags.0?true"},{"name":"transcription_id","type":"long"},{"name":"text","type":"string"},{"name":"trial_remains_num","type":"flags.1?int"},{"name":"trial_remains_until_date","type":"flags.1?int"}],"type":"messages.TranscribedAudio"},{"id":"909284270","predicate":"dialogFilterDefault","params":[],"type":"DialogFilter"},{"id":"1395946908","predicate":"help.premiumPromo","params":[{"name":"status_text","type":"string"},{"name":"status_entities","type":"Vector"},{"name":"video_sections","type":"Vector"},{"name":"videos","type":"Vector"},{"name":"period_options","type":"Vector"},{"name":"users","type":"Vector"}],"type":"help.PremiumPromo"},{"id":"-925956616","predicate":"messageEntityCustomEmoji","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"},{"name":"document_id","type":"long"}],"type":"MessageEntity"},{"id":"-48981863","predicate":"documentAttributeCustomEmoji","params":[{"name":"flags","type":"#"},{"name":"free","type":"flags.0?true"},{"name":"text_color","type":"flags.1?true"},{"name":"alt","type":"string"},{"name":"stickerset","type":"InputStickerSet"}],"type":"DocumentAttribute"},{"id":"1087454222","predicate":"stickerSetFullCovered","params":[{"name":"set","type":"StickerSet"},{"name":"packs","type":"Vector"},{"name":"keywords","type":"Vector"},{"name":"documents","type":"Vector"}],"type":"StickerSetCovered"},{"id":"-1502273946","predicate":"inputStorePaymentPremiumSubscription","params":[{"name":"flags","type":"#"},{"name":"restore","type":"flags.0?true"},{"name":"upgrade","type":"flags.1?true"}],"type":"InputStorePaymentPurpose"},{"id":"1634697192","predicate":"inputStorePaymentGiftPremium","params":[{"name":"user_id","type":"InputUser"},{"name":"currency","type":"string"},{"name":"amount","type":"long"}],"type":"InputStorePaymentPurpose"},{"id":"-935499028","predicate":"messageActionGiftPremium","params":[{"name":"flags","type":"#"},{"name":"currency","type":"string"},{"name":"amount","type":"long"},{"name":"months","type":"int"},{"name":"crypto_currency","type":"flags.0?string"},{"name":"crypto_amount","type":"flags.0?long"}],"type":"MessageAction"},{"id":"1958953753","predicate":"premiumGiftOption","params":[{"name":"flags","type":"#"},{"name":"months","type":"int"},{"name":"currency","type":"string"},{"name":"amount","type":"long"},{"name":"bot_url","type":"string"},{"name":"store_product","type":"flags.0?string"}],"type":"PremiumGiftOption"},{"id":"-930399486","predicate":"inputStickerSetPremiumGifts","params":[],"type":"InputStickerSet"},{"id":"-78886548","predicate":"updateReadFeaturedEmojiStickers","params":[],"type":"Update"},{"id":"-1360618136","predicate":"inputPrivacyKeyVoiceMessages","params":[],"type":"InputPrivacyKey"},{"id":"110621716","predicate":"privacyKeyVoiceMessages","params":[],"type":"PrivacyKey"},{"id":"-1996951013","predicate":"paymentFormMethod","params":[{"name":"url","type":"string"},{"name":"title","type":"string"}],"type":"PaymentFormMethod"},{"id":"-193992412","predicate":"inputWebFileAudioAlbumThumbLocation","params":[{"name":"flags","type":"#"},{"name":"small","type":"flags.2?true"},{"name":"document","type":"flags.0?InputDocument"},{"name":"title","type":"flags.1?string"},{"name":"performer","type":"flags.1?string"}],"type":"InputWebFileLocation"},{"id":"769727150","predicate":"emojiStatusEmpty","params":[],"type":"EmojiStatus"},{"id":"-1835310691","predicate":"emojiStatus","params":[{"name":"document_id","type":"long"}],"type":"EmojiStatus"},{"id":"-97474361","predicate":"emojiStatusUntil","params":[{"name":"document_id","type":"long"},{"name":"until","type":"int"}],"type":"EmojiStatus"},{"id":"674706841","predicate":"updateUserEmojiStatus","params":[{"name":"user_id","type":"long"},{"name":"emoji_status","type":"EmojiStatus"}],"type":"Update"},{"id":"821314523","predicate":"updateRecentEmojiStatuses","params":[],"type":"Update"},{"id":"-796072379","predicate":"account.emojiStatusesNotModified","params":[],"type":"account.EmojiStatuses"},{"id":"-1866176559","predicate":"account.emojiStatuses","params":[{"name":"hash","type":"long"},{"name":"statuses","type":"Vector"}],"type":"account.EmojiStatuses"},{"id":"2046153753","predicate":"reactionEmpty","params":[],"type":"Reaction"},{"id":"455247544","predicate":"reactionEmoji","params":[{"name":"emoticon","type":"string"}],"type":"Reaction"},{"id":"-1992950669","predicate":"reactionCustomEmoji","params":[{"name":"document_id","type":"long"}],"type":"Reaction"},{"id":"-352570692","predicate":"chatReactionsNone","params":[],"type":"ChatReactions"},{"id":"1385335754","predicate":"chatReactionsAll","params":[{"name":"flags","type":"#"},{"name":"allow_custom","type":"flags.0?true"}],"type":"ChatReactions"},{"id":"1713193015","predicate":"chatReactionsSome","params":[{"name":"reactions","type":"Vector"}],"type":"ChatReactions"},{"id":"-1334846497","predicate":"messages.reactionsNotModified","params":[],"type":"messages.Reactions"},{"id":"-352454890","predicate":"messages.reactions","params":[{"name":"hash","type":"long"},{"name":"reactions","type":"Vector"}],"type":"messages.Reactions"},{"id":"1870160884","predicate":"updateRecentReactions","params":[],"type":"Update"},{"id":"-2030252155","predicate":"updateMoveStickerSetToTop","params":[{"name":"flags","type":"#"},{"name":"masks","type":"flags.0?true"},{"name":"emojis","type":"flags.1?true"},{"name":"stickerset","type":"long"}],"type":"Update"},{"id":"-196020837","predicate":"auth.sentCodeTypeEmailCode","params":[{"name":"flags","type":"#"},{"name":"apple_signin_allowed","type":"flags.0?true"},{"name":"google_signin_allowed","type":"flags.1?true"},{"name":"email_pattern","type":"string"},{"name":"length","type":"int"},{"name":"reset_available_period","type":"flags.3?int"},{"name":"reset_pending_date","type":"flags.4?int"}],"type":"auth.SentCodeType"},{"id":"-1521934870","predicate":"auth.sentCodeTypeSetUpEmailRequired","params":[{"name":"flags","type":"#"},{"name":"apple_signin_allowed","type":"flags.0?true"},{"name":"google_signin_allowed","type":"flags.1?true"}],"type":"auth.SentCodeType"},{"id":"1128644211","predicate":"emailVerifyPurposeLoginSetup","params":[{"name":"phone_number","type":"string"},{"name":"phone_code_hash","type":"string"}],"type":"EmailVerifyPurpose"},{"id":"1383932651","predicate":"emailVerifyPurposeLoginChange","params":[],"type":"EmailVerifyPurpose"},{"id":"-1141565819","predicate":"emailVerifyPurposePassport","params":[],"type":"EmailVerifyPurpose"},{"id":"-1842457175","predicate":"emailVerificationCode","params":[{"name":"code","type":"string"}],"type":"EmailVerification"},{"id":"-611279166","predicate":"emailVerificationGoogle","params":[{"name":"token","type":"string"}],"type":"EmailVerification"},{"id":"-1764723459","predicate":"emailVerificationApple","params":[{"name":"token","type":"string"}],"type":"EmailVerification"},{"id":"731303195","predicate":"account.emailVerified","params":[{"name":"email","type":"string"}],"type":"account.EmailVerified"},{"id":"-507835039","predicate":"account.emailVerifiedLogin","params":[{"name":"email","type":"string"},{"name":"sent_code","type":"auth.SentCode"}],"type":"account.EmailVerified"},{"id":"1596792306","predicate":"premiumSubscriptionOption","params":[{"name":"flags","type":"#"},{"name":"current","type":"flags.1?true"},{"name":"can_purchase_upgrade","type":"flags.2?true"},{"name":"transaction","type":"flags.3?string"},{"name":"months","type":"int"},{"name":"currency","type":"string"},{"name":"amount","type":"long"},{"name":"bot_url","type":"string"},{"name":"store_product","type":"flags.0?string"}],"type":"PremiumSubscriptionOption"},{"id":"80008398","predicate":"inputStickerSetEmojiGenericAnimations","params":[],"type":"InputStickerSet"},{"id":"701560302","predicate":"inputStickerSetEmojiDefaultStatuses","params":[],"type":"InputStickerSet"},{"id":"-1206095820","predicate":"sendAsPeer","params":[{"name":"flags","type":"#"},{"name":"premium_required","type":"flags.0?true"},{"name":"peer","type":"Peer"}],"type":"SendAsPeer"},{"id":"-1386050360","predicate":"messageExtendedMediaPreview","params":[{"name":"flags","type":"#"},{"name":"w","type":"flags.0?int"},{"name":"h","type":"flags.0?int"},{"name":"thumb","type":"flags.1?PhotoSize"},{"name":"video_duration","type":"flags.2?int"}],"type":"MessageExtendedMedia"},{"id":"-297296796","predicate":"messageExtendedMedia","params":[{"name":"media","type":"MessageMedia"}],"type":"MessageExtendedMedia"},{"id":"1517529484","predicate":"updateMessageExtendedMedia","params":[{"name":"peer","type":"Peer"},{"name":"msg_id","type":"int"},{"name":"extended_media","type":"MessageExtendedMedia"}],"type":"Update"},{"id":"-50416996","predicate":"stickerKeyword","params":[{"name":"document_id","type":"long"},{"name":"keyword","type":"Vector"}],"type":"StickerKeyword"},{"id":"-1274595769","predicate":"username","params":[{"name":"flags","type":"#"},{"name":"editable","type":"flags.0?true"},{"name":"active","type":"flags.1?true"},{"name":"username","type":"string"}],"type":"Username"},{"id":"-263212119","predicate":"channelAdminLogEventActionChangeUsernames","params":[{"name":"prev_value","type":"Vector"},{"name":"new_value","type":"Vector"}],"type":"ChannelAdminLogEventAction"},{"id":"46949251","predicate":"channelAdminLogEventActionToggleForum","params":[{"name":"new_value","type":"Bool"}],"type":"ChannelAdminLogEventAction"},{"id":"1483767080","predicate":"channelAdminLogEventActionCreateTopic","params":[{"name":"topic","type":"ForumTopic"}],"type":"ChannelAdminLogEventAction"},{"id":"-261103096","predicate":"channelAdminLogEventActionEditTopic","params":[{"name":"prev_topic","type":"ForumTopic"},{"name":"new_topic","type":"ForumTopic"}],"type":"ChannelAdminLogEventAction"},{"id":"-1374254839","predicate":"channelAdminLogEventActionDeleteTopic","params":[{"name":"topic","type":"ForumTopic"}],"type":"ChannelAdminLogEventAction"},{"id":"1569535291","predicate":"channelAdminLogEventActionPinTopic","params":[{"name":"flags","type":"#"},{"name":"prev_topic","type":"flags.0?ForumTopic"},{"name":"new_topic","type":"flags.1?ForumTopic"}],"type":"ChannelAdminLogEventAction"},{"id":"37687451","predicate":"forumTopicDeleted","params":[{"name":"id","type":"int"}],"type":"ForumTopic"},{"id":"1903173033","predicate":"forumTopic","params":[{"name":"flags","type":"#"},{"name":"my","type":"flags.1?true"},{"name":"closed","type":"flags.2?true"},{"name":"pinned","type":"flags.3?true"},{"name":"short","type":"flags.5?true"},{"name":"hidden","type":"flags.6?true"},{"name":"id","type":"int"},{"name":"date","type":"int"},{"name":"title","type":"string"},{"name":"icon_color","type":"int"},{"name":"icon_emoji_id","type":"flags.0?long"},{"name":"top_message","type":"int"},{"name":"read_inbox_max_id","type":"int"},{"name":"read_outbox_max_id","type":"int"},{"name":"unread_count","type":"int"},{"name":"unread_mentions_count","type":"int"},{"name":"unread_reactions_count","type":"int"},{"name":"from_id","type":"Peer"},{"name":"notify_settings","type":"PeerNotifySettings"},{"name":"draft","type":"flags.4?DraftMessage"}],"type":"ForumTopic"},{"id":"913709011","predicate":"messages.forumTopics","params":[{"name":"flags","type":"#"},{"name":"order_by_create_date","type":"flags.0?true"},{"name":"count","type":"int"},{"name":"topics","type":"Vector"},{"name":"messages","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"},{"name":"pts","type":"int"}],"type":"messages.ForumTopics"},{"id":"228168278","predicate":"messageActionTopicCreate","params":[{"name":"flags","type":"#"},{"name":"title","type":"string"},{"name":"icon_color","type":"int"},{"name":"icon_emoji_id","type":"flags.0?long"}],"type":"MessageAction"},{"id":"-1064024032","predicate":"messageActionTopicEdit","params":[{"name":"flags","type":"#"},{"name":"title","type":"flags.0?string"},{"name":"icon_emoji_id","type":"flags.1?long"},{"name":"closed","type":"flags.2?Bool"},{"name":"hidden","type":"flags.3?Bool"}],"type":"MessageAction"},{"id":"422509539","predicate":"updateChannelPinnedTopic","params":[{"name":"flags","type":"#"},{"name":"pinned","type":"flags.0?true"},{"name":"channel_id","type":"long"},{"name":"topic_id","type":"int"}],"type":"Update"},{"id":"1548122514","predicate":"inputNotifyForumTopic","params":[{"name":"peer","type":"InputPeer"},{"name":"top_msg_id","type":"int"}],"type":"InputNotifyPeer"},{"id":"577659656","predicate":"notifyForumTopic","params":[{"name":"peer","type":"Peer"},{"name":"top_msg_id","type":"int"}],"type":"NotifyPeer"},{"id":"1153562857","predicate":"inputStickerSetEmojiDefaultTopicIcons","params":[],"type":"InputStickerSet"},{"id":"406407439","predicate":"messages.sponsoredMessagesEmpty","params":[],"type":"messages.SponsoredMessages"},{"id":"-31881726","predicate":"updateChannelPinnedTopics","params":[{"name":"flags","type":"#"},{"name":"channel_id","type":"long"},{"name":"order","type":"flags.0?Vector"}],"type":"Update"},{"id":"1135897376","predicate":"defaultHistoryTTL","params":[{"name":"period","type":"int"}],"type":"DefaultHistoryTTL"},{"id":"116234636","predicate":"auth.codeTypeFragmentSms","params":[],"type":"auth.CodeType"},{"id":"-648651719","predicate":"auth.sentCodeTypeFragmentSms","params":[{"name":"url","type":"string"},{"name":"length","type":"int"}],"type":"auth.SentCodeType"},{"id":"1103040667","predicate":"exportedContactToken","params":[{"name":"url","type":"string"},{"name":"expires","type":"int"}],"type":"ExportedContactToken"},{"id":"1693675004","predicate":"channelAdminLogEventActionToggleAntiSpam","params":[{"name":"new_value","type":"Bool"}],"type":"ChannelAdminLogEventAction"},{"id":"1474192222","predicate":"messageActionSuggestProfilePhoto","params":[{"name":"photo","type":"Photo"}],"type":"MessageAction"},{"id":"2008112412","predicate":"stickerSetNoCovered","params":[{"name":"set","type":"StickerSet"}],"type":"StickerSetCovered"},{"id":"542282808","predicate":"updateUser","params":[{"name":"user_id","type":"long"}],"type":"Update"},{"id":"596704836","predicate":"auth.sentCodeSuccess","params":[{"name":"authorization","type":"auth.Authorization"}],"type":"auth.SentCode"},{"id":"827428507","predicate":"messageActionRequestedPeer","params":[{"name":"button_id","type":"int"},{"name":"peers","type":"Vector"}],"type":"MessageAction"},{"id":"1597737472","predicate":"requestPeerTypeUser","params":[{"name":"flags","type":"#"},{"name":"bot","type":"flags.0?Bool"},{"name":"premium","type":"flags.1?Bool"}],"type":"RequestPeerType"},{"id":"-906990053","predicate":"requestPeerTypeChat","params":[{"name":"flags","type":"#"},{"name":"creator","type":"flags.0?true"},{"name":"bot_participant","type":"flags.5?true"},{"name":"has_username","type":"flags.3?Bool"},{"name":"forum","type":"flags.4?Bool"},{"name":"user_admin_rights","type":"flags.1?ChatAdminRights"},{"name":"bot_admin_rights","type":"flags.2?ChatAdminRights"}],"type":"RequestPeerType"},{"id":"865857388","predicate":"requestPeerTypeBroadcast","params":[{"name":"flags","type":"#"},{"name":"creator","type":"flags.0?true"},{"name":"has_username","type":"flags.3?Bool"},{"name":"user_admin_rights","type":"flags.1?ChatAdminRights"},{"name":"bot_admin_rights","type":"flags.2?ChatAdminRights"}],"type":"RequestPeerType"},{"id":"1406648280","predicate":"keyboardButtonRequestPeer","params":[{"name":"text","type":"string"},{"name":"button_id","type":"int"},{"name":"peer_type","type":"RequestPeerType"},{"name":"max_quantity","type":"int"}],"type":"KeyboardButton"},{"id":"1209970170","predicate":"emojiListNotModified","params":[],"type":"EmojiList"},{"id":"2048790993","predicate":"emojiList","params":[{"name":"hash","type":"long"},{"name":"document_id","type":"Vector"}],"type":"EmojiList"},{"id":"-444918734","predicate":"auth.sentCodeTypeFirebaseSms","params":[{"name":"flags","type":"#"},{"name":"nonce","type":"flags.0?bytes"},{"name":"receipt","type":"flags.1?string"},{"name":"push_timeout","type":"flags.1?int"},{"name":"length","type":"int"}],"type":"auth.SentCodeType"},{"id":"2056961449","predicate":"emojiGroup","params":[{"name":"title","type":"string"},{"name":"icon_emoji_id","type":"long"},{"name":"emoticons","type":"Vector"}],"type":"EmojiGroup"},{"id":"1874111879","predicate":"messages.emojiGroupsNotModified","params":[],"type":"messages.EmojiGroups"},{"id":"-2011186869","predicate":"messages.emojiGroups","params":[{"name":"hash","type":"int"},{"name":"groups","type":"Vector"}],"type":"messages.EmojiGroups"},{"id":"-128171716","predicate":"videoSizeEmojiMarkup","params":[{"name":"emoji_id","type":"long"},{"name":"background_colors","type":"Vector"}],"type":"VideoSize"},{"id":"228623102","predicate":"videoSizeStickerMarkup","params":[{"name":"stickerset","type":"InputStickerSet"},{"name":"sticker_id","type":"long"},{"name":"background_colors","type":"Vector"}],"type":"VideoSize"},{"id":"1964978502","predicate":"textWithEntities","params":[{"name":"text","type":"string"},{"name":"entities","type":"Vector"}],"type":"TextWithEntities"},{"id":"870003448","predicate":"messages.translateResult","params":[{"name":"result","type":"Vector"}],"type":"messages.TranslatedText"},{"id":"-934791986","predicate":"autoSaveSettings","params":[{"name":"flags","type":"#"},{"name":"photos","type":"flags.0?true"},{"name":"videos","type":"flags.1?true"},{"name":"video_max_size","type":"flags.2?long"}],"type":"AutoSaveSettings"},{"id":"-2124403385","predicate":"autoSaveException","params":[{"name":"peer","type":"Peer"},{"name":"settings","type":"AutoSaveSettings"}],"type":"AutoSaveException"},{"id":"1279133341","predicate":"account.autoSaveSettings","params":[{"name":"users_settings","type":"AutoSaveSettings"},{"name":"chats_settings","type":"AutoSaveSettings"},{"name":"broadcasts_settings","type":"AutoSaveSettings"},{"name":"exceptions","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"account.AutoSaveSettings"},{"id":"-335171433","predicate":"updateAutoSaveSettings","params":[],"type":"Update"},{"id":"2094949405","predicate":"help.appConfigNotModified","params":[],"type":"help.AppConfig"},{"id":"-585598930","predicate":"help.appConfig","params":[{"name":"hash","type":"int"},{"name":"config","type":"JSONValue"}],"type":"help.AppConfig"},{"id":"-1457472134","predicate":"inputBotAppID","params":[{"name":"id","type":"long"},{"name":"access_hash","type":"long"}],"type":"InputBotApp"},{"id":"-1869872121","predicate":"inputBotAppShortName","params":[{"name":"bot_id","type":"InputUser"},{"name":"short_name","type":"string"}],"type":"InputBotApp"},{"id":"1571189943","predicate":"botAppNotModified","params":[],"type":"BotApp"},{"id":"-1778593322","predicate":"botApp","params":[{"name":"flags","type":"#"},{"name":"id","type":"long"},{"name":"access_hash","type":"long"},{"name":"short_name","type":"string"},{"name":"title","type":"string"},{"name":"description","type":"string"},{"name":"photo","type":"Photo"},{"name":"document","type":"flags.0?Document"},{"name":"hash","type":"long"}],"type":"BotApp"},{"id":"-347034123","predicate":"messages.botApp","params":[{"name":"flags","type":"#"},{"name":"inactive","type":"flags.0?true"},{"name":"request_write_access","type":"flags.1?true"},{"name":"has_settings","type":"flags.2?true"},{"name":"app","type":"BotApp"}],"type":"messages.BotApp"},{"id":"1008422669","predicate":"appWebViewResultUrl","params":[{"name":"url","type":"string"}],"type":"AppWebViewResult"},{"id":"-1250781739","predicate":"inlineBotWebView","params":[{"name":"text","type":"string"},{"name":"url","type":"string"}],"type":"InlineBotWebView"},{"id":"1246753138","predicate":"readParticipantDate","params":[{"name":"user_id","type":"long"},{"name":"date","type":"int"}],"type":"ReadParticipantDate"},{"id":"-856651050","predicate":"updateGroupInvitePrivacyForbidden","params":[{"name":"user_id","type":"long"}],"type":"Update"},{"id":"-699792216","predicate":"dialogFilterChatlist","params":[{"name":"flags","type":"#"},{"name":"has_my_invites","type":"flags.26?true"},{"name":"id","type":"int"},{"name":"title","type":"string"},{"name":"emoticon","type":"flags.25?string"},{"name":"pinned_peers","type":"Vector"},{"name":"include_peers","type":"Vector"}],"type":"DialogFilter"},{"id":"-203367885","predicate":"inputChatlistDialogFilter","params":[{"name":"filter_id","type":"int"}],"type":"InputChatlist"},{"id":"206668204","predicate":"exportedChatlistInvite","params":[{"name":"flags","type":"#"},{"name":"title","type":"string"},{"name":"url","type":"string"},{"name":"peers","type":"Vector"}],"type":"ExportedChatlistInvite"},{"id":"283567014","predicate":"chatlists.exportedChatlistInvite","params":[{"name":"filter","type":"DialogFilter"},{"name":"invite","type":"ExportedChatlistInvite"}],"type":"chatlists.ExportedChatlistInvite"},{"id":"279670215","predicate":"chatlists.exportedInvites","params":[{"name":"invites","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"chatlists.ExportedInvites"},{"id":"-91752871","predicate":"chatlists.chatlistInviteAlready","params":[{"name":"filter_id","type":"int"},{"name":"missing_peers","type":"Vector"},{"name":"already_peers","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"chatlists.ChatlistInvite"},{"id":"500007837","predicate":"chatlists.chatlistInvite","params":[{"name":"flags","type":"#"},{"name":"title","type":"string"},{"name":"emoticon","type":"flags.0?string"},{"name":"peers","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"chatlists.ChatlistInvite"},{"id":"-1816295539","predicate":"chatlists.chatlistUpdates","params":[{"name":"missing_peers","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"chatlists.ChatlistUpdates"},{"id":"1348510708","predicate":"messageActionSetChatWallPaper","params":[{"name":"flags","type":"#"},{"name":"same","type":"flags.0?true"},{"name":"for_both","type":"flags.1?true"},{"name":"wallpaper","type":"WallPaper"}],"type":"MessageAction"},{"id":"-391678544","predicate":"bots.botInfo","params":[{"name":"name","type":"string"},{"name":"about","type":"string"},{"name":"description","type":"string"}],"type":"bots.BotInfo"},{"id":"238759180","predicate":"inlineQueryPeerTypeBotPM","params":[],"type":"InlineQueryPeerType"},{"id":"-1228133028","predicate":"messagePeerVote","params":[{"name":"peer","type":"Peer"},{"name":"option","type":"bytes"},{"name":"date","type":"int"}],"type":"MessagePeerVote"},{"id":"1959634180","predicate":"messagePeerVoteInputOption","params":[{"name":"peer","type":"Peer"},{"name":"date","type":"int"}],"type":"MessagePeerVote"},{"id":"1177089766","predicate":"messagePeerVoteMultiple","params":[{"name":"peer","type":"Peer"},{"name":"options","type":"Vector"},{"name":"date","type":"int"}],"type":"MessagePeerVote"},{"id":"941870144","predicate":"inputPrivacyKeyAbout","params":[],"type":"InputPrivacyKey"},{"id":"-1534675103","predicate":"privacyKeyAbout","params":[],"type":"PrivacyKey"},{"id":"1035529315","predicate":"sponsoredWebPage","params":[{"name":"flags","type":"#"},{"name":"url","type":"string"},{"name":"site_name","type":"string"},{"name":"photo","type":"flags.0?Photo"}],"type":"SponsoredWebPage"},{"id":"-1923523370","predicate":"storyViews","params":[{"name":"flags","type":"#"},{"name":"has_viewers","type":"flags.1?true"},{"name":"views_count","type":"int"},{"name":"forwards_count","type":"flags.2?int"},{"name":"reactions","type":"flags.3?Vector"},{"name":"reactions_count","type":"flags.4?int"},{"name":"recent_viewers","type":"flags.0?Vector"}],"type":"StoryViews"},{"id":"1374088783","predicate":"storyItemDeleted","params":[{"name":"id","type":"int"}],"type":"StoryItem"},{"id":"-5388013","predicate":"storyItemSkipped","params":[{"name":"flags","type":"#"},{"name":"close_friends","type":"flags.8?true"},{"name":"id","type":"int"},{"name":"date","type":"int"},{"name":"expire_date","type":"int"}],"type":"StoryItem"},{"id":"-1352440415","predicate":"storyItem","params":[{"name":"flags","type":"#"},{"name":"pinned","type":"flags.5?true"},{"name":"public","type":"flags.7?true"},{"name":"close_friends","type":"flags.8?true"},{"name":"min","type":"flags.9?true"},{"name":"noforwards","type":"flags.10?true"},{"name":"edited","type":"flags.11?true"},{"name":"contacts","type":"flags.12?true"},{"name":"selected_contacts","type":"flags.13?true"},{"name":"out","type":"flags.16?true"},{"name":"id","type":"int"},{"name":"date","type":"int"},{"name":"fwd_from","type":"flags.17?StoryFwdHeader"},{"name":"expire_date","type":"int"},{"name":"caption","type":"flags.0?string"},{"name":"entities","type":"flags.1?Vector"},{"name":"media","type":"MessageMedia"},{"name":"media_areas","type":"flags.14?Vector"},{"name":"privacy","type":"flags.2?Vector"},{"name":"views","type":"flags.3?StoryViews"},{"name":"sent_reaction","type":"flags.15?Reaction"}],"type":"StoryItem"},{"id":"1974712216","predicate":"updateStory","params":[{"name":"peer","type":"Peer"},{"name":"story","type":"StoryItem"}],"type":"Update"},{"id":"-145845461","predicate":"updateReadStories","params":[{"name":"peer","type":"Peer"},{"name":"max_id","type":"int"}],"type":"Update"},{"id":"291044926","predicate":"stories.allStoriesNotModified","params":[{"name":"flags","type":"#"},{"name":"state","type":"string"},{"name":"stealth_mode","type":"StoriesStealthMode"}],"type":"stories.AllStories"},{"id":"1862033025","predicate":"stories.allStories","params":[{"name":"flags","type":"#"},{"name":"has_more","type":"flags.0?true"},{"name":"count","type":"int"},{"name":"state","type":"string"},{"name":"peer_stories","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"},{"name":"stealth_mode","type":"StoriesStealthMode"}],"type":"stories.AllStories"},{"id":"1574486984","predicate":"stories.stories","params":[{"name":"count","type":"int"},{"name":"stories","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"stories.Stories"},{"id":"793067081","predicate":"inputPrivacyValueAllowCloseFriends","params":[],"type":"InputPrivacyRule"},{"id":"-135735141","predicate":"privacyValueAllowCloseFriends","params":[],"type":"PrivacyRule"},{"id":"-1329730875","predicate":"storyView","params":[{"name":"flags","type":"#"},{"name":"blocked","type":"flags.0?true"},{"name":"blocked_my_stories_from","type":"flags.1?true"},{"name":"user_id","type":"long"},{"name":"date","type":"int"},{"name":"reaction","type":"flags.2?Reaction"}],"type":"StoryView"},{"id":"1507299269","predicate":"stories.storyViewsList","params":[{"name":"flags","type":"#"},{"name":"count","type":"int"},{"name":"views_count","type":"int"},{"name":"forwards_count","type":"int"},{"name":"reactions_count","type":"int"},{"name":"views","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"},{"name":"next_offset","type":"flags.0?string"}],"type":"stories.StoryViewsList"},{"id":"-560009955","predicate":"stories.storyViews","params":[{"name":"views","type":"Vector"},{"name":"users","type":"Vector"}],"type":"stories.StoryViews"},{"id":"583071445","predicate":"inputReplyToMessage","params":[{"name":"flags","type":"#"},{"name":"reply_to_msg_id","type":"int"},{"name":"top_msg_id","type":"flags.0?int"},{"name":"reply_to_peer_id","type":"flags.1?InputPeer"},{"name":"quote_text","type":"flags.2?string"},{"name":"quote_entities","type":"flags.3?Vector"},{"name":"quote_offset","type":"flags.4?int"}],"type":"InputReplyTo"},{"id":"363917955","predicate":"inputReplyToStory","params":[{"name":"user_id","type":"InputUser"},{"name":"story_id","type":"int"}],"type":"InputReplyTo"},{"id":"-1667711039","predicate":"messageReplyStoryHeader","params":[{"name":"user_id","type":"long"},{"name":"story_id","type":"int"}],"type":"MessageReplyHeader"},{"id":"468923833","predicate":"updateStoryID","params":[{"name":"id","type":"int"},{"name":"random_id","type":"long"}],"type":"Update"},{"id":"1070138683","predicate":"exportedStoryLink","params":[{"name":"link","type":"string"}],"type":"ExportedStoryLink"},{"id":"-1979852936","predicate":"inputMediaStory","params":[{"name":"peer","type":"InputPeer"},{"name":"id","type":"int"}],"type":"InputMedia"},{"id":"1758159491","predicate":"messageMediaStory","params":[{"name":"flags","type":"#"},{"name":"via_mention","type":"flags.1?true"},{"name":"peer","type":"Peer"},{"name":"id","type":"int"},{"name":"story","type":"flags.0?StoryItem"}],"type":"MessageMedia"},{"id":"781501415","predicate":"webPageAttributeStory","params":[{"name":"flags","type":"#"},{"name":"peer","type":"Peer"},{"name":"id","type":"int"},{"name":"story","type":"flags.0?StoryItem"}],"type":"WebPageAttribute"},{"id":"1898850301","predicate":"storiesStealthMode","params":[{"name":"flags","type":"#"},{"name":"active_until_date","type":"flags.0?int"},{"name":"cooldown_until_date","type":"flags.1?int"}],"type":"StoriesStealthMode"},{"id":"738741697","predicate":"updateStoriesStealthMode","params":[{"name":"stealth_mode","type":"StoriesStealthMode"}],"type":"Update"},{"id":"64088654","predicate":"mediaAreaCoordinates","params":[{"name":"x","type":"double"},{"name":"y","type":"double"},{"name":"w","type":"double"},{"name":"h","type":"double"},{"name":"rotation","type":"double"}],"type":"MediaAreaCoordinates"},{"id":"-1098720356","predicate":"mediaAreaVenue","params":[{"name":"coordinates","type":"MediaAreaCoordinates"},{"name":"geo","type":"GeoPoint"},{"name":"title","type":"string"},{"name":"address","type":"string"},{"name":"provider","type":"string"},{"name":"venue_id","type":"string"},{"name":"venue_type","type":"string"}],"type":"MediaArea"},{"id":"-1300094593","predicate":"inputMediaAreaVenue","params":[{"name":"coordinates","type":"MediaAreaCoordinates"},{"name":"query_id","type":"long"},{"name":"result_id","type":"string"}],"type":"MediaArea"},{"id":"-544523486","predicate":"mediaAreaGeoPoint","params":[{"name":"coordinates","type":"MediaAreaCoordinates"},{"name":"geo","type":"GeoPoint"}],"type":"MediaArea"},{"id":"2103604867","predicate":"updateSentStoryReaction","params":[{"name":"peer","type":"Peer"},{"name":"story_id","type":"int"},{"name":"reaction","type":"Reaction"}],"type":"Update"},{"id":"340088945","predicate":"mediaAreaSuggestedReaction","params":[{"name":"flags","type":"#"},{"name":"dark","type":"flags.0?true"},{"name":"flipped","type":"flags.1?true"},{"name":"coordinates","type":"MediaAreaCoordinates"},{"name":"reaction","type":"Reaction"}],"type":"MediaArea"},{"id":"-1707742823","predicate":"peerStories","params":[{"name":"flags","type":"#"},{"name":"peer","type":"Peer"},{"name":"max_read_id","type":"flags.0?int"},{"name":"stories","type":"Vector"}],"type":"PeerStories"},{"id":"-890861720","predicate":"stories.peerStories","params":[{"name":"stories","type":"PeerStories"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"stories.PeerStories"},{"id":"-44166467","predicate":"messages.webPage","params":[{"name":"webpage","type":"WebPage"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"messages.WebPage"},{"id":"-1551868097","predicate":"inputStorePaymentPremiumGiftCode","params":[{"name":"flags","type":"#"},{"name":"users","type":"Vector"},{"name":"boost_peer","type":"flags.0?InputPeer"},{"name":"currency","type":"string"},{"name":"amount","type":"long"}],"type":"InputStorePaymentPurpose"},{"id":"369444042","predicate":"inputStorePaymentPremiumGiveaway","params":[{"name":"flags","type":"#"},{"name":"only_new_subscribers","type":"flags.0?true"},{"name":"winners_are_visible","type":"flags.3?true"},{"name":"boost_peer","type":"InputPeer"},{"name":"additional_peers","type":"flags.1?Vector"},{"name":"countries_iso2","type":"flags.2?Vector"},{"name":"prize_description","type":"flags.4?string"},{"name":"random_id","type":"long"},{"name":"until_date","type":"int"},{"name":"currency","type":"string"},{"name":"amount","type":"long"}],"type":"InputStorePaymentPurpose"},{"id":"-1734841331","predicate":"inputInvoicePremiumGiftCode","params":[{"name":"purpose","type":"InputStorePaymentPurpose"},{"name":"option","type":"PremiumGiftCodeOption"}],"type":"InputInvoice"},{"id":"629052971","predicate":"premiumGiftCodeOption","params":[{"name":"flags","type":"#"},{"name":"users","type":"int"},{"name":"months","type":"int"},{"name":"store_product","type":"flags.0?string"},{"name":"store_quantity","type":"flags.1?int"},{"name":"currency","type":"string"},{"name":"amount","type":"long"}],"type":"PremiumGiftCodeOption"},{"id":"675942550","predicate":"payments.checkedGiftCode","params":[{"name":"flags","type":"#"},{"name":"via_giveaway","type":"flags.2?true"},{"name":"from_id","type":"flags.4?Peer"},{"name":"giveaway_msg_id","type":"flags.3?int"},{"name":"to_id","type":"flags.0?long"},{"name":"date","type":"int"},{"name":"months","type":"int"},{"name":"used_date","type":"flags.1?int"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"payments.CheckedGiftCode"},{"id":"-626162256","predicate":"messageMediaGiveaway","params":[{"name":"flags","type":"#"},{"name":"only_new_subscribers","type":"flags.0?true"},{"name":"winners_are_visible","type":"flags.2?true"},{"name":"channels","type":"Vector"},{"name":"countries_iso2","type":"flags.1?Vector"},{"name":"prize_description","type":"flags.3?string"},{"name":"quantity","type":"int"},{"name":"months","type":"int"},{"name":"until_date","type":"int"}],"type":"MessageMedia"},{"id":"1737240073","predicate":"messageActionGiftCode","params":[{"name":"flags","type":"#"},{"name":"via_giveaway","type":"flags.0?true"},{"name":"unclaimed","type":"flags.2?true"},{"name":"boost_peer","type":"flags.1?Peer"},{"name":"months","type":"int"},{"name":"slug","type":"string"},{"name":"currency","type":"flags.2?string"},{"name":"amount","type":"flags.2?long"},{"name":"crypto_currency","type":"flags.3?string"},{"name":"crypto_amount","type":"flags.3?long"}],"type":"MessageAction"},{"id":"858499565","predicate":"messageActionGiveawayLaunch","params":[],"type":"MessageAction"},{"id":"1130879648","predicate":"payments.giveawayInfo","params":[{"name":"flags","type":"#"},{"name":"participating","type":"flags.0?true"},{"name":"preparing_results","type":"flags.3?true"},{"name":"start_date","type":"int"},{"name":"joined_too_early_date","type":"flags.1?int"},{"name":"admin_disallowed_chat_id","type":"flags.2?long"},{"name":"disallowed_country","type":"flags.4?string"}],"type":"payments.GiveawayInfo"},{"id":"13456752","predicate":"payments.giveawayInfoResults","params":[{"name":"flags","type":"#"},{"name":"winner","type":"flags.0?true"},{"name":"refunded","type":"flags.1?true"},{"name":"start_date","type":"int"},{"name":"gift_code_slug","type":"flags.0?string"},{"name":"finish_date","type":"int"},{"name":"winners_count","type":"int"},{"name":"activated_count","type":"int"}],"type":"payments.GiveawayInfo"},{"id":"34469328","predicate":"messageEntityBlockquote","params":[{"name":"offset","type":"int"},{"name":"length","type":"int"}],"type":"MessageEntity"},{"id":"-1303143084","predicate":"prepaidGiveaway","params":[{"name":"id","type":"long"},{"name":"months","type":"int"},{"name":"quantity","type":"int"},{"name":"date","type":"int"}],"type":"PrepaidGiveaway"},{"id":"-1038383031","predicate":"inputMediaWebPage","params":[{"name":"flags","type":"#"},{"name":"force_large_media","type":"flags.0?true"},{"name":"force_small_media","type":"flags.1?true"},{"name":"optional","type":"flags.2?true"},{"name":"url","type":"string"}],"type":"InputMedia"},{"id":"-1109605104","predicate":"inputBotInlineMessageMediaWebPage","params":[{"name":"flags","type":"#"},{"name":"invert_media","type":"flags.3?true"},{"name":"force_large_media","type":"flags.4?true"},{"name":"force_small_media","type":"flags.5?true"},{"name":"optional","type":"flags.6?true"},{"name":"message","type":"string"},{"name":"entities","type":"flags.1?Vector"},{"name":"url","type":"string"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"}],"type":"InputBotInlineMessage"},{"id":"-2137335386","predicate":"botInlineMessageMediaWebPage","params":[{"name":"flags","type":"#"},{"name":"invert_media","type":"flags.3?true"},{"name":"force_large_media","type":"flags.4?true"},{"name":"force_small_media","type":"flags.5?true"},{"name":"manual","type":"flags.7?true"},{"name":"safe","type":"flags.8?true"},{"name":"message","type":"string"},{"name":"entities","type":"flags.1?Vector"},{"name":"url","type":"string"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"}],"type":"BotInlineMessage"},{"id":"706514033","predicate":"boost","params":[{"name":"flags","type":"#"},{"name":"gift","type":"flags.1?true"},{"name":"giveaway","type":"flags.2?true"},{"name":"unclaimed","type":"flags.3?true"},{"name":"id","type":"string"},{"name":"user_id","type":"flags.0?long"},{"name":"giveaway_msg_id","type":"flags.2?int"},{"name":"date","type":"int"},{"name":"expires","type":"int"},{"name":"used_gift_slug","type":"flags.4?string"},{"name":"multiplier","type":"flags.5?int"}],"type":"Boost"},{"id":"-2030542532","predicate":"premium.boostsList","params":[{"name":"flags","type":"#"},{"name":"count","type":"int"},{"name":"boosts","type":"Vector"},{"name":"next_offset","type":"flags.0?string"},{"name":"users","type":"Vector"}],"type":"premium.BoostsList"},{"id":"-1001897636","predicate":"myBoost","params":[{"name":"flags","type":"#"},{"name":"slot","type":"int"},{"name":"peer","type":"flags.0?Peer"},{"name":"date","type":"int"},{"name":"expires","type":"int"},{"name":"cooldown_until_date","type":"flags.1?int"}],"type":"MyBoost"},{"id":"-1696454430","predicate":"premium.myBoosts","params":[{"name":"my_boosts","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"premium.MyBoosts"},{"id":"1230586490","predicate":"premium.boostsStatus","params":[{"name":"flags","type":"#"},{"name":"my_boost","type":"flags.2?true"},{"name":"level","type":"int"},{"name":"current_level_boosts","type":"int"},{"name":"boosts","type":"int"},{"name":"gift_boosts","type":"flags.4?int"},{"name":"next_level_boosts","type":"flags.0?int"},{"name":"premium_audience","type":"flags.1?StatsPercentValue"},{"name":"boost_url","type":"string"},{"name":"prepaid_giveaways","type":"flags.3?Vector"},{"name":"my_boost_slots","type":"flags.2?Vector"}],"type":"premium.BoostsStatus"},{"id":"-1873947492","predicate":"updateBotChatBoost","params":[{"name":"peer","type":"Peer"},{"name":"boost","type":"Boost"},{"name":"qts","type":"int"}],"type":"Update"},{"id":"129403168","predicate":"updateChannelViewForumAsMessages","params":[{"name":"channel_id","type":"long"},{"name":"enabled","type":"Bool"}],"type":"Update"},{"id":"715107781","predicate":"messageActionGiveawayResults","params":[{"name":"winners_count","type":"int"},{"name":"unclaimed_count","type":"int"}],"type":"MessageAction"},{"id":"-1371598819","predicate":"updatePeerWallpaper","params":[{"name":"flags","type":"#"},{"name":"wallpaper_overridden","type":"flags.1?true"},{"name":"peer","type":"Peer"},{"name":"wallpaper","type":"flags.0?WallPaper"}],"type":"Update"},{"id":"-1205411504","predicate":"storyFwdHeader","params":[{"name":"flags","type":"#"},{"name":"modified","type":"flags.3?true"},{"name":"from","type":"flags.0?Peer"},{"name":"from_name","type":"flags.1?string"},{"name":"story_id","type":"flags.2?int"}],"type":"StoryFwdHeader"},{"id":"-419066241","predicate":"postInteractionCountersMessage","params":[{"name":"msg_id","type":"int"},{"name":"views","type":"int"},{"name":"forwards","type":"int"},{"name":"reactions","type":"int"}],"type":"PostInteractionCounters"},{"id":"-1974989273","predicate":"postInteractionCountersStory","params":[{"name":"story_id","type":"int"},{"name":"views","type":"int"},{"name":"forwards","type":"int"},{"name":"reactions","type":"int"}],"type":"PostInteractionCounters"},{"id":"1355613820","predicate":"stats.storyStats","params":[{"name":"views_graph","type":"StatsGraph"},{"name":"reactions_by_emotion_graph","type":"StatsGraph"}],"type":"stats.StoryStats"},{"id":"32685898","predicate":"publicForwardMessage","params":[{"name":"message","type":"Message"}],"type":"PublicForward"},{"id":"-302797360","predicate":"publicForwardStory","params":[{"name":"peer","type":"Peer"},{"name":"story","type":"StoryItem"}],"type":"PublicForward"},{"id":"-1828487648","predicate":"stats.publicForwards","params":[{"name":"flags","type":"#"},{"name":"count","type":"int"},{"name":"forwards","type":"Vector"},{"name":"next_offset","type":"flags.0?string"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"stats.PublicForwards"},{"id":"-1253352753","predicate":"peerColor","params":[{"name":"flags","type":"#"},{"name":"color","type":"flags.0?int"},{"name":"background_emoji_id","type":"flags.1?long"}],"type":"PeerColor"},{"id":"639736408","predicate":"help.peerColorSet","params":[{"name":"colors","type":"Vector"}],"type":"help.PeerColorSet"},{"id":"1987928555","predicate":"help.peerColorProfileSet","params":[{"name":"palette_colors","type":"Vector"},{"name":"bg_colors","type":"Vector"},{"name":"story_colors","type":"Vector"}],"type":"help.PeerColorSet"},{"id":"-276549461","predicate":"help.peerColorOption","params":[{"name":"flags","type":"#"},{"name":"hidden","type":"flags.0?true"},{"name":"color_id","type":"int"},{"name":"colors","type":"flags.1?help.PeerColorSet"},{"name":"dark_colors","type":"flags.2?help.PeerColorSet"},{"name":"channel_min_level","type":"flags.3?int"}],"type":"help.PeerColorOption"},{"id":"732034510","predicate":"help.peerColorsNotModified","params":[],"type":"help.PeerColors"},{"id":"16313608","predicate":"help.peerColors","params":[{"name":"hash","type":"int"},{"name":"colors","type":"Vector"}],"type":"help.PeerColors"},{"id":"-963047320","predicate":"messageMediaGiveawayResults","params":[{"name":"flags","type":"#"},{"name":"only_new_subscribers","type":"flags.0?true"},{"name":"refunded","type":"flags.2?true"},{"name":"channel_id","type":"long"},{"name":"additional_peers_count","type":"flags.3?int"},{"name":"launch_msg_id","type":"int"},{"name":"winners_count","type":"int"},{"name":"unclaimed_count","type":"int"},{"name":"winners","type":"Vector"},{"name":"months","type":"int"},{"name":"prize_description","type":"flags.1?string"},{"name":"until_date","type":"int"}],"type":"MessageMedia"},{"id":"1620104917","predicate":"storyReaction","params":[{"name":"peer_id","type":"Peer"},{"name":"date","type":"int"},{"name":"reaction","type":"Reaction"}],"type":"StoryReaction"},{"id":"-1146411453","predicate":"storyReactionPublicForward","params":[{"name":"message","type":"Message"}],"type":"StoryReaction"},{"id":"-808644845","predicate":"storyReactionPublicRepost","params":[{"name":"peer_id","type":"Peer"},{"name":"story","type":"StoryItem"}],"type":"StoryReaction"},{"id":"-1436583780","predicate":"stories.storyReactionsList","params":[{"name":"flags","type":"#"},{"name":"count","type":"int"},{"name":"reactions","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"},{"name":"next_offset","type":"flags.0?string"}],"type":"stories.StoryReactionsList"},{"id":"-1870436597","predicate":"storyViewPublicForward","params":[{"name":"flags","type":"#"},{"name":"blocked","type":"flags.0?true"},{"name":"blocked_my_stories_from","type":"flags.1?true"},{"name":"message","type":"Message"}],"type":"StoryView"},{"id":"-1116418231","predicate":"storyViewPublicRepost","params":[{"name":"flags","type":"#"},{"name":"blocked","type":"flags.0?true"},{"name":"blocked_my_stories_from","type":"flags.1?true"},{"name":"peer_id","type":"Peer"},{"name":"story","type":"StoryItem"}],"type":"StoryView"},{"id":"1469507456","predicate":"channelAdminLogEventActionChangePeerColor","params":[{"name":"prev_value","type":"PeerColor"},{"name":"new_value","type":"PeerColor"}],"type":"ChannelAdminLogEventAction"},{"id":"1581742885","predicate":"channelAdminLogEventActionChangeProfilePeerColor","params":[{"name":"prev_value","type":"PeerColor"},{"name":"new_value","type":"PeerColor"}],"type":"ChannelAdminLogEventAction"},{"id":"834362706","predicate":"channelAdminLogEventActionChangeWallpaper","params":[{"name":"prev_value","type":"WallPaper"},{"name":"new_value","type":"WallPaper"}],"type":"ChannelAdminLogEventAction"},{"id":"1051328177","predicate":"channelAdminLogEventActionChangeEmojiStatus","params":[{"name":"prev_value","type":"EmojiStatus"},{"name":"new_value","type":"EmojiStatus"}],"type":"ChannelAdminLogEventAction"},{"id":"1232373075","predicate":"inputStickerSetEmojiChannelDefaultStatuses","params":[],"type":"InputStickerSet"},{"id":"1996756655","predicate":"mediaAreaChannelPost","params":[{"name":"coordinates","type":"MediaAreaCoordinates"},{"name":"channel_id","type":"long"},{"name":"msg_id","type":"int"}],"type":"MediaArea"},{"id":"577893055","predicate":"inputMediaAreaChannelPost","params":[{"name":"coordinates","type":"MediaAreaCoordinates"},{"name":"channel","type":"InputChannel"},{"name":"msg_id","type":"int"}],"type":"MediaArea"},{"id":"-1407069234","predicate":"updateBotMessageReaction","params":[{"name":"peer","type":"Peer"},{"name":"msg_id","type":"int"},{"name":"date","type":"int"},{"name":"actor","type":"Peer"},{"name":"old_reactions","type":"Vector"},{"name":"new_reactions","type":"Vector"},{"name":"qts","type":"int"}],"type":"Update"},{"id":"164329305","predicate":"updateBotMessageReactions","params":[{"name":"peer","type":"Peer"},{"name":"msg_id","type":"int"},{"name":"date","type":"int"},{"name":"reactions","type":"Vector"},{"name":"qts","type":"int"}],"type":"Update"},{"id":"-1115174036","predicate":"savedDialog","params":[{"name":"flags","type":"#"},{"name":"pinned","type":"flags.2?true"},{"name":"peer","type":"Peer"},{"name":"top_message","type":"int"}],"type":"SavedDialog"},{"id":"-1364222348","predicate":"updateSavedDialogPinned","params":[{"name":"flags","type":"#"},{"name":"pinned","type":"flags.0?true"},{"name":"peer","type":"DialogPeer"}],"type":"Update"},{"id":"1751942566","predicate":"updatePinnedSavedDialogs","params":[{"name":"flags","type":"#"},{"name":"order","type":"flags.0?Vector"}],"type":"Update"},{"id":"-130358751","predicate":"messages.savedDialogs","params":[{"name":"dialogs","type":"Vector"},{"name":"messages","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"messages.SavedDialogs"},{"id":"1153080793","predicate":"messages.savedDialogsSlice","params":[{"name":"count","type":"int"},{"name":"dialogs","type":"Vector"},{"name":"messages","type":"Vector"},{"name":"chats","type":"Vector"},{"name":"users","type":"Vector"}],"type":"messages.SavedDialogs"},{"id":"-1071681560","predicate":"messages.savedDialogsNotModified","params":[{"name":"count","type":"int"}],"type":"messages.SavedDialogs"}],"methods":[{"id":"-878758099","method":"invokeAfterMsg","params":[{"name":"msg_id","type":"long"},{"name":"query","type":"!X"}],"type":"X"},{"id":"1036301552","method":"invokeAfterMsgs","params":[{"name":"msg_ids","type":"Vector"},{"name":"query","type":"!X"}],"type":"X"},{"id":"-1502141361","method":"auth.sendCode","params":[{"name":"phone_number","type":"string"},{"name":"api_id","type":"int"},{"name":"api_hash","type":"string"},{"name":"settings","type":"CodeSettings"}],"type":"auth.SentCode"},{"id":"-2131827673","method":"auth.signUp","params":[{"name":"phone_number","type":"string"},{"name":"phone_code_hash","type":"string"},{"name":"first_name","type":"string"},{"name":"last_name","type":"string"}],"type":"auth.Authorization"},{"id":"-1923962543","method":"auth.signIn","params":[{"name":"flags","type":"#"},{"name":"phone_number","type":"string"},{"name":"phone_code_hash","type":"string"},{"name":"phone_code","type":"flags.0?string"},{"name":"email_verification","type":"flags.1?EmailVerification"}],"type":"auth.Authorization"},{"id":"1047706137","method":"auth.logOut","params":[],"type":"auth.LoggedOut"},{"id":"-1616179942","method":"auth.resetAuthorizations","params":[],"type":"Bool"},{"id":"-440401971","method":"auth.exportAuthorization","params":[{"name":"dc_id","type":"int"}],"type":"auth.ExportedAuthorization"},{"id":"-1518699091","method":"auth.importAuthorization","params":[{"name":"id","type":"long"},{"name":"bytes","type":"bytes"}],"type":"auth.Authorization"},{"id":"-841733627","method":"auth.bindTempAuthKey","params":[{"name":"perm_auth_key_id","type":"long"},{"name":"nonce","type":"long"},{"name":"expires_at","type":"int"},{"name":"encrypted_message","type":"bytes"}],"type":"Bool"},{"id":"-326762118","method":"account.registerDevice","params":[{"name":"flags","type":"#"},{"name":"no_muted","type":"flags.0?true"},{"name":"token_type","type":"int"},{"name":"token","type":"string"},{"name":"app_sandbox","type":"Bool"},{"name":"secret","type":"bytes"},{"name":"other_uids","type":"Vector"}],"type":"Bool"},{"id":"1779249670","method":"account.unregisterDevice","params":[{"name":"token_type","type":"int"},{"name":"token","type":"string"},{"name":"other_uids","type":"Vector"}],"type":"Bool"},{"id":"-2067899501","method":"account.updateNotifySettings","params":[{"name":"peer","type":"InputNotifyPeer"},{"name":"settings","type":"InputPeerNotifySettings"}],"type":"Bool"},{"id":"313765169","method":"account.getNotifySettings","params":[{"name":"peer","type":"InputNotifyPeer"}],"type":"PeerNotifySettings"},{"id":"-612493497","method":"account.resetNotifySettings","params":[],"type":"Bool"},{"id":"2018596725","method":"account.updateProfile","params":[{"name":"flags","type":"#"},{"name":"first_name","type":"flags.0?string"},{"name":"last_name","type":"flags.1?string"},{"name":"about","type":"flags.2?string"}],"type":"User"},{"id":"1713919532","method":"account.updateStatus","params":[{"name":"offline","type":"Bool"}],"type":"Bool"},{"id":"127302966","method":"account.getWallPapers","params":[{"name":"hash","type":"long"}],"type":"account.WallPapers"},{"id":"-977650298","method":"account.reportPeer","params":[{"name":"peer","type":"InputPeer"},{"name":"reason","type":"ReportReason"},{"name":"message","type":"string"}],"type":"Bool"},{"id":"227648840","method":"users.getUsers","params":[{"name":"id","type":"Vector"}],"type":"Vector"},{"id":"-1240508136","method":"users.getFullUser","params":[{"name":"id","type":"InputUser"}],"type":"users.UserFull"},{"id":"2061264541","method":"contacts.getContactIDs","params":[{"name":"hash","type":"long"}],"type":"Vector"},{"id":"-995929106","method":"contacts.getStatuses","params":[],"type":"Vector"},{"id":"1574346258","method":"contacts.getContacts","params":[{"name":"hash","type":"long"}],"type":"contacts.Contacts"},{"id":"746589157","method":"contacts.importContacts","params":[{"name":"contacts","type":"Vector"}],"type":"contacts.ImportedContacts"},{"id":"157945344","method":"contacts.deleteContacts","params":[{"name":"id","type":"Vector"}],"type":"Updates"},{"id":"269745566","method":"contacts.deleteByPhones","params":[{"name":"phones","type":"Vector"}],"type":"Bool"},{"id":"774801204","method":"contacts.block","params":[{"name":"flags","type":"#"},{"name":"my_stories_from","type":"flags.0?true"},{"name":"id","type":"InputPeer"}],"type":"Bool"},{"id":"-1252994264","method":"contacts.unblock","params":[{"name":"flags","type":"#"},{"name":"my_stories_from","type":"flags.0?true"},{"name":"id","type":"InputPeer"}],"type":"Bool"},{"id":"-1702457472","method":"contacts.getBlocked","params":[{"name":"flags","type":"#"},{"name":"my_stories_from","type":"flags.0?true"},{"name":"offset","type":"int"},{"name":"limit","type":"int"}],"type":"contacts.Blocked"},{"id":"1673946374","method":"messages.getMessages","params":[{"name":"id","type":"Vector"}],"type":"messages.Messages"},{"id":"-1594569905","method":"messages.getDialogs","params":[{"name":"flags","type":"#"},{"name":"exclude_pinned","type":"flags.0?true"},{"name":"folder_id","type":"flags.1?int"},{"name":"offset_date","type":"int"},{"name":"offset_id","type":"int"},{"name":"offset_peer","type":"InputPeer"},{"name":"limit","type":"int"},{"name":"hash","type":"long"}],"type":"messages.Dialogs"},{"id":"1143203525","method":"messages.getHistory","params":[{"name":"peer","type":"InputPeer"},{"name":"offset_id","type":"int"},{"name":"offset_date","type":"int"},{"name":"add_offset","type":"int"},{"name":"limit","type":"int"},{"name":"max_id","type":"int"},{"name":"min_id","type":"int"},{"name":"hash","type":"long"}],"type":"messages.Messages"},{"id":"-1481316055","method":"messages.search","params":[{"name":"flags","type":"#"},{"name":"peer","type":"InputPeer"},{"name":"q","type":"string"},{"name":"from_id","type":"flags.0?InputPeer"},{"name":"saved_peer_id","type":"flags.2?InputPeer"},{"name":"top_msg_id","type":"flags.1?int"},{"name":"filter","type":"MessagesFilter"},{"name":"min_date","type":"int"},{"name":"max_date","type":"int"},{"name":"offset_id","type":"int"},{"name":"add_offset","type":"int"},{"name":"limit","type":"int"},{"name":"max_id","type":"int"},{"name":"min_id","type":"int"},{"name":"hash","type":"long"}],"type":"messages.Messages"},{"id":"238054714","method":"messages.readHistory","params":[{"name":"peer","type":"InputPeer"},{"name":"max_id","type":"int"}],"type":"messages.AffectedMessages"},{"id":"-1332768214","method":"messages.deleteHistory","params":[{"name":"flags","type":"#"},{"name":"just_clear","type":"flags.0?true"},{"name":"revoke","type":"flags.1?true"},{"name":"peer","type":"InputPeer"},{"name":"max_id","type":"int"},{"name":"min_date","type":"flags.2?int"},{"name":"max_date","type":"flags.3?int"}],"type":"messages.AffectedHistory"},{"id":"-443640366","method":"messages.deleteMessages","params":[{"name":"flags","type":"#"},{"name":"revoke","type":"flags.0?true"},{"name":"id","type":"Vector"}],"type":"messages.AffectedMessages"},{"id":"94983360","method":"messages.receivedMessages","params":[{"name":"max_id","type":"int"}],"type":"Vector"},{"id":"1486110434","method":"messages.setTyping","params":[{"name":"flags","type":"#"},{"name":"peer","type":"InputPeer"},{"name":"top_msg_id","type":"flags.0?int"},{"name":"action","type":"SendMessageAction"}],"type":"Bool"},{"id":"671943023","method":"messages.sendMessage","params":[{"name":"flags","type":"#"},{"name":"no_webpage","type":"flags.1?true"},{"name":"silent","type":"flags.5?true"},{"name":"background","type":"flags.6?true"},{"name":"clear_draft","type":"flags.7?true"},{"name":"noforwards","type":"flags.14?true"},{"name":"update_stickersets_order","type":"flags.15?true"},{"name":"invert_media","type":"flags.16?true"},{"name":"peer","type":"InputPeer"},{"name":"reply_to","type":"flags.0?InputReplyTo"},{"name":"message","type":"string"},{"name":"random_id","type":"long"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"},{"name":"entities","type":"flags.3?Vector"},{"name":"schedule_date","type":"flags.10?int"},{"name":"send_as","type":"flags.13?InputPeer"}],"type":"Updates"},{"id":"1926021693","method":"messages.sendMedia","params":[{"name":"flags","type":"#"},{"name":"silent","type":"flags.5?true"},{"name":"background","type":"flags.6?true"},{"name":"clear_draft","type":"flags.7?true"},{"name":"noforwards","type":"flags.14?true"},{"name":"update_stickersets_order","type":"flags.15?true"},{"name":"invert_media","type":"flags.16?true"},{"name":"peer","type":"InputPeer"},{"name":"reply_to","type":"flags.0?InputReplyTo"},{"name":"media","type":"InputMedia"},{"name":"message","type":"string"},{"name":"random_id","type":"long"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"},{"name":"entities","type":"flags.3?Vector"},{"name":"schedule_date","type":"flags.10?int"},{"name":"send_as","type":"flags.13?InputPeer"}],"type":"Updates"},{"id":"-966673468","method":"messages.forwardMessages","params":[{"name":"flags","type":"#"},{"name":"silent","type":"flags.5?true"},{"name":"background","type":"flags.6?true"},{"name":"with_my_score","type":"flags.8?true"},{"name":"drop_author","type":"flags.11?true"},{"name":"drop_media_captions","type":"flags.12?true"},{"name":"noforwards","type":"flags.14?true"},{"name":"from_peer","type":"InputPeer"},{"name":"id","type":"Vector"},{"name":"random_id","type":"Vector"},{"name":"to_peer","type":"InputPeer"},{"name":"top_msg_id","type":"flags.9?int"},{"name":"schedule_date","type":"flags.10?int"},{"name":"send_as","type":"flags.13?InputPeer"}],"type":"Updates"},{"id":"-820669733","method":"messages.reportSpam","params":[{"name":"peer","type":"InputPeer"}],"type":"Bool"},{"id":"-270948702","method":"messages.getPeerSettings","params":[{"name":"peer","type":"InputPeer"}],"type":"messages.PeerSettings"},{"id":"-1991005362","method":"messages.report","params":[{"name":"peer","type":"InputPeer"},{"name":"id","type":"Vector"},{"name":"reason","type":"ReportReason"},{"name":"message","type":"string"}],"type":"Bool"},{"id":"1240027791","method":"messages.getChats","params":[{"name":"id","type":"Vector"}],"type":"messages.Chats"},{"id":"-1364194508","method":"messages.getFullChat","params":[{"name":"chat_id","type":"long"}],"type":"messages.ChatFull"},{"id":"1937260541","method":"messages.editChatTitle","params":[{"name":"chat_id","type":"long"},{"name":"title","type":"string"}],"type":"Updates"},{"id":"903730804","method":"messages.editChatPhoto","params":[{"name":"chat_id","type":"long"},{"name":"photo","type":"InputChatPhoto"}],"type":"Updates"},{"id":"-230206493","method":"messages.addChatUser","params":[{"name":"chat_id","type":"long"},{"name":"user_id","type":"InputUser"},{"name":"fwd_limit","type":"int"}],"type":"Updates"},{"id":"-1575461717","method":"messages.deleteChatUser","params":[{"name":"flags","type":"#"},{"name":"revoke_history","type":"flags.0?true"},{"name":"chat_id","type":"long"},{"name":"user_id","type":"InputUser"}],"type":"Updates"},{"id":"3450904","method":"messages.createChat","params":[{"name":"flags","type":"#"},{"name":"users","type":"Vector"},{"name":"title","type":"string"},{"name":"ttl_period","type":"flags.0?int"}],"type":"Updates"},{"id":"-304838614","method":"updates.getState","params":[],"type":"updates.State"},{"id":"432207715","method":"updates.getDifference","params":[{"name":"flags","type":"#"},{"name":"pts","type":"int"},{"name":"pts_limit","type":"flags.1?int"},{"name":"pts_total_limit","type":"flags.0?int"},{"name":"date","type":"int"},{"name":"qts","type":"int"},{"name":"qts_limit","type":"flags.2?int"}],"type":"updates.Difference"},{"id":"166207545","method":"photos.updateProfilePhoto","params":[{"name":"flags","type":"#"},{"name":"fallback","type":"flags.0?true"},{"name":"bot","type":"flags.1?InputUser"},{"name":"id","type":"InputPhoto"}],"type":"photos.Photo"},{"id":"59286453","method":"photos.uploadProfilePhoto","params":[{"name":"flags","type":"#"},{"name":"fallback","type":"flags.3?true"},{"name":"bot","type":"flags.5?InputUser"},{"name":"file","type":"flags.0?InputFile"},{"name":"video","type":"flags.1?InputFile"},{"name":"video_start_ts","type":"flags.2?double"},{"name":"video_emoji_markup","type":"flags.4?VideoSize"}],"type":"photos.Photo"},{"id":"-2016444625","method":"photos.deletePhotos","params":[{"name":"id","type":"Vector"}],"type":"Vector"},{"id":"-1291540959","method":"upload.saveFilePart","params":[{"name":"file_id","type":"long"},{"name":"file_part","type":"int"},{"name":"bytes","type":"bytes"}],"type":"Bool"},{"id":"-1101843010","method":"upload.getFile","params":[{"name":"flags","type":"#"},{"name":"precise","type":"flags.0?true"},{"name":"cdn_supported","type":"flags.1?true"},{"name":"location","type":"InputFileLocation"},{"name":"offset","type":"long"},{"name":"limit","type":"int"}],"type":"upload.File"},{"id":"-990308245","method":"help.getConfig","params":[],"type":"Config"},{"id":"531836966","method":"help.getNearestDc","params":[],"type":"NearestDc"},{"id":"1378703997","method":"help.getAppUpdate","params":[{"name":"source","type":"string"}],"type":"help.AppUpdate"},{"id":"1295590211","method":"help.getInviteText","params":[],"type":"help.InviteText"},{"id":"-1848823128","method":"photos.getUserPhotos","params":[{"name":"user_id","type":"InputUser"},{"name":"offset","type":"int"},{"name":"max_id","type":"long"},{"name":"limit","type":"int"}],"type":"photos.Photos"},{"id":"651135312","method":"messages.getDhConfig","params":[{"name":"version","type":"int"},{"name":"random_length","type":"int"}],"type":"messages.DhConfig"},{"id":"-162681021","method":"messages.requestEncryption","params":[{"name":"user_id","type":"InputUser"},{"name":"random_id","type":"int"},{"name":"g_a","type":"bytes"}],"type":"EncryptedChat"},{"id":"1035731989","method":"messages.acceptEncryption","params":[{"name":"peer","type":"InputEncryptedChat"},{"name":"g_b","type":"bytes"},{"name":"key_fingerprint","type":"long"}],"type":"EncryptedChat"},{"id":"-208425312","method":"messages.discardEncryption","params":[{"name":"flags","type":"#"},{"name":"delete_history","type":"flags.0?true"},{"name":"chat_id","type":"int"}],"type":"Bool"},{"id":"2031374829","method":"messages.setEncryptedTyping","params":[{"name":"peer","type":"InputEncryptedChat"},{"name":"typing","type":"Bool"}],"type":"Bool"},{"id":"2135648522","method":"messages.readEncryptedHistory","params":[{"name":"peer","type":"InputEncryptedChat"},{"name":"max_date","type":"int"}],"type":"Bool"},{"id":"1157265941","method":"messages.sendEncrypted","params":[{"name":"flags","type":"#"},{"name":"silent","type":"flags.0?true"},{"name":"peer","type":"InputEncryptedChat"},{"name":"random_id","type":"long"},{"name":"data","type":"bytes"}],"type":"messages.SentEncryptedMessage"},{"id":"1431914525","method":"messages.sendEncryptedFile","params":[{"name":"flags","type":"#"},{"name":"silent","type":"flags.0?true"},{"name":"peer","type":"InputEncryptedChat"},{"name":"random_id","type":"long"},{"name":"data","type":"bytes"},{"name":"file","type":"InputEncryptedFile"}],"type":"messages.SentEncryptedMessage"},{"id":"852769188","method":"messages.sendEncryptedService","params":[{"name":"peer","type":"InputEncryptedChat"},{"name":"random_id","type":"long"},{"name":"data","type":"bytes"}],"type":"messages.SentEncryptedMessage"},{"id":"1436924774","method":"messages.receivedQueue","params":[{"name":"max_qts","type":"int"}],"type":"Vector"},{"id":"1259113487","method":"messages.reportEncryptedSpam","params":[{"name":"peer","type":"InputEncryptedChat"}],"type":"Bool"},{"id":"-562337987","method":"upload.saveBigFilePart","params":[{"name":"file_id","type":"long"},{"name":"file_part","type":"int"},{"name":"file_total_parts","type":"int"},{"name":"bytes","type":"bytes"}],"type":"Bool"},{"id":"-1043505495","method":"initConnection","params":[{"name":"flags","type":"#"},{"name":"api_id","type":"int"},{"name":"device_model","type":"string"},{"name":"system_version","type":"string"},{"name":"app_version","type":"string"},{"name":"system_lang_code","type":"string"},{"name":"lang_pack","type":"string"},{"name":"lang_code","type":"string"},{"name":"proxy","type":"flags.0?InputClientProxy"},{"name":"params","type":"flags.1?JSONValue"},{"name":"query","type":"!X"}],"type":"X"},{"id":"-1663104819","method":"help.getSupport","params":[],"type":"help.Support"},{"id":"916930423","method":"messages.readMessageContents","params":[{"name":"id","type":"Vector"}],"type":"messages.AffectedMessages"},{"id":"655677548","method":"account.checkUsername","params":[{"name":"username","type":"string"}],"type":"Bool"},{"id":"1040964988","method":"account.updateUsername","params":[{"name":"username","type":"string"}],"type":"User"},{"id":"301470424","method":"contacts.search","params":[{"name":"q","type":"string"},{"name":"limit","type":"int"}],"type":"contacts.Found"},{"id":"-623130288","method":"account.getPrivacy","params":[{"name":"key","type":"InputPrivacyKey"}],"type":"account.PrivacyRules"},{"id":"-906486552","method":"account.setPrivacy","params":[{"name":"key","type":"InputPrivacyKey"},{"name":"rules","type":"Vector"}],"type":"account.PrivacyRules"},{"id":"-1564422284","method":"account.deleteAccount","params":[{"name":"flags","type":"#"},{"name":"reason","type":"string"},{"name":"password","type":"flags.0?InputCheckPasswordSRP"}],"type":"Bool"},{"id":"150761757","method":"account.getAccountTTL","params":[],"type":"AccountDaysTTL"},{"id":"608323678","method":"account.setAccountTTL","params":[{"name":"ttl","type":"AccountDaysTTL"}],"type":"Bool"},{"id":"-627372787","method":"invokeWithLayer","params":[{"name":"layer","type":"int"},{"name":"query","type":"!X"}],"type":"X"},{"id":"-113456221","method":"contacts.resolveUsername","params":[{"name":"username","type":"string"}],"type":"contacts.ResolvedPeer"},{"id":"-2108208411","method":"account.sendChangePhoneCode","params":[{"name":"phone_number","type":"string"},{"name":"settings","type":"CodeSettings"}],"type":"auth.SentCode"},{"id":"1891839707","method":"account.changePhone","params":[{"name":"phone_number","type":"string"},{"name":"phone_code_hash","type":"string"},{"name":"phone_code","type":"string"}],"type":"User"},{"id":"-710552671","method":"messages.getStickers","params":[{"name":"emoticon","type":"string"},{"name":"hash","type":"long"}],"type":"messages.Stickers"},{"id":"-1197432408","method":"messages.getAllStickers","params":[{"name":"hash","type":"long"}],"type":"messages.AllStickers"},{"id":"954152242","method":"account.updateDeviceLocked","params":[{"name":"period","type":"int"}],"type":"Bool"},{"id":"1738800940","method":"auth.importBotAuthorization","params":[{"name":"flags","type":"int"},{"name":"api_id","type":"int"},{"name":"api_hash","type":"string"},{"name":"bot_auth_token","type":"string"}],"type":"auth.Authorization"},{"id":"-1956073268","method":"messages.getWebPagePreview","params":[{"name":"flags","type":"#"},{"name":"message","type":"string"},{"name":"entities","type":"flags.3?Vector"}],"type":"MessageMedia"},{"id":"-484392616","method":"account.getAuthorizations","params":[],"type":"account.Authorizations"},{"id":"-545786948","method":"account.resetAuthorization","params":[{"name":"hash","type":"long"}],"type":"Bool"},{"id":"1418342645","method":"account.getPassword","params":[],"type":"account.Password"},{"id":"-1663767815","method":"account.getPasswordSettings","params":[{"name":"password","type":"InputCheckPasswordSRP"}],"type":"account.PasswordSettings"},{"id":"-1516564433","method":"account.updatePasswordSettings","params":[{"name":"password","type":"InputCheckPasswordSRP"},{"name":"new_settings","type":"account.PasswordInputSettings"}],"type":"Bool"},{"id":"-779399914","method":"auth.checkPassword","params":[{"name":"password","type":"InputCheckPasswordSRP"}],"type":"auth.Authorization"},{"id":"-661144474","method":"auth.requestPasswordRecovery","params":[],"type":"auth.PasswordRecovery"},{"id":"923364464","method":"auth.recoverPassword","params":[{"name":"flags","type":"#"},{"name":"code","type":"string"},{"name":"new_settings","type":"flags.0?account.PasswordInputSettings"}],"type":"auth.Authorization"},{"id":"-1080796745","method":"invokeWithoutUpdates","params":[{"name":"query","type":"!X"}],"type":"X"},{"id":"-1607670315","method":"messages.exportChatInvite","params":[{"name":"flags","type":"#"},{"name":"legacy_revoke_permanent","type":"flags.2?true"},{"name":"request_needed","type":"flags.3?true"},{"name":"peer","type":"InputPeer"},{"name":"expire_date","type":"flags.0?int"},{"name":"usage_limit","type":"flags.1?int"},{"name":"title","type":"flags.4?string"}],"type":"ExportedChatInvite"},{"id":"1051570619","method":"messages.checkChatInvite","params":[{"name":"hash","type":"string"}],"type":"ChatInvite"},{"id":"1817183516","method":"messages.importChatInvite","params":[{"name":"hash","type":"string"}],"type":"Updates"},{"id":"-928977804","method":"messages.getStickerSet","params":[{"name":"stickerset","type":"InputStickerSet"},{"name":"hash","type":"int"}],"type":"messages.StickerSet"},{"id":"-946871200","method":"messages.installStickerSet","params":[{"name":"stickerset","type":"InputStickerSet"},{"name":"archived","type":"Bool"}],"type":"messages.StickerSetInstallResult"},{"id":"-110209570","method":"messages.uninstallStickerSet","params":[{"name":"stickerset","type":"InputStickerSet"}],"type":"Bool"},{"id":"-421563528","method":"messages.startBot","params":[{"name":"bot","type":"InputUser"},{"name":"peer","type":"InputPeer"},{"name":"random_id","type":"long"},{"name":"start_param","type":"string"}],"type":"Updates"},{"id":"1468322785","method":"messages.getMessagesViews","params":[{"name":"peer","type":"InputPeer"},{"name":"id","type":"Vector"},{"name":"increment","type":"Bool"}],"type":"messages.MessageViews"},{"id":"-871347913","method":"channels.readHistory","params":[{"name":"channel","type":"InputChannel"},{"name":"max_id","type":"int"}],"type":"Bool"},{"id":"-2067661490","method":"channels.deleteMessages","params":[{"name":"channel","type":"InputChannel"},{"name":"id","type":"Vector"}],"type":"messages.AffectedMessages"},{"id":"-196443371","method":"channels.reportSpam","params":[{"name":"channel","type":"InputChannel"},{"name":"participant","type":"InputPeer"},{"name":"id","type":"Vector"}],"type":"Bool"},{"id":"-1383294429","method":"channels.getMessages","params":[{"name":"channel","type":"InputChannel"},{"name":"id","type":"Vector"}],"type":"messages.Messages"},{"id":"2010044880","method":"channels.getParticipants","params":[{"name":"channel","type":"InputChannel"},{"name":"filter","type":"ChannelParticipantsFilter"},{"name":"offset","type":"int"},{"name":"limit","type":"int"},{"name":"hash","type":"long"}],"type":"channels.ChannelParticipants"},{"id":"-1599378234","method":"channels.getParticipant","params":[{"name":"channel","type":"InputChannel"},{"name":"participant","type":"InputPeer"}],"type":"channels.ChannelParticipant"},{"id":"176122811","method":"channels.getChannels","params":[{"name":"id","type":"Vector"}],"type":"messages.Chats"},{"id":"141781513","method":"channels.getFullChannel","params":[{"name":"channel","type":"InputChannel"}],"type":"messages.ChatFull"},{"id":"-1862244601","method":"channels.createChannel","params":[{"name":"flags","type":"#"},{"name":"broadcast","type":"flags.0?true"},{"name":"megagroup","type":"flags.1?true"},{"name":"for_import","type":"flags.3?true"},{"name":"forum","type":"flags.5?true"},{"name":"title","type":"string"},{"name":"about","type":"string"},{"name":"geo_point","type":"flags.2?InputGeoPoint"},{"name":"address","type":"flags.2?string"},{"name":"ttl_period","type":"flags.4?int"}],"type":"Updates"},{"id":"-751007486","method":"channels.editAdmin","params":[{"name":"channel","type":"InputChannel"},{"name":"user_id","type":"InputUser"},{"name":"admin_rights","type":"ChatAdminRights"},{"name":"rank","type":"string"}],"type":"Updates"},{"id":"1450044624","method":"channels.editTitle","params":[{"name":"channel","type":"InputChannel"},{"name":"title","type":"string"}],"type":"Updates"},{"id":"-248621111","method":"channels.editPhoto","params":[{"name":"channel","type":"InputChannel"},{"name":"photo","type":"InputChatPhoto"}],"type":"Updates"},{"id":"283557164","method":"channels.checkUsername","params":[{"name":"channel","type":"InputChannel"},{"name":"username","type":"string"}],"type":"Bool"},{"id":"890549214","method":"channels.updateUsername","params":[{"name":"channel","type":"InputChannel"},{"name":"username","type":"string"}],"type":"Bool"},{"id":"615851205","method":"channels.joinChannel","params":[{"name":"channel","type":"InputChannel"}],"type":"Updates"},{"id":"-130635115","method":"channels.leaveChannel","params":[{"name":"channel","type":"InputChannel"}],"type":"Updates"},{"id":"429865580","method":"channels.inviteToChannel","params":[{"name":"channel","type":"InputChannel"},{"name":"users","type":"Vector"}],"type":"Updates"},{"id":"-1072619549","method":"channels.deleteChannel","params":[{"name":"channel","type":"InputChannel"}],"type":"Updates"},{"id":"51854712","method":"updates.getChannelDifference","params":[{"name":"flags","type":"#"},{"name":"force","type":"flags.0?true"},{"name":"channel","type":"InputChannel"},{"name":"filter","type":"ChannelMessagesFilter"},{"name":"pts","type":"int"},{"name":"limit","type":"int"}],"type":"updates.ChannelDifference"},{"id":"-1470377534","method":"messages.editChatAdmin","params":[{"name":"chat_id","type":"long"},{"name":"user_id","type":"InputUser"},{"name":"is_admin","type":"Bool"}],"type":"Bool"},{"id":"-1568189671","method":"messages.migrateChat","params":[{"name":"chat_id","type":"long"}],"type":"Updates"},{"id":"1271290010","method":"messages.searchGlobal","params":[{"name":"flags","type":"#"},{"name":"folder_id","type":"flags.0?int"},{"name":"q","type":"string"},{"name":"filter","type":"MessagesFilter"},{"name":"min_date","type":"int"},{"name":"max_date","type":"int"},{"name":"offset_rate","type":"int"},{"name":"offset_peer","type":"InputPeer"},{"name":"offset_id","type":"int"},{"name":"limit","type":"int"}],"type":"messages.Messages"},{"id":"2016638777","method":"messages.reorderStickerSets","params":[{"name":"flags","type":"#"},{"name":"masks","type":"flags.0?true"},{"name":"emojis","type":"flags.1?true"},{"name":"order","type":"Vector"}],"type":"Bool"},{"id":"-1309538785","method":"messages.getDocumentByHash","params":[{"name":"sha256","type":"bytes"},{"name":"size","type":"long"},{"name":"mime_type","type":"string"}],"type":"Document"},{"id":"1559270965","method":"messages.getSavedGifs","params":[{"name":"hash","type":"long"}],"type":"messages.SavedGifs"},{"id":"846868683","method":"messages.saveGif","params":[{"name":"id","type":"InputDocument"},{"name":"unsave","type":"Bool"}],"type":"Bool"},{"id":"1364105629","method":"messages.getInlineBotResults","params":[{"name":"flags","type":"#"},{"name":"bot","type":"InputUser"},{"name":"peer","type":"InputPeer"},{"name":"geo_point","type":"flags.0?InputGeoPoint"},{"name":"query","type":"string"},{"name":"offset","type":"string"}],"type":"messages.BotResults"},{"id":"-1156406247","method":"messages.setInlineBotResults","params":[{"name":"flags","type":"#"},{"name":"gallery","type":"flags.0?true"},{"name":"private","type":"flags.1?true"},{"name":"query_id","type":"long"},{"name":"results","type":"Vector"},{"name":"cache_time","type":"int"},{"name":"next_offset","type":"flags.2?string"},{"name":"switch_pm","type":"flags.3?InlineBotSwitchPM"},{"name":"switch_webview","type":"flags.4?InlineBotWebView"}],"type":"Bool"},{"id":"-138647366","method":"messages.sendInlineBotResult","params":[{"name":"flags","type":"#"},{"name":"silent","type":"flags.5?true"},{"name":"background","type":"flags.6?true"},{"name":"clear_draft","type":"flags.7?true"},{"name":"hide_via","type":"flags.11?true"},{"name":"peer","type":"InputPeer"},{"name":"reply_to","type":"flags.0?InputReplyTo"},{"name":"random_id","type":"long"},{"name":"query_id","type":"long"},{"name":"id","type":"string"},{"name":"schedule_date","type":"flags.10?int"},{"name":"send_as","type":"flags.13?InputPeer"}],"type":"Updates"},{"id":"-432034325","method":"channels.exportMessageLink","params":[{"name":"flags","type":"#"},{"name":"grouped","type":"flags.0?true"},{"name":"thread","type":"flags.1?true"},{"name":"channel","type":"InputChannel"},{"name":"id","type":"int"}],"type":"ExportedMessageLink"},{"id":"527021574","method":"channels.toggleSignatures","params":[{"name":"channel","type":"InputChannel"},{"name":"enabled","type":"Bool"}],"type":"Updates"},{"id":"1056025023","method":"auth.resendCode","params":[{"name":"phone_number","type":"string"},{"name":"phone_code_hash","type":"string"}],"type":"auth.SentCode"},{"id":"520357240","method":"auth.cancelCode","params":[{"name":"phone_number","type":"string"},{"name":"phone_code_hash","type":"string"}],"type":"Bool"},{"id":"-39416522","method":"messages.getMessageEditData","params":[{"name":"peer","type":"InputPeer"},{"name":"id","type":"int"}],"type":"messages.MessageEditData"},{"id":"1224152952","method":"messages.editMessage","params":[{"name":"flags","type":"#"},{"name":"no_webpage","type":"flags.1?true"},{"name":"invert_media","type":"flags.16?true"},{"name":"peer","type":"InputPeer"},{"name":"id","type":"int"},{"name":"message","type":"flags.11?string"},{"name":"media","type":"flags.14?InputMedia"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"},{"name":"entities","type":"flags.3?Vector"},{"name":"schedule_date","type":"flags.15?int"}],"type":"Updates"},{"id":"-2091549254","method":"messages.editInlineBotMessage","params":[{"name":"flags","type":"#"},{"name":"no_webpage","type":"flags.1?true"},{"name":"invert_media","type":"flags.16?true"},{"name":"id","type":"InputBotInlineMessageID"},{"name":"message","type":"flags.11?string"},{"name":"media","type":"flags.14?InputMedia"},{"name":"reply_markup","type":"flags.2?ReplyMarkup"},{"name":"entities","type":"flags.3?Vector"}],"type":"Bool"},{"id":"-1824339449","method":"messages.getBotCallbackAnswer","params":[{"name":"flags","type":"#"},{"name":"game","type":"flags.1?true"},{"name":"peer","type":"InputPeer"},{"name":"msg_id","type":"int"},{"name":"data","type":"flags.0?bytes"},{"name":"password","type":"flags.2?InputCheckPasswordSRP"}],"type":"messages.BotCallbackAnswer"},{"id":"-712043766","method":"messages.setBotCallbackAnswer","params":[{"name":"flags","type":"#"},{"name":"alert","type":"flags.1?true"},{"name":"query_id","type":"long"},{"name":"message","type":"flags.0?string"},{"name":"url","type":"flags.2?string"},{"name":"cache_time","type":"int"}],"type":"Bool"},{"id":"-1758168906","method":"contacts.getTopPeers","params":[{"name":"flags","type":"#"},{"name":"correspondents","type":"flags.0?true"},{"name":"bots_pm","type":"flags.1?true"},{"name":"bots_inline","type":"flags.2?true"},{"name":"phone_calls","type":"flags.3?true"},{"name":"forward_users","type":"flags.4?true"},{"name":"forward_chats","type":"flags.5?true"},{"name":"groups","type":"flags.10?true"},{"name":"channels","type":"flags.15?true"},{"name":"offset","type":"int"},{"name":"limit","type":"int"},{"name":"hash","type":"long"}],"type":"contacts.TopPeers"},{"id":"451113900","method":"contacts.resetTopPeerRating","params":[{"name":"category","type":"TopPeerCategory"},{"name":"peer","type":"InputPeer"}],"type":"Bool"},{"id":"-462373635","method":"messages.getPeerDialogs","params":[{"name":"peers","type":"Vector"}],"type":"messages.PeerDialogs"},{"id":"2146678790","method":"messages.saveDraft","params":[{"name":"flags","type":"#"},{"name":"no_webpage","type":"flags.1?true"},{"name":"invert_media","type":"flags.6?true"},{"name":"reply_to","type":"flags.4?InputReplyTo"},{"name":"peer","type":"InputPeer"},{"name":"message","type":"string"},{"name":"entities","type":"flags.3?Vector"},{"name":"media","type":"flags.5?InputMedia"}],"type":"Bool"},{"id":"1782549861","method":"messages.getAllDrafts","params":[],"type":"Updates"},{"id":"1685588756","method":"messages.getFeaturedStickers","params":[{"name":"hash","type":"long"}],"type":"messages.FeaturedStickers"},{"id":"1527873830","method":"messages.readFeaturedStickers","params":[{"name":"id","type":"Vector"}],"type":"Bool"},{"id":"-1649852357","method":"messages.getRecentStickers","params":[{"name":"flags","type":"#"},{"name":"attached","type":"flags.0?true"},{"name":"hash","type":"long"}],"type":"messages.RecentStickers"},{"id":"958863608","method":"messages.saveRecentSticker","params":[{"name":"flags","type":"#"},{"name":"attached","type":"flags.0?true"},{"name":"id","type":"InputDocument"},{"name":"unsave","type":"Bool"}],"type":"Bool"},{"id":"-1986437075","method":"messages.clearRecentStickers","params":[{"name":"flags","type":"#"},{"name":"attached","type":"flags.0?true"}],"type":"Bool"},{"id":"1475442322","method":"messages.getArchivedStickers","params":[{"name":"flags","type":"#"},{"name":"masks","type":"flags.0?true"},{"name":"emojis","type":"flags.1?true"},{"name":"offset_id","type":"long"},{"name":"limit","type":"int"}],"type":"messages.ArchivedStickers"},{"id":"457157256","method":"account.sendConfirmPhoneCode","params":[{"name":"hash","type":"string"},{"name":"settings","type":"CodeSettings"}],"type":"auth.SentCode"},{"id":"1596029123","method":"account.confirmPhone","params":[{"name":"phone_code_hash","type":"string"},{"name":"phone_code","type":"string"}],"type":"Bool"},{"id":"-122669393","method":"channels.getAdminedPublicChannels","params":[{"name":"flags","type":"#"},{"name":"by_location","type":"flags.0?true"},{"name":"check_limit","type":"flags.1?true"}],"type":"messages.Chats"},{"id":"1678738104","method":"messages.getMaskStickers","params":[{"name":"hash","type":"long"}],"type":"messages.AllStickers"},{"id":"-866424884","method":"messages.getAttachedStickers","params":[{"name":"media","type":"InputStickeredMedia"}],"type":"Vector"},{"id":"-1907842680","method":"auth.dropTempAuthKeys","params":[{"name":"except_auth_keys","type":"Vector"}],"type":"Bool"},{"id":"-1896289088","method":"messages.setGameScore","params":[{"name":"flags","type":"#"},{"name":"edit_message","type":"flags.0?true"},{"name":"force","type":"flags.1?true"},{"name":"peer","type":"InputPeer"},{"name":"id","type":"int"},{"name":"user_id","type":"InputUser"},{"name":"score","type":"int"}],"type":"Updates"},{"id":"363700068","method":"messages.setInlineGameScore","params":[{"name":"flags","type":"#"},{"name":"edit_message","type":"flags.0?true"},{"name":"force","type":"flags.1?true"},{"name":"id","type":"InputBotInlineMessageID"},{"name":"user_id","type":"InputUser"},{"name":"score","type":"int"}],"type":"Bool"},{"id":"-400399203","method":"messages.getGameHighScores","params":[{"name":"peer","type":"InputPeer"},{"name":"id","type":"int"},{"name":"user_id","type":"InputUser"}],"type":"messages.HighScores"},{"id":"258170395","method":"messages.getInlineGameHighScores","params":[{"name":"id","type":"InputBotInlineMessageID"},{"name":"user_id","type":"InputUser"}],"type":"messages.HighScores"},{"id":"-468934396","method":"messages.getCommonChats","params":[{"name":"user_id","type":"InputUser"},{"name":"max_id","type":"long"},{"name":"limit","type":"int"}],"type":"messages.Chats"},{"id":"-333262899","method":"help.setBotUpdatesStatus","params":[{"name":"pending_updates_count","type":"int"},{"name":"message","type":"string"}],"type":"Bool"},{"id":"-1919511901","method":"messages.getWebPage","params":[{"name":"url","type":"string"},{"name":"hash","type":"int"}],"type":"messages.WebPage"},{"id":"-1489903017","method":"messages.toggleDialogPin","params":[{"name":"flags","type":"#"},{"name":"pinned","type":"flags.0?true"},{"name":"peer","type":"InputDialogPeer"}],"type":"Bool"},{"id":"991616823","method":"messages.reorderPinnedDialogs","params":[{"name":"flags","type":"#"},{"name":"force","type":"flags.0?true"},{"name":"folder_id","type":"int"},{"name":"order","type":"Vector"}],"type":"Bool"},{"id":"-692498958","method":"messages.getPinnedDialogs","params":[{"name":"folder_id","type":"int"}],"type":"messages.PeerDialogs"},{"id":"-1440257555","method":"bots.sendCustomRequest","params":[{"name":"custom_method","type":"string"},{"name":"params","type":"DataJSON"}],"type":"DataJSON"},{"id":"-434028723","method":"bots.answerWebhookJSONQuery","params":[{"name":"query_id","type":"long"},{"name":"data","type":"DataJSON"}],"type":"Bool"},{"id":"619086221","method":"upload.getWebFile","params":[{"name":"location","type":"InputWebFileLocation"},{"name":"offset","type":"int"},{"name":"limit","type":"int"}],"type":"upload.WebFile"},{"id":"924093883","method":"payments.getPaymentForm","params":[{"name":"flags","type":"#"},{"name":"invoice","type":"InputInvoice"},{"name":"theme_params","type":"flags.0?DataJSON"}],"type":"payments.PaymentForm"},{"id":"611897804","method":"payments.getPaymentReceipt","params":[{"name":"peer","type":"InputPeer"},{"name":"msg_id","type":"int"}],"type":"payments.PaymentReceipt"},{"id":"-1228345045","method":"payments.validateRequestedInfo","params":[{"name":"flags","type":"#"},{"name":"save","type":"flags.0?true"},{"name":"invoice","type":"InputInvoice"},{"name":"info","type":"PaymentRequestedInfo"}],"type":"payments.ValidatedRequestedInfo"},{"id":"755192367","method":"payments.sendPaymentForm","params":[{"name":"flags","type":"#"},{"name":"form_id","type":"long"},{"name":"invoice","type":"InputInvoice"},{"name":"requested_info_id","type":"flags.0?string"},{"name":"shipping_option_id","type":"flags.1?string"},{"name":"credentials","type":"InputPaymentCredentials"},{"name":"tip_amount","type":"flags.2?long"}],"type":"payments.PaymentResult"},{"id":"1151208273","method":"account.getTmpPassword","params":[{"name":"password","type":"InputCheckPasswordSRP"},{"name":"period","type":"int"}],"type":"account.TmpPassword"},{"id":"578650699","method":"payments.getSavedInfo","params":[],"type":"payments.SavedInfo"},{"id":"-667062079","method":"payments.clearSavedInfo","params":[{"name":"flags","type":"#"},{"name":"credentials","type":"flags.0?true"},{"name":"info","type":"flags.1?true"}],"type":"Bool"},{"id":"-436833542","method":"messages.setBotShippingResults","params":[{"name":"flags","type":"#"},{"name":"query_id","type":"long"},{"name":"error","type":"flags.0?string"},{"name":"shipping_options","type":"flags.1?Vector"}],"type":"Bool"},{"id":"163765653","method":"messages.setBotPrecheckoutResults","params":[{"name":"flags","type":"#"},{"name":"success","type":"flags.1?true"},{"name":"query_id","type":"long"},{"name":"error","type":"flags.0?string"}],"type":"Bool"},{"id":"-1876841625","method":"stickers.createStickerSet","params":[{"name":"flags","type":"#"},{"name":"masks","type":"flags.0?true"},{"name":"animated","type":"flags.1?true"},{"name":"videos","type":"flags.4?true"},{"name":"emojis","type":"flags.5?true"},{"name":"text_color","type":"flags.6?true"},{"name":"user_id","type":"InputUser"},{"name":"title","type":"string"},{"name":"short_name","type":"string"},{"name":"thumb","type":"flags.2?InputDocument"},{"name":"stickers","type":"Vector"},{"name":"software","type":"flags.3?string"}],"type":"messages.StickerSet"},{"id":"-143257775","method":"stickers.removeStickerFromSet","params":[{"name":"sticker","type":"InputDocument"}],"type":"messages.StickerSet"},{"id":"-4795190","method":"stickers.changeStickerPosition","params":[{"name":"sticker","type":"InputDocument"},{"name":"position","type":"int"}],"type":"messages.StickerSet"},{"id":"-2041315650","method":"stickers.addStickerToSet","params":[{"name":"stickerset","type":"InputStickerSet"},{"name":"sticker","type":"InputStickerSetItem"}],"type":"messages.StickerSet"},{"id":"1369162417","method":"messages.uploadMedia","params":[{"name":"peer","type":"InputPeer"},{"name":"media","type":"InputMedia"}],"type":"MessageMedia"},{"id":"1430593449","method":"phone.getCallConfig","params":[],"type":"DataJSON"},{"id":"1124046573","method":"phone.requestCall","params":[{"name":"flags","type":"#"},{"name":"video","type":"flags.0?true"},{"name":"user_id","type":"InputUser"},{"name":"random_id","type":"int"},{"name":"g_a_hash","type":"bytes"},{"name":"protocol","type":"PhoneCallProtocol"}],"type":"phone.PhoneCall"},{"id":"1003664544","method":"phone.acceptCall","params":[{"name":"peer","type":"InputPhoneCall"},{"name":"g_b","type":"bytes"},{"name":"protocol","type":"PhoneCallProtocol"}],"type":"phone.PhoneCall"},{"id":"788404002","method":"phone.confirmCall","params":[{"name":"peer","type":"InputPhoneCall"},{"name":"g_a","type":"bytes"},{"name":"key_fingerprint","type":"long"},{"name":"protocol","type":"PhoneCallProtocol"}],"type":"phone.PhoneCall"},{"id":"399855457","method":"phone.receivedCall","params":[{"name":"peer","type":"InputPhoneCall"}],"type":"Bool"},{"id":"-1295269440","method":"phone.discardCall","params":[{"name":"flags","type":"#"},{"name":"video","type":"flags.0?true"},{"name":"peer","type":"InputPhoneCall"},{"name":"duration","type":"int"},{"name":"reason","type":"PhoneCallDiscardReason"},{"name":"connection_id","type":"long"}],"type":"Updates"},{"id":"1508562471","method":"phone.setCallRating","params":[{"name":"flags","type":"#"},{"name":"user_initiative","type":"flags.0?true"},{"name":"peer","type":"InputPhoneCall"},{"name":"rating","type":"int"},{"name":"comment","type":"string"}],"type":"Updates"},{"id":"662363518","method":"phone.saveCallDebug","params":[{"name":"peer","type":"InputPhoneCall"},{"name":"debug","type":"DataJSON"}],"type":"Bool"},{"id":"962554330","method":"upload.getCdnFile","params":[{"name":"file_token","type":"bytes"},{"name":"offset","type":"long"},{"name":"limit","type":"int"}],"type":"upload.CdnFile"},{"id":"-1691921240","method":"upload.reuploadCdnFile","params":[{"name":"file_token","type":"bytes"},{"name":"request_token","type":"bytes"}],"type":"Vector"},{"id":"1375900482","method":"help.getCdnConfig","params":[],"type":"CdnConfig"},{"id":"-219008246","method":"langpack.getLangPack","params":[{"name":"lang_pack","type":"string"},{"name":"lang_code","type":"string"}],"type":"LangPackDifference"},{"id":"-269862909","method":"langpack.getStrings","params":[{"name":"lang_pack","type":"string"},{"name":"lang_code","type":"string"},{"name":"keys","type":"Vector"}],"type":"Vector"},{"id":"-845657435","method":"langpack.getDifference","params":[{"name":"lang_pack","type":"string"},{"name":"lang_code","type":"string"},{"name":"from_version","type":"int"}],"type":"LangPackDifference"},{"id":"1120311183","method":"langpack.getLanguages","params":[{"name":"lang_pack","type":"string"}],"type":"Vector"},{"id":"-1763259007","method":"channels.editBanned","params":[{"name":"channel","type":"InputChannel"},{"name":"participant","type":"InputPeer"},{"name":"banned_rights","type":"ChatBannedRights"}],"type":"Updates"},{"id":"870184064","method":"channels.getAdminLog","params":[{"name":"flags","type":"#"},{"name":"channel","type":"InputChannel"},{"name":"q","type":"string"},{"name":"events_filter","type":"flags.0?ChannelAdminLogEventsFilter"},{"name":"admins","type":"flags.1?Vector"},{"name":"max_id","type":"long"},{"name":"min_id","type":"long"},{"name":"limit","type":"int"}],"type":"channels.AdminLogResults"},{"id":"-1847836879","method":"upload.getCdnFileHashes","params":[{"name":"file_token","type":"bytes"},{"name":"offset","type":"long"}],"type":"Vector"},{"id":"-1589618665","method":"messages.sendScreenshotNotification","params":[{"name":"peer","type":"InputPeer"},{"name":"reply_to","type":"InputReplyTo"},{"name":"random_id","type":"long"}],"type":"Updates"},{"id":"-359881479","method":"channels.setStickers","params":[{"name":"channel","type":"InputChannel"},{"name":"stickerset","type":"InputStickerSet"}],"type":"Bool"},{"id":"82946729","method":"messages.getFavedStickers","params":[{"name":"hash","type":"long"}],"type":"messages.FavedStickers"},{"id":"-1174420133","method":"messages.faveSticker","params":[{"name":"id","type":"InputDocument"},{"name":"unfave","type":"Bool"}],"type":"Bool"},{"id":"-357180360","method":"channels.readMessageContents","params":[{"name":"channel","type":"InputChannel"},{"name":"id","type":"Vector"}],"type":"Bool"},{"id":"-2020263951","method":"contacts.resetSaved","params":[],"type":"Bool"},{"id":"-251140208","method":"messages.getUnreadMentions","params":[{"name":"flags","type":"#"},{"name":"peer","type":"InputPeer"},{"name":"top_msg_id","type":"flags.0?int"},{"name":"offset_id","type":"int"},{"name":"add_offset","type":"int"},{"name":"limit","type":"int"},{"name":"max_id","type":"int"},{"name":"min_id","type":"int"}],"type":"messages.Messages"},{"id":"-1683319225","method":"channels.deleteHistory","params":[{"name":"flags","type":"#"},{"name":"for_everyone","type":"flags.0?true"},{"name":"channel","type":"InputChannel"},{"name":"max_id","type":"int"}],"type":"Updates"},{"id":"1036054804","method":"help.getRecentMeUrls","params":[{"name":"referer","type":"string"}],"type":"help.RecentMeUrls"},{"id":"-356796084","method":"channels.togglePreHistoryHidden","params":[{"name":"channel","type":"InputChannel"},{"name":"enabled","type":"Bool"}],"type":"Updates"},{"id":"921026381","method":"messages.readMentions","params":[{"name":"flags","type":"#"},{"name":"peer","type":"InputPeer"},{"name":"top_msg_id","type":"flags.0?int"}],"type":"messages.AffectedHistory"},{"id":"1881817312","method":"messages.getRecentLocations","params":[{"name":"peer","type":"InputPeer"},{"name":"limit","type":"int"},{"name":"hash","type":"long"}],"type":"messages.Messages"},{"id":"1164872071","method":"messages.sendMultiMedia","params":[{"name":"flags","type":"#"},{"name":"silent","type":"flags.5?true"},{"name":"background","type":"flags.6?true"},{"name":"clear_draft","type":"flags.7?true"},{"name":"noforwards","type":"flags.14?true"},{"name":"update_stickersets_order","type":"flags.15?true"},{"name":"invert_media","type":"flags.16?true"},{"name":"peer","type":"InputPeer"},{"name":"reply_to","type":"flags.0?InputReplyTo"},{"name":"multi_media","type":"Vector"},{"name":"schedule_date","type":"flags.10?int"},{"name":"send_as","type":"flags.13?InputPeer"}],"type":"Updates"},{"id":"1347929239","method":"messages.uploadEncryptedFile","params":[{"name":"peer","type":"InputEncryptedChat"},{"name":"file","type":"InputEncryptedFile"}],"type":"EncryptedFile"},{"id":"405695855","method":"account.getWebAuthorizations","params":[],"type":"account.WebAuthorizations"},{"id":"755087855","method":"account.resetWebAuthorization","params":[{"name":"hash","type":"long"}],"type":"Bool"},{"id":"1747789204","method":"account.resetWebAuthorizations","params":[],"type":"Bool"},{"id":"896555914","method":"messages.searchStickerSets","params":[{"name":"flags","type":"#"},{"name":"exclude_featured","type":"flags.0?true"},{"name":"q","type":"string"},{"name":"hash","type":"long"}],"type":"messages.FoundStickerSets"},{"id":"-1856595926","method":"upload.getFileHashes","params":[{"name":"location","type":"InputFileLocation"},{"name":"offset","type":"long"}],"type":"Vector"},{"id":"749019089","method":"help.getTermsOfServiceUpdate","params":[],"type":"help.TermsOfServiceUpdate"},{"id":"-294455398","method":"help.acceptTermsOfService","params":[{"name":"id","type":"DataJSON"}],"type":"Bool"},{"id":"-1299661699","method":"account.getAllSecureValues","params":[],"type":"Vector"},{"id":"1936088002","method":"account.getSecureValue","params":[{"name":"types","type":"Vector"}],"type":"Vector"},{"id":"-1986010339","method":"account.saveSecureValue","params":[{"name":"value","type":"InputSecureValue"},{"name":"secure_secret_id","type":"long"}],"type":"SecureValue"},{"id":"-1199522741","method":"account.deleteSecureValue","params":[{"name":"types","type":"Vector"}],"type":"Bool"},{"id":"-1865902923","method":"users.setSecureValueErrors","params":[{"name":"id","type":"InputUser"},{"name":"errors","type":"Vector"}],"type":"Bool"},{"id":"-1456907910","method":"account.getAuthorizationForm","params":[{"name":"bot_id","type":"long"},{"name":"scope","type":"string"},{"name":"public_key","type":"string"}],"type":"account.AuthorizationForm"},{"id":"-202552205","method":"account.acceptAuthorization","params":[{"name":"bot_id","type":"long"},{"name":"scope","type":"string"},{"name":"public_key","type":"string"},{"name":"value_hashes","type":"Vector"},{"name":"credentials","type":"SecureCredentialsEncrypted"}],"type":"Bool"},{"id":"-1516022023","method":"account.sendVerifyPhoneCode","params":[{"name":"phone_number","type":"string"},{"name":"settings","type":"CodeSettings"}],"type":"auth.SentCode"},{"id":"1305716726","method":"account.verifyPhone","params":[{"name":"phone_number","type":"string"},{"name":"phone_code_hash","type":"string"},{"name":"phone_code","type":"string"}],"type":"Bool"},{"id":"-1730136133","method":"account.sendVerifyEmailCode","params":[{"name":"purpose","type":"EmailVerifyPurpose"},{"name":"email","type":"string"}],"type":"account.SentEmailCode"},{"id":"53322959","method":"account.verifyEmail","params":[{"name":"purpose","type":"EmailVerifyPurpose"},{"name":"verification","type":"EmailVerification"}],"type":"account.EmailVerified"},{"id":"1072547679","method":"help.getDeepLinkInfo","params":[{"name":"path","type":"string"}],"type":"help.DeepLinkInfo"},{"id":"-2098076769","method":"contacts.getSaved","params":[],"type":"Vector"},{"id":"-2092831552","method":"channels.getLeftChannels","params":[{"name":"offset","type":"int"}],"type":"messages.Chats"},{"id":"-1896617296","method":"account.initTakeoutSession","params":[{"name":"flags","type":"#"},{"name":"contacts","type":"flags.0?true"},{"name":"message_users","type":"flags.1?true"},{"name":"message_chats","type":"flags.2?true"},{"name":"message_megagroups","type":"flags.3?true"},{"name":"message_channels","type":"flags.4?true"},{"name":"files","type":"flags.5?true"},{"name":"file_max_size","type":"flags.5?long"}],"type":"account.Takeout"},{"id":"489050862","method":"account.finishTakeoutSession","params":[{"name":"flags","type":"#"},{"name":"success","type":"flags.0?true"}],"type":"Bool"},{"id":"486505992","method":"messages.getSplitRanges","params":[],"type":"Vector"},{"id":"911373810","method":"invokeWithMessagesRange","params":[{"name":"range","type":"MessageRange"},{"name":"query","type":"!X"}],"type":"X"},{"id":"-1398145746","method":"invokeWithTakeout","params":[{"name":"takeout_id","type":"long"},{"name":"query","type":"!X"}],"type":"X"},{"id":"-1031349873","method":"messages.markDialogUnread","params":[{"name":"flags","type":"#"},{"name":"unread","type":"flags.0?true"},{"name":"peer","type":"InputDialogPeer"}],"type":"Bool"},{"id":"585256482","method":"messages.getDialogUnreadMarks","params":[],"type":"Vector"},{"id":"-2062238246","method":"contacts.toggleTopPeers","params":[{"name":"enabled","type":"Bool"}],"type":"Bool"},{"id":"2119757468","method":"messages.clearAllDrafts","params":[],"type":"Bool"},{"id":"1642330196","method":"help.getAppConfig","params":[{"name":"hash","type":"int"}],"type":"help.AppConfig"},{"id":"1862465352","method":"help.saveAppLog","params":[{"name":"events","type":"Vector"}],"type":"Bool"},{"id":"-966677240","method":"help.getPassportConfig","params":[{"name":"hash","type":"int"}],"type":"help.PassportConfig"},{"id":"1784243458","method":"langpack.getLanguage","params":[{"name":"lang_pack","type":"string"},{"name":"lang_code","type":"string"}],"type":"LangPackLanguage"},{"id":"-760547348","method":"messages.updatePinnedMessage","params":[{"name":"flags","type":"#"},{"name":"silent","type":"flags.0?true"},{"name":"unpin","type":"flags.1?true"},{"name":"pm_oneside","type":"flags.2?true"},{"name":"peer","type":"InputPeer"},{"name":"id","type":"int"}],"type":"Updates"},{"id":"-1881204448","method":"account.confirmPasswordEmail","params":[{"name":"code","type":"string"}],"type":"Bool"},{"id":"2055154197","method":"account.resendPasswordEmail","params":[],"type":"Bool"},{"id":"-1043606090","method":"account.cancelPasswordEmail","params":[],"type":"Bool"},{"id":"-748624084","method":"help.getSupportName","params":[],"type":"help.SupportName"},{"id":"59377875","method":"help.getUserInfo","params":[{"name":"user_id","type":"InputUser"}],"type":"help.UserInfo"},{"id":"1723407216","method":"help.editUserInfo","params":[{"name":"user_id","type":"InputUser"},{"name":"message","type":"string"},{"name":"entities","type":"Vector"}],"type":"help.UserInfo"},{"id":"-1626880216","method":"account.getContactSignUpNotification","params":[],"type":"Bool"},{"id":"-806076575","method":"account.setContactSignUpNotification","params":[{"name":"silent","type":"Bool"}],"type":"Bool"},{"id":"1398240377","method":"account.getNotifyExceptions","params":[{"name":"flags","type":"#"},{"name":"compare_sound","type":"flags.1?true"},{"name":"compare_stories","type":"flags.2?true"},{"name":"peer","type":"flags.0?InputNotifyPeer"}],"type":"Updates"},{"id":"283795844","method":"messages.sendVote","params":[{"name":"peer","type":"InputPeer"},{"name":"msg_id","type":"int"},{"name":"options","type":"Vector"}],"type":"Updates"},{"id":"1941660731","method":"messages.getPollResults","params":[{"name":"peer","type":"InputPeer"},{"name":"msg_id","type":"int"}],"type":"Updates"},{"id":"1848369232","method":"messages.getOnlines","params":[{"name":"peer","type":"InputPeer"}],"type":"ChatOnlines"},{"id":"-554301545","method":"messages.editChatAbout","params":[{"name":"peer","type":"InputPeer"},{"name":"about","type":"string"}],"type":"Bool"},{"id":"-1517917375","method":"messages.editChatDefaultBannedRights","params":[{"name":"peer","type":"InputPeer"},{"name":"banned_rights","type":"ChatBannedRights"}],"type":"Updates"},{"id":"-57811990","method":"account.getWallPaper","params":[{"name":"wallpaper","type":"InputWallPaper"}],"type":"WallPaper"},{"id":"-476410109","method":"account.uploadWallPaper","params":[{"name":"flags","type":"#"},{"name":"for_chat","type":"flags.0?true"},{"name":"file","type":"InputFile"},{"name":"mime_type","type":"string"},{"name":"settings","type":"WallPaperSettings"}],"type":"WallPaper"},{"id":"1817860919","method":"account.saveWallPaper","params":[{"name":"wallpaper","type":"InputWallPaper"},{"name":"unsave","type":"Bool"},{"name":"settings","type":"WallPaperSettings"}],"type":"Bool"},{"id":"-18000023","method":"account.installWallPaper","params":[{"name":"wallpaper","type":"InputWallPaper"},{"name":"settings","type":"WallPaperSettings"}],"type":"Bool"},{"id":"-1153722364","method":"account.resetWallPapers","params":[],"type":"Bool"},{"id":"1457130303","method":"account.getAutoDownloadSettings","params":[],"type":"account.AutoDownloadSettings"},{"id":"1995661875","method":"account.saveAutoDownloadSettings","params":[{"name":"flags","type":"#"},{"name":"low","type":"flags.0?true"},{"name":"high","type":"flags.1?true"},{"name":"settings","type":"AutoDownloadSettings"}],"type":"Bool"},{"id":"899735650","method":"messages.getEmojiKeywords","params":[{"name":"lang_code","type":"string"}],"type":"EmojiKeywordsDifference"},{"id":"352892591","method":"messages.getEmojiKeywordsDifference","params":[{"name":"lang_code","type":"string"},{"name":"from_version","type":"int"}],"type":"EmojiKeywordsDifference"},{"id":"1318675378","method":"messages.getEmojiKeywordsLanguages","params":[{"name":"lang_codes","type":"Vector"}],"type":"Vector"},{"id":"-709817306","method":"messages.getEmojiURL","params":[{"name":"lang_code","type":"string"}],"type":"EmojiURL"},{"id":"1749536939","method":"folders.editPeerFolders","params":[{"name":"folder_peers","type":"Vector"}],"type":"Updates"},{"id":"465367808","method":"messages.getSearchCounters","params":[{"name":"flags","type":"#"},{"name":"peer","type":"InputPeer"},{"name":"saved_peer_id","type":"flags.2?InputPeer"},{"name":"top_msg_id","type":"flags.0?int"},{"name":"filters","type":"Vector"}],"type":"Vector"},{"id":"-170208392","method":"channels.getGroupsForDiscussion","params":[],"type":"messages.Chats"},{"id":"1079520178","method":"channels.setDiscussionGroup","params":[{"name":"broadcast","type":"InputChannel"},{"name":"group","type":"InputChannel"}],"type":"Bool"},{"id":"428848198","method":"messages.requestUrlAuth","params":[{"name":"flags","type":"#"},{"name":"peer","type":"flags.1?InputPeer"},{"name":"msg_id","type":"flags.1?int"},{"name":"button_id","type":"flags.1?int"},{"name":"url","type":"flags.2?string"}],"type":"UrlAuthResult"},{"id":"-1322487515","method":"messages.acceptUrlAuth","params":[{"name":"flags","type":"#"},{"name":"write_allowed","type":"flags.0?true"},{"name":"peer","type":"flags.1?InputPeer"},{"name":"msg_id","type":"flags.1?int"},{"name":"button_id","type":"flags.1?int"},{"name":"url","type":"flags.2?string"}],"type":"UrlAuthResult"},{"id":"1336717624","method":"messages.hidePeerSettingsBar","params":[{"name":"peer","type":"InputPeer"}],"type":"Bool"},{"id":"-386636848","method":"contacts.addContact","params":[{"name":"flags","type":"#"},{"name":"add_phone_privacy_exception","type":"flags.0?true"},{"name":"id","type":"InputUser"},{"name":"first_name","type":"string"},{"name":"last_name","type":"string"},{"name":"phone","type":"string"}],"type":"Updates"},{"id":"-130964977","method":"contacts.acceptContact","params":[{"name":"id","type":"InputUser"}],"type":"Updates"},{"id":"-1892102881","method":"channels.editCreator","params":[{"name":"channel","type":"InputChannel"},{"name":"user_id","type":"InputUser"},{"name":"password","type":"InputCheckPasswordSRP"}],"type":"Updates"},{"id":"-750207932","method":"contacts.getLocated","params":[{"name":"flags","type":"#"},{"name":"background","type":"flags.1?true"},{"name":"geo_point","type":"InputGeoPoint"},{"name":"self_expires","type":"flags.0?int"}],"type":"Updates"},{"id":"1491484525","method":"channels.editLocation","params":[{"name":"channel","type":"InputChannel"},{"name":"geo_point","type":"InputGeoPoint"},{"name":"address","type":"string"}],"type":"Bool"},{"id":"-304832784","method":"channels.toggleSlowMode","params":[{"name":"channel","type":"InputChannel"},{"name":"seconds","type":"int"}],"type":"Updates"},{"id":"-183077365","method":"messages.getScheduledHistory","params":[{"name":"peer","type":"InputPeer"},{"name":"hash","type":"long"}],"type":"messages.Messages"},{"id":"-1111817116","method":"messages.getScheduledMessages","params":[{"name":"peer","type":"InputPeer"},{"name":"id","type":"Vector"}],"type":"messages.Messages"},{"id":"-1120369398","method":"messages.sendScheduledMessages","params":[{"name":"peer","type":"InputPeer"},{"name":"id","type":"Vector"}],"type":"Updates"},{"id":"1504586518","method":"messages.deleteScheduledMessages","params":[{"name":"peer","type":"InputPeer"},{"name":"id","type":"Vector"}],"type":"Updates"},{"id":"473805619","method":"account.uploadTheme","params":[{"name":"flags","type":"#"},{"name":"file","type":"InputFile"},{"name":"thumb","type":"flags.0?InputFile"},{"name":"file_name","type":"string"},{"name":"mime_type","type":"string"}],"type":"Document"},{"id":"1697530880","method":"account.createTheme","params":[{"name":"flags","type":"#"},{"name":"slug","type":"string"},{"name":"title","type":"string"},{"name":"document","type":"flags.2?InputDocument"},{"name":"settings","type":"flags.3?Vector"}],"type":"Theme"},{"id":"737414348","method":"account.updateTheme","params":[{"name":"flags","type":"#"},{"name":"format","type":"string"},{"name":"theme","type":"InputTheme"},{"name":"slug","type":"flags.0?string"},{"name":"title","type":"flags.1?string"},{"name":"document","type":"flags.2?InputDocument"},{"name":"settings","type":"flags.3?Vector"}],"type":"Theme"},{"id":"-229175188","method":"account.saveTheme","params":[{"name":"theme","type":"InputTheme"},{"name":"unsave","type":"Bool"}],"type":"Bool"},{"id":"-953697477","method":"account.installTheme","params":[{"name":"flags","type":"#"},{"name":"dark","type":"flags.0?true"},{"name":"theme","type":"flags.1?InputTheme"},{"name":"format","type":"flags.2?string"},{"name":"base_theme","type":"flags.3?BaseTheme"}],"type":"Bool"},{"id":"978872812","method":"account.getTheme","params":[{"name":"format","type":"string"},{"name":"theme","type":"InputTheme"}],"type":"Theme"},{"id":"1913054296","method":"account.getThemes","params":[{"name":"format","type":"string"},{"name":"hash","type":"long"}],"type":"account.Themes"},{"id":"-1210022402","method":"auth.exportLoginToken","params":[{"name":"api_id","type":"int"},{"name":"api_hash","type":"string"},{"name":"except_ids","type":"Vector"}],"type":"auth.LoginToken"},{"id":"-1783866140","method":"auth.importLoginToken","params":[{"name":"token","type":"bytes"}],"type":"auth.LoginToken"},{"id":"-392909491","method":"auth.acceptLoginToken","params":[{"name":"token","type":"bytes"}],"type":"Authorization"},{"id":"-1250643605","method":"account.setContentSettings","params":[{"name":"flags","type":"#"},{"name":"sensitive_enabled","type":"flags.0?true"}],"type":"Bool"},{"id":"-1952756306","method":"account.getContentSettings","params":[],"type":"account.ContentSettings"},{"id":"300429806","method":"channels.getInactiveChannels","params":[],"type":"messages.InactiveChats"},{"id":"1705865692","method":"account.getMultiWallPapers","params":[{"name":"wallpapers","type":"Vector"}],"type":"Vector"},{"id":"-1200736242","method":"messages.getPollVotes","params":[{"name":"flags","type":"#"},{"name":"peer","type":"InputPeer"},{"name":"id","type":"int"},{"name":"option","type":"flags.0?bytes"},{"name":"offset","type":"flags.1?string"},{"name":"limit","type":"int"}],"type":"messages.VotesList"},{"id":"-1257951254","method":"messages.toggleStickerSets","params":[{"name":"flags","type":"#"},{"name":"uninstall","type":"flags.0?true"},{"name":"archive","type":"flags.1?true"},{"name":"unarchive","type":"flags.2?true"},{"name":"stickersets","type":"Vector"}],"type":"Bool"},{"id":"779736953","method":"payments.getBankCardData","params":[{"name":"number","type":"string"}],"type":"payments.BankCardData"},{"id":"-241247891","method":"messages.getDialogFilters","params":[],"type":"Vector"},{"id":"-1566780372","method":"messages.getSuggestedDialogFilters","params":[],"type":"Vector"},{"id":"450142282","method":"messages.updateDialogFilter","params":[{"name":"flags","type":"#"},{"name":"id","type":"int"},{"name":"filter","type":"flags.0?DialogFilter"}],"type":"Bool"},{"id":"-983318044","method":"messages.updateDialogFiltersOrder","params":[{"name":"order","type":"Vector"}],"type":"Bool"},{"id":"-1421720550","method":"stats.getBroadcastStats","params":[{"name":"flags","type":"#"},{"name":"dark","type":"flags.0?true"},{"name":"channel","type":"InputChannel"}],"type":"stats.BroadcastStats"},{"id":"1646092192","method":"stats.loadAsyncGraph","params":[{"name":"flags","type":"#"},{"name":"token","type":"string"},{"name":"x","type":"flags.0?long"}],"type":"StatsGraph"},{"id":"-1486204014","method":"stickers.setStickerSetThumb","params":[{"name":"flags","type":"#"},{"name":"stickerset","type":"InputStickerSet"},{"name":"thumb","type":"flags.0?InputDocument"},{"name":"thumb_document_id","type":"flags.1?long"}],"type":"messages.StickerSet"},{"id":"85399130","method":"bots.setBotCommands","params":[{"name":"scope","type":"BotCommandScope"},{"name":"lang_code","type":"string"},{"name":"commands","type":"Vector"}],"type":"Bool"},{"id":"2127598753","method":"messages.getOldFeaturedStickers","params":[{"name":"offset","type":"int"},{"name":"limit","type":"int"},{"name":"hash","type":"long"}],"type":"messages.FeaturedStickers"},{"id":"-1063816159","method":"help.getPromoData","params":[],"type":"help.PromoData"},{"id":"505748629","method":"help.hidePromoData","params":[{"name":"peer","type":"InputPeer"}],"type":"Bool"},{"id":"-8744061","method":"phone.sendSignalingData","params":[{"name":"peer","type":"InputPhoneCall"},{"name":"data","type":"bytes"}],"type":"Bool"},{"id":"-589330937","method":"stats.getMegagroupStats","params":[{"name":"flags","type":"#"},{"name":"dark","type":"flags.0?true"},{"name":"channel","type":"InputChannel"}],"type":"stats.MegagroupStats"},{"id":"-349483786","method":"account.getGlobalPrivacySettings","params":[],"type":"GlobalPrivacySettings"},{"id":"517647042","method":"account.setGlobalPrivacySettings","params":[{"name":"settings","type":"GlobalPrivacySettings"}],"type":"GlobalPrivacySettings"},{"id":"-183649631","method":"help.dismissSuggestion","params":[{"name":"peer","type":"InputPeer"},{"name":"suggestion","type":"string"}],"type":"Bool"},{"id":"1935116200","method":"help.getCountriesList","params":[{"name":"lang_code","type":"string"},{"name":"hash","type":"int"}],"type":"help.CountriesList"},{"id":"584962828","method":"messages.getReplies","params":[{"name":"peer","type":"InputPeer"},{"name":"msg_id","type":"int"},{"name":"offset_id","type":"int"},{"name":"offset_date","type":"int"},{"name":"add_offset","type":"int"},{"name":"limit","type":"int"},{"name":"max_id","type":"int"},{"name":"min_id","type":"int"},{"name":"hash","type":"long"}],"type":"messages.Messages"},{"id":"1147761405","method":"messages.getDiscussionMessage","params":[{"name":"peer","type":"InputPeer"},{"name":"msg_id","type":"int"}],"type":"messages.DiscussionMessage"},{"id":"-147740172","method":"messages.readDiscussion","params":[{"name":"peer","type":"InputPeer"},{"name":"msg_id","type":"int"},{"name":"read_max_id","type":"int"}],"type":"Bool"},{"id":"698914348","method":"contacts.blockFromReplies","params":[{"name":"flags","type":"#"},{"name":"delete_message","type":"flags.0?true"},{"name":"delete_history","type":"flags.1?true"},{"name":"report_spam","type":"flags.2?true"},{"name":"msg_id","type":"int"}],"type":"Updates"},{"id":"1595212100","method":"stats.getMessagePublicForwards","params":[{"name":"channel","type":"InputChannel"},{"name":"msg_id","type":"int"},{"name":"offset","type":"string"},{"name":"limit","type":"int"}],"type":"stats.PublicForwards"},{"id":"-1226791947","method":"stats.getMessageStats","params":[{"name":"flags","type":"#"},{"name":"dark","type":"flags.0?true"},{"name":"channel","type":"InputChannel"},{"name":"msg_id","type":"int"}],"type":"stats.MessageStats"},{"id":"-299714136","method":"messages.unpinAllMessages","params":[{"name":"flags","type":"#"},{"name":"peer","type":"InputPeer"},{"name":"top_msg_id","type":"flags.0?int"}],"type":"messages.AffectedHistory"},{"id":"1221445336","method":"phone.createGroupCall","params":[{"name":"flags","type":"#"},{"name":"rtmp_stream","type":"flags.2?true"},{"name":"peer","type":"InputPeer"},{"name":"random_id","type":"int"},{"name":"title","type":"flags.0?string"},{"name":"schedule_date","type":"flags.1?int"}],"type":"Updates"},{"id":"-1322057861","method":"phone.joinGroupCall","params":[{"name":"flags","type":"#"},{"name":"muted","type":"flags.0?true"},{"name":"video_stopped","type":"flags.2?true"},{"name":"call","type":"InputGroupCall"},{"name":"join_as","type":"InputPeer"},{"name":"invite_hash","type":"flags.1?string"},{"name":"params","type":"DataJSON"}],"type":"Updates"},{"id":"1342404601","method":"phone.leaveGroupCall","params":[{"name":"call","type":"InputGroupCall"},{"name":"source","type":"int"}],"type":"Updates"},{"id":"2067345760","method":"phone.inviteToGroupCall","params":[{"name":"call","type":"InputGroupCall"},{"name":"users","type":"Vector"}],"type":"Updates"},{"id":"2054648117","method":"phone.discardGroupCall","params":[{"name":"call","type":"InputGroupCall"}],"type":"Updates"},{"id":"1958458429","method":"phone.toggleGroupCallSettings","params":[{"name":"flags","type":"#"},{"name":"reset_invite_hash","type":"flags.1?true"},{"name":"call","type":"InputGroupCall"},{"name":"join_muted","type":"flags.0?Bool"}],"type":"Updates"},{"id":"68699611","method":"phone.getGroupCall","params":[{"name":"call","type":"InputGroupCall"},{"name":"limit","type":"int"}],"type":"phone.GroupCall"},{"id":"-984033109","method":"phone.getGroupParticipants","params":[{"name":"call","type":"InputGroupCall"},{"name":"ids","type":"Vector"},{"name":"sources","type":"Vector"},{"name":"offset","type":"string"},{"name":"limit","type":"int"}],"type":"phone.GroupParticipants"},{"id":"-1248003721","method":"phone.checkGroupCall","params":[{"name":"call","type":"InputGroupCall"},{"name":"sources","type":"Vector"}],"type":"Vector"},{"id":"1540419152","method":"messages.deleteChat","params":[{"name":"chat_id","type":"long"}],"type":"Bool"},{"id":"-104078327","method":"messages.deletePhoneCallHistory","params":[{"name":"flags","type":"#"},{"name":"revoke","type":"flags.0?true"}],"type":"messages.AffectedFoundMessages"},{"id":"1140726259","method":"messages.checkHistoryImport","params":[{"name":"import_head","type":"string"}],"type":"messages.HistoryImportParsed"},{"id":"873008187","method":"messages.initHistoryImport","params":[{"name":"peer","type":"InputPeer"},{"name":"file","type":"InputFile"},{"name":"media_count","type":"int"}],"type":"messages.HistoryImport"},{"id":"713433234","method":"messages.uploadImportedMedia","params":[{"name":"peer","type":"InputPeer"},{"name":"import_id","type":"long"},{"name":"file_name","type":"string"},{"name":"media","type":"InputMedia"}],"type":"MessageMedia"},{"id":"-1271008444","method":"messages.startHistoryImport","params":[{"name":"peer","type":"InputPeer"},{"name":"import_id","type":"long"}],"type":"Bool"},{"id":"-1565154314","method":"messages.getExportedChatInvites","params":[{"name":"flags","type":"#"},{"name":"revoked","type":"flags.3?true"},{"name":"peer","type":"InputPeer"},{"name":"admin_id","type":"InputUser"},{"name":"offset_date","type":"flags.2?int"},{"name":"offset_link","type":"flags.2?string"},{"name":"limit","type":"int"}],"type":"messages.ExportedChatInvites"},{"id":"1937010524","method":"messages.getExportedChatInvite","params":[{"name":"peer","type":"InputPeer"},{"name":"link","type":"string"}],"type":"messages.ExportedChatInvite"},{"id":"-1110823051","method":"messages.editExportedChatInvite","params":[{"name":"flags","type":"#"},{"name":"revoked","type":"flags.2?true"},{"name":"peer","type":"InputPeer"},{"name":"link","type":"string"},{"name":"expire_date","type":"flags.0?int"},{"name":"usage_limit","type":"flags.1?int"},{"name":"request_needed","type":"flags.3?Bool"},{"name":"title","type":"flags.4?string"}],"type":"messages.ExportedChatInvite"},{"id":"1452833749","method":"messages.deleteRevokedExportedChatInvites","params":[{"name":"peer","type":"InputPeer"},{"name":"admin_id","type":"InputUser"}],"type":"Bool"},{"id":"-731601877","method":"messages.deleteExportedChatInvite","params":[{"name":"peer","type":"InputPeer"},{"name":"link","type":"string"}],"type":"Bool"},{"id":"958457583","method":"messages.getAdminsWithInvites","params":[{"name":"peer","type":"InputPeer"}],"type":"messages.ChatAdminsWithInvites"},{"id":"-553329330","method":"messages.getChatInviteImporters","params":[{"name":"flags","type":"#"},{"name":"requested","type":"flags.0?true"},{"name":"peer","type":"InputPeer"},{"name":"link","type":"flags.1?string"},{"name":"q","type":"flags.2?string"},{"name":"offset_date","type":"int"},{"name":"offset_user","type":"InputUser"},{"name":"limit","type":"int"}],"type":"messages.ChatInviteImporters"},{"id":"-1207017500","method":"messages.setHistoryTTL","params":[{"name":"peer","type":"InputPeer"},{"name":"period","type":"int"}],"type":"Updates"},{"id":"-91437323","method":"account.reportProfilePhoto","params":[{"name":"peer","type":"InputPeer"},{"name":"photo_id","type":"InputPhoto"},{"name":"reason","type":"ReportReason"},{"name":"message","type":"string"}],"type":"Bool"},{"id":"187239529","method":"channels.convertToGigagroup","params":[{"name":"channel","type":"InputChannel"}],"type":"Updates"},{"id":"1573261059","method":"messages.checkHistoryImportPeer","params":[{"name":"peer","type":"InputPeer"}],"type":"messages.CheckedHistoryImportPeer"},{"id":"-248985848","method":"phone.toggleGroupCallRecord","params":[{"name":"flags","type":"#"},{"name":"start","type":"flags.0?true"},{"name":"video","type":"flags.2?true"},{"name":"call","type":"InputGroupCall"},{"name":"title","type":"flags.1?string"},{"name":"video_portrait","type":"flags.2?Bool"}],"type":"Updates"},{"id":"-1524155713","method":"phone.editGroupCallParticipant","params":[{"name":"flags","type":"#"},{"name":"call","type":"InputGroupCall"},{"name":"participant","type":"InputPeer"},{"name":"muted","type":"flags.0?Bool"},{"name":"volume","type":"flags.1?int"},{"name":"raise_hand","type":"flags.2?Bool"},{"name":"video_stopped","type":"flags.3?Bool"},{"name":"video_paused","type":"flags.4?Bool"},{"name":"presentation_paused","type":"flags.5?Bool"}],"type":"Updates"},{"id":"480685066","method":"phone.editGroupCallTitle","params":[{"name":"call","type":"InputGroupCall"},{"name":"title","type":"string"}],"type":"Updates"},{"id":"-277077702","method":"phone.getGroupCallJoinAs","params":[{"name":"peer","type":"InputPeer"}],"type":"phone.JoinAsPeers"},{"id":"-425040769","method":"phone.exportGroupCallInvite","params":[{"name":"flags","type":"#"},{"name":"can_self_unmute","type":"flags.0?true"},{"name":"call","type":"InputGroupCall"}],"type":"phone.ExportedGroupCallInvite"},{"id":"563885286","method":"phone.toggleGroupCallStartSubscription","params":[{"name":"call","type":"InputGroupCall"},{"name":"subscribed","type":"Bool"}],"type":"Updates"},{"id":"1451287362","method":"phone.startScheduledGroupCall","params":[{"name":"call","type":"InputGroupCall"}],"type":"Updates"},{"id":"1465786252","method":"phone.saveDefaultGroupCallJoinAs","params":[{"name":"peer","type":"InputPeer"},{"name":"join_as","type":"InputPeer"}],"type":"Bool"},{"id":"-873829436","method":"phone.joinGroupCallPresentation","params":[{"name":"call","type":"InputGroupCall"},{"name":"params","type":"DataJSON"}],"type":"Updates"},{"id":"475058500","method":"phone.leaveGroupCallPresentation","params":[{"name":"call","type":"InputGroupCall"}],"type":"Updates"},{"id":"676017721","method":"stickers.checkShortName","params":[{"name":"short_name","type":"string"}],"type":"Bool"},{"id":"1303364867","method":"stickers.suggestShortName","params":[{"name":"title","type":"string"}],"type":"stickers.SuggestedShortName"},{"id":"1032708345","method":"bots.resetBotCommands","params":[{"name":"scope","type":"BotCommandScope"},{"name":"lang_code","type":"string"}],"type":"Bool"},{"id":"-481554986","method":"bots.getBotCommands","params":[{"name":"scope","type":"BotCommandScope"},{"name":"lang_code","type":"string"}],"type":"Vector"},{"id":"-1828139493","method":"account.resetPassword","params":[],"type":"account.ResetPasswordResult"},{"id":"1284770294","method":"account.declinePasswordReset","params":[],"type":"Bool"},{"id":"221691769","method":"auth.checkRecoveryPassword","params":[{"name":"code","type":"string"}],"type":"Bool"},{"id":"-700916087","method":"account.getChatThemes","params":[{"name":"hash","type":"long"}],"type":"account.Themes"},{"id":"-432283329","method":"messages.setChatTheme","params":[{"name":"peer","type":"InputPeer"},{"name":"emoticon","type":"string"}],"type":"Updates"},{"id":"-1095836780","method":"channels.viewSponsoredMessage","params":[{"name":"channel","type":"InputChannel"},{"name":"random_id","type":"bytes"}],"type":"Bool"},{"id":"-333377601","method":"channels.getSponsoredMessages","params":[{"name":"channel","type":"InputChannel"}],"type":"messages.SponsoredMessages"},{"id":"834782287","method":"messages.getMessageReadParticipants","params":[{"name":"peer","type":"InputPeer"},{"name":"msg_id","type":"int"}],"type":"Vector"},{"id":"1789130429","method":"messages.getSearchResultsCalendar","params":[{"name":"flags","type":"#"},{"name":"peer","type":"InputPeer"},{"name":"saved_peer_id","type":"flags.2?InputPeer"},{"name":"filter","type":"MessagesFilter"},{"name":"offset_id","type":"int"},{"name":"offset_date","type":"int"}],"type":"messages.SearchResultsCalendar"},{"id":"-1669386480","method":"messages.getSearchResultsPositions","params":[{"name":"flags","type":"#"},{"name":"peer","type":"InputPeer"},{"name":"saved_peer_id","type":"flags.2?InputPeer"},{"name":"filter","type":"MessagesFilter"},{"name":"offset_id","type":"int"},{"name":"limit","type":"int"}],"type":"messages.SearchResultsPositions"},{"id":"2145904661","method":"messages.hideChatJoinRequest","params":[{"name":"flags","type":"#"},{"name":"approved","type":"flags.0?true"},{"name":"peer","type":"InputPeer"},{"name":"user_id","type":"InputUser"}],"type":"Updates"},{"id":"-528091926","method":"messages.hideAllChatJoinRequests","params":[{"name":"flags","type":"#"},{"name":"approved","type":"flags.0?true"},{"name":"peer","type":"InputPeer"},{"name":"link","type":"flags.1?string"}],"type":"Updates"},{"id":"-1323389022","method":"messages.toggleNoForwards","params":[{"name":"peer","type":"InputPeer"},{"name":"enabled","type":"Bool"}],"type":"Updates"},{"id":"-855777386","method":"messages.saveDefaultSendAs","params":[{"name":"peer","type":"InputPeer"},{"name":"send_as","type":"InputPeer"}],"type":"Bool"},{"id":"231174382","method":"channels.getSendAs","params":[{"name":"peer","type":"InputPeer"}],"type":"channels.SendAsPeers"},{"id":"-1081501024","method":"account.setAuthorizationTTL","params":[{"name":"authorization_ttl_days","type":"int"}],"type":"Bool"},{"id":"1089766498","method":"account.changeAuthorizationSettings","params":[{"name":"flags","type":"#"},{"name":"confirmed","type":"flags.3?true"},{"name":"hash","type":"long"},{"name":"encrypted_requests_disabled","type":"flags.0?Bool"},{"name":"call_requests_disabled","type":"flags.1?Bool"}],"type":"Bool"},{"id":"913655003","method":"channels.deleteParticipantHistory","params":[{"name":"channel","type":"InputChannel"},{"name":"participant","type":"InputPeer"}],"type":"messages.AffectedHistory"},{"id":"-754091820","method":"messages.sendReaction","params":[{"name":"flags","type":"#"},{"name":"big","type":"flags.1?true"},{"name":"add_to_recent","type":"flags.2?true"},{"name":"peer","type":"InputPeer"},{"name":"msg_id","type":"int"},{"name":"reaction","type":"flags.0?Vector"}],"type":"Updates"},{"id":"-1950707482","method":"messages.getMessagesReactions","params":[{"name":"peer","type":"InputPeer"},{"name":"id","type":"Vector"}],"type":"Updates"},{"id":"1176190792","method":"messages.getMessageReactionsList","params":[{"name":"flags","type":"#"},{"name":"peer","type":"InputPeer"},{"name":"id","type":"int"},{"name":"reaction","type":"flags.0?Reaction"},{"name":"offset","type":"flags.1?string"},{"name":"limit","type":"int"}],"type":"messages.MessageReactionsList"},{"id":"-21928079","method":"messages.setChatAvailableReactions","params":[{"name":"peer","type":"InputPeer"},{"name":"available_reactions","type":"ChatReactions"}],"type":"Updates"},{"id":"417243308","method":"messages.getAvailableReactions","params":[{"name":"hash","type":"int"}],"type":"messages.AvailableReactions"},{"id":"1330094102","method":"messages.setDefaultReaction","params":[{"name":"reaction","type":"Reaction"}],"type":"Bool"},{"id":"1662529584","method":"messages.translateText","params":[{"name":"flags","type":"#"},{"name":"peer","type":"flags.0?InputPeer"},{"name":"id","type":"flags.0?Vector"},{"name":"text","type":"flags.1?Vector"},{"name":"to_lang","type":"string"}],"type":"messages.TranslatedText"},{"id":"841173339","method":"messages.getUnreadReactions","params":[{"name":"flags","type":"#"},{"name":"peer","type":"InputPeer"},{"name":"top_msg_id","type":"flags.0?int"},{"name":"offset_id","type":"int"},{"name":"add_offset","type":"int"},{"name":"limit","type":"int"},{"name":"max_id","type":"int"},{"name":"min_id","type":"int"}],"type":"messages.Messages"},{"id":"1420459918","method":"messages.readReactions","params":[{"name":"flags","type":"#"},{"name":"peer","type":"InputPeer"},{"name":"top_msg_id","type":"flags.0?int"}],"type":"messages.AffectedHistory"},{"id":"-1963375804","method":"contacts.resolvePhone","params":[{"name":"phone","type":"string"}],"type":"contacts.ResolvedPeer"},{"id":"447879488","method":"phone.getGroupCallStreamChannels","params":[{"name":"call","type":"InputGroupCall"}],"type":"phone.GroupCallStreamChannels"},{"id":"-558650433","method":"phone.getGroupCallStreamRtmpUrl","params":[{"name":"peer","type":"InputPeer"},{"name":"revoke","type":"Bool"}],"type":"phone.GroupCallStreamRtmpUrl"},{"id":"276705696","method":"messages.searchSentMedia","params":[{"name":"q","type":"string"},{"name":"filter","type":"MessagesFilter"},{"name":"limit","type":"int"}],"type":"messages.Messages"},{"id":"385663691","method":"messages.getAttachMenuBots","params":[{"name":"hash","type":"long"}],"type":"AttachMenuBots"},{"id":"1998676370","method":"messages.getAttachMenuBot","params":[{"name":"bot","type":"InputUser"}],"type":"AttachMenuBotsBot"},{"id":"1777704297","method":"messages.toggleBotInAttachMenu","params":[{"name":"flags","type":"#"},{"name":"write_allowed","type":"flags.0?true"},{"name":"bot","type":"InputUser"},{"name":"enabled","type":"Bool"}],"type":"Bool"},{"id":"647873217","method":"messages.requestWebView","params":[{"name":"flags","type":"#"},{"name":"from_bot_menu","type":"flags.4?true"},{"name":"silent","type":"flags.5?true"},{"name":"peer","type":"InputPeer"},{"name":"bot","type":"InputUser"},{"name":"url","type":"flags.1?string"},{"name":"start_param","type":"flags.3?string"},{"name":"theme_params","type":"flags.2?DataJSON"},{"name":"platform","type":"string"},{"name":"reply_to","type":"flags.0?InputReplyTo"},{"name":"send_as","type":"flags.13?InputPeer"}],"type":"WebViewResult"},{"id":"-1328014717","method":"messages.prolongWebView","params":[{"name":"flags","type":"#"},{"name":"silent","type":"flags.5?true"},{"name":"peer","type":"InputPeer"},{"name":"bot","type":"InputUser"},{"name":"query_id","type":"long"},{"name":"reply_to","type":"flags.0?InputReplyTo"},{"name":"send_as","type":"flags.13?InputPeer"}],"type":"Bool"},{"id":"440815626","method":"messages.requestSimpleWebView","params":[{"name":"flags","type":"#"},{"name":"from_switch_webview","type":"flags.1?true"},{"name":"from_side_menu","type":"flags.2?true"},{"name":"bot","type":"InputUser"},{"name":"url","type":"flags.3?string"},{"name":"start_param","type":"flags.4?string"},{"name":"theme_params","type":"flags.0?DataJSON"},{"name":"platform","type":"string"}],"type":"SimpleWebViewResult"},{"id":"172168437","method":"messages.sendWebViewResultMessage","params":[{"name":"bot_query_id","type":"string"},{"name":"result","type":"InputBotInlineResult"}],"type":"WebViewMessageSent"},{"id":"-603831608","method":"messages.sendWebViewData","params":[{"name":"bot","type":"InputUser"},{"name":"random_id","type":"long"},{"name":"button_text","type":"string"},{"name":"data","type":"string"}],"type":"Updates"},{"id":"1157944655","method":"bots.setBotMenuButton","params":[{"name":"user_id","type":"InputUser"},{"name":"button","type":"BotMenuButton"}],"type":"Bool"},{"id":"-1671369944","method":"bots.getBotMenuButton","params":[{"name":"user_id","type":"InputUser"}],"type":"BotMenuButton"},{"id":"-510647672","method":"account.getSavedRingtones","params":[{"name":"hash","type":"long"}],"type":"account.SavedRingtones"},{"id":"1038768899","method":"account.saveRingtone","params":[{"name":"id","type":"InputDocument"},{"name":"unsave","type":"Bool"}],"type":"account.SavedRingtone"},{"id":"-2095414366","method":"account.uploadRingtone","params":[{"name":"file","type":"InputFile"},{"name":"file_name","type":"string"},{"name":"mime_type","type":"string"}],"type":"Document"},{"id":"2021942497","method":"bots.setBotBroadcastDefaultAdminRights","params":[{"name":"admin_rights","type":"ChatAdminRights"}],"type":"Bool"},{"id":"-1839281686","method":"bots.setBotGroupDefaultAdminRights","params":[{"name":"admin_rights","type":"ChatAdminRights"}],"type":"Bool"},{"id":"1092913030","method":"phone.saveCallLog","params":[{"name":"peer","type":"InputPhoneCall"},{"name":"file","type":"InputFile"}],"type":"Bool"},{"id":"-456419968","method":"channels.toggleJoinToSend","params":[{"name":"channel","type":"InputChannel"},{"name":"enabled","type":"Bool"}],"type":"Updates"},{"id":"1277789622","method":"channels.toggleJoinRequest","params":[{"name":"channel","type":"InputChannel"},{"name":"enabled","type":"Bool"}],"type":"Updates"},{"id":"261206117","method":"payments.exportInvoice","params":[{"name":"invoice_media","type":"InputMedia"}],"type":"payments.ExportedInvoice"},{"id":"647928393","method":"messages.transcribeAudio","params":[{"name":"peer","type":"InputPeer"},{"name":"msg_id","type":"int"}],"type":"messages.TranscribedAudio"},{"id":"2132608815","method":"messages.rateTranscribedAudio","params":[{"name":"peer","type":"InputPeer"},{"name":"msg_id","type":"int"},{"name":"transcription_id","type":"long"},{"name":"good","type":"Bool"}],"type":"Bool"},{"id":"-2131921795","method":"payments.assignAppStoreTransaction","params":[{"name":"receipt","type":"bytes"},{"name":"purpose","type":"InputStorePaymentPurpose"}],"type":"Updates"},{"id":"-537046829","method":"payments.assignPlayMarketTransaction","params":[{"name":"receipt","type":"DataJSON"},{"name":"purpose","type":"InputStorePaymentPurpose"}],"type":"Updates"},{"id":"-1614700874","method":"payments.canPurchasePremium","params":[{"name":"purpose","type":"InputStorePaymentPurpose"}],"type":"Bool"},{"id":"-1206152236","method":"help.getPremiumPromo","params":[],"type":"help.PremiumPromo"},{"id":"-643100844","method":"messages.getCustomEmojiDocuments","params":[{"name":"document_id","type":"Vector"}],"type":"Vector"},{"id":"-67329649","method":"messages.getEmojiStickers","params":[{"name":"hash","type":"long"}],"type":"messages.AllStickers"},{"id":"248473398","method":"messages.getFeaturedEmojiStickers","params":[{"name":"hash","type":"long"}],"type":"messages.FeaturedStickers"},{"id":"-70001045","method":"account.updateEmojiStatus","params":[{"name":"emoji_status","type":"EmojiStatus"}],"type":"Bool"},{"id":"-696962170","method":"account.getDefaultEmojiStatuses","params":[{"name":"hash","type":"long"}],"type":"account.EmojiStatuses"},{"id":"257392901","method":"account.getRecentEmojiStatuses","params":[{"name":"hash","type":"long"}],"type":"account.EmojiStatuses"},{"id":"404757166","method":"account.clearRecentEmojiStatuses","params":[],"type":"Bool"},{"id":"1063567478","method":"messages.reportReaction","params":[{"name":"peer","type":"InputPeer"},{"name":"id","type":"int"},{"name":"reaction_peer","type":"InputPeer"}],"type":"Bool"},{"id":"-1149164102","method":"messages.getTopReactions","params":[{"name":"limit","type":"int"},{"name":"hash","type":"long"}],"type":"messages.Reactions"},{"id":"960896434","method":"messages.getRecentReactions","params":[{"name":"limit","type":"int"},{"name":"hash","type":"long"}],"type":"messages.Reactions"},{"id":"-1644236876","method":"messages.clearRecentReactions","params":[],"type":"Bool"},{"id":"-2064119788","method":"messages.getExtendedMedia","params":[{"name":"peer","type":"InputPeer"},{"name":"id","type":"Vector"}],"type":"Updates"},{"id":"767062953","method":"auth.importWebTokenAuthorization","params":[{"name":"api_id","type":"int"},{"name":"api_hash","type":"string"},{"name":"web_auth_token","type":"string"}],"type":"auth.Authorization"},{"id":"-279966037","method":"account.reorderUsernames","params":[{"name":"order","type":"Vector"}],"type":"Bool"},{"id":"1490465654","method":"account.toggleUsername","params":[{"name":"username","type":"string"},{"name":"active","type":"Bool"}],"type":"Bool"},{"id":"-1268978403","method":"channels.reorderUsernames","params":[{"name":"channel","type":"InputChannel"},{"name":"order","type":"Vector"}],"type":"Bool"},{"id":"1358053637","method":"channels.toggleUsername","params":[{"name":"channel","type":"InputChannel"},{"name":"username","type":"string"},{"name":"active","type":"Bool"}],"type":"Bool"},{"id":"170155475","method":"channels.deactivateAllUsernames","params":[{"name":"channel","type":"InputChannel"}],"type":"Bool"},{"id":"-1540781271","method":"channels.toggleForum","params":[{"name":"channel","type":"InputChannel"},{"name":"enabled","type":"Bool"}],"type":"Updates"},{"id":"-200539612","method":"channels.createForumTopic","params":[{"name":"flags","type":"#"},{"name":"channel","type":"InputChannel"},{"name":"title","type":"string"},{"name":"icon_color","type":"flags.0?int"},{"name":"icon_emoji_id","type":"flags.3?long"},{"name":"random_id","type":"long"},{"name":"send_as","type":"flags.2?InputPeer"}],"type":"Updates"},{"id":"233136337","method":"channels.getForumTopics","params":[{"name":"flags","type":"#"},{"name":"channel","type":"InputChannel"},{"name":"q","type":"flags.0?string"},{"name":"offset_date","type":"int"},{"name":"offset_id","type":"int"},{"name":"offset_topic","type":"int"},{"name":"limit","type":"int"}],"type":"messages.ForumTopics"},{"id":"-1333584199","method":"channels.getForumTopicsByID","params":[{"name":"channel","type":"InputChannel"},{"name":"topics","type":"Vector"}],"type":"messages.ForumTopics"},{"id":"-186670715","method":"channels.editForumTopic","params":[{"name":"flags","type":"#"},{"name":"channel","type":"InputChannel"},{"name":"topic_id","type":"int"},{"name":"title","type":"flags.0?string"},{"name":"icon_emoji_id","type":"flags.1?long"},{"name":"closed","type":"flags.2?Bool"},{"name":"hidden","type":"flags.3?Bool"}],"type":"Updates"},{"id":"1814925350","method":"channels.updatePinnedForumTopic","params":[{"name":"channel","type":"InputChannel"},{"name":"topic_id","type":"int"},{"name":"pinned","type":"Bool"}],"type":"Updates"},{"id":"876830509","method":"channels.deleteTopicHistory","params":[{"name":"channel","type":"InputChannel"},{"name":"top_msg_id","type":"int"}],"type":"messages.AffectedHistory"},{"id":"693150095","method":"channels.reorderPinnedForumTopics","params":[{"name":"flags","type":"#"},{"name":"force","type":"flags.0?true"},{"name":"channel","type":"InputChannel"},{"name":"order","type":"Vector"}],"type":"Updates"},{"id":"1760814315","method":"channels.toggleAntiSpam","params":[{"name":"channel","type":"InputChannel"},{"name":"enabled","type":"Bool"}],"type":"Updates"},{"id":"-1471109485","method":"channels.reportAntiSpamFalsePositive","params":[{"name":"channel","type":"InputChannel"},{"name":"msg_id","type":"int"}],"type":"Bool"},{"id":"-1632299963","method":"messages.setDefaultHistoryTTL","params":[{"name":"period","type":"int"}],"type":"Bool"},{"id":"1703637384","method":"messages.getDefaultHistoryTTL","params":[],"type":"DefaultHistoryTTL"},{"id":"-127582169","method":"contacts.exportContactToken","params":[],"type":"ExportedContactToken"},{"id":"318789512","method":"contacts.importContactToken","params":[{"name":"token","type":"string"}],"type":"User"},{"id":"-515093903","method":"photos.uploadContactProfilePhoto","params":[{"name":"flags","type":"#"},{"name":"suggest","type":"flags.3?true"},{"name":"save","type":"flags.4?true"},{"name":"user_id","type":"InputUser"},{"name":"file","type":"flags.0?InputFile"},{"name":"video","type":"flags.1?InputFile"},{"name":"video_start_ts","type":"flags.2?double"},{"name":"video_emoji_markup","type":"flags.5?VideoSize"}],"type":"photos.Photo"},{"id":"1785624660","method":"channels.toggleParticipantsHidden","params":[{"name":"channel","type":"InputChannel"},{"name":"enabled","type":"Bool"}],"type":"Updates"},{"id":"-1850552224","method":"messages.sendBotRequestedPeer","params":[{"name":"peer","type":"InputPeer"},{"name":"msg_id","type":"int"},{"name":"button_id","type":"int"},{"name":"requested_peers","type":"Vector"}],"type":"Updates"},{"id":"-495647960","method":"account.getDefaultProfilePhotoEmojis","params":[{"name":"hash","type":"long"}],"type":"EmojiList"},{"id":"-1856479058","method":"account.getDefaultGroupPhotoEmojis","params":[{"name":"hash","type":"long"}],"type":"EmojiList"},{"id":"-1991881904","method":"auth.requestFirebaseSms","params":[{"name":"flags","type":"#"},{"name":"phone_number","type":"string"},{"name":"phone_code_hash","type":"string"},{"name":"safety_net_token","type":"flags.0?string"},{"name":"ios_push_secret","type":"flags.1?string"}],"type":"Bool"},{"id":"1955122779","method":"messages.getEmojiGroups","params":[{"name":"hash","type":"int"}],"type":"messages.EmojiGroups"},{"id":"785209037","method":"messages.getEmojiStatusGroups","params":[{"name":"hash","type":"int"}],"type":"messages.EmojiGroups"},{"id":"564480243","method":"messages.getEmojiProfilePhotoGroups","params":[{"name":"hash","type":"int"}],"type":"messages.EmojiGroups"},{"id":"739360983","method":"messages.searchCustomEmoji","params":[{"name":"emoticon","type":"string"},{"name":"hash","type":"long"}],"type":"EmojiList"},{"id":"-461589127","method":"messages.togglePeerTranslations","params":[{"name":"flags","type":"#"},{"name":"disabled","type":"flags.0?true"},{"name":"peer","type":"InputPeer"}],"type":"Bool"},{"id":"-1379156774","method":"account.getAutoSaveSettings","params":[],"type":"account.AutoSaveSettings"},{"id":"-694451359","method":"account.saveAutoSaveSettings","params":[{"name":"flags","type":"#"},{"name":"users","type":"flags.0?true"},{"name":"chats","type":"flags.1?true"},{"name":"broadcasts","type":"flags.2?true"},{"name":"peer","type":"flags.3?InputPeer"},{"name":"settings","type":"AutoSaveSettings"}],"type":"Bool"},{"id":"1404829728","method":"account.deleteAutoSaveExceptions","params":[],"type":"Bool"},{"id":"-179077444","method":"stickers.changeSticker","params":[{"name":"flags","type":"#"},{"name":"sticker","type":"InputDocument"},{"name":"emoji","type":"flags.0?string"},{"name":"mask_coords","type":"flags.1?MaskCoords"},{"name":"keywords","type":"flags.2?string"}],"type":"messages.StickerSet"},{"id":"306912256","method":"stickers.renameStickerSet","params":[{"name":"stickerset","type":"InputStickerSet"},{"name":"title","type":"string"}],"type":"messages.StickerSet"},{"id":"-2022685804","method":"stickers.deleteStickerSet","params":[{"name":"stickerset","type":"InputStickerSet"}],"type":"Bool"},{"id":"889046467","method":"messages.getBotApp","params":[{"name":"app","type":"InputBotApp"},{"name":"hash","type":"long"}],"type":"messages.BotApp"},{"id":"-1940243652","method":"messages.requestAppWebView","params":[{"name":"flags","type":"#"},{"name":"write_allowed","type":"flags.0?true"},{"name":"peer","type":"InputPeer"},{"name":"app","type":"InputBotApp"},{"name":"start_param","type":"flags.1?string"},{"name":"theme_params","type":"flags.2?DataJSON"},{"name":"platform","type":"string"}],"type":"AppWebViewResult"},{"id":"282013987","method":"bots.setBotInfo","params":[{"name":"flags","type":"#"},{"name":"bot","type":"flags.2?InputUser"},{"name":"lang_code","type":"string"},{"name":"name","type":"flags.3?string"},{"name":"about","type":"flags.0?string"},{"name":"description","type":"flags.1?string"}],"type":"Bool"},{"id":"-589753091","method":"bots.getBotInfo","params":[{"name":"flags","type":"#"},{"name":"bot","type":"flags.0?InputUser"},{"name":"lang_code","type":"string"}],"type":"bots.BotInfo"},{"id":"2123760019","method":"auth.resetLoginEmail","params":[{"name":"phone_number","type":"string"},{"name":"phone_code_hash","type":"string"}],"type":"auth.SentCode"},{"id":"-2072885362","method":"chatlists.exportChatlistInvite","params":[{"name":"chatlist","type":"InputChatlist"},{"name":"title","type":"string"},{"name":"peers","type":"Vector"}],"type":"chatlists.ExportedChatlistInvite"},{"id":"1906072670","method":"chatlists.deleteExportedInvite","params":[{"name":"chatlist","type":"InputChatlist"},{"name":"slug","type":"string"}],"type":"Bool"},{"id":"1698543165","method":"chatlists.editExportedInvite","params":[{"name":"flags","type":"#"},{"name":"chatlist","type":"InputChatlist"},{"name":"slug","type":"string"},{"name":"title","type":"flags.1?string"},{"name":"peers","type":"flags.2?Vector"}],"type":"ExportedChatlistInvite"},{"id":"-838608253","method":"chatlists.getExportedInvites","params":[{"name":"chatlist","type":"InputChatlist"}],"type":"chatlists.ExportedInvites"},{"id":"1103171583","method":"chatlists.checkChatlistInvite","params":[{"name":"slug","type":"string"}],"type":"chatlists.ChatlistInvite"},{"id":"-1498291302","method":"chatlists.joinChatlistInvite","params":[{"name":"slug","type":"string"},{"name":"peers","type":"Vector"}],"type":"Updates"},{"id":"-1992190687","method":"chatlists.getChatlistUpdates","params":[{"name":"chatlist","type":"InputChatlist"}],"type":"chatlists.ChatlistUpdates"},{"id":"-527828747","method":"chatlists.joinChatlistUpdates","params":[{"name":"chatlist","type":"InputChatlist"},{"name":"peers","type":"Vector"}],"type":"Updates"},{"id":"1726252795","method":"chatlists.hideChatlistUpdates","params":[{"name":"chatlist","type":"InputChatlist"}],"type":"Bool"},{"id":"-37955820","method":"chatlists.getLeaveChatlistSuggestions","params":[{"name":"chatlist","type":"InputChatlist"}],"type":"Vector"},{"id":"1962598714","method":"chatlists.leaveChatlist","params":[{"name":"chatlist","type":"InputChatlist"},{"name":"peers","type":"Vector"}],"type":"Updates"},{"id":"-1760972350","method":"bots.reorderUsernames","params":[{"name":"bot","type":"InputUser"},{"name":"order","type":"Vector"}],"type":"Bool"},{"id":"87861619","method":"bots.toggleUsername","params":[{"name":"bot","type":"InputUser"},{"name":"username","type":"string"},{"name":"active","type":"Bool"}],"type":"Bool"},{"id":"-1879389471","method":"messages.setChatWallPaper","params":[{"name":"flags","type":"#"},{"name":"for_both","type":"flags.3?true"},{"name":"revert","type":"flags.4?true"},{"name":"peer","type":"InputPeer"},{"name":"wallpaper","type":"flags.0?InputWallPaper"},{"name":"settings","type":"flags.2?WallPaperSettings"},{"name":"id","type":"flags.1?int"}],"type":"Updates"},{"id":"-896866118","method":"account.invalidateSignInCodes","params":[{"name":"codes","type":"Vector"}],"type":"Bool"},{"id":"414170259","method":"channels.clickSponsoredMessage","params":[{"name":"channel","type":"InputChannel"},{"name":"random_id","type":"bytes"}],"type":"Bool"},{"id":"-1167653392","method":"contacts.editCloseFriends","params":[{"name":"id","type":"Vector"}],"type":"Bool"},{"id":"-941629475","method":"stories.canSendStory","params":[{"name":"peer","type":"InputPeer"}],"type":"Bool"},{"id":"-454661813","method":"stories.sendStory","params":[{"name":"flags","type":"#"},{"name":"pinned","type":"flags.2?true"},{"name":"noforwards","type":"flags.4?true"},{"name":"fwd_modified","type":"flags.7?true"},{"name":"peer","type":"InputPeer"},{"name":"media","type":"InputMedia"},{"name":"media_areas","type":"flags.5?Vector"},{"name":"caption","type":"flags.0?string"},{"name":"entities","type":"flags.1?Vector"},{"name":"privacy_rules","type":"Vector"},{"name":"random_id","type":"long"},{"name":"period","type":"flags.3?int"},{"name":"fwd_from_id","type":"flags.6?InputPeer"},{"name":"fwd_from_story","type":"flags.6?int"}],"type":"Updates"},{"id":"-1249658298","method":"stories.editStory","params":[{"name":"flags","type":"#"},{"name":"peer","type":"InputPeer"},{"name":"id","type":"int"},{"name":"media","type":"flags.0?InputMedia"},{"name":"media_areas","type":"flags.3?Vector"},{"name":"caption","type":"flags.1?string"},{"name":"entities","type":"flags.1?Vector"},{"name":"privacy_rules","type":"flags.2?Vector"}],"type":"Updates"},{"id":"-1369842849","method":"stories.deleteStories","params":[{"name":"peer","type":"InputPeer"},{"name":"id","type":"Vector"}],"type":"Vector"},{"id":"-1703566865","method":"stories.togglePinned","params":[{"name":"peer","type":"InputPeer"},{"name":"id","type":"Vector"},{"name":"pinned","type":"Bool"}],"type":"Vector"},{"id":"-290400731","method":"stories.getAllStories","params":[{"name":"flags","type":"#"},{"name":"next","type":"flags.1?true"},{"name":"hidden","type":"flags.2?true"},{"name":"state","type":"flags.0?string"}],"type":"stories.AllStories"},{"id":"1478600156","method":"stories.getPinnedStories","params":[{"name":"peer","type":"InputPeer"},{"name":"offset_id","type":"int"},{"name":"limit","type":"int"}],"type":"stories.Stories"},{"id":"-1271586794","method":"stories.getStoriesArchive","params":[{"name":"peer","type":"InputPeer"},{"name":"offset_id","type":"int"},{"name":"limit","type":"int"}],"type":"stories.Stories"},{"id":"1467271796","method":"stories.getStoriesByID","params":[{"name":"peer","type":"InputPeer"},{"name":"id","type":"Vector"}],"type":"stories.Stories"},{"id":"2082822084","method":"stories.toggleAllStoriesHidden","params":[{"name":"hidden","type":"Bool"}],"type":"Bool"},{"id":"-1521034552","method":"stories.readStories","params":[{"name":"peer","type":"InputPeer"},{"name":"max_id","type":"int"}],"type":"Vector"},{"id":"-1308456197","method":"stories.incrementStoryViews","params":[{"name":"peer","type":"InputPeer"},{"name":"id","type":"Vector"}],"type":"Bool"},{"id":"2127707223","method":"stories.getStoryViewsList","params":[{"name":"flags","type":"#"},{"name":"just_contacts","type":"flags.0?true"},{"name":"reactions_first","type":"flags.2?true"},{"name":"forwards_first","type":"flags.3?true"},{"name":"peer","type":"InputPeer"},{"name":"q","type":"flags.1?string"},{"name":"id","type":"int"},{"name":"offset","type":"string"},{"name":"limit","type":"int"}],"type":"stories.StoryViewsList"},{"id":"685862088","method":"stories.getStoriesViews","params":[{"name":"peer","type":"InputPeer"},{"name":"id","type":"Vector"}],"type":"stories.StoryViews"},{"id":"2072899360","method":"stories.exportStoryLink","params":[{"name":"peer","type":"InputPeer"},{"name":"id","type":"int"}],"type":"ExportedStoryLink"},{"id":"421788300","method":"stories.report","params":[{"name":"peer","type":"InputPeer"},{"name":"id","type":"Vector"},{"name":"reason","type":"ReportReason"},{"name":"message","type":"string"}],"type":"Bool"},{"id":"1471926630","method":"stories.activateStealthMode","params":[{"name":"flags","type":"#"},{"name":"past","type":"flags.0?true"},{"name":"future","type":"flags.1?true"}],"type":"Updates"},{"id":"-1798939530","method":"contacts.setBlocked","params":[{"name":"flags","type":"#"},{"name":"my_stories_from","type":"flags.0?true"},{"name":"id","type":"Vector"},{"name":"limit","type":"int"}],"type":"Bool"},{"id":"2144810674","method":"stories.sendReaction","params":[{"name":"flags","type":"#"},{"name":"add_to_recent","type":"flags.0?true"},{"name":"peer","type":"InputPeer"},{"name":"story_id","type":"int"},{"name":"reaction","type":"Reaction"}],"type":"Updates"},{"id":"324662502","method":"bots.canSendMessage","params":[{"name":"bot","type":"InputUser"}],"type":"Bool"},{"id":"-248323089","method":"bots.allowSendMessage","params":[{"name":"bot","type":"InputUser"}],"type":"Updates"},{"id":"142591463","method":"bots.invokeWebViewCustomMethod","params":[{"name":"bot","type":"InputUser"},{"name":"custom_method","type":"string"},{"name":"params","type":"DataJSON"}],"type":"DataJSON"},{"id":"743103056","method":"stories.getPeerStories","params":[{"name":"peer","type":"InputPeer"}],"type":"stories.PeerStories"},{"id":"-1688541191","method":"stories.getAllReadPeerStories","params":[],"type":"Updates"},{"id":"1398375363","method":"stories.getPeerMaxIDs","params":[{"name":"id","type":"Vector"}],"type":"Vector"},{"id":"-1519744160","method":"stories.getChatsToSend","params":[],"type":"messages.Chats"},{"id":"-1123805756","method":"stories.togglePeerStoriesHidden","params":[{"name":"peer","type":"InputPeer"},{"name":"hidden","type":"Bool"}],"type":"Bool"},{"id":"660060756","method":"payments.getPremiumGiftCodeOptions","params":[{"name":"flags","type":"#"},{"name":"boost_peer","type":"flags.0?InputPeer"}],"type":"Vector"},{"id":"-1907247935","method":"payments.checkGiftCode","params":[{"name":"slug","type":"string"}],"type":"payments.CheckedGiftCode"},{"id":"-152934316","method":"payments.applyGiftCode","params":[{"name":"slug","type":"string"}],"type":"Updates"},{"id":"-198994907","method":"payments.getGiveawayInfo","params":[{"name":"peer","type":"InputPeer"},{"name":"msg_id","type":"int"}],"type":"payments.GiveawayInfo"},{"id":"1609928480","method":"payments.launchPrepaidGiveaway","params":[{"name":"peer","type":"InputPeer"},{"name":"giveaway_id","type":"long"},{"name":"purpose","type":"InputStorePaymentPurpose"}],"type":"Updates"},{"id":"2096079197","method":"account.updateColor","params":[{"name":"flags","type":"#"},{"name":"for_profile","type":"flags.1?true"},{"name":"color","type":"flags.2?int"},{"name":"background_emoji_id","type":"flags.0?long"}],"type":"Bool"},{"id":"-659933583","method":"channels.updateColor","params":[{"name":"flags","type":"#"},{"name":"for_profile","type":"flags.1?true"},{"name":"channel","type":"InputChannel"},{"name":"color","type":"flags.2?int"},{"name":"background_emoji_id","type":"flags.0?long"}],"type":"Updates"},{"id":"-1509246514","method":"account.getDefaultBackgroundEmojis","params":[{"name":"hash","type":"long"}],"type":"EmojiList"},{"id":"1626764896","method":"premium.getBoostsList","params":[{"name":"flags","type":"#"},{"name":"gifts","type":"flags.0?true"},{"name":"peer","type":"InputPeer"},{"name":"offset","type":"string"},{"name":"limit","type":"int"}],"type":"premium.BoostsList"},{"id":"199719754","method":"premium.getMyBoosts","params":[],"type":"premium.MyBoosts"},{"id":"1803396934","method":"premium.applyBoost","params":[{"name":"flags","type":"#"},{"name":"slots","type":"flags.0?Vector"},{"name":"peer","type":"InputPeer"}],"type":"premium.MyBoosts"},{"id":"70197089","method":"premium.getBoostsStatus","params":[{"name":"peer","type":"InputPeer"}],"type":"premium.BoostsStatus"},{"id":"965037343","method":"premium.getUserBoosts","params":[{"name":"peer","type":"InputPeer"},{"name":"user_id","type":"InputUser"}],"type":"premium.BoostsList"},{"id":"-1757889771","method":"channels.toggleViewForumAsMessages","params":[{"name":"channel","type":"InputChannel"},{"name":"enabled","type":"Bool"}],"type":"Updates"},{"id":"-1833678516","method":"messages.searchEmojiStickerSets","params":[{"name":"flags","type":"#"},{"name":"exclude_featured","type":"flags.0?true"},{"name":"q","type":"string"},{"name":"hash","type":"long"}],"type":"messages.FoundStickerSets"},{"id":"-2085155433","method":"channels.getChannelRecommendations","params":[{"name":"channel","type":"InputChannel"}],"type":"messages.Chats"},{"id":"927985472","method":"stats.getStoryStats","params":[{"name":"flags","type":"#"},{"name":"dark","type":"flags.0?true"},{"name":"peer","type":"InputPeer"},{"name":"id","type":"int"}],"type":"stats.StoryStats"},{"id":"-1505526026","method":"stats.getStoryPublicForwards","params":[{"name":"peer","type":"InputPeer"},{"name":"id","type":"int"},{"name":"offset","type":"string"},{"name":"limit","type":"int"}],"type":"stats.PublicForwards"},{"id":"-629083089","method":"help.getPeerColors","params":[{"name":"hash","type":"int"}],"type":"help.PeerColors"},{"id":"-1412453891","method":"help.getPeerProfileColors","params":[{"name":"hash","type":"int"}],"type":"help.PeerColors"},{"id":"-1179482081","method":"stories.getStoryReactionsList","params":[{"name":"flags","type":"#"},{"name":"forwards_first","type":"flags.2?true"},{"name":"peer","type":"InputPeer"},{"name":"id","type":"int"},{"name":"reaction","type":"flags.0?Reaction"},{"name":"offset","type":"flags.1?string"},{"name":"limit","type":"int"}],"type":"stories.StoryReactionsList"},{"id":"-254548312","method":"channels.updateEmojiStatus","params":[{"name":"channel","type":"InputChannel"},{"name":"emoji_status","type":"EmojiStatus"}],"type":"Updates"},{"id":"1999087573","method":"account.getChannelDefaultEmojiStatuses","params":[{"name":"hash","type":"long"}],"type":"account.EmojiStatuses"},{"id":"900325589","method":"account.getChannelRestrictedStatusEmojis","params":[{"name":"hash","type":"long"}],"type":"EmojiList"},{"id":"1401016858","method":"messages.getSavedDialogs","params":[{"name":"flags","type":"#"},{"name":"exclude_pinned","type":"flags.0?true"},{"name":"offset_date","type":"int"},{"name":"offset_id","type":"int"},{"name":"offset_peer","type":"InputPeer"},{"name":"limit","type":"int"},{"name":"hash","type":"long"}],"type":"messages.SavedDialogs"},{"id":"1033519437","method":"messages.getSavedHistory","params":[{"name":"peer","type":"InputPeer"},{"name":"offset_id","type":"int"},{"name":"offset_date","type":"int"},{"name":"add_offset","type":"int"},{"name":"limit","type":"int"},{"name":"max_id","type":"int"},{"name":"min_id","type":"int"},{"name":"hash","type":"long"}],"type":"messages.Messages"},{"id":"1855459371","method":"messages.deleteSavedHistory","params":[{"name":"flags","type":"#"},{"name":"peer","type":"InputPeer"},{"name":"max_id","type":"int"},{"name":"min_date","type":"flags.2?int"},{"name":"max_date","type":"flags.3?int"}],"type":"messages.AffectedHistory"},{"id":"-700607264","method":"messages.getPinnedSavedDialogs","params":[],"type":"messages.SavedDialogs"},{"id":"-1400783906","method":"messages.toggleSavedDialogPin","params":[{"name":"flags","type":"#"},{"name":"pinned","type":"flags.0?true"},{"name":"peer","type":"InputDialogPeer"}],"type":"Bool"},{"id":"-1955502713","method":"messages.reorderPinnedSavedDialogs","params":[{"name":"flags","type":"#"},{"name":"force","type":"flags.0?true"},{"name":"order","type":"Vector"}],"type":"Bool"}]} \ No newline at end of file diff --git a/src/rpc/index.js b/src/rpc/index.js index dbcd2575..1b6f0b87 100644 --- a/src/rpc/index.js +++ b/src/rpc/index.js @@ -585,7 +585,7 @@ class RPC { }; const serializer = new Serializer(builderMap.invokeWithLayer, { - layer: 158, + layer: 170, query: { _: 'initConnection', ...initConnectionParams, diff --git a/src/tl/builder/index.js b/src/tl/builder/index.js new file mode 100644 index 00000000..fc3cc0c7 --- /dev/null +++ b/src/tl/builder/index.js @@ -0,0 +1,10688 @@ +const builderMap = { + 'mt_vector': function(params) { + this.int32(481674261); + }, + 'mt_resPQ': function(params) { + this.int32(85337187); + this.int128(params.nonce); + this.int128(params.server_nonce); + this.bytes(params.pq); + this.vector(this.long, params.server_public_key_fingerprints); + }, + 'mt_p_q_inner_data': function(params) { + this.int32(-2083955988); + this.bytes(params.pq); + this.bytes(params.p); + this.bytes(params.q); + this.int128(params.nonce); + this.int128(params.server_nonce); + this.int256(params.new_nonce); + }, + 'mt_p_q_inner_data_dc': function(params) { + this.int32(-1443537003); + this.bytes(params.pq); + this.bytes(params.p); + this.bytes(params.q); + this.int128(params.nonce); + this.int128(params.server_nonce); + this.int256(params.new_nonce); + this.int(params.dc); + }, + 'mt_p_q_inner_data_temp': function(params) { + this.int32(1013613780); + this.bytes(params.pq); + this.bytes(params.p); + this.bytes(params.q); + this.int128(params.nonce); + this.int128(params.server_nonce); + this.int256(params.new_nonce); + this.int(params.expires_in); + }, + 'mt_p_q_inner_data_temp_dc': function(params) { + this.int32(1459478408); + this.bytes(params.pq); + this.bytes(params.p); + this.bytes(params.q); + this.int128(params.nonce); + this.int128(params.server_nonce); + this.int256(params.new_nonce); + this.int(params.dc); + this.int(params.expires_in); + }, + 'mt_server_DH_params_fail': function(params) { + this.int32(2043348061); + this.int128(params.nonce); + this.int128(params.server_nonce); + this.int128(params.new_nonce_hash); + }, + 'mt_server_DH_params_ok': function(params) { + this.int32(-790100132); + this.int128(params.nonce); + this.int128(params.server_nonce); + this.bytes(params.encrypted_answer); + }, + 'mt_server_DH_inner_data': function(params) { + this.int32(-1249309254); + this.int128(params.nonce); + this.int128(params.server_nonce); + this.int(params.g); + this.bytes(params.dh_prime); + this.bytes(params.g_a); + this.int(params.server_time); + }, + 'mt_client_DH_inner_data': function(params) { + this.int32(1715713620); + this.int128(params.nonce); + this.int128(params.server_nonce); + this.long(params.retry_id); + this.bytes(params.g_b); + }, + 'mt_dh_gen_ok': function(params) { + this.int32(1003222836); + this.int128(params.nonce); + this.int128(params.server_nonce); + this.int128(params.new_nonce_hash1); + }, + 'mt_dh_gen_retry': function(params) { + this.int32(1188831161); + this.int128(params.nonce); + this.int128(params.server_nonce); + this.int128(params.new_nonce_hash2); + }, + 'mt_dh_gen_fail': function(params) { + this.int32(-1499615742); + this.int128(params.nonce); + this.int128(params.server_nonce); + this.int128(params.new_nonce_hash3); + }, + 'mt_rpc_result': function(params) { + this.int32(-212046591); + this.long(params.req_msg_id); + this.predicate(params.result); + }, + 'mt_rpc_error': function(params) { + this.int32(558156313); + this.int(params.error_code); + this.string(params.error_message); + }, + 'mt_rpc_answer_unknown': function(params) { + this.int32(1579864942); + }, + 'mt_rpc_answer_dropped_running': function(params) { + this.int32(-847714938); + }, + 'mt_rpc_answer_dropped': function(params) { + this.int32(-1539647305); + this.long(params.msg_id); + this.int(params.seq_no); + this.int(params.bytes); + }, + 'mt_future_salt': function(params) { + this.int32(155834844); + this.int(params.valid_since); + this.int(params.valid_until); + this.long(params.salt); + }, + 'mt_future_salts': function(params) { + this.int32(-1370486635); + this.long(params.req_msg_id); + this.int(params.now); + this.vector(this.predicate, params.salts); + }, + 'mt_pong': function(params) { + this.int32(880243653); + this.long(params.msg_id); + this.long(params.ping_id); + }, + 'mt_new_session_created': function(params) { + this.int32(-1631450872); + this.long(params.first_msg_id); + this.long(params.unique_id); + this.long(params.server_salt); + }, + 'mt_msg_container': function(params) { + this.int32(1945237724); + this.vector(this.predicate, params.messages); + }, + 'mt_message': function(params) { + this.int32(1538843921); + this.long(params.msg_id); + this.int(params.seqno); + this.int(params.bytes); + this.predicate(params.body); + }, + 'mt_msg_copy': function(params) { + this.int32(-530561358); + this.predicate(params.orig_message); + }, + 'mt_gzip_packed': function(params) { + this.int32(812830625); + this.bytes(params.packed_data); + }, + 'mt_msgs_ack': function(params) { + this.int32(1658238041); + this.vector(this.long, params.msg_ids); + }, + 'mt_bad_msg_notification': function(params) { + this.int32(-1477445615); + this.long(params.bad_msg_id); + this.int(params.bad_msg_seqno); + this.int(params.error_code); + }, + 'mt_bad_server_salt': function(params) { + this.int32(-307542917); + this.long(params.bad_msg_id); + this.int(params.bad_msg_seqno); + this.int(params.error_code); + this.long(params.new_server_salt); + }, + 'mt_msg_resend_req': function(params) { + this.int32(2105940488); + this.vector(this.long, params.msg_ids); + }, + 'mt_msg_resend_ans_req': function(params) { + this.int32(-2045723925); + this.vector(this.long, params.msg_ids); + }, + 'mt_msgs_state_req': function(params) { + this.int32(-630588590); + this.vector(this.long, params.msg_ids); + }, + 'mt_msgs_state_info': function(params) { + this.int32(81704317); + this.long(params.req_msg_id); + this.bytes(params.info); + }, + 'mt_msgs_all_info': function(params) { + this.int32(-1933520591); + this.vector(this.long, params.msg_ids); + this.bytes(params.info); + }, + 'mt_msg_detailed_info': function(params) { + this.int32(661470918); + this.long(params.msg_id); + this.long(params.answer_msg_id); + this.int(params.bytes); + this.int(params.status); + }, + 'mt_msg_new_detailed_info': function(params) { + this.int32(-2137147681); + this.long(params.answer_msg_id); + this.int(params.bytes); + this.int(params.status); + }, + 'mt_bind_auth_key_inner': function(params) { + this.int32(1973679973); + this.long(params.nonce); + this.long(params.temp_auth_key_id); + this.long(params.perm_auth_key_id); + this.long(params.temp_session_id); + this.int(params.expires_at); + }, + 'mt_destroy_auth_key_ok': function(params) { + this.int32(-161422892); + }, + 'mt_destroy_auth_key_none': function(params) { + this.int32(178201177); + }, + 'mt_destroy_auth_key_fail': function(params) { + this.int32(-368010477); + }, + 'mt_destroy_session_ok': function(params) { + this.int32(-501201412); + this.long(params.session_id); + }, + 'mt_destroy_session_none': function(params) { + this.int32(1658015945); + this.long(params.session_id); + }, + 'mt_req_pq': function(params) { + this.int32(1615239032); + this.int128(params.nonce); + }, + 'mt_req_pq_multi': function(params) { + this.int32(-1099002127); + this.int128(params.nonce); + }, + 'mt_req_DH_params': function(params) { + this.int32(-686627650); + this.int128(params.nonce); + this.int128(params.server_nonce); + this.bytes(params.p); + this.bytes(params.q); + this.long(params.public_key_fingerprint); + this.bytes(params.encrypted_data); + }, + 'mt_set_client_DH_params': function(params) { + this.int32(-184262881); + this.int128(params.nonce); + this.int128(params.server_nonce); + this.bytes(params.encrypted_data); + }, + 'mt_rpc_drop_answer': function(params) { + this.int32(1491380032); + this.long(params.req_msg_id); + }, + 'mt_get_future_salts': function(params) { + this.int32(-1188971260); + this.int(params.num); + }, + 'mt_ping': function(params) { + this.int32(2059302892); + this.long(params.ping_id); + }, + 'mt_ping_delay_disconnect': function(params) { + this.int32(-213746804); + this.long(params.ping_id); + this.int(params.disconnect_delay); + }, + 'mt_http_wait': function(params) { + this.int32(-1835453025); + this.int(params.max_delay); + this.int(params.wait_after); + this.int(params.max_wait); + }, + 'mt_destroy_auth_key': function(params) { + this.int32(-784117408); + }, + 'mt_destroy_session': function(params) { + this.int32(-414113498); + this.long(params.session_id); + }, + 'boolFalse': function(params) { + this.int32(-1132882121); + }, + 'boolTrue': function(params) { + this.int32(-1720552011); + }, + 'true': function(params) { + this.int32(1072550713); + }, + 'vector': function(params) { + this.int32(481674261); + }, + 'error': function(params) { + this.int32(-994444869); + this.int(params.code); + this.string(params.text); + }, + 'null': function(params) { + this.int32(1450380236); + }, + 'inputPeerEmpty': function(params) { + this.int32(2134579434); + }, + 'inputPeerSelf': function(params) { + this.int32(2107670217); + }, + 'inputPeerChat': function(params) { + this.int32(900291769); + this.long(params.chat_id); + }, + 'inputUserEmpty': function(params) { + this.int32(-1182234929); + }, + 'inputUserSelf': function(params) { + this.int32(-138301121); + }, + 'inputPhoneContact': function(params) { + this.int32(-208488460); + this.long(params.client_id); + this.string(params.phone); + this.string(params.first_name); + this.string(params.last_name); + }, + 'inputFile': function(params) { + this.int32(-181407105); + this.long(params.id); + this.int(params.parts); + this.string(params.name); + this.string(params.md5_checksum); + }, + 'inputMediaEmpty': function(params) { + this.int32(-1771768449); + }, + 'inputMediaUploadedPhoto': function(params) { + this.int32(505969924); + const flags = (this.has(params.spoiler) << 2) | (this.has(params.stickers) << 0) | (this.has(params.ttl_seconds) << 1); + this.int32(flags); + this.predicate(params.file); + this.flagVector(this.predicate, params.stickers); + this.flag(this.int, params.ttl_seconds); + }, + 'inputMediaPhoto': function(params) { + this.int32(-1279654347); + const flags = (this.has(params.spoiler) << 1) | (this.has(params.ttl_seconds) << 0); + this.int32(flags); + this.predicate(params.id); + this.flag(this.int, params.ttl_seconds); + }, + 'inputMediaGeoPoint': function(params) { + this.int32(-104578748); + this.predicate(params.geo_point); + }, + 'inputMediaContact': function(params) { + this.int32(-122978821); + this.string(params.phone_number); + this.string(params.first_name); + this.string(params.last_name); + this.string(params.vcard); + }, + 'inputChatPhotoEmpty': function(params) { + this.int32(480546647); + }, + 'inputChatUploadedPhoto': function(params) { + this.int32(-1110593856); + const flags = (this.has(params.file) << 0) | (this.has(params.video) << 1) | (this.has(params.video_start_ts) << 2) | (this.has(params.video_emoji_markup) << 3); + this.int32(flags); + this.flag(this.predicate, params.file); + this.flag(this.predicate, params.video); + this.flag(this.double, params.video_start_ts); + this.flag(this.predicate, params.video_emoji_markup); + }, + 'inputChatPhoto': function(params) { + this.int32(-1991004873); + this.predicate(params.id); + }, + 'inputGeoPointEmpty': function(params) { + this.int32(-457104426); + }, + 'inputGeoPoint': function(params) { + this.int32(1210199983); + const flags = (this.has(params.accuracy_radius) << 0); + this.int32(flags); + this.double(params.lat); + this.double(params.long); + this.flag(this.int, params.accuracy_radius); + }, + 'inputPhotoEmpty': function(params) { + this.int32(483901197); + }, + 'inputPhoto': function(params) { + this.int32(1001634122); + this.long(params.id); + this.long(params.access_hash); + this.bytes(params.file_reference); + }, + 'inputFileLocation': function(params) { + this.int32(-539317279); + this.long(params.volume_id); + this.int(params.local_id); + this.long(params.secret); + this.bytes(params.file_reference); + }, + 'peerUser': function(params) { + this.int32(1498486562); + this.long(params.user_id); + }, + 'peerChat': function(params) { + this.int32(918946202); + this.long(params.chat_id); + }, + 'storage.fileUnknown': function(params) { + this.int32(-1432995067); + }, + 'storage.filePartial': function(params) { + this.int32(1086091090); + }, + 'storage.fileJpeg': function(params) { + this.int32(8322574); + }, + 'storage.fileGif': function(params) { + this.int32(-891180321); + }, + 'storage.filePng': function(params) { + this.int32(172975040); + }, + 'storage.filePdf': function(params) { + this.int32(-1373745011); + }, + 'storage.fileMp3': function(params) { + this.int32(1384777335); + }, + 'storage.fileMov': function(params) { + this.int32(1258941372); + }, + 'storage.fileMp4': function(params) { + this.int32(-1278304028); + }, + 'storage.fileWebp': function(params) { + this.int32(276907596); + }, + 'userEmpty': function(params) { + this.int32(-742634630); + this.long(params.id); + }, + 'userProfilePhotoEmpty': function(params) { + this.int32(1326562017); + }, + 'userProfilePhoto': function(params) { + this.int32(-2100168954); + const flags = (this.has(params.has_video) << 0) | (this.has(params.personal) << 2) | (this.has(params.stripped_thumb) << 1); + this.int32(flags); + this.long(params.photo_id); + this.flag(this.bytes, params.stripped_thumb); + this.int(params.dc_id); + }, + 'userStatusEmpty': function(params) { + this.int32(164646985); + }, + 'userStatusOnline': function(params) { + this.int32(-306628279); + this.int(params.expires); + }, + 'userStatusOffline': function(params) { + this.int32(9203775); + this.int(params.was_online); + }, + 'chatEmpty': function(params) { + this.int32(693512293); + this.long(params.id); + }, + 'chat': function(params) { + this.int32(1103884886); + const flags = (this.has(params.creator) << 0) | (this.has(params.left) << 2) | (this.has(params.deactivated) << 5) | (this.has(params.call_active) << 23) | (this.has(params.call_not_empty) << 24) | (this.has(params.noforwards) << 25) | (this.has(params.migrated_to) << 6) | (this.has(params.admin_rights) << 14) | (this.has(params.default_banned_rights) << 18); + this.int32(flags); + this.long(params.id); + this.string(params.title); + this.predicate(params.photo); + this.int(params.participants_count); + this.int(params.date); + this.int(params.version); + this.flag(this.predicate, params.migrated_to); + this.flag(this.predicate, params.admin_rights); + this.flag(this.predicate, params.default_banned_rights); + }, + 'chatForbidden': function(params) { + this.int32(1704108455); + this.long(params.id); + this.string(params.title); + }, + 'chatFull': function(params) { + this.int32(-908914376); + const flags = (this.has(params.can_set_username) << 7) | (this.has(params.has_scheduled) << 8) | (this.has(params.translations_disabled) << 19) | (this.has(params.chat_photo) << 2) | (this.has(params.exported_invite) << 13) | (this.has(params.bot_info) << 3) | (this.has(params.pinned_msg_id) << 6) | (this.has(params.folder_id) << 11) | (this.has(params.call) << 12) | (this.has(params.ttl_period) << 14) | (this.has(params.groupcall_default_join_as) << 15) | (this.has(params.theme_emoticon) << 16) | (this.has(params.requests_pending) << 17) | (this.has(params.recent_requesters) << 17) | (this.has(params.available_reactions) << 18); + this.int32(flags); + this.long(params.id); + this.string(params.about); + this.predicate(params.participants); + this.flag(this.predicate, params.chat_photo); + this.predicate(params.notify_settings); + this.flag(this.predicate, params.exported_invite); + this.flagVector(this.predicate, params.bot_info); + this.flag(this.int, params.pinned_msg_id); + this.flag(this.int, params.folder_id); + this.flag(this.predicate, params.call); + this.flag(this.int, params.ttl_period); + this.flag(this.predicate, params.groupcall_default_join_as); + this.flag(this.string, params.theme_emoticon); + this.flag(this.int, params.requests_pending); + this.flagVector(this.long, params.recent_requesters); + this.flag(this.predicate, params.available_reactions); + }, + 'chatParticipant': function(params) { + this.int32(-1070776313); + this.long(params.user_id); + this.long(params.inviter_id); + this.int(params.date); + }, + 'chatParticipantsForbidden': function(params) { + this.int32(-2023500831); + const flags = (this.has(params.self_participant) << 0); + this.int32(flags); + this.long(params.chat_id); + this.flag(this.predicate, params.self_participant); + }, + 'chatParticipants': function(params) { + this.int32(1018991608); + this.long(params.chat_id); + this.vector(this.predicate, params.participants); + this.int(params.version); + }, + 'chatPhotoEmpty': function(params) { + this.int32(935395612); + }, + 'chatPhoto': function(params) { + this.int32(476978193); + const flags = (this.has(params.has_video) << 0) | (this.has(params.stripped_thumb) << 1); + this.int32(flags); + this.long(params.photo_id); + this.flag(this.bytes, params.stripped_thumb); + this.int(params.dc_id); + }, + 'messageEmpty': function(params) { + this.int32(-1868117372); + const flags = (this.has(params.peer_id) << 0); + this.int32(flags); + this.int(params.id); + this.flag(this.predicate, params.peer_id); + }, + 'message': function(params) { + this.int32(1992213009); + const flags = (this.has(params.out) << 1) | (this.has(params.mentioned) << 4) | (this.has(params.media_unread) << 5) | (this.has(params.silent) << 13) | (this.has(params.post) << 14) | (this.has(params.from_scheduled) << 18) | (this.has(params.legacy) << 19) | (this.has(params.edit_hide) << 21) | (this.has(params.pinned) << 24) | (this.has(params.noforwards) << 26) | (this.has(params.invert_media) << 27) | (this.has(params.from_id) << 8) | (this.has(params.saved_peer_id) << 28) | (this.has(params.fwd_from) << 2) | (this.has(params.via_bot_id) << 11) | (this.has(params.reply_to) << 3) | (this.has(params.media) << 9) | (this.has(params.reply_markup) << 6) | (this.has(params.entities) << 7) | (this.has(params.views) << 10) | (this.has(params.forwards) << 10) | (this.has(params.replies) << 23) | (this.has(params.edit_date) << 15) | (this.has(params.post_author) << 16) | (this.has(params.grouped_id) << 17) | (this.has(params.reactions) << 20) | (this.has(params.restriction_reason) << 22) | (this.has(params.ttl_period) << 25); + this.int32(flags); + this.int(params.id); + this.flag(this.predicate, params.from_id); + this.predicate(params.peer_id); + this.flag(this.predicate, params.saved_peer_id); + this.flag(this.predicate, params.fwd_from); + this.flag(this.long, params.via_bot_id); + this.flag(this.predicate, params.reply_to); + this.int(params.date); + this.string(params.message); + this.flag(this.predicate, params.media); + this.flag(this.predicate, params.reply_markup); + this.flagVector(this.predicate, params.entities); + this.flag(this.int, params.views); + this.flag(this.int, params.forwards); + this.flag(this.predicate, params.replies); + this.flag(this.int, params.edit_date); + this.flag(this.string, params.post_author); + this.flag(this.long, params.grouped_id); + this.flag(this.predicate, params.reactions); + this.flagVector(this.predicate, params.restriction_reason); + this.flag(this.int, params.ttl_period); + }, + 'messageService': function(params) { + this.int32(721967202); + const flags = (this.has(params.out) << 1) | (this.has(params.mentioned) << 4) | (this.has(params.media_unread) << 5) | (this.has(params.silent) << 13) | (this.has(params.post) << 14) | (this.has(params.legacy) << 19) | (this.has(params.from_id) << 8) | (this.has(params.reply_to) << 3) | (this.has(params.ttl_period) << 25); + this.int32(flags); + this.int(params.id); + this.flag(this.predicate, params.from_id); + this.predicate(params.peer_id); + this.flag(this.predicate, params.reply_to); + this.int(params.date); + this.predicate(params.action); + this.flag(this.int, params.ttl_period); + }, + 'messageMediaEmpty': function(params) { + this.int32(1038967584); + }, + 'messageMediaPhoto': function(params) { + this.int32(1766936791); + const flags = (this.has(params.spoiler) << 3) | (this.has(params.photo) << 0) | (this.has(params.ttl_seconds) << 2); + this.int32(flags); + this.flag(this.predicate, params.photo); + this.flag(this.int, params.ttl_seconds); + }, + 'messageMediaGeo': function(params) { + this.int32(1457575028); + this.predicate(params.geo); + }, + 'messageMediaContact': function(params) { + this.int32(1882335561); + this.string(params.phone_number); + this.string(params.first_name); + this.string(params.last_name); + this.string(params.vcard); + this.long(params.user_id); + }, + 'messageMediaUnsupported': function(params) { + this.int32(-1618676578); + }, + 'messageActionEmpty': function(params) { + this.int32(-1230047312); + }, + 'messageActionChatCreate': function(params) { + this.int32(-1119368275); + this.string(params.title); + this.vector(this.long, params.users); + }, + 'messageActionChatEditTitle': function(params) { + this.int32(-1247687078); + this.string(params.title); + }, + 'messageActionChatEditPhoto': function(params) { + this.int32(2144015272); + this.predicate(params.photo); + }, + 'messageActionChatDeletePhoto': function(params) { + this.int32(-1780220945); + }, + 'messageActionChatAddUser': function(params) { + this.int32(365886720); + this.vector(this.long, params.users); + }, + 'messageActionChatDeleteUser': function(params) { + this.int32(-1539362612); + this.long(params.user_id); + }, + 'dialog': function(params) { + this.int32(-712374074); + const flags = (this.has(params.pinned) << 2) | (this.has(params.unread_mark) << 3) | (this.has(params.view_forum_as_messages) << 6) | (this.has(params.pts) << 0) | (this.has(params.draft) << 1) | (this.has(params.folder_id) << 4) | (this.has(params.ttl_period) << 5); + this.int32(flags); + this.predicate(params.peer); + this.int(params.top_message); + this.int(params.read_inbox_max_id); + this.int(params.read_outbox_max_id); + this.int(params.unread_count); + this.int(params.unread_mentions_count); + this.int(params.unread_reactions_count); + this.predicate(params.notify_settings); + this.flag(this.int, params.pts); + this.flag(this.predicate, params.draft); + this.flag(this.int, params.folder_id); + this.flag(this.int, params.ttl_period); + }, + 'photoEmpty': function(params) { + this.int32(590459437); + this.long(params.id); + }, + 'photo': function(params) { + this.int32(-82216347); + const flags = (this.has(params.has_stickers) << 0) | (this.has(params.video_sizes) << 1); + this.int32(flags); + this.long(params.id); + this.long(params.access_hash); + this.bytes(params.file_reference); + this.int(params.date); + this.vector(this.predicate, params.sizes); + this.flagVector(this.predicate, params.video_sizes); + this.int(params.dc_id); + }, + 'photoSizeEmpty': function(params) { + this.int32(236446268); + this.string(params.type); + }, + 'photoSize': function(params) { + this.int32(1976012384); + this.string(params.type); + this.int(params.w); + this.int(params.h); + this.int(params.size); + }, + 'photoCachedSize': function(params) { + this.int32(35527382); + this.string(params.type); + this.int(params.w); + this.int(params.h); + this.bytes(params.bytes); + }, + 'geoPointEmpty': function(params) { + this.int32(286776671); + }, + 'geoPoint': function(params) { + this.int32(-1297942941); + const flags = (this.has(params.accuracy_radius) << 0); + this.int32(flags); + this.double(params.long); + this.double(params.lat); + this.long(params.access_hash); + this.flag(this.int, params.accuracy_radius); + }, + 'auth.sentCode': function(params) { + this.int32(1577067778); + const flags = (this.has(params.next_type) << 1) | (this.has(params.timeout) << 2); + this.int32(flags); + this.predicate(params.type); + this.string(params.phone_code_hash); + this.flag(this.predicate, params.next_type); + this.flag(this.int, params.timeout); + }, + 'auth.authorization': function(params) { + this.int32(782418132); + const flags = (this.has(params.setup_password_required) << 1) | (this.has(params.otherwise_relogin_days) << 1) | (this.has(params.tmp_sessions) << 0) | (this.has(params.future_auth_token) << 2); + this.int32(flags); + this.flag(this.int, params.otherwise_relogin_days); + this.flag(this.int, params.tmp_sessions); + this.flag(this.bytes, params.future_auth_token); + this.predicate(params.user); + }, + 'auth.exportedAuthorization': function(params) { + this.int32(-1271602504); + this.long(params.id); + this.bytes(params.bytes); + }, + 'inputNotifyPeer': function(params) { + this.int32(-1195615476); + this.predicate(params.peer); + }, + 'inputNotifyUsers': function(params) { + this.int32(423314455); + }, + 'inputNotifyChats': function(params) { + this.int32(1251338318); + }, + 'inputPeerNotifySettings': function(params) { + this.int32(-892638494); + const flags = (this.has(params.show_previews) << 0) | (this.has(params.silent) << 1) | (this.has(params.mute_until) << 2) | (this.has(params.sound) << 3) | (this.has(params.stories_muted) << 6) | (this.has(params.stories_hide_sender) << 7) | (this.has(params.stories_sound) << 8); + this.int32(flags); + this.flag(this.Bool, params.show_previews); + this.flag(this.Bool, params.silent); + this.flag(this.int, params.mute_until); + this.flag(this.predicate, params.sound); + this.flag(this.Bool, params.stories_muted); + this.flag(this.Bool, params.stories_hide_sender); + this.flag(this.predicate, params.stories_sound); + }, + 'peerNotifySettings': function(params) { + this.int32(-1721619444); + const flags = (this.has(params.show_previews) << 0) | (this.has(params.silent) << 1) | (this.has(params.mute_until) << 2) | (this.has(params.ios_sound) << 3) | (this.has(params.android_sound) << 4) | (this.has(params.other_sound) << 5) | (this.has(params.stories_muted) << 6) | (this.has(params.stories_hide_sender) << 7) | (this.has(params.stories_ios_sound) << 8) | (this.has(params.stories_android_sound) << 9) | (this.has(params.stories_other_sound) << 10); + this.int32(flags); + this.flag(this.Bool, params.show_previews); + this.flag(this.Bool, params.silent); + this.flag(this.int, params.mute_until); + this.flag(this.predicate, params.ios_sound); + this.flag(this.predicate, params.android_sound); + this.flag(this.predicate, params.other_sound); + this.flag(this.Bool, params.stories_muted); + this.flag(this.Bool, params.stories_hide_sender); + this.flag(this.predicate, params.stories_ios_sound); + this.flag(this.predicate, params.stories_android_sound); + this.flag(this.predicate, params.stories_other_sound); + }, + 'peerSettings': function(params) { + this.int32(-1525149427); + const flags = (this.has(params.report_spam) << 0) | (this.has(params.add_contact) << 1) | (this.has(params.block_contact) << 2) | (this.has(params.share_contact) << 3) | (this.has(params.need_contacts_exception) << 4) | (this.has(params.report_geo) << 5) | (this.has(params.autoarchived) << 7) | (this.has(params.invite_members) << 8) | (this.has(params.request_chat_broadcast) << 10) | (this.has(params.geo_distance) << 6) | (this.has(params.request_chat_title) << 9) | (this.has(params.request_chat_date) << 9); + this.int32(flags); + this.flag(this.int, params.geo_distance); + this.flag(this.string, params.request_chat_title); + this.flag(this.int, params.request_chat_date); + }, + 'wallPaper': function(params) { + this.int32(-1539849235); + this.long(params.id); + const flags = (this.has(params.creator) << 0) | (this.has(params.default) << 1) | (this.has(params.pattern) << 3) | (this.has(params.dark) << 4) | (this.has(params.settings) << 2); + this.int32(flags); + this.long(params.access_hash); + this.string(params.slug); + this.predicate(params.document); + this.flag(this.predicate, params.settings); + }, + 'inputReportReasonSpam': function(params) { + this.int32(1490799288); + }, + 'inputReportReasonViolence': function(params) { + this.int32(505595789); + }, + 'inputReportReasonPornography': function(params) { + this.int32(777640226); + }, + 'inputReportReasonChildAbuse': function(params) { + this.int32(-1376497949); + }, + 'inputReportReasonOther': function(params) { + this.int32(-1041980751); + }, + 'userFull': function(params) { + this.int32(-1179571092); + const flags = (this.has(params.blocked) << 0) | (this.has(params.phone_calls_available) << 4) | (this.has(params.phone_calls_private) << 5) | (this.has(params.can_pin_message) << 7) | (this.has(params.has_scheduled) << 12) | (this.has(params.video_calls_available) << 13) | (this.has(params.voice_messages_forbidden) << 20) | (this.has(params.translations_disabled) << 23) | (this.has(params.stories_pinned_available) << 26) | (this.has(params.blocked_my_stories_from) << 27) | (this.has(params.wallpaper_overridden) << 28) | (this.has(params.about) << 1) | (this.has(params.personal_photo) << 21) | (this.has(params.profile_photo) << 2) | (this.has(params.fallback_photo) << 22) | (this.has(params.bot_info) << 3) | (this.has(params.pinned_msg_id) << 6) | (this.has(params.folder_id) << 11) | (this.has(params.ttl_period) << 14) | (this.has(params.theme_emoticon) << 15) | (this.has(params.private_forward_name) << 16) | (this.has(params.bot_group_admin_rights) << 17) | (this.has(params.bot_broadcast_admin_rights) << 18) | (this.has(params.premium_gifts) << 19) | (this.has(params.wallpaper) << 24) | (this.has(params.stories) << 25); + this.int32(flags); + this.long(params.id); + this.flag(this.string, params.about); + this.predicate(params.settings); + this.flag(this.predicate, params.personal_photo); + this.flag(this.predicate, params.profile_photo); + this.flag(this.predicate, params.fallback_photo); + this.predicate(params.notify_settings); + this.flag(this.predicate, params.bot_info); + this.flag(this.int, params.pinned_msg_id); + this.int(params.common_chats_count); + this.flag(this.int, params.folder_id); + this.flag(this.int, params.ttl_period); + this.flag(this.string, params.theme_emoticon); + this.flag(this.string, params.private_forward_name); + this.flag(this.predicate, params.bot_group_admin_rights); + this.flag(this.predicate, params.bot_broadcast_admin_rights); + this.flagVector(this.predicate, params.premium_gifts); + this.flag(this.predicate, params.wallpaper); + this.flag(this.predicate, params.stories); + }, + 'contact': function(params) { + this.int32(341499403); + this.long(params.user_id); + this.Bool(params.mutual); + }, + 'importedContact': function(params) { + this.int32(-1052885936); + this.long(params.user_id); + this.long(params.client_id); + }, + 'contactStatus': function(params) { + this.int32(383348795); + this.long(params.user_id); + this.predicate(params.status); + }, + 'contacts.contactsNotModified': function(params) { + this.int32(-1219778094); + }, + 'contacts.contacts': function(params) { + this.int32(-353862078); + this.vector(this.predicate, params.contacts); + this.int(params.saved_count); + this.vector(this.predicate, params.users); + }, + 'contacts.importedContacts': function(params) { + this.int32(2010127419); + this.vector(this.predicate, params.imported); + this.vector(this.predicate, params.popular_invites); + this.vector(this.long, params.retry_contacts); + this.vector(this.predicate, params.users); + }, + 'contacts.blocked': function(params) { + this.int32(182326673); + this.vector(this.predicate, params.blocked); + this.vector(this.predicate, params.chats); + this.vector(this.predicate, params.users); + }, + 'contacts.blockedSlice': function(params) { + this.int32(-513392236); + this.int(params.count); + this.vector(this.predicate, params.blocked); + this.vector(this.predicate, params.chats); + this.vector(this.predicate, params.users); + }, + 'messages.dialogs': function(params) { + this.int32(364538944); + this.vector(this.predicate, params.dialogs); + this.vector(this.predicate, params.messages); + this.vector(this.predicate, params.chats); + this.vector(this.predicate, params.users); + }, + 'messages.dialogsSlice': function(params) { + this.int32(1910543603); + this.int(params.count); + this.vector(this.predicate, params.dialogs); + this.vector(this.predicate, params.messages); + this.vector(this.predicate, params.chats); + this.vector(this.predicate, params.users); + }, + 'messages.messages': function(params) { + this.int32(-1938715001); + this.vector(this.predicate, params.messages); + this.vector(this.predicate, params.chats); + this.vector(this.predicate, params.users); + }, + 'messages.messagesSlice': function(params) { + this.int32(978610270); + const flags = (this.has(params.inexact) << 1) | (this.has(params.next_rate) << 0) | (this.has(params.offset_id_offset) << 2); + this.int32(flags); + this.int(params.count); + this.flag(this.int, params.next_rate); + this.flag(this.int, params.offset_id_offset); + this.vector(this.predicate, params.messages); + this.vector(this.predicate, params.chats); + this.vector(this.predicate, params.users); + }, + 'messages.chats': function(params) { + this.int32(1694474197); + this.vector(this.predicate, params.chats); + }, + 'messages.chatFull': function(params) { + this.int32(-438840932); + this.predicate(params.full_chat); + this.vector(this.predicate, params.chats); + this.vector(this.predicate, params.users); + }, + 'messages.affectedHistory': function(params) { + this.int32(-1269012015); + this.int(params.pts); + this.int(params.pts_count); + this.int(params.offset); + }, + 'inputMessagesFilterEmpty': function(params) { + this.int32(1474492012); + }, + 'inputMessagesFilterPhotos': function(params) { + this.int32(-1777752804); + }, + 'inputMessagesFilterVideo': function(params) { + this.int32(-1614803355); + }, + 'inputMessagesFilterPhotoVideo': function(params) { + this.int32(1458172132); + }, + 'inputMessagesFilterDocument': function(params) { + this.int32(-1629621880); + }, + 'inputMessagesFilterUrl': function(params) { + this.int32(2129714567); + }, + 'inputMessagesFilterGif': function(params) { + this.int32(-3644025); + }, + 'updateNewMessage': function(params) { + this.int32(522914557); + this.predicate(params.message); + this.int(params.pts); + this.int(params.pts_count); + }, + 'updateMessageID': function(params) { + this.int32(1318109142); + this.int(params.id); + this.long(params.random_id); + }, + 'updateDeleteMessages': function(params) { + this.int32(-1576161051); + this.vector(this.int, params.messages); + this.int(params.pts); + this.int(params.pts_count); + }, + 'updateUserTyping': function(params) { + this.int32(-1071741569); + this.long(params.user_id); + this.predicate(params.action); + }, + 'updateChatUserTyping': function(params) { + this.int32(-2092401936); + this.long(params.chat_id); + this.predicate(params.from_id); + this.predicate(params.action); + }, + 'updateChatParticipants': function(params) { + this.int32(125178264); + this.predicate(params.participants); + }, + 'updateUserStatus': function(params) { + this.int32(-440534818); + this.long(params.user_id); + this.predicate(params.status); + }, + 'updateUserName': function(params) { + this.int32(-1484486364); + this.long(params.user_id); + this.string(params.first_name); + this.string(params.last_name); + this.vector(this.predicate, params.usernames); + }, + 'updateNewAuthorization': function(params) { + this.int32(-1991136273); + const flags = (this.has(params.unconfirmed) << 0) | (this.has(params.date) << 0) | (this.has(params.device) << 0) | (this.has(params.location) << 0); + this.int32(flags); + this.long(params.hash); + this.flag(this.int, params.date); + this.flag(this.string, params.device); + this.flag(this.string, params.location); + }, + 'updates.state': function(params) { + this.int32(-1519637954); + this.int(params.pts); + this.int(params.qts); + this.int(params.date); + this.int(params.seq); + this.int(params.unread_count); + }, + 'updates.differenceEmpty': function(params) { + this.int32(1567990072); + this.int(params.date); + this.int(params.seq); + }, + 'updates.difference': function(params) { + this.int32(16030880); + this.vector(this.predicate, params.new_messages); + this.vector(this.predicate, params.new_encrypted_messages); + this.vector(this.predicate, params.other_updates); + this.vector(this.predicate, params.chats); + this.vector(this.predicate, params.users); + this.predicate(params.state); + }, + 'updates.differenceSlice': function(params) { + this.int32(-1459938943); + this.vector(this.predicate, params.new_messages); + this.vector(this.predicate, params.new_encrypted_messages); + this.vector(this.predicate, params.other_updates); + this.vector(this.predicate, params.chats); + this.vector(this.predicate, params.users); + this.predicate(params.intermediate_state); + }, + 'updatesTooLong': function(params) { + this.int32(-484987010); + }, + 'updateShortMessage': function(params) { + this.int32(826001400); + const flags = (this.has(params.out) << 1) | (this.has(params.mentioned) << 4) | (this.has(params.media_unread) << 5) | (this.has(params.silent) << 13) | (this.has(params.fwd_from) << 2) | (this.has(params.via_bot_id) << 11) | (this.has(params.reply_to) << 3) | (this.has(params.entities) << 7) | (this.has(params.ttl_period) << 25); + this.int32(flags); + this.int(params.id); + this.long(params.user_id); + this.string(params.message); + this.int(params.pts); + this.int(params.pts_count); + this.int(params.date); + this.flag(this.predicate, params.fwd_from); + this.flag(this.long, params.via_bot_id); + this.flag(this.predicate, params.reply_to); + this.flagVector(this.predicate, params.entities); + this.flag(this.int, params.ttl_period); + }, + 'updateShortChatMessage': function(params) { + this.int32(1299050149); + const flags = (this.has(params.out) << 1) | (this.has(params.mentioned) << 4) | (this.has(params.media_unread) << 5) | (this.has(params.silent) << 13) | (this.has(params.fwd_from) << 2) | (this.has(params.via_bot_id) << 11) | (this.has(params.reply_to) << 3) | (this.has(params.entities) << 7) | (this.has(params.ttl_period) << 25); + this.int32(flags); + this.int(params.id); + this.long(params.from_id); + this.long(params.chat_id); + this.string(params.message); + this.int(params.pts); + this.int(params.pts_count); + this.int(params.date); + this.flag(this.predicate, params.fwd_from); + this.flag(this.long, params.via_bot_id); + this.flag(this.predicate, params.reply_to); + this.flagVector(this.predicate, params.entities); + this.flag(this.int, params.ttl_period); + }, + 'updateShort': function(params) { + this.int32(2027216577); + this.predicate(params.update); + this.int(params.date); + }, + 'updatesCombined': function(params) { + this.int32(1918567619); + this.vector(this.predicate, params.updates); + this.vector(this.predicate, params.users); + this.vector(this.predicate, params.chats); + this.int(params.date); + this.int(params.seq_start); + this.int(params.seq); + }, + 'updates': function(params) { + this.int32(1957577280); + this.vector(this.predicate, params.updates); + this.vector(this.predicate, params.users); + this.vector(this.predicate, params.chats); + this.int(params.date); + this.int(params.seq); + }, + 'photos.photos': function(params) { + this.int32(-1916114267); + this.vector(this.predicate, params.photos); + this.vector(this.predicate, params.users); + }, + 'photos.photosSlice': function(params) { + this.int32(352657236); + this.int(params.count); + this.vector(this.predicate, params.photos); + this.vector(this.predicate, params.users); + }, + 'photos.photo': function(params) { + this.int32(539045032); + this.predicate(params.photo); + this.vector(this.predicate, params.users); + }, + 'upload.file': function(params) { + this.int32(157948117); + this.predicate(params.type); + this.int(params.mtime); + this.bytes(params.bytes); + }, + 'dcOption': function(params) { + this.int32(414687501); + const flags = (this.has(params.ipv6) << 0) | (this.has(params.media_only) << 1) | (this.has(params.tcpo_only) << 2) | (this.has(params.cdn) << 3) | (this.has(params.static) << 4) | (this.has(params.this_port_only) << 5) | (this.has(params.secret) << 10); + this.int32(flags); + this.int(params.id); + this.string(params.ip_address); + this.int(params.port); + this.flag(this.bytes, params.secret); + }, + 'config': function(params) { + this.int32(-870702050); + const flags = (this.has(params.default_p2p_contacts) << 3) | (this.has(params.preload_featured_stickers) << 4) | (this.has(params.revoke_pm_inbox) << 6) | (this.has(params.blocked_mode) << 8) | (this.has(params.force_try_ipv6) << 14) | (this.has(params.tmp_sessions) << 0) | (this.has(params.autoupdate_url_prefix) << 7) | (this.has(params.gif_search_username) << 9) | (this.has(params.venue_search_username) << 10) | (this.has(params.img_search_username) << 11) | (this.has(params.static_maps_provider) << 12) | (this.has(params.suggested_lang_code) << 2) | (this.has(params.lang_pack_version) << 2) | (this.has(params.base_lang_pack_version) << 2) | (this.has(params.reactions_default) << 15) | (this.has(params.autologin_token) << 16); + this.int32(flags); + this.int(params.date); + this.int(params.expires); + this.Bool(params.test_mode); + this.int(params.this_dc); + this.vector(this.predicate, params.dc_options); + this.string(params.dc_txt_domain_name); + this.int(params.chat_size_max); + this.int(params.megagroup_size_max); + this.int(params.forwarded_count_max); + this.int(params.online_update_period_ms); + this.int(params.offline_blur_timeout_ms); + this.int(params.offline_idle_timeout_ms); + this.int(params.online_cloud_timeout_ms); + this.int(params.notify_cloud_delay_ms); + this.int(params.notify_default_delay_ms); + this.int(params.push_chat_period_ms); + this.int(params.push_chat_limit); + this.int(params.edit_time_limit); + this.int(params.revoke_time_limit); + this.int(params.revoke_pm_time_limit); + this.int(params.rating_e_decay); + this.int(params.stickers_recent_limit); + this.int(params.channels_read_media_period); + this.flag(this.int, params.tmp_sessions); + this.int(params.call_receive_timeout_ms); + this.int(params.call_ring_timeout_ms); + this.int(params.call_connect_timeout_ms); + this.int(params.call_packet_timeout_ms); + this.string(params.me_url_prefix); + this.flag(this.string, params.autoupdate_url_prefix); + this.flag(this.string, params.gif_search_username); + this.flag(this.string, params.venue_search_username); + this.flag(this.string, params.img_search_username); + this.flag(this.string, params.static_maps_provider); + this.int(params.caption_length_max); + this.int(params.message_length_max); + this.int(params.webfile_dc_id); + this.flag(this.string, params.suggested_lang_code); + this.flag(this.int, params.lang_pack_version); + this.flag(this.int, params.base_lang_pack_version); + this.flag(this.predicate, params.reactions_default); + this.flag(this.string, params.autologin_token); + }, + 'nearestDc': function(params) { + this.int32(-1910892683); + this.string(params.country); + this.int(params.this_dc); + this.int(params.nearest_dc); + }, + 'help.appUpdate': function(params) { + this.int32(-860107216); + const flags = (this.has(params.can_not_skip) << 0) | (this.has(params.document) << 1) | (this.has(params.url) << 2) | (this.has(params.sticker) << 3); + this.int32(flags); + this.int(params.id); + this.string(params.version); + this.string(params.text); + this.vector(this.predicate, params.entities); + this.flag(this.predicate, params.document); + this.flag(this.string, params.url); + this.flag(this.predicate, params.sticker); + }, + 'help.noAppUpdate': function(params) { + this.int32(-1000708810); + }, + 'help.inviteText': function(params) { + this.int32(415997816); + this.string(params.message); + }, + 'updateNewEncryptedMessage': function(params) { + this.int32(314359194); + this.predicate(params.message); + this.int(params.qts); + }, + 'updateEncryptedChatTyping': function(params) { + this.int32(386986326); + this.int(params.chat_id); + }, + 'updateEncryption': function(params) { + this.int32(-1264392051); + this.predicate(params.chat); + this.int(params.date); + }, + 'updateEncryptedMessagesRead': function(params) { + this.int32(956179895); + this.int(params.chat_id); + this.int(params.max_date); + this.int(params.date); + }, + 'encryptedChatEmpty': function(params) { + this.int32(-1417756512); + this.int(params.id); + }, + 'encryptedChatWaiting': function(params) { + this.int32(1722964307); + this.int(params.id); + this.long(params.access_hash); + this.int(params.date); + this.long(params.admin_id); + this.long(params.participant_id); + }, + 'encryptedChatRequested': function(params) { + this.int32(1223809356); + const flags = (this.has(params.folder_id) << 0); + this.int32(flags); + this.flag(this.int, params.folder_id); + this.int(params.id); + this.long(params.access_hash); + this.int(params.date); + this.long(params.admin_id); + this.long(params.participant_id); + this.bytes(params.g_a); + }, + 'encryptedChat': function(params) { + this.int32(1643173063); + this.int(params.id); + this.long(params.access_hash); + this.int(params.date); + this.long(params.admin_id); + this.long(params.participant_id); + this.bytes(params.g_a_or_b); + this.long(params.key_fingerprint); + }, + 'encryptedChatDiscarded': function(params) { + this.int32(505183301); + const flags = (this.has(params.history_deleted) << 0); + this.int32(flags); + this.int(params.id); + }, + 'inputEncryptedChat': function(params) { + this.int32(-247351839); + this.int(params.chat_id); + this.long(params.access_hash); + }, + 'encryptedFileEmpty': function(params) { + this.int32(-1038136962); + }, + 'encryptedFile': function(params) { + this.int32(-1476358952); + this.long(params.id); + this.long(params.access_hash); + this.long(params.size); + this.int(params.dc_id); + this.int(params.key_fingerprint); + }, + 'inputEncryptedFileEmpty': function(params) { + this.int32(406307684); + }, + 'inputEncryptedFileUploaded': function(params) { + this.int32(1690108678); + this.long(params.id); + this.int(params.parts); + this.string(params.md5_checksum); + this.int(params.key_fingerprint); + }, + 'inputEncryptedFile': function(params) { + this.int32(1511503333); + this.long(params.id); + this.long(params.access_hash); + }, + 'inputEncryptedFileLocation': function(params) { + this.int32(-182231723); + this.long(params.id); + this.long(params.access_hash); + }, + 'encryptedMessage': function(params) { + this.int32(-317144808); + this.long(params.random_id); + this.int(params.chat_id); + this.int(params.date); + this.bytes(params.bytes); + this.predicate(params.file); + }, + 'encryptedMessageService': function(params) { + this.int32(594758406); + this.long(params.random_id); + this.int(params.chat_id); + this.int(params.date); + this.bytes(params.bytes); + }, + 'messages.dhConfigNotModified': function(params) { + this.int32(-1058912715); + this.bytes(params.random); + }, + 'messages.dhConfig': function(params) { + this.int32(740433629); + this.int(params.g); + this.bytes(params.p); + this.int(params.version); + this.bytes(params.random); + }, + 'messages.sentEncryptedMessage': function(params) { + this.int32(1443858741); + this.int(params.date); + }, + 'messages.sentEncryptedFile': function(params) { + this.int32(-1802240206); + this.int(params.date); + this.predicate(params.file); + }, + 'inputFileBig': function(params) { + this.int32(-95482955); + this.long(params.id); + this.int(params.parts); + this.string(params.name); + }, + 'inputEncryptedFileBigUploaded': function(params) { + this.int32(767652808); + this.long(params.id); + this.int(params.parts); + this.int(params.key_fingerprint); + }, + 'updateChatParticipantAdd': function(params) { + this.int32(1037718609); + this.long(params.chat_id); + this.long(params.user_id); + this.long(params.inviter_id); + this.int(params.date); + this.int(params.version); + }, + 'updateChatParticipantDelete': function(params) { + this.int32(-483443337); + this.long(params.chat_id); + this.long(params.user_id); + this.int(params.version); + }, + 'updateDcOptions': function(params) { + this.int32(-1906403213); + this.vector(this.predicate, params.dc_options); + }, + 'inputMediaUploadedDocument': function(params) { + this.int32(1530447553); + const flags = (this.has(params.nosound_video) << 3) | (this.has(params.force_file) << 4) | (this.has(params.spoiler) << 5) | (this.has(params.thumb) << 2) | (this.has(params.stickers) << 0) | (this.has(params.ttl_seconds) << 1); + this.int32(flags); + this.predicate(params.file); + this.flag(this.predicate, params.thumb); + this.string(params.mime_type); + this.vector(this.predicate, params.attributes); + this.flagVector(this.predicate, params.stickers); + this.flag(this.int, params.ttl_seconds); + }, + 'inputMediaDocument': function(params) { + this.int32(860303448); + const flags = (this.has(params.spoiler) << 2) | (this.has(params.ttl_seconds) << 0) | (this.has(params.query) << 1); + this.int32(flags); + this.predicate(params.id); + this.flag(this.int, params.ttl_seconds); + this.flag(this.string, params.query); + }, + 'messageMediaDocument': function(params) { + this.int32(1291114285); + const flags = (this.has(params.nopremium) << 3) | (this.has(params.spoiler) << 4) | (this.has(params.video) << 6) | (this.has(params.round) << 7) | (this.has(params.voice) << 8) | (this.has(params.document) << 0) | (this.has(params.alt_document) << 5) | (this.has(params.ttl_seconds) << 2); + this.int32(flags); + this.flag(this.predicate, params.document); + this.flag(this.predicate, params.alt_document); + this.flag(this.int, params.ttl_seconds); + }, + 'inputDocumentEmpty': function(params) { + this.int32(1928391342); + }, + 'inputDocument': function(params) { + this.int32(448771445); + this.long(params.id); + this.long(params.access_hash); + this.bytes(params.file_reference); + }, + 'inputDocumentFileLocation': function(params) { + this.int32(-1160743548); + this.long(params.id); + this.long(params.access_hash); + this.bytes(params.file_reference); + this.string(params.thumb_size); + }, + 'documentEmpty': function(params) { + this.int32(922273905); + this.long(params.id); + }, + 'document': function(params) { + this.int32(-1881881384); + const flags = (this.has(params.thumbs) << 0) | (this.has(params.video_thumbs) << 1); + this.int32(flags); + this.long(params.id); + this.long(params.access_hash); + this.bytes(params.file_reference); + this.int(params.date); + this.string(params.mime_type); + this.long(params.size); + this.flagVector(this.predicate, params.thumbs); + this.flagVector(this.predicate, params.video_thumbs); + this.int(params.dc_id); + this.vector(this.predicate, params.attributes); + }, + 'help.support': function(params) { + this.int32(398898678); + this.string(params.phone_number); + this.predicate(params.user); + }, + 'notifyPeer': function(params) { + this.int32(-1613493288); + this.predicate(params.peer); + }, + 'notifyUsers': function(params) { + this.int32(-1261946036); + }, + 'notifyChats': function(params) { + this.int32(-1073230141); + }, + 'updateNotifySettings': function(params) { + this.int32(-1094555409); + this.predicate(params.peer); + this.predicate(params.notify_settings); + }, + 'sendMessageTypingAction': function(params) { + this.int32(381645902); + }, + 'sendMessageCancelAction': function(params) { + this.int32(-44119819); + }, + 'sendMessageRecordVideoAction': function(params) { + this.int32(-1584933265); + }, + 'sendMessageUploadVideoAction': function(params) { + this.int32(-378127636); + this.int(params.progress); + }, + 'sendMessageRecordAudioAction': function(params) { + this.int32(-718310409); + }, + 'sendMessageUploadAudioAction': function(params) { + this.int32(-212740181); + this.int(params.progress); + }, + 'sendMessageUploadPhotoAction': function(params) { + this.int32(-774682074); + this.int(params.progress); + }, + 'sendMessageUploadDocumentAction': function(params) { + this.int32(-1441998364); + this.int(params.progress); + }, + 'sendMessageGeoLocationAction': function(params) { + this.int32(393186209); + }, + 'sendMessageChooseContactAction': function(params) { + this.int32(1653390447); + }, + 'contacts.found': function(params) { + this.int32(-1290580579); + this.vector(this.predicate, params.my_results); + this.vector(this.predicate, params.results); + this.vector(this.predicate, params.chats); + this.vector(this.predicate, params.users); + }, + 'updateServiceNotification': function(params) { + this.int32(-337352679); + const flags = (this.has(params.popup) << 0) | (this.has(params.invert_media) << 2) | (this.has(params.inbox_date) << 1); + this.int32(flags); + this.flag(this.int, params.inbox_date); + this.string(params.type); + this.string(params.message); + this.predicate(params.media); + this.vector(this.predicate, params.entities); + }, + 'userStatusRecently': function(params) { + this.int32(-496024847); + }, + 'userStatusLastWeek': function(params) { + this.int32(129960444); + }, + 'userStatusLastMonth': function(params) { + this.int32(2011940674); + }, + 'updatePrivacy': function(params) { + this.int32(-298113238); + this.predicate(params.key); + this.vector(this.predicate, params.rules); + }, + 'inputPrivacyKeyStatusTimestamp': function(params) { + this.int32(1335282456); + }, + 'privacyKeyStatusTimestamp': function(params) { + this.int32(-1137792208); + }, + 'inputPrivacyValueAllowContacts': function(params) { + this.int32(218751099); + }, + 'inputPrivacyValueAllowAll': function(params) { + this.int32(407582158); + }, + 'inputPrivacyValueAllowUsers': function(params) { + this.int32(320652927); + this.vector(this.predicate, params.users); + }, + 'inputPrivacyValueDisallowContacts': function(params) { + this.int32(195371015); + }, + 'inputPrivacyValueDisallowAll': function(params) { + this.int32(-697604407); + }, + 'inputPrivacyValueDisallowUsers': function(params) { + this.int32(-1877932953); + this.vector(this.predicate, params.users); + }, + 'privacyValueAllowContacts': function(params) { + this.int32(-123988); + }, + 'privacyValueAllowAll': function(params) { + this.int32(1698855810); + }, + 'privacyValueAllowUsers': function(params) { + this.int32(-1198497870); + this.vector(this.long, params.users); + }, + 'privacyValueDisallowContacts': function(params) { + this.int32(-125240806); + }, + 'privacyValueDisallowAll': function(params) { + this.int32(-1955338397); + }, + 'privacyValueDisallowUsers': function(params) { + this.int32(-463335103); + this.vector(this.long, params.users); + }, + 'account.privacyRules': function(params) { + this.int32(1352683077); + this.vector(this.predicate, params.rules); + this.vector(this.predicate, params.chats); + this.vector(this.predicate, params.users); + }, + 'accountDaysTTL': function(params) { + this.int32(-1194283041); + this.int(params.days); + }, + 'updateUserPhone': function(params) { + this.int32(88680979); + this.long(params.user_id); + this.string(params.phone); + }, + 'documentAttributeImageSize': function(params) { + this.int32(1815593308); + this.int(params.w); + this.int(params.h); + }, + 'documentAttributeAnimated': function(params) { + this.int32(297109817); + }, + 'documentAttributeSticker': function(params) { + this.int32(1662637586); + const flags = (this.has(params.mask) << 1) | (this.has(params.mask_coords) << 0); + this.int32(flags); + this.string(params.alt); + this.predicate(params.stickerset); + this.flag(this.predicate, params.mask_coords); + }, + 'documentAttributeVideo': function(params) { + this.int32(-745541182); + const flags = (this.has(params.round_message) << 0) | (this.has(params.supports_streaming) << 1) | (this.has(params.nosound) << 3) | (this.has(params.preload_prefix_size) << 2); + this.int32(flags); + this.double(params.duration); + this.int(params.w); + this.int(params.h); + this.flag(this.int, params.preload_prefix_size); + }, + 'documentAttributeAudio': function(params) { + this.int32(-1739392570); + const flags = (this.has(params.voice) << 10) | (this.has(params.title) << 0) | (this.has(params.performer) << 1) | (this.has(params.waveform) << 2); + this.int32(flags); + this.int(params.duration); + this.flag(this.string, params.title); + this.flag(this.string, params.performer); + this.flag(this.bytes, params.waveform); + }, + 'documentAttributeFilename': function(params) { + this.int32(358154344); + this.string(params.file_name); + }, + 'messages.stickersNotModified': function(params) { + this.int32(-244016606); + }, + 'messages.stickers': function(params) { + this.int32(816245886); + this.long(params.hash); + this.vector(this.predicate, params.stickers); + }, + 'stickerPack': function(params) { + this.int32(313694676); + this.string(params.emoticon); + this.vector(this.long, params.documents); + }, + 'messages.allStickersNotModified': function(params) { + this.int32(-395967805); + }, + 'messages.allStickers': function(params) { + this.int32(-843329861); + this.long(params.hash); + this.vector(this.predicate, params.sets); + }, + 'updateReadHistoryInbox': function(params) { + this.int32(-1667805217); + const flags = (this.has(params.folder_id) << 0); + this.int32(flags); + this.flag(this.int, params.folder_id); + this.predicate(params.peer); + this.int(params.max_id); + this.int(params.still_unread_count); + this.int(params.pts); + this.int(params.pts_count); + }, + 'updateReadHistoryOutbox': function(params) { + this.int32(791617983); + this.predicate(params.peer); + this.int(params.max_id); + this.int(params.pts); + this.int(params.pts_count); + }, + 'messages.affectedMessages': function(params) { + this.int32(-2066640507); + this.int(params.pts); + this.int(params.pts_count); + }, + 'updateWebPage': function(params) { + this.int32(2139689491); + this.predicate(params.webpage); + this.int(params.pts); + this.int(params.pts_count); + }, + 'webPageEmpty': function(params) { + this.int32(555358088); + const flags = (this.has(params.url) << 0); + this.int32(flags); + this.long(params.id); + this.flag(this.string, params.url); + }, + 'webPagePending': function(params) { + this.int32(-1328464313); + const flags = (this.has(params.url) << 0); + this.int32(flags); + this.long(params.id); + this.flag(this.string, params.url); + this.int(params.date); + }, + 'webPage': function(params) { + this.int32(-392411726); + const flags = (this.has(params.has_large_media) << 13) | (this.has(params.type) << 0) | (this.has(params.site_name) << 1) | (this.has(params.title) << 2) | (this.has(params.description) << 3) | (this.has(params.photo) << 4) | (this.has(params.embed_url) << 5) | (this.has(params.embed_type) << 5) | (this.has(params.embed_width) << 6) | (this.has(params.embed_height) << 6) | (this.has(params.duration) << 7) | (this.has(params.author) << 8) | (this.has(params.document) << 9) | (this.has(params.cached_page) << 10) | (this.has(params.attributes) << 12); + this.int32(flags); + this.long(params.id); + this.string(params.url); + this.string(params.display_url); + this.int(params.hash); + this.flag(this.string, params.type); + this.flag(this.string, params.site_name); + this.flag(this.string, params.title); + this.flag(this.string, params.description); + this.flag(this.predicate, params.photo); + this.flag(this.string, params.embed_url); + this.flag(this.string, params.embed_type); + this.flag(this.int, params.embed_width); + this.flag(this.int, params.embed_height); + this.flag(this.int, params.duration); + this.flag(this.string, params.author); + this.flag(this.predicate, params.document); + this.flag(this.predicate, params.cached_page); + this.flagVector(this.predicate, params.attributes); + }, + 'messageMediaWebPage': function(params) { + this.int32(-571405253); + const flags = (this.has(params.force_large_media) << 0) | (this.has(params.force_small_media) << 1) | (this.has(params.manual) << 3) | (this.has(params.safe) << 4); + this.int32(flags); + this.predicate(params.webpage); + }, + 'authorization': function(params) { + this.int32(-1392388579); + const flags = (this.has(params.current) << 0) | (this.has(params.official_app) << 1) | (this.has(params.password_pending) << 2) | (this.has(params.encrypted_requests_disabled) << 3) | (this.has(params.call_requests_disabled) << 4) | (this.has(params.unconfirmed) << 5); + this.int32(flags); + this.long(params.hash); + this.string(params.device_model); + this.string(params.platform); + this.string(params.system_version); + this.int(params.api_id); + this.string(params.app_name); + this.string(params.app_version); + this.int(params.date_created); + this.int(params.date_active); + this.string(params.ip); + this.string(params.country); + this.string(params.region); + }, + 'account.authorizations': function(params) { + this.int32(1275039392); + this.int(params.authorization_ttl_days); + this.vector(this.predicate, params.authorizations); + }, + 'account.password': function(params) { + this.int32(-1787080453); + const flags = (this.has(params.has_recovery) << 0) | (this.has(params.has_secure_values) << 1) | (this.has(params.has_password) << 2) | (this.has(params.current_algo) << 2) | (this.has(params.srp_B) << 2) | (this.has(params.srp_id) << 2) | (this.has(params.hint) << 3) | (this.has(params.email_unconfirmed_pattern) << 4) | (this.has(params.pending_reset_date) << 5) | (this.has(params.login_email_pattern) << 6); + this.int32(flags); + this.flag(this.predicate, params.current_algo); + this.flag(this.bytes, params.srp_B); + this.flag(this.long, params.srp_id); + this.flag(this.string, params.hint); + this.flag(this.string, params.email_unconfirmed_pattern); + this.predicate(params.new_algo); + this.predicate(params.new_secure_algo); + this.bytes(params.secure_random); + this.flag(this.int, params.pending_reset_date); + this.flag(this.string, params.login_email_pattern); + }, + 'account.passwordSettings': function(params) { + this.int32(-1705233435); + const flags = (this.has(params.email) << 0) | (this.has(params.secure_settings) << 1); + this.int32(flags); + this.flag(this.string, params.email); + this.flag(this.predicate, params.secure_settings); + }, + 'account.passwordInputSettings': function(params) { + this.int32(-1036572727); + const flags = (this.has(params.new_algo) << 0) | (this.has(params.new_password_hash) << 0) | (this.has(params.hint) << 0) | (this.has(params.email) << 1) | (this.has(params.new_secure_settings) << 2); + this.int32(flags); + this.flag(this.predicate, params.new_algo); + this.flag(this.bytes, params.new_password_hash); + this.flag(this.string, params.hint); + this.flag(this.string, params.email); + this.flag(this.predicate, params.new_secure_settings); + }, + 'auth.passwordRecovery': function(params) { + this.int32(326715557); + this.string(params.email_pattern); + }, + 'inputMediaVenue': function(params) { + this.int32(-1052959727); + this.predicate(params.geo_point); + this.string(params.title); + this.string(params.address); + this.string(params.provider); + this.string(params.venue_id); + this.string(params.venue_type); + }, + 'messageMediaVenue': function(params) { + this.int32(784356159); + this.predicate(params.geo); + this.string(params.title); + this.string(params.address); + this.string(params.provider); + this.string(params.venue_id); + this.string(params.venue_type); + }, + 'receivedNotifyMessage': function(params) { + this.int32(-1551583367); + this.int(params.id); + this.int(params.flags); + }, + 'chatInviteExported': function(params) { + this.int32(179611673); + const flags = (this.has(params.revoked) << 0) | (this.has(params.permanent) << 5) | (this.has(params.request_needed) << 6) | (this.has(params.start_date) << 4) | (this.has(params.expire_date) << 1) | (this.has(params.usage_limit) << 2) | (this.has(params.usage) << 3) | (this.has(params.requested) << 7) | (this.has(params.title) << 8); + this.int32(flags); + this.string(params.link); + this.long(params.admin_id); + this.int(params.date); + this.flag(this.int, params.start_date); + this.flag(this.int, params.expire_date); + this.flag(this.int, params.usage_limit); + this.flag(this.int, params.usage); + this.flag(this.int, params.requested); + this.flag(this.string, params.title); + }, + 'chatInviteAlready': function(params) { + this.int32(1516793212); + this.predicate(params.chat); + }, + 'chatInvite': function(params) { + this.int32(-840897472); + const flags = (this.has(params.channel) << 0) | (this.has(params.broadcast) << 1) | (this.has(params.public) << 2) | (this.has(params.megagroup) << 3) | (this.has(params.request_needed) << 6) | (this.has(params.verified) << 7) | (this.has(params.scam) << 8) | (this.has(params.fake) << 9) | (this.has(params.about) << 5) | (this.has(params.participants) << 4); + this.int32(flags); + this.string(params.title); + this.flag(this.string, params.about); + this.predicate(params.photo); + this.int(params.participants_count); + this.flagVector(this.predicate, params.participants); + this.int(params.color); + }, + 'messageActionChatJoinedByLink': function(params) { + this.int32(51520707); + this.long(params.inviter_id); + }, + 'updateReadMessagesContents': function(params) { + this.int32(-131960447); + const flags = (this.has(params.date) << 0); + this.int32(flags); + this.vector(this.int, params.messages); + this.int(params.pts); + this.int(params.pts_count); + this.flag(this.int, params.date); + }, + 'inputStickerSetEmpty': function(params) { + this.int32(-4838507); + }, + 'inputStickerSetID': function(params) { + this.int32(-1645763991); + this.long(params.id); + this.long(params.access_hash); + }, + 'inputStickerSetShortName': function(params) { + this.int32(-2044933984); + this.string(params.short_name); + }, + 'stickerSet': function(params) { + this.int32(768691932); + const flags = (this.has(params.archived) << 1) | (this.has(params.official) << 2) | (this.has(params.masks) << 3) | (this.has(params.animated) << 5) | (this.has(params.videos) << 6) | (this.has(params.emojis) << 7) | (this.has(params.text_color) << 9) | (this.has(params.channel_emoji_status) << 10) | (this.has(params.installed_date) << 0) | (this.has(params.thumbs) << 4) | (this.has(params.thumb_dc_id) << 4) | (this.has(params.thumb_version) << 4) | (this.has(params.thumb_document_id) << 8); + this.int32(flags); + this.flag(this.int, params.installed_date); + this.long(params.id); + this.long(params.access_hash); + this.string(params.title); + this.string(params.short_name); + this.flagVector(this.predicate, params.thumbs); + this.flag(this.int, params.thumb_dc_id); + this.flag(this.int, params.thumb_version); + this.flag(this.long, params.thumb_document_id); + this.int(params.count); + this.int(params.hash); + }, + 'messages.stickerSet': function(params) { + this.int32(1846886166); + this.predicate(params.set); + this.vector(this.predicate, params.packs); + this.vector(this.predicate, params.keywords); + this.vector(this.predicate, params.documents); + }, + 'user': function(params) { + this.int32(559694904); + const flags = (this.has(params.self) << 10) | (this.has(params.contact) << 11) | (this.has(params.mutual_contact) << 12) | (this.has(params.deleted) << 13) | (this.has(params.bot) << 14) | (this.has(params.bot_chat_history) << 15) | (this.has(params.bot_nochats) << 16) | (this.has(params.verified) << 17) | (this.has(params.restricted) << 18) | (this.has(params.min) << 20) | (this.has(params.bot_inline_geo) << 21) | (this.has(params.support) << 23) | (this.has(params.scam) << 24) | (this.has(params.apply_min_photo) << 25) | (this.has(params.fake) << 26) | (this.has(params.bot_attach_menu) << 27) | (this.has(params.premium) << 28) | (this.has(params.attach_menu_enabled) << 29) | (this.has(params.access_hash) << 0) | (this.has(params.first_name) << 1) | (this.has(params.last_name) << 2) | (this.has(params.username) << 3) | (this.has(params.phone) << 4) | (this.has(params.photo) << 5) | (this.has(params.status) << 6) | (this.has(params.bot_info_version) << 14) | (this.has(params.restriction_reason) << 18) | (this.has(params.bot_inline_placeholder) << 19) | (this.has(params.lang_code) << 22) | (this.has(params.emoji_status) << 30); + this.int32(flags); + const flags2 = (this.has(params.bot_can_edit) << 1) | (this.has(params.close_friend) << 2) | (this.has(params.stories_hidden) << 3) | (this.has(params.stories_unavailable) << 4) | (this.has(params.usernames) << 0) | (this.has(params.stories_max_id) << 5) | (this.has(params.color) << 8) | (this.has(params.profile_color) << 9); + this.int32(flags2); + this.long(params.id); + this.flag(this.long, params.access_hash); + this.flag(this.string, params.first_name); + this.flag(this.string, params.last_name); + this.flag(this.string, params.username); + this.flag(this.string, params.phone); + this.flag(this.predicate, params.photo); + this.flag(this.predicate, params.status); + this.flag(this.int, params.bot_info_version); + this.flagVector(this.predicate, params.restriction_reason); + this.flag(this.string, params.bot_inline_placeholder); + this.flag(this.string, params.lang_code); + this.flag(this.predicate, params.emoji_status); + this.flagVector(this.predicate, params.usernames); + this.flag(this.int, params.stories_max_id); + this.flag(this.predicate, params.color); + this.flag(this.predicate, params.profile_color); + }, + 'botCommand': function(params) { + this.int32(-1032140601); + this.string(params.command); + this.string(params.description); + }, + 'botInfo': function(params) { + this.int32(-1892676777); + const flags = (this.has(params.user_id) << 0) | (this.has(params.description) << 1) | (this.has(params.description_photo) << 4) | (this.has(params.description_document) << 5) | (this.has(params.commands) << 2) | (this.has(params.menu_button) << 3); + this.int32(flags); + this.flag(this.long, params.user_id); + this.flag(this.string, params.description); + this.flag(this.predicate, params.description_photo); + this.flag(this.predicate, params.description_document); + this.flagVector(this.predicate, params.commands); + this.flag(this.predicate, params.menu_button); + }, + 'keyboardButton': function(params) { + this.int32(-1560655744); + this.string(params.text); + }, + 'keyboardButtonRow': function(params) { + this.int32(2002815875); + this.vector(this.predicate, params.buttons); + }, + 'replyKeyboardHide': function(params) { + this.int32(-1606526075); + const flags = (this.has(params.selective) << 2); + this.int32(flags); + }, + 'replyKeyboardForceReply': function(params) { + this.int32(-2035021048); + const flags = (this.has(params.single_use) << 1) | (this.has(params.selective) << 2) | (this.has(params.placeholder) << 3); + this.int32(flags); + this.flag(this.string, params.placeholder); + }, + 'replyKeyboardMarkup': function(params) { + this.int32(-2049074735); + const flags = (this.has(params.resize) << 0) | (this.has(params.single_use) << 1) | (this.has(params.selective) << 2) | (this.has(params.persistent) << 4) | (this.has(params.placeholder) << 3); + this.int32(flags); + this.vector(this.predicate, params.rows); + this.flag(this.string, params.placeholder); + }, + 'inputPeerUser': function(params) { + this.int32(-571955892); + this.long(params.user_id); + this.long(params.access_hash); + }, + 'inputUser': function(params) { + this.int32(-233744186); + this.long(params.user_id); + this.long(params.access_hash); + }, + 'messageEntityUnknown': function(params) { + this.int32(-1148011883); + this.int(params.offset); + this.int(params.length); + }, + 'messageEntityMention': function(params) { + this.int32(-100378723); + this.int(params.offset); + this.int(params.length); + }, + 'messageEntityHashtag': function(params) { + this.int32(1868782349); + this.int(params.offset); + this.int(params.length); + }, + 'messageEntityBotCommand': function(params) { + this.int32(1827637959); + this.int(params.offset); + this.int(params.length); + }, + 'messageEntityUrl': function(params) { + this.int32(1859134776); + this.int(params.offset); + this.int(params.length); + }, + 'messageEntityEmail': function(params) { + this.int32(1692693954); + this.int(params.offset); + this.int(params.length); + }, + 'messageEntityBold': function(params) { + this.int32(-1117713463); + this.int(params.offset); + this.int(params.length); + }, + 'messageEntityItalic': function(params) { + this.int32(-2106619040); + this.int(params.offset); + this.int(params.length); + }, + 'messageEntityCode': function(params) { + this.int32(681706865); + this.int(params.offset); + this.int(params.length); + }, + 'messageEntityPre': function(params) { + this.int32(1938967520); + this.int(params.offset); + this.int(params.length); + this.string(params.language); + }, + 'messageEntityTextUrl': function(params) { + this.int32(1990644519); + this.int(params.offset); + this.int(params.length); + this.string(params.url); + }, + 'updateShortSentMessage': function(params) { + this.int32(-1877614335); + const flags = (this.has(params.out) << 1) | (this.has(params.media) << 9) | (this.has(params.entities) << 7) | (this.has(params.ttl_period) << 25); + this.int32(flags); + this.int(params.id); + this.int(params.pts); + this.int(params.pts_count); + this.int(params.date); + this.flag(this.predicate, params.media); + this.flagVector(this.predicate, params.entities); + this.flag(this.int, params.ttl_period); + }, + 'inputChannelEmpty': function(params) { + this.int32(-292807034); + }, + 'inputChannel': function(params) { + this.int32(-212145112); + this.long(params.channel_id); + this.long(params.access_hash); + }, + 'peerChannel': function(params) { + this.int32(-1566230754); + this.long(params.channel_id); + }, + 'inputPeerChannel': function(params) { + this.int32(666680316); + this.long(params.channel_id); + this.long(params.access_hash); + }, + 'channel': function(params) { + this.int32(179174543); + const flags = (this.has(params.creator) << 0) | (this.has(params.left) << 2) | (this.has(params.broadcast) << 5) | (this.has(params.verified) << 7) | (this.has(params.megagroup) << 8) | (this.has(params.restricted) << 9) | (this.has(params.signatures) << 11) | (this.has(params.min) << 12) | (this.has(params.scam) << 19) | (this.has(params.has_link) << 20) | (this.has(params.has_geo) << 21) | (this.has(params.slowmode_enabled) << 22) | (this.has(params.call_active) << 23) | (this.has(params.call_not_empty) << 24) | (this.has(params.fake) << 25) | (this.has(params.gigagroup) << 26) | (this.has(params.noforwards) << 27) | (this.has(params.join_to_send) << 28) | (this.has(params.join_request) << 29) | (this.has(params.forum) << 30) | (this.has(params.access_hash) << 13) | (this.has(params.username) << 6) | (this.has(params.restriction_reason) << 9) | (this.has(params.admin_rights) << 14) | (this.has(params.banned_rights) << 15) | (this.has(params.default_banned_rights) << 18) | (this.has(params.participants_count) << 17); + this.int32(flags); + const flags2 = (this.has(params.stories_hidden) << 1) | (this.has(params.stories_hidden_min) << 2) | (this.has(params.stories_unavailable) << 3) | (this.has(params.usernames) << 0) | (this.has(params.stories_max_id) << 4) | (this.has(params.color) << 7) | (this.has(params.profile_color) << 8) | (this.has(params.emoji_status) << 9) | (this.has(params.level) << 10); + this.int32(flags2); + this.long(params.id); + this.flag(this.long, params.access_hash); + this.string(params.title); + this.flag(this.string, params.username); + this.predicate(params.photo); + this.int(params.date); + this.flagVector(this.predicate, params.restriction_reason); + this.flag(this.predicate, params.admin_rights); + this.flag(this.predicate, params.banned_rights); + this.flag(this.predicate, params.default_banned_rights); + this.flag(this.int, params.participants_count); + this.flagVector(this.predicate, params.usernames); + this.flag(this.int, params.stories_max_id); + this.flag(this.predicate, params.color); + this.flag(this.predicate, params.profile_color); + this.flag(this.predicate, params.emoji_status); + this.flag(this.int, params.level); + }, + 'channelForbidden': function(params) { + this.int32(399807445); + const flags = (this.has(params.broadcast) << 5) | (this.has(params.megagroup) << 8) | (this.has(params.until_date) << 16); + this.int32(flags); + this.long(params.id); + this.long(params.access_hash); + this.string(params.title); + this.flag(this.int, params.until_date); + }, + 'contacts.resolvedPeer': function(params) { + this.int32(2131196633); + this.predicate(params.peer); + this.vector(this.predicate, params.chats); + this.vector(this.predicate, params.users); + }, + 'channelFull': function(params) { + this.int32(254528367); + const flags = (this.has(params.can_view_participants) << 3) | (this.has(params.can_set_username) << 6) | (this.has(params.can_set_stickers) << 7) | (this.has(params.hidden_prehistory) << 10) | (this.has(params.can_set_location) << 16) | (this.has(params.has_scheduled) << 19) | (this.has(params.can_view_stats) << 20) | (this.has(params.blocked) << 22) | (this.has(params.participants_count) << 0) | (this.has(params.admins_count) << 1) | (this.has(params.kicked_count) << 2) | (this.has(params.banned_count) << 2) | (this.has(params.online_count) << 13) | (this.has(params.exported_invite) << 23) | (this.has(params.migrated_from_chat_id) << 4) | (this.has(params.migrated_from_max_id) << 4) | (this.has(params.pinned_msg_id) << 5) | (this.has(params.stickerset) << 8) | (this.has(params.available_min_id) << 9) | (this.has(params.folder_id) << 11) | (this.has(params.linked_chat_id) << 14) | (this.has(params.location) << 15) | (this.has(params.slowmode_seconds) << 17) | (this.has(params.slowmode_next_send_date) << 18) | (this.has(params.stats_dc) << 12) | (this.has(params.call) << 21) | (this.has(params.ttl_period) << 24) | (this.has(params.pending_suggestions) << 25) | (this.has(params.groupcall_default_join_as) << 26) | (this.has(params.theme_emoticon) << 27) | (this.has(params.requests_pending) << 28) | (this.has(params.recent_requesters) << 28) | (this.has(params.default_send_as) << 29) | (this.has(params.available_reactions) << 30); + this.int32(flags); + const flags2 = (this.has(params.can_delete_channel) << 0) | (this.has(params.antispam) << 1) | (this.has(params.participants_hidden) << 2) | (this.has(params.translations_disabled) << 3) | (this.has(params.stories_pinned_available) << 5) | (this.has(params.view_forum_as_messages) << 6) | (this.has(params.stories) << 4) | (this.has(params.wallpaper) << 7); + this.int32(flags2); + this.long(params.id); + this.string(params.about); + this.flag(this.int, params.participants_count); + this.flag(this.int, params.admins_count); + this.flag(this.int, params.kicked_count); + this.flag(this.int, params.banned_count); + this.flag(this.int, params.online_count); + this.int(params.read_inbox_max_id); + this.int(params.read_outbox_max_id); + this.int(params.unread_count); + this.predicate(params.chat_photo); + this.predicate(params.notify_settings); + this.flag(this.predicate, params.exported_invite); + this.vector(this.predicate, params.bot_info); + this.flag(this.long, params.migrated_from_chat_id); + this.flag(this.int, params.migrated_from_max_id); + this.flag(this.int, params.pinned_msg_id); + this.flag(this.predicate, params.stickerset); + this.flag(this.int, params.available_min_id); + this.flag(this.int, params.folder_id); + this.flag(this.long, params.linked_chat_id); + this.flag(this.predicate, params.location); + this.flag(this.int, params.slowmode_seconds); + this.flag(this.int, params.slowmode_next_send_date); + this.flag(this.int, params.stats_dc); + this.int(params.pts); + this.flag(this.predicate, params.call); + this.flag(this.int, params.ttl_period); + this.flagVector(this.string, params.pending_suggestions); + this.flag(this.predicate, params.groupcall_default_join_as); + this.flag(this.string, params.theme_emoticon); + this.flag(this.int, params.requests_pending); + this.flagVector(this.long, params.recent_requesters); + this.flag(this.predicate, params.default_send_as); + this.flag(this.predicate, params.available_reactions); + this.flag(this.predicate, params.stories); + this.flag(this.predicate, params.wallpaper); + }, + 'messageRange': function(params) { + this.int32(182649427); + this.int(params.min_id); + this.int(params.max_id); + }, + 'messages.channelMessages': function(params) { + this.int32(-948520370); + const flags = (this.has(params.inexact) << 1) | (this.has(params.offset_id_offset) << 2); + this.int32(flags); + this.int(params.pts); + this.int(params.count); + this.flag(this.int, params.offset_id_offset); + this.vector(this.predicate, params.messages); + this.vector(this.predicate, params.topics); + this.vector(this.predicate, params.chats); + this.vector(this.predicate, params.users); + }, + 'messageActionChannelCreate': function(params) { + this.int32(-1781355374); + this.string(params.title); + }, + 'updateChannelTooLong': function(params) { + this.int32(277713951); + const flags = (this.has(params.pts) << 0); + this.int32(flags); + this.long(params.channel_id); + this.flag(this.int, params.pts); + }, + 'updateChannel': function(params) { + this.int32(1666927625); + this.long(params.channel_id); + }, + 'updateNewChannelMessage': function(params) { + this.int32(1656358105); + this.predicate(params.message); + this.int(params.pts); + this.int(params.pts_count); + }, + 'updateReadChannelInbox': function(params) { + this.int32(-1842450928); + const flags = (this.has(params.folder_id) << 0); + this.int32(flags); + this.flag(this.int, params.folder_id); + this.long(params.channel_id); + this.int(params.max_id); + this.int(params.still_unread_count); + this.int(params.pts); + }, + 'updateDeleteChannelMessages': function(params) { + this.int32(-1020437742); + this.long(params.channel_id); + this.vector(this.int, params.messages); + this.int(params.pts); + this.int(params.pts_count); + }, + 'updateChannelMessageViews': function(params) { + this.int32(-232346616); + this.long(params.channel_id); + this.int(params.id); + this.int(params.views); + }, + 'updates.channelDifferenceEmpty': function(params) { + this.int32(1041346555); + const flags = (this.has(params.final) << 0) | (this.has(params.timeout) << 1); + this.int32(flags); + this.int(params.pts); + this.flag(this.int, params.timeout); + }, + 'updates.channelDifferenceTooLong': function(params) { + this.int32(-1531132162); + const flags = (this.has(params.final) << 0) | (this.has(params.timeout) << 1); + this.int32(flags); + this.flag(this.int, params.timeout); + this.predicate(params.dialog); + this.vector(this.predicate, params.messages); + this.vector(this.predicate, params.chats); + this.vector(this.predicate, params.users); + }, + 'updates.channelDifference': function(params) { + this.int32(543450958); + const flags = (this.has(params.final) << 0) | (this.has(params.timeout) << 1); + this.int32(flags); + this.int(params.pts); + this.flag(this.int, params.timeout); + this.vector(this.predicate, params.new_messages); + this.vector(this.predicate, params.other_updates); + this.vector(this.predicate, params.chats); + this.vector(this.predicate, params.users); + }, + 'channelMessagesFilterEmpty': function(params) { + this.int32(-1798033689); + }, + 'channelMessagesFilter': function(params) { + this.int32(-847783593); + const flags = (this.has(params.exclude_new_messages) << 1); + this.int32(flags); + this.vector(this.predicate, params.ranges); + }, + 'channelParticipant': function(params) { + this.int32(-1072953408); + this.long(params.user_id); + this.int(params.date); + }, + 'channelParticipantSelf': function(params) { + this.int32(900251559); + const flags = (this.has(params.via_request) << 0); + this.int32(flags); + this.long(params.user_id); + this.long(params.inviter_id); + this.int(params.date); + }, + 'channelParticipantCreator': function(params) { + this.int32(803602899); + const flags = (this.has(params.rank) << 0); + this.int32(flags); + this.long(params.user_id); + this.predicate(params.admin_rights); + this.flag(this.string, params.rank); + }, + 'channelParticipantsRecent': function(params) { + this.int32(-566281095); + }, + 'channelParticipantsAdmins': function(params) { + this.int32(-1268741783); + }, + 'channelParticipantsKicked': function(params) { + this.int32(-1548400251); + this.string(params.q); + }, + 'channels.channelParticipants': function(params) { + this.int32(-1699676497); + this.int(params.count); + this.vector(this.predicate, params.participants); + this.vector(this.predicate, params.chats); + this.vector(this.predicate, params.users); + }, + 'channels.channelParticipant': function(params) { + this.int32(-541588713); + this.predicate(params.participant); + this.vector(this.predicate, params.chats); + this.vector(this.predicate, params.users); + }, + 'chatParticipantCreator': function(params) { + this.int32(-462696732); + this.long(params.user_id); + }, + 'chatParticipantAdmin': function(params) { + this.int32(-1600962725); + this.long(params.user_id); + this.long(params.inviter_id); + this.int(params.date); + }, + 'updateChatParticipantAdmin': function(params) { + this.int32(-674602590); + this.long(params.chat_id); + this.long(params.user_id); + this.Bool(params.is_admin); + this.int(params.version); + }, + 'messageActionChatMigrateTo': function(params) { + this.int32(-519864430); + this.long(params.channel_id); + }, + 'messageActionChannelMigrateFrom': function(params) { + this.int32(-365344535); + this.string(params.title); + this.long(params.chat_id); + }, + 'channelParticipantsBots': function(params) { + this.int32(-1328445861); + }, + 'help.termsOfService': function(params) { + this.int32(2013922064); + const flags = (this.has(params.popup) << 0) | (this.has(params.min_age_confirm) << 1); + this.int32(flags); + this.predicate(params.id); + this.string(params.text); + this.vector(this.predicate, params.entities); + this.flag(this.int, params.min_age_confirm); + }, + 'updateNewStickerSet': function(params) { + this.int32(1753886890); + this.predicate(params.stickerset); + }, + 'updateStickerSetsOrder': function(params) { + this.int32(196268545); + const flags = (this.has(params.masks) << 0) | (this.has(params.emojis) << 1); + this.int32(flags); + this.vector(this.long, params.order); + }, + 'updateStickerSets': function(params) { + this.int32(834816008); + const flags = (this.has(params.masks) << 0) | (this.has(params.emojis) << 1); + this.int32(flags); + }, + 'messages.savedGifsNotModified': function(params) { + this.int32(-402498398); + }, + 'messages.savedGifs': function(params) { + this.int32(-2069878259); + this.long(params.hash); + this.vector(this.predicate, params.gifs); + }, + 'updateSavedGifs': function(params) { + this.int32(-1821035490); + }, + 'inputBotInlineMessageMediaAuto': function(params) { + this.int32(864077702); + const flags = (this.has(params.invert_media) << 3) | (this.has(params.entities) << 1) | (this.has(params.reply_markup) << 2); + this.int32(flags); + this.string(params.message); + this.flagVector(this.predicate, params.entities); + this.flag(this.predicate, params.reply_markup); + }, + 'inputBotInlineMessageText': function(params) { + this.int32(1036876423); + const flags = (this.has(params.no_webpage) << 0) | (this.has(params.invert_media) << 3) | (this.has(params.entities) << 1) | (this.has(params.reply_markup) << 2); + this.int32(flags); + this.string(params.message); + this.flagVector(this.predicate, params.entities); + this.flag(this.predicate, params.reply_markup); + }, + 'inputBotInlineResult': function(params) { + this.int32(-2000710887); + const flags = (this.has(params.title) << 1) | (this.has(params.description) << 2) | (this.has(params.url) << 3) | (this.has(params.thumb) << 4) | (this.has(params.content) << 5); + this.int32(flags); + this.string(params.id); + this.string(params.type); + this.flag(this.string, params.title); + this.flag(this.string, params.description); + this.flag(this.string, params.url); + this.flag(this.predicate, params.thumb); + this.flag(this.predicate, params.content); + this.predicate(params.send_message); + }, + 'botInlineMessageMediaAuto': function(params) { + this.int32(1984755728); + const flags = (this.has(params.invert_media) << 3) | (this.has(params.entities) << 1) | (this.has(params.reply_markup) << 2); + this.int32(flags); + this.string(params.message); + this.flagVector(this.predicate, params.entities); + this.flag(this.predicate, params.reply_markup); + }, + 'botInlineMessageText': function(params) { + this.int32(-1937807902); + const flags = (this.has(params.no_webpage) << 0) | (this.has(params.invert_media) << 3) | (this.has(params.entities) << 1) | (this.has(params.reply_markup) << 2); + this.int32(flags); + this.string(params.message); + this.flagVector(this.predicate, params.entities); + this.flag(this.predicate, params.reply_markup); + }, + 'botInlineResult': function(params) { + this.int32(295067450); + const flags = (this.has(params.title) << 1) | (this.has(params.description) << 2) | (this.has(params.url) << 3) | (this.has(params.thumb) << 4) | (this.has(params.content) << 5); + this.int32(flags); + this.string(params.id); + this.string(params.type); + this.flag(this.string, params.title); + this.flag(this.string, params.description); + this.flag(this.string, params.url); + this.flag(this.predicate, params.thumb); + this.flag(this.predicate, params.content); + this.predicate(params.send_message); + }, + 'messages.botResults': function(params) { + this.int32(-534646026); + const flags = (this.has(params.gallery) << 0) | (this.has(params.next_offset) << 1) | (this.has(params.switch_pm) << 2) | (this.has(params.switch_webview) << 3); + this.int32(flags); + this.long(params.query_id); + this.flag(this.string, params.next_offset); + this.flag(this.predicate, params.switch_pm); + this.flag(this.predicate, params.switch_webview); + this.vector(this.predicate, params.results); + this.int(params.cache_time); + this.vector(this.predicate, params.users); + }, + 'updateBotInlineQuery': function(params) { + this.int32(1232025500); + const flags = (this.has(params.geo) << 0) | (this.has(params.peer_type) << 1); + this.int32(flags); + this.long(params.query_id); + this.long(params.user_id); + this.string(params.query); + this.flag(this.predicate, params.geo); + this.flag(this.predicate, params.peer_type); + this.string(params.offset); + }, + 'updateBotInlineSend': function(params) { + this.int32(317794823); + const flags = (this.has(params.geo) << 0) | (this.has(params.msg_id) << 1); + this.int32(flags); + this.long(params.user_id); + this.string(params.query); + this.flag(this.predicate, params.geo); + this.string(params.id); + this.flag(this.predicate, params.msg_id); + }, + 'inputMessagesFilterVoice': function(params) { + this.int32(1358283666); + }, + 'inputMessagesFilterMusic': function(params) { + this.int32(928101534); + }, + 'inputPrivacyKeyChatInvite': function(params) { + this.int32(-1107622874); + }, + 'privacyKeyChatInvite': function(params) { + this.int32(1343122938); + }, + 'exportedMessageLink': function(params) { + this.int32(1571494644); + this.string(params.link); + this.string(params.html); + }, + 'messageFwdHeader': function(params) { + this.int32(1313731771); + const flags = (this.has(params.imported) << 7) | (this.has(params.saved_out) << 11) | (this.has(params.from_id) << 0) | (this.has(params.from_name) << 5) | (this.has(params.channel_post) << 2) | (this.has(params.post_author) << 3) | (this.has(params.saved_from_peer) << 4) | (this.has(params.saved_from_msg_id) << 4) | (this.has(params.saved_from_id) << 8) | (this.has(params.saved_from_name) << 9) | (this.has(params.saved_date) << 10) | (this.has(params.psa_type) << 6); + this.int32(flags); + this.flag(this.predicate, params.from_id); + this.flag(this.string, params.from_name); + this.int(params.date); + this.flag(this.int, params.channel_post); + this.flag(this.string, params.post_author); + this.flag(this.predicate, params.saved_from_peer); + this.flag(this.int, params.saved_from_msg_id); + this.flag(this.predicate, params.saved_from_id); + this.flag(this.string, params.saved_from_name); + this.flag(this.int, params.saved_date); + this.flag(this.string, params.psa_type); + }, + 'updateEditChannelMessage': function(params) { + this.int32(457133559); + this.predicate(params.message); + this.int(params.pts); + this.int(params.pts_count); + }, + 'messageActionPinMessage': function(params) { + this.int32(-1799538451); + }, + 'auth.codeTypeSms': function(params) { + this.int32(1923290508); + }, + 'auth.codeTypeCall': function(params) { + this.int32(1948046307); + }, + 'auth.codeTypeFlashCall': function(params) { + this.int32(577556219); + }, + 'auth.sentCodeTypeApp': function(params) { + this.int32(1035688326); + this.int(params.length); + }, + 'auth.sentCodeTypeSms': function(params) { + this.int32(-1073693790); + this.int(params.length); + }, + 'auth.sentCodeTypeCall': function(params) { + this.int32(1398007207); + this.int(params.length); + }, + 'auth.sentCodeTypeFlashCall': function(params) { + this.int32(-1425815847); + this.string(params.pattern); + }, + 'keyboardButtonUrl': function(params) { + this.int32(629866245); + this.string(params.text); + this.string(params.url); + }, + 'keyboardButtonCallback': function(params) { + this.int32(901503851); + const flags = (this.has(params.requires_password) << 0); + this.int32(flags); + this.string(params.text); + this.bytes(params.data); + }, + 'keyboardButtonRequestPhone': function(params) { + this.int32(-1318425559); + this.string(params.text); + }, + 'keyboardButtonRequestGeoLocation': function(params) { + this.int32(-59151553); + this.string(params.text); + }, + 'keyboardButtonSwitchInline': function(params) { + this.int32(-1816527947); + const flags = (this.has(params.same_peer) << 0) | (this.has(params.peer_types) << 1); + this.int32(flags); + this.string(params.text); + this.string(params.query); + this.flagVector(this.predicate, params.peer_types); + }, + 'replyInlineMarkup': function(params) { + this.int32(1218642516); + this.vector(this.predicate, params.rows); + }, + 'messages.botCallbackAnswer': function(params) { + this.int32(911761060); + const flags = (this.has(params.alert) << 1) | (this.has(params.has_url) << 3) | (this.has(params.native_ui) << 4) | (this.has(params.message) << 0) | (this.has(params.url) << 2); + this.int32(flags); + this.flag(this.string, params.message); + this.flag(this.string, params.url); + this.int(params.cache_time); + }, + 'updateBotCallbackQuery': function(params) { + this.int32(-1177566067); + const flags = (this.has(params.data) << 0) | (this.has(params.game_short_name) << 1); + this.int32(flags); + this.long(params.query_id); + this.long(params.user_id); + this.predicate(params.peer); + this.int(params.msg_id); + this.long(params.chat_instance); + this.flag(this.bytes, params.data); + this.flag(this.string, params.game_short_name); + }, + 'messages.messageEditData': function(params) { + this.int32(649453030); + const flags = (this.has(params.caption) << 0); + this.int32(flags); + }, + 'updateEditMessage': function(params) { + this.int32(-469536605); + this.predicate(params.message); + this.int(params.pts); + this.int(params.pts_count); + }, + 'inputBotInlineMessageMediaGeo': function(params) { + this.int32(-1768777083); + const flags = (this.has(params.heading) << 0) | (this.has(params.period) << 1) | (this.has(params.proximity_notification_radius) << 3) | (this.has(params.reply_markup) << 2); + this.int32(flags); + this.predicate(params.geo_point); + this.flag(this.int, params.heading); + this.flag(this.int, params.period); + this.flag(this.int, params.proximity_notification_radius); + this.flag(this.predicate, params.reply_markup); + }, + 'inputBotInlineMessageMediaVenue': function(params) { + this.int32(1098628881); + const flags = (this.has(params.reply_markup) << 2); + this.int32(flags); + this.predicate(params.geo_point); + this.string(params.title); + this.string(params.address); + this.string(params.provider); + this.string(params.venue_id); + this.string(params.venue_type); + this.flag(this.predicate, params.reply_markup); + }, + 'inputBotInlineMessageMediaContact': function(params) { + this.int32(-1494368259); + const flags = (this.has(params.reply_markup) << 2); + this.int32(flags); + this.string(params.phone_number); + this.string(params.first_name); + this.string(params.last_name); + this.string(params.vcard); + this.flag(this.predicate, params.reply_markup); + }, + 'botInlineMessageMediaGeo': function(params) { + this.int32(85477117); + const flags = (this.has(params.heading) << 0) | (this.has(params.period) << 1) | (this.has(params.proximity_notification_radius) << 3) | (this.has(params.reply_markup) << 2); + this.int32(flags); + this.predicate(params.geo); + this.flag(this.int, params.heading); + this.flag(this.int, params.period); + this.flag(this.int, params.proximity_notification_radius); + this.flag(this.predicate, params.reply_markup); + }, + 'botInlineMessageMediaVenue': function(params) { + this.int32(-1970903652); + const flags = (this.has(params.reply_markup) << 2); + this.int32(flags); + this.predicate(params.geo); + this.string(params.title); + this.string(params.address); + this.string(params.provider); + this.string(params.venue_id); + this.string(params.venue_type); + this.flag(this.predicate, params.reply_markup); + }, + 'botInlineMessageMediaContact': function(params) { + this.int32(416402882); + const flags = (this.has(params.reply_markup) << 2); + this.int32(flags); + this.string(params.phone_number); + this.string(params.first_name); + this.string(params.last_name); + this.string(params.vcard); + this.flag(this.predicate, params.reply_markup); + }, + 'inputBotInlineResultPhoto': function(params) { + this.int32(-1462213465); + this.string(params.id); + this.string(params.type); + this.predicate(params.photo); + this.predicate(params.send_message); + }, + 'inputBotInlineResultDocument': function(params) { + this.int32(-459324); + const flags = (this.has(params.title) << 1) | (this.has(params.description) << 2); + this.int32(flags); + this.string(params.id); + this.string(params.type); + this.flag(this.string, params.title); + this.flag(this.string, params.description); + this.predicate(params.document); + this.predicate(params.send_message); + }, + 'botInlineMediaResult': function(params) { + this.int32(400266251); + const flags = (this.has(params.photo) << 0) | (this.has(params.document) << 1) | (this.has(params.title) << 2) | (this.has(params.description) << 3); + this.int32(flags); + this.string(params.id); + this.string(params.type); + this.flag(this.predicate, params.photo); + this.flag(this.predicate, params.document); + this.flag(this.string, params.title); + this.flag(this.string, params.description); + this.predicate(params.send_message); + }, + 'inputBotInlineMessageID': function(params) { + this.int32(-1995686519); + this.int(params.dc_id); + this.long(params.id); + this.long(params.access_hash); + }, + 'updateInlineBotCallbackQuery': function(params) { + this.int32(1763610706); + const flags = (this.has(params.data) << 0) | (this.has(params.game_short_name) << 1); + this.int32(flags); + this.long(params.query_id); + this.long(params.user_id); + this.predicate(params.msg_id); + this.long(params.chat_instance); + this.flag(this.bytes, params.data); + this.flag(this.string, params.game_short_name); + }, + 'inlineBotSwitchPM': function(params) { + this.int32(1008755359); + this.string(params.text); + this.string(params.start_param); + }, + 'messages.peerDialogs': function(params) { + this.int32(863093588); + this.vector(this.predicate, params.dialogs); + this.vector(this.predicate, params.messages); + this.vector(this.predicate, params.chats); + this.vector(this.predicate, params.users); + this.predicate(params.state); + }, + 'topPeer': function(params) { + this.int32(-305282981); + this.predicate(params.peer); + this.double(params.rating); + }, + 'topPeerCategoryBotsPM': function(params) { + this.int32(-1419371685); + }, + 'topPeerCategoryBotsInline': function(params) { + this.int32(344356834); + }, + 'topPeerCategoryCorrespondents': function(params) { + this.int32(104314861); + }, + 'topPeerCategoryGroups': function(params) { + this.int32(-1122524854); + }, + 'topPeerCategoryChannels': function(params) { + this.int32(371037736); + }, + 'topPeerCategoryPeers': function(params) { + this.int32(-75283823); + this.predicate(params.category); + this.int(params.count); + this.vector(this.predicate, params.peers); + }, + 'contacts.topPeersNotModified': function(params) { + this.int32(-567906571); + }, + 'contacts.topPeers': function(params) { + this.int32(1891070632); + this.vector(this.predicate, params.categories); + this.vector(this.predicate, params.chats); + this.vector(this.predicate, params.users); + }, + 'messageEntityMentionName': function(params) { + this.int32(-595914432); + this.int(params.offset); + this.int(params.length); + this.long(params.user_id); + }, + 'inputMessageEntityMentionName': function(params) { + this.int32(546203849); + this.int(params.offset); + this.int(params.length); + this.predicate(params.user_id); + }, + 'inputMessagesFilterChatPhotos': function(params) { + this.int32(975236280); + }, + 'updateReadChannelOutbox': function(params) { + this.int32(-1218471511); + this.long(params.channel_id); + this.int(params.max_id); + }, + 'updateDraftMessage': function(params) { + this.int32(457829485); + const flags = (this.has(params.top_msg_id) << 0); + this.int32(flags); + this.predicate(params.peer); + this.flag(this.int, params.top_msg_id); + this.predicate(params.draft); + }, + 'draftMessageEmpty': function(params) { + this.int32(453805082); + const flags = (this.has(params.date) << 0); + this.int32(flags); + this.flag(this.int, params.date); + }, + 'draftMessage': function(params) { + this.int32(1070397423); + const flags = (this.has(params.no_webpage) << 1) | (this.has(params.invert_media) << 6) | (this.has(params.reply_to) << 4) | (this.has(params.entities) << 3) | (this.has(params.media) << 5); + this.int32(flags); + this.flag(this.predicate, params.reply_to); + this.string(params.message); + this.flagVector(this.predicate, params.entities); + this.flag(this.predicate, params.media); + this.int(params.date); + }, + 'messageActionHistoryClear': function(params) { + this.int32(-1615153660); + }, + 'messages.featuredStickersNotModified': function(params) { + this.int32(-958657434); + this.int(params.count); + }, + 'messages.featuredStickers': function(params) { + this.int32(-1103615738); + const flags = (this.has(params.premium) << 0); + this.int32(flags); + this.long(params.hash); + this.int(params.count); + this.vector(this.predicate, params.sets); + this.vector(this.long, params.unread); + }, + 'updateReadFeaturedStickers': function(params) { + this.int32(1461528386); + }, + 'messages.recentStickersNotModified': function(params) { + this.int32(186120336); + }, + 'messages.recentStickers': function(params) { + this.int32(-1999405994); + this.long(params.hash); + this.vector(this.predicate, params.packs); + this.vector(this.predicate, params.stickers); + this.vector(this.int, params.dates); + }, + 'updateRecentStickers': function(params) { + this.int32(-1706939360); + }, + 'messages.archivedStickers': function(params) { + this.int32(1338747336); + this.int(params.count); + this.vector(this.predicate, params.sets); + }, + 'messages.stickerSetInstallResultSuccess': function(params) { + this.int32(946083368); + }, + 'messages.stickerSetInstallResultArchive': function(params) { + this.int32(904138920); + this.vector(this.predicate, params.sets); + }, + 'stickerSetCovered': function(params) { + this.int32(1678812626); + this.predicate(params.set); + this.predicate(params.cover); + }, + 'updateConfig': function(params) { + this.int32(-1574314746); + }, + 'updatePtsChanged': function(params) { + this.int32(861169551); + }, + 'inputMediaPhotoExternal': function(params) { + this.int32(-440664550); + const flags = (this.has(params.spoiler) << 1) | (this.has(params.ttl_seconds) << 0); + this.int32(flags); + this.string(params.url); + this.flag(this.int, params.ttl_seconds); + }, + 'inputMediaDocumentExternal': function(params) { + this.int32(-78455655); + const flags = (this.has(params.spoiler) << 1) | (this.has(params.ttl_seconds) << 0); + this.int32(flags); + this.string(params.url); + this.flag(this.int, params.ttl_seconds); + }, + 'stickerSetMultiCovered': function(params) { + this.int32(872932635); + this.predicate(params.set); + this.vector(this.predicate, params.covers); + }, + 'maskCoords': function(params) { + this.int32(-1361650766); + this.int(params.n); + this.double(params.x); + this.double(params.y); + this.double(params.zoom); + }, + 'documentAttributeHasStickers': function(params) { + this.int32(-1744710921); + }, + 'inputStickeredMediaPhoto': function(params) { + this.int32(1251549527); + this.predicate(params.id); + }, + 'inputStickeredMediaDocument': function(params) { + this.int32(70813275); + this.predicate(params.id); + }, + 'game': function(params) { + this.int32(-1107729093); + const flags = (this.has(params.document) << 0); + this.int32(flags); + this.long(params.id); + this.long(params.access_hash); + this.string(params.short_name); + this.string(params.title); + this.string(params.description); + this.predicate(params.photo); + this.flag(this.predicate, params.document); + }, + 'inputBotInlineResultGame': function(params) { + this.int32(1336154098); + this.string(params.id); + this.string(params.short_name); + this.predicate(params.send_message); + }, + 'inputBotInlineMessageGame': function(params) { + this.int32(1262639204); + const flags = (this.has(params.reply_markup) << 2); + this.int32(flags); + this.flag(this.predicate, params.reply_markup); + }, + 'messageMediaGame': function(params) { + this.int32(-38694904); + this.predicate(params.game); + }, + 'inputMediaGame': function(params) { + this.int32(-750828557); + this.predicate(params.id); + }, + 'inputGameID': function(params) { + this.int32(53231223); + this.long(params.id); + this.long(params.access_hash); + }, + 'inputGameShortName': function(params) { + this.int32(-1020139510); + this.predicate(params.bot_id); + this.string(params.short_name); + }, + 'keyboardButtonGame': function(params) { + this.int32(1358175439); + this.string(params.text); + }, + 'messageActionGameScore': function(params) { + this.int32(-1834538890); + this.long(params.game_id); + this.int(params.score); + }, + 'highScore': function(params) { + this.int32(1940093419); + this.int(params.pos); + this.long(params.user_id); + this.int(params.score); + }, + 'messages.highScores': function(params) { + this.int32(-1707344487); + this.vector(this.predicate, params.scores); + this.vector(this.predicate, params.users); + }, + 'updates.differenceTooLong': function(params) { + this.int32(1258196845); + this.int(params.pts); + }, + 'updateChannelWebPage': function(params) { + this.int32(791390623); + this.long(params.channel_id); + this.predicate(params.webpage); + this.int(params.pts); + this.int(params.pts_count); + }, + 'messages.chatsSlice': function(params) { + this.int32(-1663561404); + this.int(params.count); + this.vector(this.predicate, params.chats); + }, + 'textEmpty': function(params) { + this.int32(-599948721); + }, + 'textPlain': function(params) { + this.int32(1950782688); + this.string(params.text); + }, + 'textBold': function(params) { + this.int32(1730456516); + this.predicate(params.text); + }, + 'textItalic': function(params) { + this.int32(-653089380); + this.predicate(params.text); + }, + 'textUnderline': function(params) { + this.int32(-1054465340); + this.predicate(params.text); + }, + 'textStrike': function(params) { + this.int32(-1678197867); + this.predicate(params.text); + }, + 'textFixed': function(params) { + this.int32(1816074681); + this.predicate(params.text); + }, + 'textUrl': function(params) { + this.int32(1009288385); + this.predicate(params.text); + this.string(params.url); + this.long(params.webpage_id); + }, + 'textEmail': function(params) { + this.int32(-564523562); + this.predicate(params.text); + this.string(params.email); + }, + 'textConcat': function(params) { + this.int32(2120376535); + this.vector(this.predicate, params.texts); + }, + 'pageBlockUnsupported': function(params) { + this.int32(324435594); + }, + 'pageBlockTitle': function(params) { + this.int32(1890305021); + this.predicate(params.text); + }, + 'pageBlockSubtitle': function(params) { + this.int32(-1879401953); + this.predicate(params.text); + }, + 'pageBlockAuthorDate': function(params) { + this.int32(-1162877472); + this.predicate(params.author); + this.int(params.published_date); + }, + 'pageBlockHeader': function(params) { + this.int32(-1076861716); + this.predicate(params.text); + }, + 'pageBlockSubheader': function(params) { + this.int32(-248793375); + this.predicate(params.text); + }, + 'pageBlockParagraph': function(params) { + this.int32(1182402406); + this.predicate(params.text); + }, + 'pageBlockPreformatted': function(params) { + this.int32(-1066346178); + this.predicate(params.text); + this.string(params.language); + }, + 'pageBlockFooter': function(params) { + this.int32(1216809369); + this.predicate(params.text); + }, + 'pageBlockDivider': function(params) { + this.int32(-618614392); + }, + 'pageBlockAnchor': function(params) { + this.int32(-837994576); + this.string(params.name); + }, + 'pageBlockList': function(params) { + this.int32(-454524911); + this.vector(this.predicate, params.items); + }, + 'pageBlockBlockquote': function(params) { + this.int32(641563686); + this.predicate(params.text); + this.predicate(params.caption); + }, + 'pageBlockPullquote': function(params) { + this.int32(1329878739); + this.predicate(params.text); + this.predicate(params.caption); + }, + 'pageBlockPhoto': function(params) { + this.int32(391759200); + const flags = (this.has(params.url) << 0) | (this.has(params.webpage_id) << 0); + this.int32(flags); + this.long(params.photo_id); + this.predicate(params.caption); + this.flag(this.string, params.url); + this.flag(this.long, params.webpage_id); + }, + 'pageBlockVideo': function(params) { + this.int32(2089805750); + const flags = (this.has(params.autoplay) << 0) | (this.has(params.loop) << 1); + this.int32(flags); + this.long(params.video_id); + this.predicate(params.caption); + }, + 'pageBlockCover': function(params) { + this.int32(972174080); + this.predicate(params.cover); + }, + 'pageBlockEmbed': function(params) { + this.int32(-1468953147); + const flags = (this.has(params.full_width) << 0) | (this.has(params.allow_scrolling) << 3) | (this.has(params.url) << 1) | (this.has(params.html) << 2) | (this.has(params.poster_photo_id) << 4) | (this.has(params.w) << 5) | (this.has(params.h) << 5); + this.int32(flags); + this.flag(this.string, params.url); + this.flag(this.string, params.html); + this.flag(this.long, params.poster_photo_id); + this.flag(this.int, params.w); + this.flag(this.int, params.h); + this.predicate(params.caption); + }, + 'pageBlockEmbedPost': function(params) { + this.int32(-229005301); + this.string(params.url); + this.long(params.webpage_id); + this.long(params.author_photo_id); + this.string(params.author); + this.int(params.date); + this.vector(this.predicate, params.blocks); + this.predicate(params.caption); + }, + 'pageBlockCollage': function(params) { + this.int32(1705048653); + this.vector(this.predicate, params.items); + this.predicate(params.caption); + }, + 'pageBlockSlideshow': function(params) { + this.int32(52401552); + this.vector(this.predicate, params.items); + this.predicate(params.caption); + }, + 'webPageNotModified': function(params) { + this.int32(1930545681); + const flags = (this.has(params.cached_page_views) << 0); + this.int32(flags); + this.flag(this.int, params.cached_page_views); + }, + 'inputPrivacyKeyPhoneCall': function(params) { + this.int32(-88417185); + }, + 'privacyKeyPhoneCall': function(params) { + this.int32(1030105979); + }, + 'sendMessageGamePlayAction': function(params) { + this.int32(-580219064); + }, + 'phoneCallDiscardReasonMissed': function(params) { + this.int32(-2048646399); + }, + 'phoneCallDiscardReasonDisconnect': function(params) { + this.int32(-527056480); + }, + 'phoneCallDiscardReasonHangup': function(params) { + this.int32(1471006352); + }, + 'phoneCallDiscardReasonBusy': function(params) { + this.int32(-84416311); + }, + 'updateDialogPinned': function(params) { + this.int32(1852826908); + const flags = (this.has(params.pinned) << 0) | (this.has(params.folder_id) << 1); + this.int32(flags); + this.flag(this.int, params.folder_id); + this.predicate(params.peer); + }, + 'updatePinnedDialogs': function(params) { + this.int32(-99664734); + const flags = (this.has(params.folder_id) << 1) | (this.has(params.order) << 0); + this.int32(flags); + this.flag(this.int, params.folder_id); + this.flagVector(this.predicate, params.order); + }, + 'dataJSON': function(params) { + this.int32(2104790276); + this.string(params.data); + }, + 'updateBotWebhookJSON': function(params) { + this.int32(-2095595325); + this.predicate(params.data); + }, + 'updateBotWebhookJSONQuery': function(params) { + this.int32(-1684914010); + this.long(params.query_id); + this.predicate(params.data); + this.int(params.timeout); + }, + 'labeledPrice': function(params) { + this.int32(-886477832); + this.string(params.label); + this.long(params.amount); + }, + 'invoice': function(params) { + this.int32(1572428309); + const flags = (this.has(params.test) << 0) | (this.has(params.name_requested) << 1) | (this.has(params.phone_requested) << 2) | (this.has(params.email_requested) << 3) | (this.has(params.shipping_address_requested) << 4) | (this.has(params.flexible) << 5) | (this.has(params.phone_to_provider) << 6) | (this.has(params.email_to_provider) << 7) | (this.has(params.recurring) << 9) | (this.has(params.max_tip_amount) << 8) | (this.has(params.suggested_tip_amounts) << 8) | (this.has(params.terms_url) << 10); + this.int32(flags); + this.string(params.currency); + this.vector(this.predicate, params.prices); + this.flag(this.long, params.max_tip_amount); + this.flagVector(this.long, params.suggested_tip_amounts); + this.flag(this.string, params.terms_url); + }, + 'inputMediaInvoice': function(params) { + this.int32(-1900697899); + const flags = (this.has(params.photo) << 0) | (this.has(params.start_param) << 1) | (this.has(params.extended_media) << 2); + this.int32(flags); + this.string(params.title); + this.string(params.description); + this.flag(this.predicate, params.photo); + this.predicate(params.invoice); + this.bytes(params.payload); + this.string(params.provider); + this.predicate(params.provider_data); + this.flag(this.string, params.start_param); + this.flag(this.predicate, params.extended_media); + }, + 'paymentCharge': function(params) { + this.int32(-368917890); + this.string(params.id); + this.string(params.provider_charge_id); + }, + 'messageActionPaymentSentMe': function(params) { + this.int32(-1892568281); + const flags = (this.has(params.recurring_init) << 2) | (this.has(params.recurring_used) << 3) | (this.has(params.info) << 0) | (this.has(params.shipping_option_id) << 1); + this.int32(flags); + this.string(params.currency); + this.long(params.total_amount); + this.bytes(params.payload); + this.flag(this.predicate, params.info); + this.flag(this.string, params.shipping_option_id); + this.predicate(params.charge); + }, + 'messageMediaInvoice': function(params) { + this.int32(-156940077); + const flags = (this.has(params.shipping_address_requested) << 1) | (this.has(params.test) << 3) | (this.has(params.photo) << 0) | (this.has(params.receipt_msg_id) << 2) | (this.has(params.extended_media) << 4); + this.int32(flags); + this.string(params.title); + this.string(params.description); + this.flag(this.predicate, params.photo); + this.flag(this.int, params.receipt_msg_id); + this.string(params.currency); + this.long(params.total_amount); + this.string(params.start_param); + this.flag(this.predicate, params.extended_media); + }, + 'postAddress': function(params) { + this.int32(512535275); + this.string(params.street_line1); + this.string(params.street_line2); + this.string(params.city); + this.string(params.state); + this.string(params.country_iso2); + this.string(params.post_code); + }, + 'paymentRequestedInfo': function(params) { + this.int32(-1868808300); + const flags = (this.has(params.name) << 0) | (this.has(params.phone) << 1) | (this.has(params.email) << 2) | (this.has(params.shipping_address) << 3); + this.int32(flags); + this.flag(this.string, params.name); + this.flag(this.string, params.phone); + this.flag(this.string, params.email); + this.flag(this.predicate, params.shipping_address); + }, + 'keyboardButtonBuy': function(params) { + this.int32(-1344716869); + this.string(params.text); + }, + 'messageActionPaymentSent': function(params) { + this.int32(-1776926890); + const flags = (this.has(params.recurring_init) << 2) | (this.has(params.recurring_used) << 3) | (this.has(params.invoice_slug) << 0); + this.int32(flags); + this.string(params.currency); + this.long(params.total_amount); + this.flag(this.string, params.invoice_slug); + }, + 'paymentSavedCredentialsCard': function(params) { + this.int32(-842892769); + this.string(params.id); + this.string(params.title); + }, + 'webDocument': function(params) { + this.int32(475467473); + this.string(params.url); + this.long(params.access_hash); + this.int(params.size); + this.string(params.mime_type); + this.vector(this.predicate, params.attributes); + }, + 'inputWebDocument': function(params) { + this.int32(-1678949555); + this.string(params.url); + this.int(params.size); + this.string(params.mime_type); + this.vector(this.predicate, params.attributes); + }, + 'inputWebFileLocation': function(params) { + this.int32(-1036396922); + this.string(params.url); + this.long(params.access_hash); + }, + 'upload.webFile': function(params) { + this.int32(568808380); + this.int(params.size); + this.string(params.mime_type); + this.predicate(params.file_type); + this.int(params.mtime); + this.bytes(params.bytes); + }, + 'payments.paymentForm': function(params) { + this.int32(-1610250415); + const flags = (this.has(params.can_save_credentials) << 2) | (this.has(params.password_missing) << 3) | (this.has(params.photo) << 5) | (this.has(params.native_provider) << 4) | (this.has(params.native_params) << 4) | (this.has(params.additional_methods) << 6) | (this.has(params.saved_info) << 0) | (this.has(params.saved_credentials) << 1); + this.int32(flags); + this.long(params.form_id); + this.long(params.bot_id); + this.string(params.title); + this.string(params.description); + this.flag(this.predicate, params.photo); + this.predicate(params.invoice); + this.long(params.provider_id); + this.string(params.url); + this.flag(this.string, params.native_provider); + this.flag(this.predicate, params.native_params); + this.flagVector(this.predicate, params.additional_methods); + this.flag(this.predicate, params.saved_info); + this.flagVector(this.predicate, params.saved_credentials); + this.vector(this.predicate, params.users); + }, + 'payments.validatedRequestedInfo': function(params) { + this.int32(-784000893); + const flags = (this.has(params.id) << 0) | (this.has(params.shipping_options) << 1); + this.int32(flags); + this.flag(this.string, params.id); + this.flagVector(this.predicate, params.shipping_options); + }, + 'payments.paymentResult': function(params) { + this.int32(1314881805); + this.predicate(params.updates); + }, + 'payments.paymentReceipt': function(params) { + this.int32(1891958275); + const flags = (this.has(params.photo) << 2) | (this.has(params.info) << 0) | (this.has(params.shipping) << 1) | (this.has(params.tip_amount) << 3); + this.int32(flags); + this.int(params.date); + this.long(params.bot_id); + this.long(params.provider_id); + this.string(params.title); + this.string(params.description); + this.flag(this.predicate, params.photo); + this.predicate(params.invoice); + this.flag(this.predicate, params.info); + this.flag(this.predicate, params.shipping); + this.flag(this.long, params.tip_amount); + this.string(params.currency); + this.long(params.total_amount); + this.string(params.credentials_title); + this.vector(this.predicate, params.users); + }, + 'payments.savedInfo': function(params) { + this.int32(-74456004); + const flags = (this.has(params.has_saved_credentials) << 1) | (this.has(params.saved_info) << 0); + this.int32(flags); + this.flag(this.predicate, params.saved_info); + }, + 'inputPaymentCredentialsSaved': function(params) { + this.int32(-1056001329); + this.string(params.id); + this.bytes(params.tmp_password); + }, + 'inputPaymentCredentials': function(params) { + this.int32(873977640); + const flags = (this.has(params.save) << 0); + this.int32(flags); + this.predicate(params.data); + }, + 'account.tmpPassword': function(params) { + this.int32(-614138572); + this.bytes(params.tmp_password); + this.int(params.valid_until); + }, + 'shippingOption': function(params) { + this.int32(-1239335713); + this.string(params.id); + this.string(params.title); + this.vector(this.predicate, params.prices); + }, + 'updateBotShippingQuery': function(params) { + this.int32(-1246823043); + this.long(params.query_id); + this.long(params.user_id); + this.bytes(params.payload); + this.predicate(params.shipping_address); + }, + 'updateBotPrecheckoutQuery': function(params) { + this.int32(-1934976362); + const flags = (this.has(params.info) << 0) | (this.has(params.shipping_option_id) << 1); + this.int32(flags); + this.long(params.query_id); + this.long(params.user_id); + this.bytes(params.payload); + this.flag(this.predicate, params.info); + this.flag(this.string, params.shipping_option_id); + this.string(params.currency); + this.long(params.total_amount); + }, + 'inputStickerSetItem': function(params) { + this.int32(853188252); + const flags = (this.has(params.mask_coords) << 0) | (this.has(params.keywords) << 1); + this.int32(flags); + this.predicate(params.document); + this.string(params.emoji); + this.flag(this.predicate, params.mask_coords); + this.flag(this.string, params.keywords); + }, + 'updatePhoneCall': function(params) { + this.int32(-1425052898); + this.predicate(params.phone_call); + }, + 'inputPhoneCall': function(params) { + this.int32(506920429); + this.long(params.id); + this.long(params.access_hash); + }, + 'phoneCallEmpty': function(params) { + this.int32(1399245077); + this.long(params.id); + }, + 'phoneCallWaiting': function(params) { + this.int32(-987599081); + const flags = (this.has(params.video) << 6) | (this.has(params.receive_date) << 0); + this.int32(flags); + this.long(params.id); + this.long(params.access_hash); + this.int(params.date); + this.long(params.admin_id); + this.long(params.participant_id); + this.predicate(params.protocol); + this.flag(this.int, params.receive_date); + }, + 'phoneCallRequested': function(params) { + this.int32(347139340); + const flags = (this.has(params.video) << 6); + this.int32(flags); + this.long(params.id); + this.long(params.access_hash); + this.int(params.date); + this.long(params.admin_id); + this.long(params.participant_id); + this.bytes(params.g_a_hash); + this.predicate(params.protocol); + }, + 'phoneCallAccepted': function(params) { + this.int32(912311057); + const flags = (this.has(params.video) << 6); + this.int32(flags); + this.long(params.id); + this.long(params.access_hash); + this.int(params.date); + this.long(params.admin_id); + this.long(params.participant_id); + this.bytes(params.g_b); + this.predicate(params.protocol); + }, + 'phoneCall': function(params) { + this.int32(-1770029977); + const flags = (this.has(params.p2p_allowed) << 5) | (this.has(params.video) << 6); + this.int32(flags); + this.long(params.id); + this.long(params.access_hash); + this.int(params.date); + this.long(params.admin_id); + this.long(params.participant_id); + this.bytes(params.g_a_or_b); + this.long(params.key_fingerprint); + this.predicate(params.protocol); + this.vector(this.predicate, params.connections); + this.int(params.start_date); + }, + 'phoneCallDiscarded': function(params) { + this.int32(1355435489); + const flags = (this.has(params.need_rating) << 2) | (this.has(params.need_debug) << 3) | (this.has(params.video) << 6) | (this.has(params.reason) << 0) | (this.has(params.duration) << 1); + this.int32(flags); + this.long(params.id); + this.flag(this.predicate, params.reason); + this.flag(this.int, params.duration); + }, + 'phoneConnection': function(params) { + this.int32(-1665063993); + const flags = (this.has(params.tcp) << 0); + this.int32(flags); + this.long(params.id); + this.string(params.ip); + this.string(params.ipv6); + this.int(params.port); + this.bytes(params.peer_tag); + }, + 'phoneCallProtocol': function(params) { + this.int32(-58224696); + const flags = (this.has(params.udp_p2p) << 0) | (this.has(params.udp_reflector) << 1); + this.int32(flags); + this.int(params.min_layer); + this.int(params.max_layer); + this.vector(this.string, params.library_versions); + }, + 'phone.phoneCall': function(params) { + this.int32(-326966976); + this.predicate(params.phone_call); + this.vector(this.predicate, params.users); + }, + 'inputMessagesFilterPhoneCalls': function(params) { + this.int32(-2134272152); + const flags = (this.has(params.missed) << 0); + this.int32(flags); + }, + 'messageActionPhoneCall': function(params) { + this.int32(-2132731265); + const flags = (this.has(params.video) << 2) | (this.has(params.reason) << 0) | (this.has(params.duration) << 1); + this.int32(flags); + this.long(params.call_id); + this.flag(this.predicate, params.reason); + this.flag(this.int, params.duration); + }, + 'inputMessagesFilterRoundVoice': function(params) { + this.int32(2054952868); + }, + 'inputMessagesFilterRoundVideo': function(params) { + this.int32(-1253451181); + }, + 'sendMessageRecordRoundAction': function(params) { + this.int32(-1997373508); + }, + 'sendMessageUploadRoundAction': function(params) { + this.int32(608050278); + this.int(params.progress); + }, + 'upload.fileCdnRedirect': function(params) { + this.int32(-242427324); + this.int(params.dc_id); + this.bytes(params.file_token); + this.bytes(params.encryption_key); + this.bytes(params.encryption_iv); + this.vector(this.predicate, params.file_hashes); + }, + 'upload.cdnFileReuploadNeeded': function(params) { + this.int32(-290921362); + this.bytes(params.request_token); + }, + 'upload.cdnFile': function(params) { + this.int32(-1449145777); + this.bytes(params.bytes); + }, + 'cdnPublicKey': function(params) { + this.int32(-914167110); + this.int(params.dc_id); + this.string(params.public_key); + }, + 'cdnConfig': function(params) { + this.int32(1462101002); + this.vector(this.predicate, params.public_keys); + }, + 'pageBlockChannel': function(params) { + this.int32(-283684427); + this.predicate(params.channel); + }, + 'langPackString': function(params) { + this.int32(-892239370); + this.string(params.key); + this.string(params.value); + }, + 'langPackStringPluralized': function(params) { + this.int32(1816636575); + const flags = (this.has(params.zero_value) << 0) | (this.has(params.one_value) << 1) | (this.has(params.two_value) << 2) | (this.has(params.few_value) << 3) | (this.has(params.many_value) << 4); + this.int32(flags); + this.string(params.key); + this.flag(this.string, params.zero_value); + this.flag(this.string, params.one_value); + this.flag(this.string, params.two_value); + this.flag(this.string, params.few_value); + this.flag(this.string, params.many_value); + this.string(params.other_value); + }, + 'langPackStringDeleted': function(params) { + this.int32(695856818); + this.string(params.key); + }, + 'langPackDifference': function(params) { + this.int32(-209337866); + this.string(params.lang_code); + this.int(params.from_version); + this.int(params.version); + this.vector(this.predicate, params.strings); + }, + 'langPackLanguage': function(params) { + this.int32(-288727837); + const flags = (this.has(params.official) << 0) | (this.has(params.rtl) << 2) | (this.has(params.beta) << 3) | (this.has(params.base_lang_code) << 1); + this.int32(flags); + this.string(params.name); + this.string(params.native_name); + this.string(params.lang_code); + this.flag(this.string, params.base_lang_code); + this.string(params.plural_code); + this.int(params.strings_count); + this.int(params.translated_count); + this.string(params.translations_url); + }, + 'updateLangPackTooLong': function(params) { + this.int32(1180041828); + this.string(params.lang_code); + }, + 'updateLangPack': function(params) { + this.int32(1442983757); + this.predicate(params.difference); + }, + 'channelParticipantAdmin': function(params) { + this.int32(885242707); + const flags = (this.has(params.can_edit) << 0) | (this.has(params.self) << 1) | (this.has(params.inviter_id) << 1) | (this.has(params.rank) << 2); + this.int32(flags); + this.long(params.user_id); + this.flag(this.long, params.inviter_id); + this.long(params.promoted_by); + this.int(params.date); + this.predicate(params.admin_rights); + this.flag(this.string, params.rank); + }, + 'channelParticipantBanned': function(params) { + this.int32(1844969806); + const flags = (this.has(params.left) << 0); + this.int32(flags); + this.predicate(params.peer); + this.long(params.kicked_by); + this.int(params.date); + this.predicate(params.banned_rights); + }, + 'channelParticipantsBanned': function(params) { + this.int32(338142689); + this.string(params.q); + }, + 'channelParticipantsSearch': function(params) { + this.int32(106343499); + this.string(params.q); + }, + 'channelAdminLogEventActionChangeTitle': function(params) { + this.int32(-421545947); + this.string(params.prev_value); + this.string(params.new_value); + }, + 'channelAdminLogEventActionChangeAbout': function(params) { + this.int32(1427671598); + this.string(params.prev_value); + this.string(params.new_value); + }, + 'channelAdminLogEventActionChangeUsername': function(params) { + this.int32(1783299128); + this.string(params.prev_value); + this.string(params.new_value); + }, + 'channelAdminLogEventActionChangePhoto': function(params) { + this.int32(1129042607); + this.predicate(params.prev_photo); + this.predicate(params.new_photo); + }, + 'channelAdminLogEventActionToggleInvites': function(params) { + this.int32(460916654); + this.Bool(params.new_value); + }, + 'channelAdminLogEventActionToggleSignatures': function(params) { + this.int32(648939889); + this.Bool(params.new_value); + }, + 'channelAdminLogEventActionUpdatePinned': function(params) { + this.int32(-370660328); + this.predicate(params.message); + }, + 'channelAdminLogEventActionEditMessage': function(params) { + this.int32(1889215493); + this.predicate(params.prev_message); + this.predicate(params.new_message); + }, + 'channelAdminLogEventActionDeleteMessage': function(params) { + this.int32(1121994683); + this.predicate(params.message); + }, + 'channelAdminLogEventActionParticipantJoin': function(params) { + this.int32(405815507); + }, + 'channelAdminLogEventActionParticipantLeave': function(params) { + this.int32(-124291086); + }, + 'channelAdminLogEventActionParticipantInvite': function(params) { + this.int32(-484690728); + this.predicate(params.participant); + }, + 'channelAdminLogEventActionParticipantToggleBan': function(params) { + this.int32(-422036098); + this.predicate(params.prev_participant); + this.predicate(params.new_participant); + }, + 'channelAdminLogEventActionParticipantToggleAdmin': function(params) { + this.int32(-714643696); + this.predicate(params.prev_participant); + this.predicate(params.new_participant); + }, + 'channelAdminLogEvent': function(params) { + this.int32(531458253); + this.long(params.id); + this.int(params.date); + this.long(params.user_id); + this.predicate(params.action); + }, + 'channels.adminLogResults': function(params) { + this.int32(-309659827); + this.vector(this.predicate, params.events); + this.vector(this.predicate, params.chats); + this.vector(this.predicate, params.users); + }, + 'channelAdminLogEventsFilter': function(params) { + this.int32(-368018716); + const flags = (this.has(params.join) << 0) | (this.has(params.leave) << 1) | (this.has(params.invite) << 2) | (this.has(params.ban) << 3) | (this.has(params.unban) << 4) | (this.has(params.kick) << 5) | (this.has(params.unkick) << 6) | (this.has(params.promote) << 7) | (this.has(params.demote) << 8) | (this.has(params.info) << 9) | (this.has(params.settings) << 10) | (this.has(params.pinned) << 11) | (this.has(params.edit) << 12) | (this.has(params.delete) << 13) | (this.has(params.group_call) << 14) | (this.has(params.invites) << 15) | (this.has(params.send) << 16) | (this.has(params.forums) << 17); + this.int32(flags); + }, + 'topPeerCategoryPhoneCalls': function(params) { + this.int32(511092620); + }, + 'pageBlockAudio': function(params) { + this.int32(-2143067670); + this.long(params.audio_id); + this.predicate(params.caption); + }, + 'popularContact': function(params) { + this.int32(1558266229); + this.long(params.client_id); + this.int(params.importers); + }, + 'messageActionScreenshotTaken': function(params) { + this.int32(1200788123); + }, + 'messages.favedStickersNotModified': function(params) { + this.int32(-1634752813); + }, + 'messages.favedStickers': function(params) { + this.int32(750063767); + this.long(params.hash); + this.vector(this.predicate, params.packs); + this.vector(this.predicate, params.stickers); + }, + 'updateFavedStickers': function(params) { + this.int32(-451831443); + }, + 'updateChannelReadMessagesContents': function(params) { + this.int32(-366410403); + const flags = (this.has(params.top_msg_id) << 0); + this.int32(flags); + this.long(params.channel_id); + this.flag(this.int, params.top_msg_id); + this.vector(this.int, params.messages); + }, + 'inputMessagesFilterMyMentions': function(params) { + this.int32(-1040652646); + }, + 'updateContactsReset': function(params) { + this.int32(1887741886); + }, + 'channelAdminLogEventActionChangeStickerSet': function(params) { + this.int32(-1312568665); + this.predicate(params.prev_stickerset); + this.predicate(params.new_stickerset); + }, + 'messageActionCustomAction': function(params) { + this.int32(-85549226); + this.string(params.message); + }, + 'inputPaymentCredentialsApplePay': function(params) { + this.int32(178373535); + this.predicate(params.payment_data); + }, + 'inputMessagesFilterGeo': function(params) { + this.int32(-419271411); + }, + 'inputMessagesFilterContacts': function(params) { + this.int32(-530392189); + }, + 'updateChannelAvailableMessages': function(params) { + this.int32(-1304443240); + this.long(params.channel_id); + this.int(params.available_min_id); + }, + 'channelAdminLogEventActionTogglePreHistoryHidden': function(params) { + this.int32(1599903217); + this.Bool(params.new_value); + }, + 'inputMediaGeoLive': function(params) { + this.int32(-1759532989); + const flags = (this.has(params.stopped) << 0) | (this.has(params.heading) << 2) | (this.has(params.period) << 1) | (this.has(params.proximity_notification_radius) << 3); + this.int32(flags); + this.predicate(params.geo_point); + this.flag(this.int, params.heading); + this.flag(this.int, params.period); + this.flag(this.int, params.proximity_notification_radius); + }, + 'messageMediaGeoLive': function(params) { + this.int32(-1186937242); + const flags = (this.has(params.heading) << 0) | (this.has(params.proximity_notification_radius) << 1); + this.int32(flags); + this.predicate(params.geo); + this.flag(this.int, params.heading); + this.int(params.period); + this.flag(this.int, params.proximity_notification_radius); + }, + 'recentMeUrlUnknown': function(params) { + this.int32(1189204285); + this.string(params.url); + }, + 'recentMeUrlUser': function(params) { + this.int32(-1188296222); + this.string(params.url); + this.long(params.user_id); + }, + 'recentMeUrlChat': function(params) { + this.int32(-1294306862); + this.string(params.url); + this.long(params.chat_id); + }, + 'recentMeUrlChatInvite': function(params) { + this.int32(-347535331); + this.string(params.url); + this.predicate(params.chat_invite); + }, + 'recentMeUrlStickerSet': function(params) { + this.int32(-1140172836); + this.string(params.url); + this.predicate(params.set); + }, + 'help.recentMeUrls': function(params) { + this.int32(235081943); + this.vector(this.predicate, params.urls); + this.vector(this.predicate, params.chats); + this.vector(this.predicate, params.users); + }, + 'channels.channelParticipantsNotModified': function(params) { + this.int32(-266911767); + }, + 'messages.messagesNotModified': function(params) { + this.int32(1951620897); + this.int(params.count); + }, + 'inputSingleMedia': function(params) { + this.int32(482797855); + const flags = (this.has(params.entities) << 0); + this.int32(flags); + this.predicate(params.media); + this.long(params.random_id); + this.string(params.message); + this.flagVector(this.predicate, params.entities); + }, + 'webAuthorization': function(params) { + this.int32(-1493633966); + this.long(params.hash); + this.long(params.bot_id); + this.string(params.domain); + this.string(params.browser); + this.string(params.platform); + this.int(params.date_created); + this.int(params.date_active); + this.string(params.ip); + this.string(params.region); + }, + 'account.webAuthorizations': function(params) { + this.int32(-313079300); + this.vector(this.predicate, params.authorizations); + this.vector(this.predicate, params.users); + }, + 'inputMessageID': function(params) { + this.int32(-1502174430); + this.int(params.id); + }, + 'inputMessageReplyTo': function(params) { + this.int32(-1160215659); + this.int(params.id); + }, + 'inputMessagePinned': function(params) { + this.int32(-2037963464); + }, + 'messageEntityPhone': function(params) { + this.int32(-1687559349); + this.int(params.offset); + this.int(params.length); + }, + 'messageEntityCashtag': function(params) { + this.int32(1280209983); + this.int(params.offset); + this.int(params.length); + }, + 'messageActionBotAllowed': function(params) { + this.int32(-988359047); + const flags = (this.has(params.attach_menu) << 1) | (this.has(params.from_request) << 3) | (this.has(params.domain) << 0) | (this.has(params.app) << 2); + this.int32(flags); + this.flag(this.string, params.domain); + this.flag(this.predicate, params.app); + }, + 'inputDialogPeer': function(params) { + this.int32(-55902537); + this.predicate(params.peer); + }, + 'dialogPeer': function(params) { + this.int32(-445792507); + this.predicate(params.peer); + }, + 'messages.foundStickerSetsNotModified': function(params) { + this.int32(223655517); + }, + 'messages.foundStickerSets': function(params) { + this.int32(-1963942446); + this.long(params.hash); + this.vector(this.predicate, params.sets); + }, + 'fileHash': function(params) { + this.int32(-207944868); + this.long(params.offset); + this.int(params.limit); + this.bytes(params.hash); + }, + 'webDocumentNoProxy': function(params) { + this.int32(-104284986); + this.string(params.url); + this.int(params.size); + this.string(params.mime_type); + this.vector(this.predicate, params.attributes); + }, + 'inputClientProxy': function(params) { + this.int32(1968737087); + this.string(params.address); + this.int(params.port); + }, + 'help.termsOfServiceUpdateEmpty': function(params) { + this.int32(-483352705); + this.int(params.expires); + }, + 'help.termsOfServiceUpdate': function(params) { + this.int32(686618977); + this.int(params.expires); + this.predicate(params.terms_of_service); + }, + 'inputSecureFileUploaded': function(params) { + this.int32(859091184); + this.long(params.id); + this.int(params.parts); + this.string(params.md5_checksum); + this.bytes(params.file_hash); + this.bytes(params.secret); + }, + 'inputSecureFile': function(params) { + this.int32(1399317950); + this.long(params.id); + this.long(params.access_hash); + }, + 'inputSecureFileLocation': function(params) { + this.int32(-876089816); + this.long(params.id); + this.long(params.access_hash); + }, + 'secureFileEmpty': function(params) { + this.int32(1679398724); + }, + 'secureFile': function(params) { + this.int32(2097791614); + this.long(params.id); + this.long(params.access_hash); + this.long(params.size); + this.int(params.dc_id); + this.int(params.date); + this.bytes(params.file_hash); + this.bytes(params.secret); + }, + 'secureData': function(params) { + this.int32(-1964327229); + this.bytes(params.data); + this.bytes(params.data_hash); + this.bytes(params.secret); + }, + 'securePlainPhone': function(params) { + this.int32(2103482845); + this.string(params.phone); + }, + 'securePlainEmail': function(params) { + this.int32(569137759); + this.string(params.email); + }, + 'secureValueTypePersonalDetails': function(params) { + this.int32(-1658158621); + }, + 'secureValueTypePassport': function(params) { + this.int32(1034709504); + }, + 'secureValueTypeDriverLicense': function(params) { + this.int32(115615172); + }, + 'secureValueTypeIdentityCard': function(params) { + this.int32(-1596951477); + }, + 'secureValueTypeInternalPassport': function(params) { + this.int32(-1717268701); + }, + 'secureValueTypeAddress': function(params) { + this.int32(-874308058); + }, + 'secureValueTypeUtilityBill': function(params) { + this.int32(-63531698); + }, + 'secureValueTypeBankStatement': function(params) { + this.int32(-1995211763); + }, + 'secureValueTypeRentalAgreement': function(params) { + this.int32(-1954007928); + }, + 'secureValueTypePassportRegistration': function(params) { + this.int32(-1713143702); + }, + 'secureValueTypeTemporaryRegistration': function(params) { + this.int32(-368907213); + }, + 'secureValueTypePhone': function(params) { + this.int32(-1289704741); + }, + 'secureValueTypeEmail': function(params) { + this.int32(-1908627474); + }, + 'secureValue': function(params) { + this.int32(411017418); + const flags = (this.has(params.data) << 0) | (this.has(params.front_side) << 1) | (this.has(params.reverse_side) << 2) | (this.has(params.selfie) << 3) | (this.has(params.translation) << 6) | (this.has(params.files) << 4) | (this.has(params.plain_data) << 5); + this.int32(flags); + this.predicate(params.type); + this.flag(this.predicate, params.data); + this.flag(this.predicate, params.front_side); + this.flag(this.predicate, params.reverse_side); + this.flag(this.predicate, params.selfie); + this.flagVector(this.predicate, params.translation); + this.flagVector(this.predicate, params.files); + this.flag(this.predicate, params.plain_data); + this.bytes(params.hash); + }, + 'inputSecureValue': function(params) { + this.int32(-618540889); + const flags = (this.has(params.data) << 0) | (this.has(params.front_side) << 1) | (this.has(params.reverse_side) << 2) | (this.has(params.selfie) << 3) | (this.has(params.translation) << 6) | (this.has(params.files) << 4) | (this.has(params.plain_data) << 5); + this.int32(flags); + this.predicate(params.type); + this.flag(this.predicate, params.data); + this.flag(this.predicate, params.front_side); + this.flag(this.predicate, params.reverse_side); + this.flag(this.predicate, params.selfie); + this.flagVector(this.predicate, params.translation); + this.flagVector(this.predicate, params.files); + this.flag(this.predicate, params.plain_data); + }, + 'secureValueHash': function(params) { + this.int32(-316748368); + this.predicate(params.type); + this.bytes(params.hash); + }, + 'secureValueErrorData': function(params) { + this.int32(-391902247); + this.predicate(params.type); + this.bytes(params.data_hash); + this.string(params.field); + this.string(params.text); + }, + 'secureValueErrorFrontSide': function(params) { + this.int32(12467706); + this.predicate(params.type); + this.bytes(params.file_hash); + this.string(params.text); + }, + 'secureValueErrorReverseSide': function(params) { + this.int32(-2037765467); + this.predicate(params.type); + this.bytes(params.file_hash); + this.string(params.text); + }, + 'secureValueErrorSelfie': function(params) { + this.int32(-449327402); + this.predicate(params.type); + this.bytes(params.file_hash); + this.string(params.text); + }, + 'secureValueErrorFile': function(params) { + this.int32(2054162547); + this.predicate(params.type); + this.bytes(params.file_hash); + this.string(params.text); + }, + 'secureValueErrorFiles': function(params) { + this.int32(1717706985); + this.predicate(params.type); + this.vector(this.bytes, params.file_hash); + this.string(params.text); + }, + 'secureCredentialsEncrypted': function(params) { + this.int32(871426631); + this.bytes(params.data); + this.bytes(params.hash); + this.bytes(params.secret); + }, + 'account.authorizationForm': function(params) { + this.int32(-1389486888); + const flags = (this.has(params.privacy_policy_url) << 0); + this.int32(flags); + this.vector(this.predicate, params.required_types); + this.vector(this.predicate, params.values); + this.vector(this.predicate, params.errors); + this.vector(this.predicate, params.users); + this.flag(this.string, params.privacy_policy_url); + }, + 'account.sentEmailCode': function(params) { + this.int32(-2128640689); + this.string(params.email_pattern); + this.int(params.length); + }, + 'messageActionSecureValuesSentMe': function(params) { + this.int32(455635795); + this.vector(this.predicate, params.values); + this.predicate(params.credentials); + }, + 'messageActionSecureValuesSent': function(params) { + this.int32(-648257196); + this.vector(this.predicate, params.types); + }, + 'help.deepLinkInfoEmpty': function(params) { + this.int32(1722786150); + }, + 'help.deepLinkInfo': function(params) { + this.int32(1783556146); + const flags = (this.has(params.update_app) << 0) | (this.has(params.entities) << 1); + this.int32(flags); + this.string(params.message); + this.flagVector(this.predicate, params.entities); + }, + 'savedPhoneContact': function(params) { + this.int32(289586518); + this.string(params.phone); + this.string(params.first_name); + this.string(params.last_name); + this.int(params.date); + }, + 'account.takeout': function(params) { + this.int32(1304052993); + this.long(params.id); + }, + 'inputTakeoutFileLocation': function(params) { + this.int32(700340377); + }, + 'updateDialogUnreadMark': function(params) { + this.int32(-513517117); + const flags = (this.has(params.unread) << 0); + this.int32(flags); + this.predicate(params.peer); + }, + 'messages.dialogsNotModified': function(params) { + this.int32(-253500010); + this.int(params.count); + }, + 'inputWebFileGeoPointLocation': function(params) { + this.int32(-1625153079); + this.predicate(params.geo_point); + this.long(params.access_hash); + this.int(params.w); + this.int(params.h); + this.int(params.zoom); + this.int(params.scale); + }, + 'contacts.topPeersDisabled': function(params) { + this.int32(-1255369827); + }, + 'inputReportReasonCopyright': function(params) { + this.int32(-1685456582); + }, + 'passwordKdfAlgoUnknown': function(params) { + this.int32(-732254058); + }, + 'securePasswordKdfAlgoUnknown': function(params) { + this.int32(4883767); + }, + 'securePasswordKdfAlgoPBKDF2HMACSHA512iter100000': function(params) { + this.int32(-1141711456); + this.bytes(params.salt); + }, + 'securePasswordKdfAlgoSHA512': function(params) { + this.int32(-2042159726); + this.bytes(params.salt); + }, + 'secureSecretSettings': function(params) { + this.int32(354925740); + this.predicate(params.secure_algo); + this.bytes(params.secure_secret); + this.long(params.secure_secret_id); + }, + 'passwordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow': function(params) { + this.int32(982592842); + this.bytes(params.salt1); + this.bytes(params.salt2); + this.int(params.g); + this.bytes(params.p); + }, + 'inputCheckPasswordEmpty': function(params) { + this.int32(-1736378792); + }, + 'inputCheckPasswordSRP': function(params) { + this.int32(-763367294); + this.long(params.srp_id); + this.bytes(params.A); + this.bytes(params.M1); + }, + 'secureValueError': function(params) { + this.int32(-2036501105); + this.predicate(params.type); + this.bytes(params.hash); + this.string(params.text); + }, + 'secureValueErrorTranslationFile': function(params) { + this.int32(-1592506512); + this.predicate(params.type); + this.bytes(params.file_hash); + this.string(params.text); + }, + 'secureValueErrorTranslationFiles': function(params) { + this.int32(878931416); + this.predicate(params.type); + this.vector(this.bytes, params.file_hash); + this.string(params.text); + }, + 'secureRequiredType': function(params) { + this.int32(-2103600678); + const flags = (this.has(params.native_names) << 0) | (this.has(params.selfie_required) << 1) | (this.has(params.translation_required) << 2); + this.int32(flags); + this.predicate(params.type); + }, + 'secureRequiredTypeOneOf': function(params) { + this.int32(41187252); + this.vector(this.predicate, params.types); + }, + 'help.passportConfigNotModified': function(params) { + this.int32(-1078332329); + }, + 'help.passportConfig': function(params) { + this.int32(-1600596305); + this.int(params.hash); + this.predicate(params.countries_langs); + }, + 'inputAppEvent': function(params) { + this.int32(488313413); + this.double(params.time); + this.string(params.type); + this.long(params.peer); + this.predicate(params.data); + }, + 'jsonObjectValue': function(params) { + this.int32(-1059185703); + this.string(params.key); + this.predicate(params.value); + }, + 'jsonNull': function(params) { + this.int32(1064139624); + }, + 'jsonBool': function(params) { + this.int32(-952869270); + this.Bool(params.value); + }, + 'jsonNumber': function(params) { + this.int32(736157604); + this.double(params.value); + }, + 'jsonString': function(params) { + this.int32(-1222740358); + this.string(params.value); + }, + 'jsonArray': function(params) { + this.int32(-146520221); + this.vector(this.predicate, params.value); + }, + 'jsonObject': function(params) { + this.int32(-1715350371); + this.vector(this.predicate, params.value); + }, + 'inputNotifyBroadcasts': function(params) { + this.int32(-1311015810); + }, + 'notifyBroadcasts': function(params) { + this.int32(-703403793); + }, + 'textSubscript': function(params) { + this.int32(-311786236); + this.predicate(params.text); + }, + 'textSuperscript': function(params) { + this.int32(-939827711); + this.predicate(params.text); + }, + 'textMarked': function(params) { + this.int32(55281185); + this.predicate(params.text); + }, + 'textPhone': function(params) { + this.int32(483104362); + this.predicate(params.text); + this.string(params.phone); + }, + 'textImage': function(params) { + this.int32(136105807); + this.long(params.document_id); + this.int(params.w); + this.int(params.h); + }, + 'pageBlockKicker': function(params) { + this.int32(504660880); + this.predicate(params.text); + }, + 'pageTableCell': function(params) { + this.int32(878078826); + const flags = (this.has(params.header) << 0) | (this.has(params.align_center) << 3) | (this.has(params.align_right) << 4) | (this.has(params.valign_middle) << 5) | (this.has(params.valign_bottom) << 6) | (this.has(params.text) << 7) | (this.has(params.colspan) << 1) | (this.has(params.rowspan) << 2); + this.int32(flags); + this.flag(this.predicate, params.text); + this.flag(this.int, params.colspan); + this.flag(this.int, params.rowspan); + }, + 'pageTableRow': function(params) { + this.int32(-524237339); + this.vector(this.predicate, params.cells); + }, + 'pageBlockTable': function(params) { + this.int32(-1085412734); + const flags = (this.has(params.bordered) << 0) | (this.has(params.striped) << 1); + this.int32(flags); + this.predicate(params.title); + this.vector(this.predicate, params.rows); + }, + 'pageCaption': function(params) { + this.int32(1869903447); + this.predicate(params.text); + this.predicate(params.credit); + }, + 'pageListItemText': function(params) { + this.int32(-1188055347); + this.predicate(params.text); + }, + 'pageListItemBlocks': function(params) { + this.int32(635466748); + this.vector(this.predicate, params.blocks); + }, + 'pageListOrderedItemText': function(params) { + this.int32(1577484359); + this.string(params.num); + this.predicate(params.text); + }, + 'pageListOrderedItemBlocks': function(params) { + this.int32(-1730311882); + this.string(params.num); + this.vector(this.predicate, params.blocks); + }, + 'pageBlockOrderedList': function(params) { + this.int32(-1702174239); + this.vector(this.predicate, params.items); + }, + 'pageBlockDetails': function(params) { + this.int32(1987480557); + const flags = (this.has(params.open) << 0); + this.int32(flags); + this.vector(this.predicate, params.blocks); + this.predicate(params.title); + }, + 'pageRelatedArticle': function(params) { + this.int32(-1282352120); + const flags = (this.has(params.title) << 0) | (this.has(params.description) << 1) | (this.has(params.photo_id) << 2) | (this.has(params.author) << 3) | (this.has(params.published_date) << 4); + this.int32(flags); + this.string(params.url); + this.long(params.webpage_id); + this.flag(this.string, params.title); + this.flag(this.string, params.description); + this.flag(this.long, params.photo_id); + this.flag(this.string, params.author); + this.flag(this.int, params.published_date); + }, + 'pageBlockRelatedArticles': function(params) { + this.int32(370236054); + this.predicate(params.title); + this.vector(this.predicate, params.articles); + }, + 'pageBlockMap': function(params) { + this.int32(-1538310410); + this.predicate(params.geo); + this.int(params.zoom); + this.int(params.w); + this.int(params.h); + this.predicate(params.caption); + }, + 'page': function(params) { + this.int32(-1738178803); + const flags = (this.has(params.part) << 0) | (this.has(params.rtl) << 1) | (this.has(params.v2) << 2) | (this.has(params.views) << 3); + this.int32(flags); + this.string(params.url); + this.vector(this.predicate, params.blocks); + this.vector(this.predicate, params.photos); + this.vector(this.predicate, params.documents); + this.flag(this.int, params.views); + }, + 'inputPrivacyKeyPhoneP2P': function(params) { + this.int32(-610373422); + }, + 'privacyKeyPhoneP2P': function(params) { + this.int32(961092808); + }, + 'textAnchor': function(params) { + this.int32(894777186); + this.predicate(params.text); + this.string(params.name); + }, + 'help.supportName': function(params) { + this.int32(-1945767479); + this.string(params.name); + }, + 'help.userInfoEmpty': function(params) { + this.int32(-206688531); + }, + 'help.userInfo': function(params) { + this.int32(32192344); + this.string(params.message); + this.vector(this.predicate, params.entities); + this.string(params.author); + this.int(params.date); + }, + 'messageActionContactSignUp': function(params) { + this.int32(-202219658); + }, + 'updateMessagePoll': function(params) { + this.int32(-1398708869); + const flags = (this.has(params.poll) << 0); + this.int32(flags); + this.long(params.poll_id); + this.flag(this.predicate, params.poll); + this.predicate(params.results); + }, + 'pollAnswer': function(params) { + this.int32(1823064809); + this.string(params.text); + this.bytes(params.option); + }, + 'poll': function(params) { + this.int32(-2032041631); + this.long(params.id); + const flags = (this.has(params.closed) << 0) | (this.has(params.public_voters) << 1) | (this.has(params.multiple_choice) << 2) | (this.has(params.quiz) << 3) | (this.has(params.close_period) << 4) | (this.has(params.close_date) << 5); + this.int32(flags); + this.string(params.question); + this.vector(this.predicate, params.answers); + this.flag(this.int, params.close_period); + this.flag(this.int, params.close_date); + }, + 'pollAnswerVoters': function(params) { + this.int32(997055186); + const flags = (this.has(params.chosen) << 0) | (this.has(params.correct) << 1); + this.int32(flags); + this.bytes(params.option); + this.int(params.voters); + }, + 'pollResults': function(params) { + this.int32(2061444128); + const flags = (this.has(params.min) << 0) | (this.has(params.results) << 1) | (this.has(params.total_voters) << 2) | (this.has(params.recent_voters) << 3) | (this.has(params.solution) << 4) | (this.has(params.solution_entities) << 4); + this.int32(flags); + this.flagVector(this.predicate, params.results); + this.flag(this.int, params.total_voters); + this.flagVector(this.predicate, params.recent_voters); + this.flag(this.string, params.solution); + this.flagVector(this.predicate, params.solution_entities); + }, + 'inputMediaPoll': function(params) { + this.int32(261416433); + const flags = (this.has(params.correct_answers) << 0) | (this.has(params.solution) << 1) | (this.has(params.solution_entities) << 1); + this.int32(flags); + this.predicate(params.poll); + this.flagVector(this.bytes, params.correct_answers); + this.flag(this.string, params.solution); + this.flagVector(this.predicate, params.solution_entities); + }, + 'messageMediaPoll': function(params) { + this.int32(1272375192); + this.predicate(params.poll); + this.predicate(params.results); + }, + 'chatOnlines': function(params) { + this.int32(-264117680); + this.int(params.onlines); + }, + 'statsURL': function(params) { + this.int32(1202287072); + this.string(params.url); + }, + 'photoStrippedSize': function(params) { + this.int32(-525288402); + this.string(params.type); + this.bytes(params.bytes); + }, + 'chatAdminRights': function(params) { + this.int32(1605510357); + const flags = (this.has(params.change_info) << 0) | (this.has(params.post_messages) << 1) | (this.has(params.edit_messages) << 2) | (this.has(params.delete_messages) << 3) | (this.has(params.ban_users) << 4) | (this.has(params.invite_users) << 5) | (this.has(params.pin_messages) << 7) | (this.has(params.add_admins) << 9) | (this.has(params.anonymous) << 10) | (this.has(params.manage_call) << 11) | (this.has(params.other) << 12) | (this.has(params.manage_topics) << 13) | (this.has(params.post_stories) << 14) | (this.has(params.edit_stories) << 15) | (this.has(params.delete_stories) << 16); + this.int32(flags); + }, + 'chatBannedRights': function(params) { + this.int32(-1626209256); + const flags = (this.has(params.view_messages) << 0) | (this.has(params.send_messages) << 1) | (this.has(params.send_media) << 2) | (this.has(params.send_stickers) << 3) | (this.has(params.send_gifs) << 4) | (this.has(params.send_games) << 5) | (this.has(params.send_inline) << 6) | (this.has(params.embed_links) << 7) | (this.has(params.send_polls) << 8) | (this.has(params.change_info) << 10) | (this.has(params.invite_users) << 15) | (this.has(params.pin_messages) << 17) | (this.has(params.manage_topics) << 18) | (this.has(params.send_photos) << 19) | (this.has(params.send_videos) << 20) | (this.has(params.send_roundvideos) << 21) | (this.has(params.send_audios) << 22) | (this.has(params.send_voices) << 23) | (this.has(params.send_docs) << 24) | (this.has(params.send_plain) << 25); + this.int32(flags); + this.int(params.until_date); + }, + 'updateChatDefaultBannedRights': function(params) { + this.int32(1421875280); + this.predicate(params.peer); + this.predicate(params.default_banned_rights); + this.int(params.version); + }, + 'inputWallPaper': function(params) { + this.int32(-433014407); + this.long(params.id); + this.long(params.access_hash); + }, + 'inputWallPaperSlug': function(params) { + this.int32(1913199744); + this.string(params.slug); + }, + 'channelParticipantsContacts': function(params) { + this.int32(-1150621555); + this.string(params.q); + }, + 'channelAdminLogEventActionDefaultBannedRights': function(params) { + this.int32(771095562); + this.predicate(params.prev_banned_rights); + this.predicate(params.new_banned_rights); + }, + 'channelAdminLogEventActionStopPoll': function(params) { + this.int32(-1895328189); + this.predicate(params.message); + }, + 'account.wallPapersNotModified': function(params) { + this.int32(471437699); + }, + 'account.wallPapers': function(params) { + this.int32(-842824308); + this.long(params.hash); + this.vector(this.predicate, params.wallpapers); + }, + 'codeSettings': function(params) { + this.int32(-1390068360); + const flags = (this.has(params.allow_flashcall) << 0) | (this.has(params.current_number) << 1) | (this.has(params.allow_app_hash) << 4) | (this.has(params.allow_missed_call) << 5) | (this.has(params.allow_firebase) << 7) | (this.has(params.logout_tokens) << 6) | (this.has(params.token) << 8) | (this.has(params.app_sandbox) << 8); + this.int32(flags); + this.flagVector(this.bytes, params.logout_tokens); + this.flag(this.string, params.token); + this.flag(this.Bool, params.app_sandbox); + }, + 'wallPaperSettings': function(params) { + this.int32(925826256); + const flags = (this.has(params.blur) << 1) | (this.has(params.motion) << 2) | (this.has(params.background_color) << 0) | (this.has(params.second_background_color) << 4) | (this.has(params.third_background_color) << 5) | (this.has(params.fourth_background_color) << 6) | (this.has(params.intensity) << 3) | (this.has(params.rotation) << 4) | (this.has(params.emoticon) << 7); + this.int32(flags); + this.flag(this.int, params.background_color); + this.flag(this.int, params.second_background_color); + this.flag(this.int, params.third_background_color); + this.flag(this.int, params.fourth_background_color); + this.flag(this.int, params.intensity); + this.flag(this.int, params.rotation); + this.flag(this.string, params.emoticon); + }, + 'autoDownloadSettings': function(params) { + this.int32(-1163561432); + const flags = (this.has(params.disabled) << 0) | (this.has(params.video_preload_large) << 1) | (this.has(params.audio_preload_next) << 2) | (this.has(params.phonecalls_less_data) << 3) | (this.has(params.stories_preload) << 4); + this.int32(flags); + this.int(params.photo_size_max); + this.long(params.video_size_max); + this.long(params.file_size_max); + this.int(params.video_upload_maxbitrate); + this.int(params.small_queue_active_operations_max); + this.int(params.large_queue_active_operations_max); + }, + 'account.autoDownloadSettings': function(params) { + this.int32(1674235686); + this.predicate(params.low); + this.predicate(params.medium); + this.predicate(params.high); + }, + 'emojiKeyword': function(params) { + this.int32(-709641735); + this.string(params.keyword); + this.vector(this.string, params.emoticons); + }, + 'emojiKeywordDeleted': function(params) { + this.int32(594408994); + this.string(params.keyword); + this.vector(this.string, params.emoticons); + }, + 'emojiKeywordsDifference': function(params) { + this.int32(1556570557); + this.string(params.lang_code); + this.int(params.from_version); + this.int(params.version); + this.vector(this.predicate, params.keywords); + }, + 'emojiURL': function(params) { + this.int32(-1519029347); + this.string(params.url); + }, + 'emojiLanguage': function(params) { + this.int32(-1275374751); + this.string(params.lang_code); + }, + 'inputPrivacyKeyForwards': function(params) { + this.int32(-1529000952); + }, + 'privacyKeyForwards': function(params) { + this.int32(1777096355); + }, + 'inputPrivacyKeyProfilePhoto': function(params) { + this.int32(1461304012); + }, + 'privacyKeyProfilePhoto': function(params) { + this.int32(-1777000467); + }, + 'inputPhotoFileLocation': function(params) { + this.int32(1075322878); + this.long(params.id); + this.long(params.access_hash); + this.bytes(params.file_reference); + this.string(params.thumb_size); + }, + 'inputPhotoLegacyFileLocation': function(params) { + this.int32(-667654413); + this.long(params.id); + this.long(params.access_hash); + this.bytes(params.file_reference); + this.long(params.volume_id); + this.int(params.local_id); + this.long(params.secret); + }, + 'inputPeerPhotoFileLocation': function(params) { + this.int32(925204121); + const flags = (this.has(params.big) << 0); + this.int32(flags); + this.predicate(params.peer); + this.long(params.photo_id); + }, + 'inputStickerSetThumb': function(params) { + this.int32(-1652231205); + this.predicate(params.stickerset); + this.int(params.thumb_version); + }, + 'folder': function(params) { + this.int32(-11252123); + const flags = (this.has(params.autofill_new_broadcasts) << 0) | (this.has(params.autofill_public_groups) << 1) | (this.has(params.autofill_new_correspondents) << 2) | (this.has(params.photo) << 3); + this.int32(flags); + this.int(params.id); + this.string(params.title); + this.flag(this.predicate, params.photo); + }, + 'dialogFolder': function(params) { + this.int32(1908216652); + const flags = (this.has(params.pinned) << 2); + this.int32(flags); + this.predicate(params.folder); + this.predicate(params.peer); + this.int(params.top_message); + this.int(params.unread_muted_peers_count); + this.int(params.unread_unmuted_peers_count); + this.int(params.unread_muted_messages_count); + this.int(params.unread_unmuted_messages_count); + }, + 'inputDialogPeerFolder': function(params) { + this.int32(1684014375); + this.int(params.folder_id); + }, + 'dialogPeerFolder': function(params) { + this.int32(1363483106); + this.int(params.folder_id); + }, + 'inputFolderPeer': function(params) { + this.int32(-70073706); + this.predicate(params.peer); + this.int(params.folder_id); + }, + 'folderPeer': function(params) { + this.int32(-373643672); + this.predicate(params.peer); + this.int(params.folder_id); + }, + 'updateFolderPeers': function(params) { + this.int32(422972864); + this.vector(this.predicate, params.folder_peers); + this.int(params.pts); + this.int(params.pts_count); + }, + 'inputUserFromMessage': function(params) { + this.int32(497305826); + this.predicate(params.peer); + this.int(params.msg_id); + this.long(params.user_id); + }, + 'inputChannelFromMessage': function(params) { + this.int32(1536380829); + this.predicate(params.peer); + this.int(params.msg_id); + this.long(params.channel_id); + }, + 'inputPeerUserFromMessage': function(params) { + this.int32(-1468331492); + this.predicate(params.peer); + this.int(params.msg_id); + this.long(params.user_id); + }, + 'inputPeerChannelFromMessage': function(params) { + this.int32(-1121318848); + this.predicate(params.peer); + this.int(params.msg_id); + this.long(params.channel_id); + }, + 'inputPrivacyKeyPhoneNumber': function(params) { + this.int32(55761658); + }, + 'privacyKeyPhoneNumber': function(params) { + this.int32(-778378131); + }, + 'topPeerCategoryForwardUsers': function(params) { + this.int32(-1472172887); + }, + 'topPeerCategoryForwardChats': function(params) { + this.int32(-68239120); + }, + 'channelAdminLogEventActionChangeLinkedChat': function(params) { + this.int32(84703944); + this.long(params.prev_value); + this.long(params.new_value); + }, + 'messages.searchCounter': function(params) { + this.int32(-398136321); + const flags = (this.has(params.inexact) << 1); + this.int32(flags); + this.predicate(params.filter); + this.int(params.count); + }, + 'keyboardButtonUrlAuth': function(params) { + this.int32(280464681); + const flags = (this.has(params.fwd_text) << 0); + this.int32(flags); + this.string(params.text); + this.flag(this.string, params.fwd_text); + this.string(params.url); + this.int(params.button_id); + }, + 'inputKeyboardButtonUrlAuth': function(params) { + this.int32(-802258988); + const flags = (this.has(params.request_write_access) << 0) | (this.has(params.fwd_text) << 1); + this.int32(flags); + this.string(params.text); + this.flag(this.string, params.fwd_text); + this.string(params.url); + this.predicate(params.bot); + }, + 'urlAuthResultRequest': function(params) { + this.int32(-1831650802); + const flags = (this.has(params.request_write_access) << 0); + this.int32(flags); + this.predicate(params.bot); + this.string(params.domain); + }, + 'urlAuthResultAccepted': function(params) { + this.int32(-1886646706); + this.string(params.url); + }, + 'urlAuthResultDefault': function(params) { + this.int32(-1445536993); + }, + 'inputPrivacyValueAllowChatParticipants': function(params) { + this.int32(-2079962673); + this.vector(this.long, params.chats); + }, + 'inputPrivacyValueDisallowChatParticipants': function(params) { + this.int32(-380694650); + this.vector(this.long, params.chats); + }, + 'privacyValueAllowChatParticipants': function(params) { + this.int32(1796427406); + this.vector(this.long, params.chats); + }, + 'privacyValueDisallowChatParticipants': function(params) { + this.int32(1103656293); + this.vector(this.long, params.chats); + }, + 'messageEntityUnderline': function(params) { + this.int32(-1672577397); + this.int(params.offset); + this.int(params.length); + }, + 'messageEntityStrike': function(params) { + this.int32(-1090087980); + this.int(params.offset); + this.int(params.length); + }, + 'updatePeerSettings': function(params) { + this.int32(1786671974); + this.predicate(params.peer); + this.predicate(params.settings); + }, + 'channelLocationEmpty': function(params) { + this.int32(-1078612597); + }, + 'channelLocation': function(params) { + this.int32(547062491); + this.predicate(params.geo_point); + this.string(params.address); + }, + 'peerLocated': function(params) { + this.int32(-901375139); + this.predicate(params.peer); + this.int(params.expires); + this.int(params.distance); + }, + 'updatePeerLocated': function(params) { + this.int32(-1263546448); + this.vector(this.predicate, params.peers); + }, + 'channelAdminLogEventActionChangeLocation': function(params) { + this.int32(241923758); + this.predicate(params.prev_value); + this.predicate(params.new_value); + }, + 'inputReportReasonGeoIrrelevant': function(params) { + this.int32(-606798099); + }, + 'channelAdminLogEventActionToggleSlowMode': function(params) { + this.int32(1401984889); + this.int(params.prev_value); + this.int(params.new_value); + }, + 'auth.authorizationSignUpRequired': function(params) { + this.int32(1148485274); + const flags = (this.has(params.terms_of_service) << 0); + this.int32(flags); + this.flag(this.predicate, params.terms_of_service); + }, + 'payments.paymentVerificationNeeded': function(params) { + this.int32(-666824391); + this.string(params.url); + }, + 'inputStickerSetAnimatedEmoji': function(params) { + this.int32(42402760); + }, + 'updateNewScheduledMessage': function(params) { + this.int32(967122427); + this.predicate(params.message); + }, + 'updateDeleteScheduledMessages': function(params) { + this.int32(-1870238482); + this.predicate(params.peer); + this.vector(this.int, params.messages); + }, + 'restrictionReason': function(params) { + this.int32(-797791052); + this.string(params.platform); + this.string(params.reason); + this.string(params.text); + }, + 'inputTheme': function(params) { + this.int32(1012306921); + this.long(params.id); + this.long(params.access_hash); + }, + 'inputThemeSlug': function(params) { + this.int32(-175567375); + this.string(params.slug); + }, + 'theme': function(params) { + this.int32(-1609668650); + const flags = (this.has(params.creator) << 0) | (this.has(params.default) << 1) | (this.has(params.for_chat) << 5) | (this.has(params.document) << 2) | (this.has(params.settings) << 3) | (this.has(params.emoticon) << 6) | (this.has(params.installs_count) << 4); + this.int32(flags); + this.long(params.id); + this.long(params.access_hash); + this.string(params.slug); + this.string(params.title); + this.flag(this.predicate, params.document); + this.flagVector(this.predicate, params.settings); + this.flag(this.string, params.emoticon); + this.flag(this.int, params.installs_count); + }, + 'account.themesNotModified': function(params) { + this.int32(-199313886); + }, + 'account.themes': function(params) { + this.int32(-1707242387); + this.long(params.hash); + this.vector(this.predicate, params.themes); + }, + 'updateTheme': function(params) { + this.int32(-2112423005); + this.predicate(params.theme); + }, + 'inputPrivacyKeyAddedByPhone': function(params) { + this.int32(-786326563); + }, + 'privacyKeyAddedByPhone': function(params) { + this.int32(1124062251); + }, + 'updateGeoLiveViewed': function(params) { + this.int32(-2027964103); + this.predicate(params.peer); + this.int(params.msg_id); + }, + 'updateLoginToken': function(params) { + this.int32(1448076945); + }, + 'auth.loginToken': function(params) { + this.int32(1654593920); + this.int(params.expires); + this.bytes(params.token); + }, + 'auth.loginTokenMigrateTo': function(params) { + this.int32(110008598); + this.int(params.dc_id); + this.bytes(params.token); + }, + 'auth.loginTokenSuccess': function(params) { + this.int32(957176926); + this.predicate(params.authorization); + }, + 'account.contentSettings': function(params) { + this.int32(1474462241); + const flags = (this.has(params.sensitive_enabled) << 0) | (this.has(params.sensitive_can_change) << 1); + this.int32(flags); + }, + 'messages.inactiveChats': function(params) { + this.int32(-1456996667); + this.vector(this.int, params.dates); + this.vector(this.predicate, params.chats); + this.vector(this.predicate, params.users); + }, + 'baseThemeClassic': function(params) { + this.int32(-1012849566); + }, + 'baseThemeDay': function(params) { + this.int32(-69724536); + }, + 'baseThemeNight': function(params) { + this.int32(-1212997976); + }, + 'baseThemeTinted': function(params) { + this.int32(1834973166); + }, + 'baseThemeArctic': function(params) { + this.int32(1527845466); + }, + 'inputWallPaperNoFile': function(params) { + this.int32(-1770371538); + this.long(params.id); + }, + 'wallPaperNoFile': function(params) { + this.int32(-528465642); + this.long(params.id); + const flags = (this.has(params.default) << 1) | (this.has(params.dark) << 4) | (this.has(params.settings) << 2); + this.int32(flags); + this.flag(this.predicate, params.settings); + }, + 'inputThemeSettings': function(params) { + this.int32(-1881255857); + const flags = (this.has(params.message_colors_animated) << 2) | (this.has(params.outbox_accent_color) << 3) | (this.has(params.message_colors) << 0) | (this.has(params.wallpaper) << 1) | (this.has(params.wallpaper_settings) << 1); + this.int32(flags); + this.predicate(params.base_theme); + this.int(params.accent_color); + this.flag(this.int, params.outbox_accent_color); + this.flagVector(this.int, params.message_colors); + this.flag(this.predicate, params.wallpaper); + this.flag(this.predicate, params.wallpaper_settings); + }, + 'themeSettings': function(params) { + this.int32(-94849324); + const flags = (this.has(params.message_colors_animated) << 2) | (this.has(params.outbox_accent_color) << 3) | (this.has(params.message_colors) << 0) | (this.has(params.wallpaper) << 1); + this.int32(flags); + this.predicate(params.base_theme); + this.int(params.accent_color); + this.flag(this.int, params.outbox_accent_color); + this.flagVector(this.int, params.message_colors); + this.flag(this.predicate, params.wallpaper); + }, + 'webPageAttributeTheme': function(params) { + this.int32(1421174295); + const flags = (this.has(params.documents) << 0) | (this.has(params.settings) << 1); + this.int32(flags); + this.flagVector(this.predicate, params.documents); + this.flag(this.predicate, params.settings); + }, + 'updateMessagePollVote': function(params) { + this.int32(619974263); + this.long(params.poll_id); + this.predicate(params.peer); + this.vector(this.bytes, params.options); + this.int(params.qts); + }, + 'messages.votesList': function(params) { + this.int32(1218005070); + const flags = (this.has(params.next_offset) << 0); + this.int32(flags); + this.int(params.count); + this.vector(this.predicate, params.votes); + this.vector(this.predicate, params.chats); + this.vector(this.predicate, params.users); + this.flag(this.string, params.next_offset); + }, + 'keyboardButtonRequestPoll': function(params) { + this.int32(-1144565411); + const flags = (this.has(params.quiz) << 0); + this.int32(flags); + this.flag(this.Bool, params.quiz); + this.string(params.text); + }, + 'messageEntityBankCard': function(params) { + this.int32(1981704948); + this.int(params.offset); + this.int(params.length); + }, + 'bankCardOpenUrl': function(params) { + this.int32(-177732982); + this.string(params.url); + this.string(params.name); + }, + 'payments.bankCardData': function(params) { + this.int32(1042605427); + this.string(params.title); + this.vector(this.predicate, params.open_urls); + }, + 'peerSelfLocated': function(params) { + this.int32(-118740917); + this.int(params.expires); + }, + 'dialogFilter': function(params) { + this.int32(1949890536); + const flags = (this.has(params.contacts) << 0) | (this.has(params.non_contacts) << 1) | (this.has(params.groups) << 2) | (this.has(params.broadcasts) << 3) | (this.has(params.bots) << 4) | (this.has(params.exclude_muted) << 11) | (this.has(params.exclude_read) << 12) | (this.has(params.exclude_archived) << 13) | (this.has(params.emoticon) << 25); + this.int32(flags); + this.int(params.id); + this.string(params.title); + this.flag(this.string, params.emoticon); + this.vector(this.predicate, params.pinned_peers); + this.vector(this.predicate, params.include_peers); + this.vector(this.predicate, params.exclude_peers); + }, + 'dialogFilterSuggested': function(params) { + this.int32(2004110666); + this.predicate(params.filter); + this.string(params.description); + }, + 'updateDialogFilter': function(params) { + this.int32(654302845); + const flags = (this.has(params.filter) << 0); + this.int32(flags); + this.int(params.id); + this.flag(this.predicate, params.filter); + }, + 'updateDialogFilterOrder': function(params) { + this.int32(-1512627963); + this.vector(this.int, params.order); + }, + 'updateDialogFilters': function(params) { + this.int32(889491791); + }, + 'statsDateRangeDays': function(params) { + this.int32(-1237848657); + this.int(params.min_date); + this.int(params.max_date); + }, + 'statsAbsValueAndPrev': function(params) { + this.int32(-884757282); + this.double(params.current); + this.double(params.previous); + }, + 'statsPercentValue': function(params) { + this.int32(-875679776); + this.double(params.part); + this.double(params.total); + }, + 'statsGraphAsync': function(params) { + this.int32(1244130093); + this.string(params.token); + }, + 'statsGraphError': function(params) { + this.int32(-1092839390); + this.string(params.error); + }, + 'statsGraph': function(params) { + this.int32(-1901828938); + const flags = (this.has(params.zoom_token) << 0); + this.int32(flags); + this.predicate(params.json); + this.flag(this.string, params.zoom_token); + }, + 'stats.broadcastStats': function(params) { + this.int32(963421692); + this.predicate(params.period); + this.predicate(params.followers); + this.predicate(params.views_per_post); + this.predicate(params.shares_per_post); + this.predicate(params.reactions_per_post); + this.predicate(params.views_per_story); + this.predicate(params.shares_per_story); + this.predicate(params.reactions_per_story); + this.predicate(params.enabled_notifications); + this.predicate(params.growth_graph); + this.predicate(params.followers_graph); + this.predicate(params.mute_graph); + this.predicate(params.top_hours_graph); + this.predicate(params.interactions_graph); + this.predicate(params.iv_interactions_graph); + this.predicate(params.views_by_source_graph); + this.predicate(params.new_followers_by_source_graph); + this.predicate(params.languages_graph); + this.predicate(params.reactions_by_emotion_graph); + this.predicate(params.story_interactions_graph); + this.predicate(params.story_reactions_by_emotion_graph); + this.vector(this.predicate, params.recent_posts_interactions); + }, + 'inputMediaDice': function(params) { + this.int32(-428884101); + this.string(params.emoticon); + }, + 'messageMediaDice': function(params) { + this.int32(1065280907); + this.int(params.value); + this.string(params.emoticon); + }, + 'inputStickerSetDice': function(params) { + this.int32(-427863538); + this.string(params.emoticon); + }, + 'help.promoDataEmpty': function(params) { + this.int32(-1728664459); + this.int(params.expires); + }, + 'help.promoData': function(params) { + this.int32(-1942390465); + const flags = (this.has(params.proxy) << 0) | (this.has(params.psa_type) << 1) | (this.has(params.psa_message) << 2); + this.int32(flags); + this.int(params.expires); + this.predicate(params.peer); + this.vector(this.predicate, params.chats); + this.vector(this.predicate, params.users); + this.flag(this.string, params.psa_type); + this.flag(this.string, params.psa_message); + }, + 'videoSize': function(params) { + this.int32(-567037804); + const flags = (this.has(params.video_start_ts) << 0); + this.int32(flags); + this.string(params.type); + this.int(params.w); + this.int(params.h); + this.int(params.size); + this.flag(this.double, params.video_start_ts); + }, + 'updatePhoneCallSignalingData': function(params) { + this.int32(643940105); + this.long(params.phone_call_id); + this.bytes(params.data); + }, + 'chatInvitePeek': function(params) { + this.int32(1634294960); + this.predicate(params.chat); + this.int(params.expires); + }, + 'statsGroupTopPoster': function(params) { + this.int32(-1660637285); + this.long(params.user_id); + this.int(params.messages); + this.int(params.avg_chars); + }, + 'statsGroupTopAdmin': function(params) { + this.int32(-682079097); + this.long(params.user_id); + this.int(params.deleted); + this.int(params.kicked); + this.int(params.banned); + }, + 'statsGroupTopInviter': function(params) { + this.int32(1398765469); + this.long(params.user_id); + this.int(params.invitations); + }, + 'stats.megagroupStats': function(params) { + this.int32(-276825834); + this.predicate(params.period); + this.predicate(params.members); + this.predicate(params.messages); + this.predicate(params.viewers); + this.predicate(params.posters); + this.predicate(params.growth_graph); + this.predicate(params.members_graph); + this.predicate(params.new_members_by_source_graph); + this.predicate(params.languages_graph); + this.predicate(params.messages_graph); + this.predicate(params.actions_graph); + this.predicate(params.top_hours_graph); + this.predicate(params.weekdays_graph); + this.vector(this.predicate, params.top_posters); + this.vector(this.predicate, params.top_admins); + this.vector(this.predicate, params.top_inviters); + this.vector(this.predicate, params.users); + }, + 'globalPrivacySettings': function(params) { + this.int32(1934380235); + const flags = (this.has(params.archive_and_mute_new_noncontact_peers) << 0) | (this.has(params.keep_archived_unmuted) << 1) | (this.has(params.keep_archived_folders) << 2); + this.int32(flags); + }, + 'phoneConnectionWebrtc': function(params) { + this.int32(1667228533); + const flags = (this.has(params.turn) << 0) | (this.has(params.stun) << 1); + this.int32(flags); + this.long(params.id); + this.string(params.ip); + this.string(params.ipv6); + this.int(params.port); + this.string(params.username); + this.string(params.password); + }, + 'help.countryCode': function(params) { + this.int32(1107543535); + const flags = (this.has(params.prefixes) << 0) | (this.has(params.patterns) << 1); + this.int32(flags); + this.string(params.country_code); + this.flagVector(this.string, params.prefixes); + this.flagVector(this.string, params.patterns); + }, + 'help.country': function(params) { + this.int32(-1014526429); + const flags = (this.has(params.hidden) << 0) | (this.has(params.name) << 1); + this.int32(flags); + this.string(params.iso2); + this.string(params.default_name); + this.flag(this.string, params.name); + this.vector(this.predicate, params.country_codes); + }, + 'help.countriesListNotModified': function(params) { + this.int32(-1815339214); + }, + 'help.countriesList': function(params) { + this.int32(-2016381538); + this.vector(this.predicate, params.countries); + this.int(params.hash); + }, + 'messageViews': function(params) { + this.int32(1163625789); + const flags = (this.has(params.views) << 0) | (this.has(params.forwards) << 1) | (this.has(params.replies) << 2); + this.int32(flags); + this.flag(this.int, params.views); + this.flag(this.int, params.forwards); + this.flag(this.predicate, params.replies); + }, + 'updateChannelMessageForwards': function(params) { + this.int32(-761649164); + this.long(params.channel_id); + this.int(params.id); + this.int(params.forwards); + }, + 'photoSizeProgressive': function(params) { + this.int32(-96535659); + this.string(params.type); + this.int(params.w); + this.int(params.h); + this.vector(this.int, params.sizes); + }, + 'messages.messageViews': function(params) { + this.int32(-1228606141); + this.vector(this.predicate, params.views); + this.vector(this.predicate, params.chats); + this.vector(this.predicate, params.users); + }, + 'updateReadChannelDiscussionInbox': function(params) { + this.int32(-693004986); + const flags = (this.has(params.broadcast_id) << 0) | (this.has(params.broadcast_post) << 0); + this.int32(flags); + this.long(params.channel_id); + this.int(params.top_msg_id); + this.int(params.read_max_id); + this.flag(this.long, params.broadcast_id); + this.flag(this.int, params.broadcast_post); + }, + 'updateReadChannelDiscussionOutbox': function(params) { + this.int32(1767677564); + this.long(params.channel_id); + this.int(params.top_msg_id); + this.int(params.read_max_id); + }, + 'messages.discussionMessage': function(params) { + this.int32(-1506535550); + const flags = (this.has(params.max_id) << 0) | (this.has(params.read_inbox_max_id) << 1) | (this.has(params.read_outbox_max_id) << 2); + this.int32(flags); + this.vector(this.predicate, params.messages); + this.flag(this.int, params.max_id); + this.flag(this.int, params.read_inbox_max_id); + this.flag(this.int, params.read_outbox_max_id); + this.int(params.unread_count); + this.vector(this.predicate, params.chats); + this.vector(this.predicate, params.users); + }, + 'messageReplyHeader': function(params) { + this.int32(-1346631205); + const flags = (this.has(params.reply_to_scheduled) << 2) | (this.has(params.forum_topic) << 3) | (this.has(params.quote) << 9) | (this.has(params.reply_to_msg_id) << 4) | (this.has(params.reply_to_peer_id) << 0) | (this.has(params.reply_from) << 5) | (this.has(params.reply_media) << 8) | (this.has(params.reply_to_top_id) << 1) | (this.has(params.quote_text) << 6) | (this.has(params.quote_entities) << 7) | (this.has(params.quote_offset) << 10); + this.int32(flags); + this.flag(this.int, params.reply_to_msg_id); + this.flag(this.predicate, params.reply_to_peer_id); + this.flag(this.predicate, params.reply_from); + this.flag(this.predicate, params.reply_media); + this.flag(this.int, params.reply_to_top_id); + this.flag(this.string, params.quote_text); + this.flagVector(this.predicate, params.quote_entities); + this.flag(this.int, params.quote_offset); + }, + 'messageReplies': function(params) { + this.int32(-2083123262); + const flags = (this.has(params.comments) << 0) | (this.has(params.recent_repliers) << 1) | (this.has(params.channel_id) << 0) | (this.has(params.max_id) << 2) | (this.has(params.read_max_id) << 3); + this.int32(flags); + this.int(params.replies); + this.int(params.replies_pts); + this.flagVector(this.predicate, params.recent_repliers); + this.flag(this.long, params.channel_id); + this.flag(this.int, params.max_id); + this.flag(this.int, params.read_max_id); + }, + 'updatePeerBlocked': function(params) { + this.int32(-337610926); + const flags = (this.has(params.blocked) << 0) | (this.has(params.blocked_my_stories_from) << 1); + this.int32(flags); + this.predicate(params.peer_id); + }, + 'peerBlocked': function(params) { + this.int32(-386039788); + this.predicate(params.peer_id); + this.int(params.date); + }, + 'updateChannelUserTyping': function(params) { + this.int32(-1937192669); + const flags = (this.has(params.top_msg_id) << 0); + this.int32(flags); + this.long(params.channel_id); + this.flag(this.int, params.top_msg_id); + this.predicate(params.from_id); + this.predicate(params.action); + }, + 'inputMessageCallbackQuery': function(params) { + this.int32(-1392895362); + this.int(params.id); + this.long(params.query_id); + }, + 'channelParticipantLeft': function(params) { + this.int32(453242886); + this.predicate(params.peer); + }, + 'channelParticipantsMentions': function(params) { + this.int32(-531931925); + const flags = (this.has(params.q) << 0) | (this.has(params.top_msg_id) << 1); + this.int32(flags); + this.flag(this.string, params.q); + this.flag(this.int, params.top_msg_id); + }, + 'updatePinnedMessages': function(params) { + this.int32(-309990731); + const flags = (this.has(params.pinned) << 0); + this.int32(flags); + this.predicate(params.peer); + this.vector(this.int, params.messages); + this.int(params.pts); + this.int(params.pts_count); + }, + 'updatePinnedChannelMessages': function(params) { + this.int32(1538885128); + const flags = (this.has(params.pinned) << 0); + this.int32(flags); + this.long(params.channel_id); + this.vector(this.int, params.messages); + this.int(params.pts); + this.int(params.pts_count); + }, + 'inputMessagesFilterPinned': function(params) { + this.int32(464520273); + }, + 'stats.messageStats': function(params) { + this.int32(2145983508); + this.predicate(params.views_graph); + this.predicate(params.reactions_by_emotion_graph); + }, + 'messageActionGeoProximityReached': function(params) { + this.int32(-1730095465); + this.predicate(params.from_id); + this.predicate(params.to_id); + this.int(params.distance); + }, + 'photoPathSize': function(params) { + this.int32(-668906175); + this.string(params.type); + this.bytes(params.bytes); + }, + 'speakingInGroupCallAction': function(params) { + this.int32(-651419003); + }, + 'groupCallDiscarded': function(params) { + this.int32(2004925620); + this.long(params.id); + this.long(params.access_hash); + this.int(params.duration); + }, + 'groupCall': function(params) { + this.int32(-711498484); + const flags = (this.has(params.join_muted) << 1) | (this.has(params.can_change_join_muted) << 2) | (this.has(params.join_date_asc) << 6) | (this.has(params.schedule_start_subscribed) << 8) | (this.has(params.can_start_video) << 9) | (this.has(params.record_video_active) << 11) | (this.has(params.rtmp_stream) << 12) | (this.has(params.listeners_hidden) << 13) | (this.has(params.title) << 3) | (this.has(params.stream_dc_id) << 4) | (this.has(params.record_start_date) << 5) | (this.has(params.schedule_date) << 7) | (this.has(params.unmuted_video_count) << 10); + this.int32(flags); + this.long(params.id); + this.long(params.access_hash); + this.int(params.participants_count); + this.flag(this.string, params.title); + this.flag(this.int, params.stream_dc_id); + this.flag(this.int, params.record_start_date); + this.flag(this.int, params.schedule_date); + this.flag(this.int, params.unmuted_video_count); + this.int(params.unmuted_video_limit); + this.int(params.version); + }, + 'inputGroupCall': function(params) { + this.int32(-659913713); + this.long(params.id); + this.long(params.access_hash); + }, + 'messageActionGroupCall': function(params) { + this.int32(2047704898); + const flags = (this.has(params.duration) << 0); + this.int32(flags); + this.predicate(params.call); + this.flag(this.int, params.duration); + }, + 'messageActionInviteToGroupCall': function(params) { + this.int32(1345295095); + this.predicate(params.call); + this.vector(this.long, params.users); + }, + 'groupCallParticipant': function(params) { + this.int32(-341428482); + const flags = (this.has(params.muted) << 0) | (this.has(params.left) << 1) | (this.has(params.can_self_unmute) << 2) | (this.has(params.just_joined) << 4) | (this.has(params.versioned) << 5) | (this.has(params.min) << 8) | (this.has(params.muted_by_you) << 9) | (this.has(params.volume_by_admin) << 10) | (this.has(params.self) << 12) | (this.has(params.video_joined) << 15) | (this.has(params.active_date) << 3) | (this.has(params.volume) << 7) | (this.has(params.about) << 11) | (this.has(params.raise_hand_rating) << 13) | (this.has(params.video) << 6) | (this.has(params.presentation) << 14); + this.int32(flags); + this.predicate(params.peer); + this.int(params.date); + this.flag(this.int, params.active_date); + this.int(params.source); + this.flag(this.int, params.volume); + this.flag(this.string, params.about); + this.flag(this.long, params.raise_hand_rating); + this.flag(this.predicate, params.video); + this.flag(this.predicate, params.presentation); + }, + 'updateChat': function(params) { + this.int32(-124097970); + this.long(params.chat_id); + }, + 'updateGroupCallParticipants': function(params) { + this.int32(-219423922); + this.predicate(params.call); + this.vector(this.predicate, params.participants); + this.int(params.version); + }, + 'updateGroupCall': function(params) { + this.int32(347227392); + this.long(params.chat_id); + this.predicate(params.call); + }, + 'phone.groupCall': function(params) { + this.int32(-1636664659); + this.predicate(params.call); + this.vector(this.predicate, params.participants); + this.string(params.participants_next_offset); + this.vector(this.predicate, params.chats); + this.vector(this.predicate, params.users); + }, + 'phone.groupParticipants': function(params) { + this.int32(-193506890); + this.int(params.count); + this.vector(this.predicate, params.participants); + this.string(params.next_offset); + this.vector(this.predicate, params.chats); + this.vector(this.predicate, params.users); + this.int(params.version); + }, + 'inlineQueryPeerTypeSameBotPM': function(params) { + this.int32(813821341); + }, + 'inlineQueryPeerTypePM': function(params) { + this.int32(-2093215828); + }, + 'inlineQueryPeerTypeChat': function(params) { + this.int32(-681130742); + }, + 'inlineQueryPeerTypeMegagroup': function(params) { + this.int32(1589952067); + }, + 'inlineQueryPeerTypeBroadcast': function(params) { + this.int32(1664413338); + }, + 'channelAdminLogEventActionStartGroupCall': function(params) { + this.int32(589338437); + this.predicate(params.call); + }, + 'channelAdminLogEventActionDiscardGroupCall': function(params) { + this.int32(-610299584); + this.predicate(params.call); + }, + 'channelAdminLogEventActionParticipantMute': function(params) { + this.int32(-115071790); + this.predicate(params.participant); + }, + 'channelAdminLogEventActionParticipantUnmute': function(params) { + this.int32(-431740480); + this.predicate(params.participant); + }, + 'channelAdminLogEventActionToggleGroupCallSetting': function(params) { + this.int32(1456906823); + this.Bool(params.join_muted); + }, + 'inputPaymentCredentialsGooglePay': function(params) { + this.int32(-1966921727); + this.predicate(params.payment_token); + }, + 'messages.historyImport': function(params) { + this.int32(375566091); + this.long(params.id); + }, + 'sendMessageHistoryImportAction': function(params) { + this.int32(-606432698); + this.int(params.progress); + }, + 'messages.historyImportParsed': function(params) { + this.int32(1578088377); + const flags = (this.has(params.pm) << 0) | (this.has(params.group) << 1) | (this.has(params.title) << 2); + this.int32(flags); + this.flag(this.string, params.title); + }, + 'inputReportReasonFake': function(params) { + this.int32(-170010905); + }, + 'messages.affectedFoundMessages': function(params) { + this.int32(-275956116); + this.int(params.pts); + this.int(params.pts_count); + this.int(params.offset); + this.vector(this.int, params.messages); + }, + 'messageActionSetMessagesTTL': function(params) { + this.int32(1007897979); + const flags = (this.has(params.auto_setting_from) << 0); + this.int32(flags); + this.int(params.period); + this.flag(this.long, params.auto_setting_from); + }, + 'updatePeerHistoryTTL': function(params) { + this.int32(-1147422299); + const flags = (this.has(params.ttl_period) << 0); + this.int32(flags); + this.predicate(params.peer); + this.flag(this.int, params.ttl_period); + }, + 'updateChatParticipant': function(params) { + this.int32(-796432838); + const flags = (this.has(params.prev_participant) << 0) | (this.has(params.new_participant) << 1) | (this.has(params.invite) << 2); + this.int32(flags); + this.long(params.chat_id); + this.int(params.date); + this.long(params.actor_id); + this.long(params.user_id); + this.flag(this.predicate, params.prev_participant); + this.flag(this.predicate, params.new_participant); + this.flag(this.predicate, params.invite); + this.int(params.qts); + }, + 'updateChannelParticipant': function(params) { + this.int32(-1738720581); + const flags = (this.has(params.via_chatlist) << 3) | (this.has(params.prev_participant) << 0) | (this.has(params.new_participant) << 1) | (this.has(params.invite) << 2); + this.int32(flags); + this.long(params.channel_id); + this.int(params.date); + this.long(params.actor_id); + this.long(params.user_id); + this.flag(this.predicate, params.prev_participant); + this.flag(this.predicate, params.new_participant); + this.flag(this.predicate, params.invite); + this.int(params.qts); + }, + 'updateBotStopped': function(params) { + this.int32(-997782967); + this.long(params.user_id); + this.int(params.date); + this.Bool(params.stopped); + this.int(params.qts); + }, + 'chatInviteImporter': function(params) { + this.int32(-1940201511); + const flags = (this.has(params.requested) << 0) | (this.has(params.via_chatlist) << 3) | (this.has(params.about) << 2) | (this.has(params.approved_by) << 1); + this.int32(flags); + this.long(params.user_id); + this.int(params.date); + this.flag(this.string, params.about); + this.flag(this.long, params.approved_by); + }, + 'messages.exportedChatInvites': function(params) { + this.int32(-1111085620); + this.int(params.count); + this.vector(this.predicate, params.invites); + this.vector(this.predicate, params.users); + }, + 'messages.exportedChatInvite': function(params) { + this.int32(410107472); + this.predicate(params.invite); + this.vector(this.predicate, params.users); + }, + 'messages.exportedChatInviteReplaced': function(params) { + this.int32(572915951); + this.predicate(params.invite); + this.predicate(params.new_invite); + this.vector(this.predicate, params.users); + }, + 'messages.chatInviteImporters': function(params) { + this.int32(-2118733814); + this.int(params.count); + this.vector(this.predicate, params.importers); + this.vector(this.predicate, params.users); + }, + 'chatAdminWithInvites': function(params) { + this.int32(-219353309); + this.long(params.admin_id); + this.int(params.invites_count); + this.int(params.revoked_invites_count); + }, + 'messages.chatAdminsWithInvites': function(params) { + this.int32(-1231326505); + this.vector(this.predicate, params.admins); + this.vector(this.predicate, params.users); + }, + 'channelAdminLogEventActionParticipantJoinByInvite': function(params) { + this.int32(-23084712); + const flags = (this.has(params.via_chatlist) << 0); + this.int32(flags); + this.predicate(params.invite); + }, + 'channelAdminLogEventActionExportedInviteDelete': function(params) { + this.int32(1515256996); + this.predicate(params.invite); + }, + 'channelAdminLogEventActionExportedInviteRevoke': function(params) { + this.int32(1091179342); + this.predicate(params.invite); + }, + 'channelAdminLogEventActionExportedInviteEdit': function(params) { + this.int32(-384910503); + this.predicate(params.prev_invite); + this.predicate(params.new_invite); + }, + 'channelAdminLogEventActionParticipantVolume': function(params) { + this.int32(1048537159); + this.predicate(params.participant); + }, + 'channelAdminLogEventActionChangeHistoryTTL': function(params) { + this.int32(1855199800); + this.int(params.prev_value); + this.int(params.new_value); + }, + 'messages.checkedHistoryImportPeer': function(params) { + this.int32(-1571952873); + this.string(params.confirm_text); + }, + 'inputGroupCallStream': function(params) { + this.int32(93890858); + const flags = (this.has(params.video_channel) << 0) | (this.has(params.video_quality) << 0); + this.int32(flags); + this.predicate(params.call); + this.long(params.time_ms); + this.int(params.scale); + this.flag(this.int, params.video_channel); + this.flag(this.int, params.video_quality); + }, + 'phone.joinAsPeers': function(params) { + this.int32(-1343921601); + this.vector(this.predicate, params.peers); + this.vector(this.predicate, params.chats); + this.vector(this.predicate, params.users); + }, + 'phone.exportedGroupCallInvite': function(params) { + this.int32(541839704); + this.string(params.link); + }, + 'inputBotInlineMessageMediaInvoice': function(params) { + this.int32(-672693723); + const flags = (this.has(params.photo) << 0) | (this.has(params.reply_markup) << 2); + this.int32(flags); + this.string(params.title); + this.string(params.description); + this.flag(this.predicate, params.photo); + this.predicate(params.invoice); + this.bytes(params.payload); + this.string(params.provider); + this.predicate(params.provider_data); + this.flag(this.predicate, params.reply_markup); + }, + 'botInlineMessageMediaInvoice': function(params) { + this.int32(894081801); + const flags = (this.has(params.shipping_address_requested) << 1) | (this.has(params.test) << 3) | (this.has(params.photo) << 0) | (this.has(params.reply_markup) << 2); + this.int32(flags); + this.string(params.title); + this.string(params.description); + this.flag(this.predicate, params.photo); + this.string(params.currency); + this.long(params.total_amount); + this.flag(this.predicate, params.reply_markup); + }, + 'messageActionGroupCallScheduled': function(params) { + this.int32(-1281329567); + this.predicate(params.call); + this.int(params.schedule_date); + }, + 'groupCallParticipantVideoSourceGroup': function(params) { + this.int32(-592373577); + this.string(params.semantics); + this.vector(this.int, params.sources); + }, + 'groupCallParticipantVideo': function(params) { + this.int32(1735736008); + const flags = (this.has(params.paused) << 0) | (this.has(params.audio_source) << 1); + this.int32(flags); + this.string(params.endpoint); + this.vector(this.predicate, params.source_groups); + this.flag(this.int, params.audio_source); + }, + 'updateGroupCallConnection': function(params) { + this.int32(192428418); + const flags = (this.has(params.presentation) << 0); + this.int32(flags); + this.predicate(params.params); + }, + 'stickers.suggestedShortName': function(params) { + this.int32(-2046910401); + this.string(params.short_name); + }, + 'botCommandScopeDefault': function(params) { + this.int32(795652779); + }, + 'botCommandScopeUsers': function(params) { + this.int32(1011811544); + }, + 'botCommandScopeChats': function(params) { + this.int32(1877059713); + }, + 'botCommandScopeChatAdmins': function(params) { + this.int32(-1180016534); + }, + 'botCommandScopePeer': function(params) { + this.int32(-610432643); + this.predicate(params.peer); + }, + 'botCommandScopePeerAdmins': function(params) { + this.int32(1071145937); + this.predicate(params.peer); + }, + 'botCommandScopePeerUser': function(params) { + this.int32(169026035); + this.predicate(params.peer); + this.predicate(params.user_id); + }, + 'account.resetPasswordFailedWait': function(params) { + this.int32(-478701471); + this.int(params.retry_date); + }, + 'account.resetPasswordRequestedWait': function(params) { + this.int32(-370148227); + this.int(params.until_date); + }, + 'account.resetPasswordOk': function(params) { + this.int32(-383330754); + }, + 'updateBotCommands': function(params) { + this.int32(1299263278); + this.predicate(params.peer); + this.long(params.bot_id); + this.vector(this.predicate, params.commands); + }, + 'messageActionSetChatTheme': function(params) { + this.int32(-1434950843); + this.string(params.emoticon); + }, + 'sendMessageChooseStickerAction': function(params) { + this.int32(-1336228175); + }, + 'sponsoredMessage': function(params) { + this.int32(-313293833); + const flags = (this.has(params.recommended) << 5) | (this.has(params.show_peer_photo) << 6) | (this.has(params.from_id) << 3) | (this.has(params.chat_invite) << 4) | (this.has(params.chat_invite_hash) << 4) | (this.has(params.channel_post) << 2) | (this.has(params.start_param) << 0) | (this.has(params.webpage) << 9) | (this.has(params.app) << 10) | (this.has(params.entities) << 1) | (this.has(params.button_text) << 11) | (this.has(params.sponsor_info) << 7) | (this.has(params.additional_info) << 8); + this.int32(flags); + this.bytes(params.random_id); + this.flag(this.predicate, params.from_id); + this.flag(this.predicate, params.chat_invite); + this.flag(this.string, params.chat_invite_hash); + this.flag(this.int, params.channel_post); + this.flag(this.string, params.start_param); + this.flag(this.predicate, params.webpage); + this.flag(this.predicate, params.app); + this.string(params.message); + this.flagVector(this.predicate, params.entities); + this.flag(this.string, params.button_text); + this.flag(this.string, params.sponsor_info); + this.flag(this.string, params.additional_info); + }, + 'messages.sponsoredMessages': function(params) { + this.int32(-907141753); + const flags = (this.has(params.posts_between) << 0); + this.int32(flags); + this.flag(this.int, params.posts_between); + this.vector(this.predicate, params.messages); + this.vector(this.predicate, params.chats); + this.vector(this.predicate, params.users); + }, + 'inputStickerSetAnimatedEmojiAnimations': function(params) { + this.int32(215889721); + }, + 'sendMessageEmojiInteraction': function(params) { + this.int32(630664139); + this.string(params.emoticon); + this.int(params.msg_id); + this.predicate(params.interaction); + }, + 'sendMessageEmojiInteractionSeen': function(params) { + this.int32(-1234857938); + this.string(params.emoticon); + }, + 'inputBotInlineMessageID64': function(params) { + this.int32(-1227287081); + this.int(params.dc_id); + this.long(params.owner_id); + this.int(params.id); + this.long(params.access_hash); + }, + 'searchResultsCalendarPeriod': function(params) { + this.int32(-911191137); + this.int(params.date); + this.int(params.min_msg_id); + this.int(params.max_msg_id); + this.int(params.count); + }, + 'messages.searchResultsCalendar': function(params) { + this.int32(343859772); + const flags = (this.has(params.inexact) << 0) | (this.has(params.offset_id_offset) << 1); + this.int32(flags); + this.int(params.count); + this.int(params.min_date); + this.int(params.min_msg_id); + this.flag(this.int, params.offset_id_offset); + this.vector(this.predicate, params.periods); + this.vector(this.predicate, params.messages); + this.vector(this.predicate, params.chats); + this.vector(this.predicate, params.users); + }, + 'searchResultPosition': function(params) { + this.int32(2137295719); + this.int(params.msg_id); + this.int(params.date); + this.int(params.offset); + }, + 'messages.searchResultsPositions': function(params) { + this.int32(1404185519); + this.int(params.count); + this.vector(this.predicate, params.positions); + }, + 'messageActionChatJoinedByRequest': function(params) { + this.int32(-339958837); + }, + 'updatePendingJoinRequests': function(params) { + this.int32(1885586395); + this.predicate(params.peer); + this.int(params.requests_pending); + this.vector(this.long, params.recent_requesters); + }, + 'updateBotChatInviteRequester': function(params) { + this.int32(299870598); + this.predicate(params.peer); + this.int(params.date); + this.long(params.user_id); + this.string(params.about); + this.predicate(params.invite); + this.int(params.qts); + }, + 'channelAdminLogEventActionParticipantJoinByRequest': function(params) { + this.int32(-1347021750); + this.predicate(params.invite); + this.long(params.approved_by); + }, + 'inputKeyboardButtonUserProfile': function(params) { + this.int32(-376962181); + this.string(params.text); + this.predicate(params.user_id); + }, + 'keyboardButtonUserProfile': function(params) { + this.int32(814112961); + this.string(params.text); + this.long(params.user_id); + }, + 'channels.sendAsPeers': function(params) { + this.int32(-191450938); + this.vector(this.predicate, params.peers); + this.vector(this.predicate, params.chats); + this.vector(this.predicate, params.users); + }, + 'channelAdminLogEventActionToggleNoForwards': function(params) { + this.int32(-886388890); + this.Bool(params.new_value); + }, + 'messages.stickerSetNotModified': function(params) { + this.int32(-738646805); + }, + 'users.userFull': function(params) { + this.int32(997004590); + this.predicate(params.full_user); + this.vector(this.predicate, params.chats); + this.vector(this.predicate, params.users); + }, + 'messages.peerSettings': function(params) { + this.int32(1753266509); + this.predicate(params.settings); + this.vector(this.predicate, params.chats); + this.vector(this.predicate, params.users); + }, + 'channelAdminLogEventActionSendMessage': function(params) { + this.int32(663693416); + this.predicate(params.message); + }, + 'auth.codeTypeMissedCall': function(params) { + this.int32(-702884114); + }, + 'auth.sentCodeTypeMissedCall': function(params) { + this.int32(-2113903484); + this.string(params.prefix); + this.int(params.length); + }, + 'auth.loggedOut': function(params) { + this.int32(-1012759713); + const flags = (this.has(params.future_auth_token) << 0); + this.int32(flags); + this.flag(this.bytes, params.future_auth_token); + }, + 'updateMessageReactions': function(params) { + this.int32(1578843320); + const flags = (this.has(params.top_msg_id) << 0); + this.int32(flags); + this.predicate(params.peer); + this.int(params.msg_id); + this.flag(this.int, params.top_msg_id); + this.predicate(params.reactions); + }, + 'reactionCount': function(params) { + this.int32(-1546531968); + const flags = (this.has(params.chosen_order) << 0); + this.int32(flags); + this.flag(this.int, params.chosen_order); + this.predicate(params.reaction); + this.int(params.count); + }, + 'messageReactions': function(params) { + this.int32(1328256121); + const flags = (this.has(params.min) << 0) | (this.has(params.can_see_list) << 2) | (this.has(params.recent_reactions) << 1); + this.int32(flags); + this.vector(this.predicate, params.results); + this.flagVector(this.predicate, params.recent_reactions); + }, + 'messages.messageReactionsList': function(params) { + this.int32(834488621); + const flags = (this.has(params.next_offset) << 0); + this.int32(flags); + this.int(params.count); + this.vector(this.predicate, params.reactions); + this.vector(this.predicate, params.chats); + this.vector(this.predicate, params.users); + this.flag(this.string, params.next_offset); + }, + 'availableReaction': function(params) { + this.int32(-1065882623); + const flags = (this.has(params.inactive) << 0) | (this.has(params.premium) << 2) | (this.has(params.around_animation) << 1) | (this.has(params.center_icon) << 1); + this.int32(flags); + this.string(params.reaction); + this.string(params.title); + this.predicate(params.static_icon); + this.predicate(params.appear_animation); + this.predicate(params.select_animation); + this.predicate(params.activate_animation); + this.predicate(params.effect_animation); + this.flag(this.predicate, params.around_animation); + this.flag(this.predicate, params.center_icon); + }, + 'messages.availableReactionsNotModified': function(params) { + this.int32(-1626924713); + }, + 'messages.availableReactions': function(params) { + this.int32(1989032621); + this.int(params.hash); + this.vector(this.predicate, params.reactions); + }, + 'messageEntitySpoiler': function(params) { + this.int32(852137487); + this.int(params.offset); + this.int(params.length); + }, + 'channelAdminLogEventActionChangeAvailableReactions': function(params) { + this.int32(-1102180616); + this.predicate(params.prev_value); + this.predicate(params.new_value); + }, + 'messagePeerReaction': function(params) { + this.int32(-1938180548); + const flags = (this.has(params.big) << 0) | (this.has(params.unread) << 1) | (this.has(params.my) << 2); + this.int32(flags); + this.predicate(params.peer_id); + this.int(params.date); + this.predicate(params.reaction); + }, + 'groupCallStreamChannel': function(params) { + this.int32(-2132064081); + this.int(params.channel); + this.int(params.scale); + this.long(params.last_timestamp_ms); + }, + 'phone.groupCallStreamChannels': function(params) { + this.int32(-790330702); + this.vector(this.predicate, params.channels); + }, + 'inputReportReasonIllegalDrugs': function(params) { + this.int32(177124030); + }, + 'inputReportReasonPersonalDetails': function(params) { + this.int32(-1631091139); + }, + 'phone.groupCallStreamRtmpUrl': function(params) { + this.int32(767505458); + this.string(params.url); + this.string(params.key); + }, + 'attachMenuBotIconColor': function(params) { + this.int32(1165423600); + this.string(params.name); + this.int(params.color); + }, + 'attachMenuBotIcon': function(params) { + this.int32(-1297663893); + const flags = (this.has(params.colors) << 0); + this.int32(flags); + this.string(params.name); + this.predicate(params.icon); + this.flagVector(this.predicate, params.colors); + }, + 'attachMenuBot': function(params) { + this.int32(-653423106); + const flags = (this.has(params.inactive) << 0) | (this.has(params.has_settings) << 1) | (this.has(params.request_write_access) << 2) | (this.has(params.show_in_attach_menu) << 3) | (this.has(params.show_in_side_menu) << 4) | (this.has(params.side_menu_disclaimer_needed) << 5) | (this.has(params.peer_types) << 3); + this.int32(flags); + this.long(params.bot_id); + this.string(params.short_name); + this.flagVector(this.predicate, params.peer_types); + this.vector(this.predicate, params.icons); + }, + 'attachMenuBotsNotModified': function(params) { + this.int32(-237467044); + }, + 'attachMenuBots': function(params) { + this.int32(1011024320); + this.long(params.hash); + this.vector(this.predicate, params.bots); + this.vector(this.predicate, params.users); + }, + 'attachMenuBotsBot': function(params) { + this.int32(-1816172929); + this.predicate(params.bot); + this.vector(this.predicate, params.users); + }, + 'updateAttachMenuBots': function(params) { + this.int32(397910539); + }, + 'webViewResultUrl': function(params) { + this.int32(202659196); + this.long(params.query_id); + this.string(params.url); + }, + 'simpleWebViewResultUrl': function(params) { + this.int32(-2010155333); + this.string(params.url); + }, + 'webViewMessageSent': function(params) { + this.int32(211046684); + const flags = (this.has(params.msg_id) << 0); + this.int32(flags); + this.flag(this.predicate, params.msg_id); + }, + 'updateWebViewResultSent': function(params) { + this.int32(361936797); + this.long(params.query_id); + }, + 'keyboardButtonWebView': function(params) { + this.int32(326529584); + this.string(params.text); + this.string(params.url); + }, + 'keyboardButtonSimpleWebView': function(params) { + this.int32(-1598009252); + this.string(params.text); + this.string(params.url); + }, + 'messageActionWebViewDataSentMe': function(params) { + this.int32(1205698681); + this.string(params.text); + this.string(params.data); + }, + 'messageActionWebViewDataSent': function(params) { + this.int32(-1262252875); + this.string(params.text); + }, + 'updateBotMenuButton': function(params) { + this.int32(347625491); + this.long(params.bot_id); + this.predicate(params.button); + }, + 'botMenuButtonDefault': function(params) { + this.int32(1966318984); + }, + 'botMenuButtonCommands': function(params) { + this.int32(1113113093); + }, + 'botMenuButton': function(params) { + this.int32(-944407322); + this.string(params.text); + this.string(params.url); + }, + 'account.savedRingtonesNotModified': function(params) { + this.int32(-67704655); + }, + 'account.savedRingtones': function(params) { + this.int32(-1041683259); + this.long(params.hash); + this.vector(this.predicate, params.ringtones); + }, + 'updateSavedRingtones': function(params) { + this.int32(1960361625); + }, + 'notificationSoundDefault': function(params) { + this.int32(-1746354498); + }, + 'notificationSoundNone': function(params) { + this.int32(1863070943); + }, + 'notificationSoundLocal': function(params) { + this.int32(-2096391452); + this.string(params.title); + this.string(params.data); + }, + 'notificationSoundRingtone': function(params) { + this.int32(-9666487); + this.long(params.id); + }, + 'account.savedRingtone': function(params) { + this.int32(-1222230163); + }, + 'account.savedRingtoneConverted': function(params) { + this.int32(523271863); + this.predicate(params.document); + }, + 'attachMenuPeerTypeSameBotPM': function(params) { + this.int32(2104224014); + }, + 'attachMenuPeerTypeBotPM': function(params) { + this.int32(-1020528102); + }, + 'attachMenuPeerTypePM': function(params) { + this.int32(-247016673); + }, + 'attachMenuPeerTypeChat': function(params) { + this.int32(84480319); + }, + 'attachMenuPeerTypeBroadcast': function(params) { + this.int32(2080104188); + }, + 'chatInvitePublicJoinRequests': function(params) { + this.int32(-317687113); + }, + 'inputInvoiceMessage': function(params) { + this.int32(-977967015); + this.predicate(params.peer); + this.int(params.msg_id); + }, + 'inputInvoiceSlug': function(params) { + this.int32(-1020867857); + this.string(params.slug); + }, + 'payments.exportedInvoice': function(params) { + this.int32(-1362048039); + this.string(params.url); + }, + 'updateTranscribedAudio': function(params) { + this.int32(8703322); + const flags = (this.has(params.pending) << 0); + this.int32(flags); + this.predicate(params.peer); + this.int(params.msg_id); + this.long(params.transcription_id); + this.string(params.text); + }, + 'messages.transcribedAudio': function(params) { + this.int32(-809903785); + const flags = (this.has(params.pending) << 0) | (this.has(params.trial_remains_num) << 1) | (this.has(params.trial_remains_until_date) << 1); + this.int32(flags); + this.long(params.transcription_id); + this.string(params.text); + this.flag(this.int, params.trial_remains_num); + this.flag(this.int, params.trial_remains_until_date); + }, + 'dialogFilterDefault': function(params) { + this.int32(909284270); + }, + 'help.premiumPromo': function(params) { + this.int32(1395946908); + this.string(params.status_text); + this.vector(this.predicate, params.status_entities); + this.vector(this.string, params.video_sections); + this.vector(this.predicate, params.videos); + this.vector(this.predicate, params.period_options); + this.vector(this.predicate, params.users); + }, + 'messageEntityCustomEmoji': function(params) { + this.int32(-925956616); + this.int(params.offset); + this.int(params.length); + this.long(params.document_id); + }, + 'documentAttributeCustomEmoji': function(params) { + this.int32(-48981863); + const flags = (this.has(params.free) << 0) | (this.has(params.text_color) << 1); + this.int32(flags); + this.string(params.alt); + this.predicate(params.stickerset); + }, + 'stickerSetFullCovered': function(params) { + this.int32(1087454222); + this.predicate(params.set); + this.vector(this.predicate, params.packs); + this.vector(this.predicate, params.keywords); + this.vector(this.predicate, params.documents); + }, + 'inputStorePaymentPremiumSubscription': function(params) { + this.int32(-1502273946); + const flags = (this.has(params.restore) << 0) | (this.has(params.upgrade) << 1); + this.int32(flags); + }, + 'inputStorePaymentGiftPremium': function(params) { + this.int32(1634697192); + this.predicate(params.user_id); + this.string(params.currency); + this.long(params.amount); + }, + 'messageActionGiftPremium': function(params) { + this.int32(-935499028); + const flags = (this.has(params.crypto_currency) << 0) | (this.has(params.crypto_amount) << 0); + this.int32(flags); + this.string(params.currency); + this.long(params.amount); + this.int(params.months); + this.flag(this.string, params.crypto_currency); + this.flag(this.long, params.crypto_amount); + }, + 'premiumGiftOption': function(params) { + this.int32(1958953753); + const flags = (this.has(params.store_product) << 0); + this.int32(flags); + this.int(params.months); + this.string(params.currency); + this.long(params.amount); + this.string(params.bot_url); + this.flag(this.string, params.store_product); + }, + 'inputStickerSetPremiumGifts': function(params) { + this.int32(-930399486); + }, + 'updateReadFeaturedEmojiStickers': function(params) { + this.int32(-78886548); + }, + 'inputPrivacyKeyVoiceMessages': function(params) { + this.int32(-1360618136); + }, + 'privacyKeyVoiceMessages': function(params) { + this.int32(110621716); + }, + 'paymentFormMethod': function(params) { + this.int32(-1996951013); + this.string(params.url); + this.string(params.title); + }, + 'inputWebFileAudioAlbumThumbLocation': function(params) { + this.int32(-193992412); + const flags = (this.has(params.small) << 2) | (this.has(params.document) << 0) | (this.has(params.title) << 1) | (this.has(params.performer) << 1); + this.int32(flags); + this.flag(this.predicate, params.document); + this.flag(this.string, params.title); + this.flag(this.string, params.performer); + }, + 'emojiStatusEmpty': function(params) { + this.int32(769727150); + }, + 'emojiStatus': function(params) { + this.int32(-1835310691); + this.long(params.document_id); + }, + 'emojiStatusUntil': function(params) { + this.int32(-97474361); + this.long(params.document_id); + this.int(params.until); + }, + 'updateUserEmojiStatus': function(params) { + this.int32(674706841); + this.long(params.user_id); + this.predicate(params.emoji_status); + }, + 'updateRecentEmojiStatuses': function(params) { + this.int32(821314523); + }, + 'account.emojiStatusesNotModified': function(params) { + this.int32(-796072379); + }, + 'account.emojiStatuses': function(params) { + this.int32(-1866176559); + this.long(params.hash); + this.vector(this.predicate, params.statuses); + }, + 'reactionEmpty': function(params) { + this.int32(2046153753); + }, + 'reactionEmoji': function(params) { + this.int32(455247544); + this.string(params.emoticon); + }, + 'reactionCustomEmoji': function(params) { + this.int32(-1992950669); + this.long(params.document_id); + }, + 'chatReactionsNone': function(params) { + this.int32(-352570692); + }, + 'chatReactionsAll': function(params) { + this.int32(1385335754); + const flags = (this.has(params.allow_custom) << 0); + this.int32(flags); + }, + 'chatReactionsSome': function(params) { + this.int32(1713193015); + this.vector(this.predicate, params.reactions); + }, + 'messages.reactionsNotModified': function(params) { + this.int32(-1334846497); + }, + 'messages.reactions': function(params) { + this.int32(-352454890); + this.long(params.hash); + this.vector(this.predicate, params.reactions); + }, + 'updateRecentReactions': function(params) { + this.int32(1870160884); + }, + 'updateMoveStickerSetToTop': function(params) { + this.int32(-2030252155); + const flags = (this.has(params.masks) << 0) | (this.has(params.emojis) << 1); + this.int32(flags); + this.long(params.stickerset); + }, + 'auth.sentCodeTypeEmailCode': function(params) { + this.int32(-196020837); + const flags = (this.has(params.apple_signin_allowed) << 0) | (this.has(params.google_signin_allowed) << 1) | (this.has(params.reset_available_period) << 3) | (this.has(params.reset_pending_date) << 4); + this.int32(flags); + this.string(params.email_pattern); + this.int(params.length); + this.flag(this.int, params.reset_available_period); + this.flag(this.int, params.reset_pending_date); + }, + 'auth.sentCodeTypeSetUpEmailRequired': function(params) { + this.int32(-1521934870); + const flags = (this.has(params.apple_signin_allowed) << 0) | (this.has(params.google_signin_allowed) << 1); + this.int32(flags); + }, + 'emailVerifyPurposeLoginSetup': function(params) { + this.int32(1128644211); + this.string(params.phone_number); + this.string(params.phone_code_hash); + }, + 'emailVerifyPurposeLoginChange': function(params) { + this.int32(1383932651); + }, + 'emailVerifyPurposePassport': function(params) { + this.int32(-1141565819); + }, + 'emailVerificationCode': function(params) { + this.int32(-1842457175); + this.string(params.code); + }, + 'emailVerificationGoogle': function(params) { + this.int32(-611279166); + this.string(params.token); + }, + 'emailVerificationApple': function(params) { + this.int32(-1764723459); + this.string(params.token); + }, + 'account.emailVerified': function(params) { + this.int32(731303195); + this.string(params.email); + }, + 'account.emailVerifiedLogin': function(params) { + this.int32(-507835039); + this.string(params.email); + this.predicate(params.sent_code); + }, + 'premiumSubscriptionOption': function(params) { + this.int32(1596792306); + const flags = (this.has(params.current) << 1) | (this.has(params.can_purchase_upgrade) << 2) | (this.has(params.transaction) << 3) | (this.has(params.store_product) << 0); + this.int32(flags); + this.flag(this.string, params.transaction); + this.int(params.months); + this.string(params.currency); + this.long(params.amount); + this.string(params.bot_url); + this.flag(this.string, params.store_product); + }, + 'inputStickerSetEmojiGenericAnimations': function(params) { + this.int32(80008398); + }, + 'inputStickerSetEmojiDefaultStatuses': function(params) { + this.int32(701560302); + }, + 'sendAsPeer': function(params) { + this.int32(-1206095820); + const flags = (this.has(params.premium_required) << 0); + this.int32(flags); + this.predicate(params.peer); + }, + 'messageExtendedMediaPreview': function(params) { + this.int32(-1386050360); + const flags = (this.has(params.w) << 0) | (this.has(params.h) << 0) | (this.has(params.thumb) << 1) | (this.has(params.video_duration) << 2); + this.int32(flags); + this.flag(this.int, params.w); + this.flag(this.int, params.h); + this.flag(this.predicate, params.thumb); + this.flag(this.int, params.video_duration); + }, + 'messageExtendedMedia': function(params) { + this.int32(-297296796); + this.predicate(params.media); + }, + 'updateMessageExtendedMedia': function(params) { + this.int32(1517529484); + this.predicate(params.peer); + this.int(params.msg_id); + this.predicate(params.extended_media); + }, + 'stickerKeyword': function(params) { + this.int32(-50416996); + this.long(params.document_id); + this.vector(this.string, params.keyword); + }, + 'username': function(params) { + this.int32(-1274595769); + const flags = (this.has(params.editable) << 0) | (this.has(params.active) << 1); + this.int32(flags); + this.string(params.username); + }, + 'channelAdminLogEventActionChangeUsernames': function(params) { + this.int32(-263212119); + this.vector(this.string, params.prev_value); + this.vector(this.string, params.new_value); + }, + 'channelAdminLogEventActionToggleForum': function(params) { + this.int32(46949251); + this.Bool(params.new_value); + }, + 'channelAdminLogEventActionCreateTopic': function(params) { + this.int32(1483767080); + this.predicate(params.topic); + }, + 'channelAdminLogEventActionEditTopic': function(params) { + this.int32(-261103096); + this.predicate(params.prev_topic); + this.predicate(params.new_topic); + }, + 'channelAdminLogEventActionDeleteTopic': function(params) { + this.int32(-1374254839); + this.predicate(params.topic); + }, + 'channelAdminLogEventActionPinTopic': function(params) { + this.int32(1569535291); + const flags = (this.has(params.prev_topic) << 0) | (this.has(params.new_topic) << 1); + this.int32(flags); + this.flag(this.predicate, params.prev_topic); + this.flag(this.predicate, params.new_topic); + }, + 'forumTopicDeleted': function(params) { + this.int32(37687451); + this.int(params.id); + }, + 'forumTopic': function(params) { + this.int32(1903173033); + const flags = (this.has(params.my) << 1) | (this.has(params.closed) << 2) | (this.has(params.pinned) << 3) | (this.has(params.short) << 5) | (this.has(params.hidden) << 6) | (this.has(params.icon_emoji_id) << 0) | (this.has(params.draft) << 4); + this.int32(flags); + this.int(params.id); + this.int(params.date); + this.string(params.title); + this.int(params.icon_color); + this.flag(this.long, params.icon_emoji_id); + this.int(params.top_message); + this.int(params.read_inbox_max_id); + this.int(params.read_outbox_max_id); + this.int(params.unread_count); + this.int(params.unread_mentions_count); + this.int(params.unread_reactions_count); + this.predicate(params.from_id); + this.predicate(params.notify_settings); + this.flag(this.predicate, params.draft); + }, + 'messages.forumTopics': function(params) { + this.int32(913709011); + const flags = (this.has(params.order_by_create_date) << 0); + this.int32(flags); + this.int(params.count); + this.vector(this.predicate, params.topics); + this.vector(this.predicate, params.messages); + this.vector(this.predicate, params.chats); + this.vector(this.predicate, params.users); + this.int(params.pts); + }, + 'messageActionTopicCreate': function(params) { + this.int32(228168278); + const flags = (this.has(params.icon_emoji_id) << 0); + this.int32(flags); + this.string(params.title); + this.int(params.icon_color); + this.flag(this.long, params.icon_emoji_id); + }, + 'messageActionTopicEdit': function(params) { + this.int32(-1064024032); + const flags = (this.has(params.title) << 0) | (this.has(params.icon_emoji_id) << 1) | (this.has(params.closed) << 2) | (this.has(params.hidden) << 3); + this.int32(flags); + this.flag(this.string, params.title); + this.flag(this.long, params.icon_emoji_id); + this.flag(this.Bool, params.closed); + this.flag(this.Bool, params.hidden); + }, + 'updateChannelPinnedTopic': function(params) { + this.int32(422509539); + const flags = (this.has(params.pinned) << 0); + this.int32(flags); + this.long(params.channel_id); + this.int(params.topic_id); + }, + 'inputNotifyForumTopic': function(params) { + this.int32(1548122514); + this.predicate(params.peer); + this.int(params.top_msg_id); + }, + 'notifyForumTopic': function(params) { + this.int32(577659656); + this.predicate(params.peer); + this.int(params.top_msg_id); + }, + 'inputStickerSetEmojiDefaultTopicIcons': function(params) { + this.int32(1153562857); + }, + 'messages.sponsoredMessagesEmpty': function(params) { + this.int32(406407439); + }, + 'updateChannelPinnedTopics': function(params) { + this.int32(-31881726); + const flags = (this.has(params.order) << 0); + this.int32(flags); + this.long(params.channel_id); + this.flagVector(this.int, params.order); + }, + 'defaultHistoryTTL': function(params) { + this.int32(1135897376); + this.int(params.period); + }, + 'auth.codeTypeFragmentSms': function(params) { + this.int32(116234636); + }, + 'auth.sentCodeTypeFragmentSms': function(params) { + this.int32(-648651719); + this.string(params.url); + this.int(params.length); + }, + 'exportedContactToken': function(params) { + this.int32(1103040667); + this.string(params.url); + this.int(params.expires); + }, + 'channelAdminLogEventActionToggleAntiSpam': function(params) { + this.int32(1693675004); + this.Bool(params.new_value); + }, + 'messageActionSuggestProfilePhoto': function(params) { + this.int32(1474192222); + this.predicate(params.photo); + }, + 'stickerSetNoCovered': function(params) { + this.int32(2008112412); + this.predicate(params.set); + }, + 'updateUser': function(params) { + this.int32(542282808); + this.long(params.user_id); + }, + 'auth.sentCodeSuccess': function(params) { + this.int32(596704836); + this.predicate(params.authorization); + }, + 'messageActionRequestedPeer': function(params) { + this.int32(827428507); + this.int(params.button_id); + this.vector(this.predicate, params.peers); + }, + 'requestPeerTypeUser': function(params) { + this.int32(1597737472); + const flags = (this.has(params.bot) << 0) | (this.has(params.premium) << 1); + this.int32(flags); + this.flag(this.Bool, params.bot); + this.flag(this.Bool, params.premium); + }, + 'requestPeerTypeChat': function(params) { + this.int32(-906990053); + const flags = (this.has(params.creator) << 0) | (this.has(params.bot_participant) << 5) | (this.has(params.has_username) << 3) | (this.has(params.forum) << 4) | (this.has(params.user_admin_rights) << 1) | (this.has(params.bot_admin_rights) << 2); + this.int32(flags); + this.flag(this.Bool, params.has_username); + this.flag(this.Bool, params.forum); + this.flag(this.predicate, params.user_admin_rights); + this.flag(this.predicate, params.bot_admin_rights); + }, + 'requestPeerTypeBroadcast': function(params) { + this.int32(865857388); + const flags = (this.has(params.creator) << 0) | (this.has(params.has_username) << 3) | (this.has(params.user_admin_rights) << 1) | (this.has(params.bot_admin_rights) << 2); + this.int32(flags); + this.flag(this.Bool, params.has_username); + this.flag(this.predicate, params.user_admin_rights); + this.flag(this.predicate, params.bot_admin_rights); + }, + 'keyboardButtonRequestPeer': function(params) { + this.int32(1406648280); + this.string(params.text); + this.int(params.button_id); + this.predicate(params.peer_type); + this.int(params.max_quantity); + }, + 'emojiListNotModified': function(params) { + this.int32(1209970170); + }, + 'emojiList': function(params) { + this.int32(2048790993); + this.long(params.hash); + this.vector(this.long, params.document_id); + }, + 'auth.sentCodeTypeFirebaseSms': function(params) { + this.int32(-444918734); + const flags = (this.has(params.nonce) << 0) | (this.has(params.receipt) << 1) | (this.has(params.push_timeout) << 1); + this.int32(flags); + this.flag(this.bytes, params.nonce); + this.flag(this.string, params.receipt); + this.flag(this.int, params.push_timeout); + this.int(params.length); + }, + 'emojiGroup': function(params) { + this.int32(2056961449); + this.string(params.title); + this.long(params.icon_emoji_id); + this.vector(this.string, params.emoticons); + }, + 'messages.emojiGroupsNotModified': function(params) { + this.int32(1874111879); + }, + 'messages.emojiGroups': function(params) { + this.int32(-2011186869); + this.int(params.hash); + this.vector(this.predicate, params.groups); + }, + 'videoSizeEmojiMarkup': function(params) { + this.int32(-128171716); + this.long(params.emoji_id); + this.vector(this.int, params.background_colors); + }, + 'videoSizeStickerMarkup': function(params) { + this.int32(228623102); + this.predicate(params.stickerset); + this.long(params.sticker_id); + this.vector(this.int, params.background_colors); + }, + 'textWithEntities': function(params) { + this.int32(1964978502); + this.string(params.text); + this.vector(this.predicate, params.entities); + }, + 'messages.translateResult': function(params) { + this.int32(870003448); + this.vector(this.predicate, params.result); + }, + 'autoSaveSettings': function(params) { + this.int32(-934791986); + const flags = (this.has(params.photos) << 0) | (this.has(params.videos) << 1) | (this.has(params.video_max_size) << 2); + this.int32(flags); + this.flag(this.long, params.video_max_size); + }, + 'autoSaveException': function(params) { + this.int32(-2124403385); + this.predicate(params.peer); + this.predicate(params.settings); + }, + 'account.autoSaveSettings': function(params) { + this.int32(1279133341); + this.predicate(params.users_settings); + this.predicate(params.chats_settings); + this.predicate(params.broadcasts_settings); + this.vector(this.predicate, params.exceptions); + this.vector(this.predicate, params.chats); + this.vector(this.predicate, params.users); + }, + 'updateAutoSaveSettings': function(params) { + this.int32(-335171433); + }, + 'help.appConfigNotModified': function(params) { + this.int32(2094949405); + }, + 'help.appConfig': function(params) { + this.int32(-585598930); + this.int(params.hash); + this.predicate(params.config); + }, + 'inputBotAppID': function(params) { + this.int32(-1457472134); + this.long(params.id); + this.long(params.access_hash); + }, + 'inputBotAppShortName': function(params) { + this.int32(-1869872121); + this.predicate(params.bot_id); + this.string(params.short_name); + }, + 'botAppNotModified': function(params) { + this.int32(1571189943); + }, + 'botApp': function(params) { + this.int32(-1778593322); + const flags = (this.has(params.document) << 0); + this.int32(flags); + this.long(params.id); + this.long(params.access_hash); + this.string(params.short_name); + this.string(params.title); + this.string(params.description); + this.predicate(params.photo); + this.flag(this.predicate, params.document); + this.long(params.hash); + }, + 'messages.botApp': function(params) { + this.int32(-347034123); + const flags = (this.has(params.inactive) << 0) | (this.has(params.request_write_access) << 1) | (this.has(params.has_settings) << 2); + this.int32(flags); + this.predicate(params.app); + }, + 'appWebViewResultUrl': function(params) { + this.int32(1008422669); + this.string(params.url); + }, + 'inlineBotWebView': function(params) { + this.int32(-1250781739); + this.string(params.text); + this.string(params.url); + }, + 'readParticipantDate': function(params) { + this.int32(1246753138); + this.long(params.user_id); + this.int(params.date); + }, + 'updateGroupInvitePrivacyForbidden': function(params) { + this.int32(-856651050); + this.long(params.user_id); + }, + 'dialogFilterChatlist': function(params) { + this.int32(-699792216); + const flags = (this.has(params.has_my_invites) << 26) | (this.has(params.emoticon) << 25); + this.int32(flags); + this.int(params.id); + this.string(params.title); + this.flag(this.string, params.emoticon); + this.vector(this.predicate, params.pinned_peers); + this.vector(this.predicate, params.include_peers); + }, + 'inputChatlistDialogFilter': function(params) { + this.int32(-203367885); + this.int(params.filter_id); + }, + 'exportedChatlistInvite': function(params) { + this.int32(206668204); + const flags = 0; + this.int32(flags); + this.string(params.title); + this.string(params.url); + this.vector(this.predicate, params.peers); + }, + 'chatlists.exportedChatlistInvite': function(params) { + this.int32(283567014); + this.predicate(params.filter); + this.predicate(params.invite); + }, + 'chatlists.exportedInvites': function(params) { + this.int32(279670215); + this.vector(this.predicate, params.invites); + this.vector(this.predicate, params.chats); + this.vector(this.predicate, params.users); + }, + 'chatlists.chatlistInviteAlready': function(params) { + this.int32(-91752871); + this.int(params.filter_id); + this.vector(this.predicate, params.missing_peers); + this.vector(this.predicate, params.already_peers); + this.vector(this.predicate, params.chats); + this.vector(this.predicate, params.users); + }, + 'chatlists.chatlistInvite': function(params) { + this.int32(500007837); + const flags = (this.has(params.emoticon) << 0); + this.int32(flags); + this.string(params.title); + this.flag(this.string, params.emoticon); + this.vector(this.predicate, params.peers); + this.vector(this.predicate, params.chats); + this.vector(this.predicate, params.users); + }, + 'chatlists.chatlistUpdates': function(params) { + this.int32(-1816295539); + this.vector(this.predicate, params.missing_peers); + this.vector(this.predicate, params.chats); + this.vector(this.predicate, params.users); + }, + 'messageActionSetChatWallPaper': function(params) { + this.int32(1348510708); + const flags = (this.has(params.same) << 0) | (this.has(params.for_both) << 1); + this.int32(flags); + this.predicate(params.wallpaper); + }, + 'bots.botInfo': function(params) { + this.int32(-391678544); + this.string(params.name); + this.string(params.about); + this.string(params.description); + }, + 'inlineQueryPeerTypeBotPM': function(params) { + this.int32(238759180); + }, + 'messagePeerVote': function(params) { + this.int32(-1228133028); + this.predicate(params.peer); + this.bytes(params.option); + this.int(params.date); + }, + 'messagePeerVoteInputOption': function(params) { + this.int32(1959634180); + this.predicate(params.peer); + this.int(params.date); + }, + 'messagePeerVoteMultiple': function(params) { + this.int32(1177089766); + this.predicate(params.peer); + this.vector(this.bytes, params.options); + this.int(params.date); + }, + 'inputPrivacyKeyAbout': function(params) { + this.int32(941870144); + }, + 'privacyKeyAbout': function(params) { + this.int32(-1534675103); + }, + 'sponsoredWebPage': function(params) { + this.int32(1035529315); + const flags = (this.has(params.photo) << 0); + this.int32(flags); + this.string(params.url); + this.string(params.site_name); + this.flag(this.predicate, params.photo); + }, + 'storyViews': function(params) { + this.int32(-1923523370); + const flags = (this.has(params.has_viewers) << 1) | (this.has(params.forwards_count) << 2) | (this.has(params.reactions) << 3) | (this.has(params.reactions_count) << 4) | (this.has(params.recent_viewers) << 0); + this.int32(flags); + this.int(params.views_count); + this.flag(this.int, params.forwards_count); + this.flagVector(this.predicate, params.reactions); + this.flag(this.int, params.reactions_count); + this.flagVector(this.long, params.recent_viewers); + }, + 'storyItemDeleted': function(params) { + this.int32(1374088783); + this.int(params.id); + }, + 'storyItemSkipped': function(params) { + this.int32(-5388013); + const flags = (this.has(params.close_friends) << 8); + this.int32(flags); + this.int(params.id); + this.int(params.date); + this.int(params.expire_date); + }, + 'storyItem': function(params) { + this.int32(-1352440415); + const flags = (this.has(params.pinned) << 5) | (this.has(params.public) << 7) | (this.has(params.close_friends) << 8) | (this.has(params.min) << 9) | (this.has(params.noforwards) << 10) | (this.has(params.edited) << 11) | (this.has(params.contacts) << 12) | (this.has(params.selected_contacts) << 13) | (this.has(params.out) << 16) | (this.has(params.fwd_from) << 17) | (this.has(params.caption) << 0) | (this.has(params.entities) << 1) | (this.has(params.media_areas) << 14) | (this.has(params.privacy) << 2) | (this.has(params.views) << 3) | (this.has(params.sent_reaction) << 15); + this.int32(flags); + this.int(params.id); + this.int(params.date); + this.flag(this.predicate, params.fwd_from); + this.int(params.expire_date); + this.flag(this.string, params.caption); + this.flagVector(this.predicate, params.entities); + this.predicate(params.media); + this.flagVector(this.predicate, params.media_areas); + this.flagVector(this.predicate, params.privacy); + this.flag(this.predicate, params.views); + this.flag(this.predicate, params.sent_reaction); + }, + 'updateStory': function(params) { + this.int32(1974712216); + this.predicate(params.peer); + this.predicate(params.story); + }, + 'updateReadStories': function(params) { + this.int32(-145845461); + this.predicate(params.peer); + this.int(params.max_id); + }, + 'stories.allStoriesNotModified': function(params) { + this.int32(291044926); + const flags = 0; + this.int32(flags); + this.string(params.state); + this.predicate(params.stealth_mode); + }, + 'stories.allStories': function(params) { + this.int32(1862033025); + const flags = (this.has(params.has_more) << 0); + this.int32(flags); + this.int(params.count); + this.string(params.state); + this.vector(this.predicate, params.peer_stories); + this.vector(this.predicate, params.chats); + this.vector(this.predicate, params.users); + this.predicate(params.stealth_mode); + }, + 'stories.stories': function(params) { + this.int32(1574486984); + this.int(params.count); + this.vector(this.predicate, params.stories); + this.vector(this.predicate, params.chats); + this.vector(this.predicate, params.users); + }, + 'inputPrivacyValueAllowCloseFriends': function(params) { + this.int32(793067081); + }, + 'privacyValueAllowCloseFriends': function(params) { + this.int32(-135735141); + }, + 'storyView': function(params) { + this.int32(-1329730875); + const flags = (this.has(params.blocked) << 0) | (this.has(params.blocked_my_stories_from) << 1) | (this.has(params.reaction) << 2); + this.int32(flags); + this.long(params.user_id); + this.int(params.date); + this.flag(this.predicate, params.reaction); + }, + 'stories.storyViewsList': function(params) { + this.int32(1507299269); + const flags = (this.has(params.next_offset) << 0); + this.int32(flags); + this.int(params.count); + this.int(params.views_count); + this.int(params.forwards_count); + this.int(params.reactions_count); + this.vector(this.predicate, params.views); + this.vector(this.predicate, params.chats); + this.vector(this.predicate, params.users); + this.flag(this.string, params.next_offset); + }, + 'stories.storyViews': function(params) { + this.int32(-560009955); + this.vector(this.predicate, params.views); + this.vector(this.predicate, params.users); + }, + 'inputReplyToMessage': function(params) { + this.int32(583071445); + const flags = (this.has(params.top_msg_id) << 0) | (this.has(params.reply_to_peer_id) << 1) | (this.has(params.quote_text) << 2) | (this.has(params.quote_entities) << 3) | (this.has(params.quote_offset) << 4); + this.int32(flags); + this.int(params.reply_to_msg_id); + this.flag(this.int, params.top_msg_id); + this.flag(this.predicate, params.reply_to_peer_id); + this.flag(this.string, params.quote_text); + this.flagVector(this.predicate, params.quote_entities); + this.flag(this.int, params.quote_offset); + }, + 'inputReplyToStory': function(params) { + this.int32(363917955); + this.predicate(params.user_id); + this.int(params.story_id); + }, + 'messageReplyStoryHeader': function(params) { + this.int32(-1667711039); + this.long(params.user_id); + this.int(params.story_id); + }, + 'updateStoryID': function(params) { + this.int32(468923833); + this.int(params.id); + this.long(params.random_id); + }, + 'exportedStoryLink': function(params) { + this.int32(1070138683); + this.string(params.link); + }, + 'inputMediaStory': function(params) { + this.int32(-1979852936); + this.predicate(params.peer); + this.int(params.id); + }, + 'messageMediaStory': function(params) { + this.int32(1758159491); + const flags = (this.has(params.via_mention) << 1) | (this.has(params.story) << 0); + this.int32(flags); + this.predicate(params.peer); + this.int(params.id); + this.flag(this.predicate, params.story); + }, + 'webPageAttributeStory': function(params) { + this.int32(781501415); + const flags = (this.has(params.story) << 0); + this.int32(flags); + this.predicate(params.peer); + this.int(params.id); + this.flag(this.predicate, params.story); + }, + 'storiesStealthMode': function(params) { + this.int32(1898850301); + const flags = (this.has(params.active_until_date) << 0) | (this.has(params.cooldown_until_date) << 1); + this.int32(flags); + this.flag(this.int, params.active_until_date); + this.flag(this.int, params.cooldown_until_date); + }, + 'updateStoriesStealthMode': function(params) { + this.int32(738741697); + this.predicate(params.stealth_mode); + }, + 'mediaAreaCoordinates': function(params) { + this.int32(64088654); + this.double(params.x); + this.double(params.y); + this.double(params.w); + this.double(params.h); + this.double(params.rotation); + }, + 'mediaAreaVenue': function(params) { + this.int32(-1098720356); + this.predicate(params.coordinates); + this.predicate(params.geo); + this.string(params.title); + this.string(params.address); + this.string(params.provider); + this.string(params.venue_id); + this.string(params.venue_type); + }, + 'inputMediaAreaVenue': function(params) { + this.int32(-1300094593); + this.predicate(params.coordinates); + this.long(params.query_id); + this.string(params.result_id); + }, + 'mediaAreaGeoPoint': function(params) { + this.int32(-544523486); + this.predicate(params.coordinates); + this.predicate(params.geo); + }, + 'updateSentStoryReaction': function(params) { + this.int32(2103604867); + this.predicate(params.peer); + this.int(params.story_id); + this.predicate(params.reaction); + }, + 'mediaAreaSuggestedReaction': function(params) { + this.int32(340088945); + const flags = (this.has(params.dark) << 0) | (this.has(params.flipped) << 1); + this.int32(flags); + this.predicate(params.coordinates); + this.predicate(params.reaction); + }, + 'peerStories': function(params) { + this.int32(-1707742823); + const flags = (this.has(params.max_read_id) << 0); + this.int32(flags); + this.predicate(params.peer); + this.flag(this.int, params.max_read_id); + this.vector(this.predicate, params.stories); + }, + 'stories.peerStories': function(params) { + this.int32(-890861720); + this.predicate(params.stories); + this.vector(this.predicate, params.chats); + this.vector(this.predicate, params.users); + }, + 'messages.webPage': function(params) { + this.int32(-44166467); + this.predicate(params.webpage); + this.vector(this.predicate, params.chats); + this.vector(this.predicate, params.users); + }, + 'inputStorePaymentPremiumGiftCode': function(params) { + this.int32(-1551868097); + const flags = (this.has(params.boost_peer) << 0); + this.int32(flags); + this.vector(this.predicate, params.users); + this.flag(this.predicate, params.boost_peer); + this.string(params.currency); + this.long(params.amount); + }, + 'inputStorePaymentPremiumGiveaway': function(params) { + this.int32(369444042); + const flags = (this.has(params.only_new_subscribers) << 0) | (this.has(params.winners_are_visible) << 3) | (this.has(params.additional_peers) << 1) | (this.has(params.countries_iso2) << 2) | (this.has(params.prize_description) << 4); + this.int32(flags); + this.predicate(params.boost_peer); + this.flagVector(this.predicate, params.additional_peers); + this.flagVector(this.string, params.countries_iso2); + this.flag(this.string, params.prize_description); + this.long(params.random_id); + this.int(params.until_date); + this.string(params.currency); + this.long(params.amount); + }, + 'inputInvoicePremiumGiftCode': function(params) { + this.int32(-1734841331); + this.predicate(params.purpose); + this.predicate(params.option); + }, + 'premiumGiftCodeOption': function(params) { + this.int32(629052971); + const flags = (this.has(params.store_product) << 0) | (this.has(params.store_quantity) << 1); + this.int32(flags); + this.int(params.users); + this.int(params.months); + this.flag(this.string, params.store_product); + this.flag(this.int, params.store_quantity); + this.string(params.currency); + this.long(params.amount); + }, + 'payments.checkedGiftCode': function(params) { + this.int32(675942550); + const flags = (this.has(params.via_giveaway) << 2) | (this.has(params.from_id) << 4) | (this.has(params.giveaway_msg_id) << 3) | (this.has(params.to_id) << 0) | (this.has(params.used_date) << 1); + this.int32(flags); + this.flag(this.predicate, params.from_id); + this.flag(this.int, params.giveaway_msg_id); + this.flag(this.long, params.to_id); + this.int(params.date); + this.int(params.months); + this.flag(this.int, params.used_date); + this.vector(this.predicate, params.chats); + this.vector(this.predicate, params.users); + }, + 'messageMediaGiveaway': function(params) { + this.int32(-626162256); + const flags = (this.has(params.only_new_subscribers) << 0) | (this.has(params.winners_are_visible) << 2) | (this.has(params.countries_iso2) << 1) | (this.has(params.prize_description) << 3); + this.int32(flags); + this.vector(this.long, params.channels); + this.flagVector(this.string, params.countries_iso2); + this.flag(this.string, params.prize_description); + this.int(params.quantity); + this.int(params.months); + this.int(params.until_date); + }, + 'messageActionGiftCode': function(params) { + this.int32(1737240073); + const flags = (this.has(params.via_giveaway) << 0) | (this.has(params.unclaimed) << 2) | (this.has(params.boost_peer) << 1) | (this.has(params.currency) << 2) | (this.has(params.amount) << 2) | (this.has(params.crypto_currency) << 3) | (this.has(params.crypto_amount) << 3); + this.int32(flags); + this.flag(this.predicate, params.boost_peer); + this.int(params.months); + this.string(params.slug); + this.flag(this.string, params.currency); + this.flag(this.long, params.amount); + this.flag(this.string, params.crypto_currency); + this.flag(this.long, params.crypto_amount); + }, + 'messageActionGiveawayLaunch': function(params) { + this.int32(858499565); + }, + 'payments.giveawayInfo': function(params) { + this.int32(1130879648); + const flags = (this.has(params.participating) << 0) | (this.has(params.preparing_results) << 3) | (this.has(params.joined_too_early_date) << 1) | (this.has(params.admin_disallowed_chat_id) << 2) | (this.has(params.disallowed_country) << 4); + this.int32(flags); + this.int(params.start_date); + this.flag(this.int, params.joined_too_early_date); + this.flag(this.long, params.admin_disallowed_chat_id); + this.flag(this.string, params.disallowed_country); + }, + 'payments.giveawayInfoResults': function(params) { + this.int32(13456752); + const flags = (this.has(params.winner) << 0) | (this.has(params.refunded) << 1) | (this.has(params.gift_code_slug) << 0); + this.int32(flags); + this.int(params.start_date); + this.flag(this.string, params.gift_code_slug); + this.int(params.finish_date); + this.int(params.winners_count); + this.int(params.activated_count); + }, + 'messageEntityBlockquote': function(params) { + this.int32(34469328); + this.int(params.offset); + this.int(params.length); + }, + 'prepaidGiveaway': function(params) { + this.int32(-1303143084); + this.long(params.id); + this.int(params.months); + this.int(params.quantity); + this.int(params.date); + }, + 'inputMediaWebPage': function(params) { + this.int32(-1038383031); + const flags = (this.has(params.force_large_media) << 0) | (this.has(params.force_small_media) << 1) | (this.has(params.optional) << 2); + this.int32(flags); + this.string(params.url); + }, + 'inputBotInlineMessageMediaWebPage': function(params) { + this.int32(-1109605104); + const flags = (this.has(params.invert_media) << 3) | (this.has(params.force_large_media) << 4) | (this.has(params.force_small_media) << 5) | (this.has(params.optional) << 6) | (this.has(params.entities) << 1) | (this.has(params.reply_markup) << 2); + this.int32(flags); + this.string(params.message); + this.flagVector(this.predicate, params.entities); + this.string(params.url); + this.flag(this.predicate, params.reply_markup); + }, + 'botInlineMessageMediaWebPage': function(params) { + this.int32(-2137335386); + const flags = (this.has(params.invert_media) << 3) | (this.has(params.force_large_media) << 4) | (this.has(params.force_small_media) << 5) | (this.has(params.manual) << 7) | (this.has(params.safe) << 8) | (this.has(params.entities) << 1) | (this.has(params.reply_markup) << 2); + this.int32(flags); + this.string(params.message); + this.flagVector(this.predicate, params.entities); + this.string(params.url); + this.flag(this.predicate, params.reply_markup); + }, + 'boost': function(params) { + this.int32(706514033); + const flags = (this.has(params.gift) << 1) | (this.has(params.giveaway) << 2) | (this.has(params.unclaimed) << 3) | (this.has(params.user_id) << 0) | (this.has(params.giveaway_msg_id) << 2) | (this.has(params.used_gift_slug) << 4) | (this.has(params.multiplier) << 5); + this.int32(flags); + this.string(params.id); + this.flag(this.long, params.user_id); + this.flag(this.int, params.giveaway_msg_id); + this.int(params.date); + this.int(params.expires); + this.flag(this.string, params.used_gift_slug); + this.flag(this.int, params.multiplier); + }, + 'premium.boostsList': function(params) { + this.int32(-2030542532); + const flags = (this.has(params.next_offset) << 0); + this.int32(flags); + this.int(params.count); + this.vector(this.predicate, params.boosts); + this.flag(this.string, params.next_offset); + this.vector(this.predicate, params.users); + }, + 'myBoost': function(params) { + this.int32(-1001897636); + const flags = (this.has(params.peer) << 0) | (this.has(params.cooldown_until_date) << 1); + this.int32(flags); + this.int(params.slot); + this.flag(this.predicate, params.peer); + this.int(params.date); + this.int(params.expires); + this.flag(this.int, params.cooldown_until_date); + }, + 'premium.myBoosts': function(params) { + this.int32(-1696454430); + this.vector(this.predicate, params.my_boosts); + this.vector(this.predicate, params.chats); + this.vector(this.predicate, params.users); + }, + 'premium.boostsStatus': function(params) { + this.int32(1230586490); + const flags = (this.has(params.my_boost) << 2) | (this.has(params.gift_boosts) << 4) | (this.has(params.next_level_boosts) << 0) | (this.has(params.premium_audience) << 1) | (this.has(params.prepaid_giveaways) << 3) | (this.has(params.my_boost_slots) << 2); + this.int32(flags); + this.int(params.level); + this.int(params.current_level_boosts); + this.int(params.boosts); + this.flag(this.int, params.gift_boosts); + this.flag(this.int, params.next_level_boosts); + this.flag(this.predicate, params.premium_audience); + this.string(params.boost_url); + this.flagVector(this.predicate, params.prepaid_giveaways); + this.flagVector(this.int, params.my_boost_slots); + }, + 'updateBotChatBoost': function(params) { + this.int32(-1873947492); + this.predicate(params.peer); + this.predicate(params.boost); + this.int(params.qts); + }, + 'updateChannelViewForumAsMessages': function(params) { + this.int32(129403168); + this.long(params.channel_id); + this.Bool(params.enabled); + }, + 'messageActionGiveawayResults': function(params) { + this.int32(715107781); + this.int(params.winners_count); + this.int(params.unclaimed_count); + }, + 'updatePeerWallpaper': function(params) { + this.int32(-1371598819); + const flags = (this.has(params.wallpaper_overridden) << 1) | (this.has(params.wallpaper) << 0); + this.int32(flags); + this.predicate(params.peer); + this.flag(this.predicate, params.wallpaper); + }, + 'storyFwdHeader': function(params) { + this.int32(-1205411504); + const flags = (this.has(params.modified) << 3) | (this.has(params.from) << 0) | (this.has(params.from_name) << 1) | (this.has(params.story_id) << 2); + this.int32(flags); + this.flag(this.predicate, params.from); + this.flag(this.string, params.from_name); + this.flag(this.int, params.story_id); + }, + 'postInteractionCountersMessage': function(params) { + this.int32(-419066241); + this.int(params.msg_id); + this.int(params.views); + this.int(params.forwards); + this.int(params.reactions); + }, + 'postInteractionCountersStory': function(params) { + this.int32(-1974989273); + this.int(params.story_id); + this.int(params.views); + this.int(params.forwards); + this.int(params.reactions); + }, + 'stats.storyStats': function(params) { + this.int32(1355613820); + this.predicate(params.views_graph); + this.predicate(params.reactions_by_emotion_graph); + }, + 'publicForwardMessage': function(params) { + this.int32(32685898); + this.predicate(params.message); + }, + 'publicForwardStory': function(params) { + this.int32(-302797360); + this.predicate(params.peer); + this.predicate(params.story); + }, + 'stats.publicForwards': function(params) { + this.int32(-1828487648); + const flags = (this.has(params.next_offset) << 0); + this.int32(flags); + this.int(params.count); + this.vector(this.predicate, params.forwards); + this.flag(this.string, params.next_offset); + this.vector(this.predicate, params.chats); + this.vector(this.predicate, params.users); + }, + 'peerColor': function(params) { + this.int32(-1253352753); + const flags = (this.has(params.color) << 0) | (this.has(params.background_emoji_id) << 1); + this.int32(flags); + this.flag(this.int, params.color); + this.flag(this.long, params.background_emoji_id); + }, + 'help.peerColorSet': function(params) { + this.int32(639736408); + this.vector(this.int, params.colors); + }, + 'help.peerColorProfileSet': function(params) { + this.int32(1987928555); + this.vector(this.int, params.palette_colors); + this.vector(this.int, params.bg_colors); + this.vector(this.int, params.story_colors); + }, + 'help.peerColorOption': function(params) { + this.int32(-276549461); + const flags = (this.has(params.hidden) << 0) | (this.has(params.colors) << 1) | (this.has(params.dark_colors) << 2) | (this.has(params.channel_min_level) << 3); + this.int32(flags); + this.int(params.color_id); + this.flag(this.predicate, params.colors); + this.flag(this.predicate, params.dark_colors); + this.flag(this.int, params.channel_min_level); + }, + 'help.peerColorsNotModified': function(params) { + this.int32(732034510); + }, + 'help.peerColors': function(params) { + this.int32(16313608); + this.int(params.hash); + this.vector(this.predicate, params.colors); + }, + 'messageMediaGiveawayResults': function(params) { + this.int32(-963047320); + const flags = (this.has(params.only_new_subscribers) << 0) | (this.has(params.refunded) << 2) | (this.has(params.additional_peers_count) << 3) | (this.has(params.prize_description) << 1); + this.int32(flags); + this.long(params.channel_id); + this.flag(this.int, params.additional_peers_count); + this.int(params.launch_msg_id); + this.int(params.winners_count); + this.int(params.unclaimed_count); + this.vector(this.long, params.winners); + this.int(params.months); + this.flag(this.string, params.prize_description); + this.int(params.until_date); + }, + 'storyReaction': function(params) { + this.int32(1620104917); + this.predicate(params.peer_id); + this.int(params.date); + this.predicate(params.reaction); + }, + 'storyReactionPublicForward': function(params) { + this.int32(-1146411453); + this.predicate(params.message); + }, + 'storyReactionPublicRepost': function(params) { + this.int32(-808644845); + this.predicate(params.peer_id); + this.predicate(params.story); + }, + 'stories.storyReactionsList': function(params) { + this.int32(-1436583780); + const flags = (this.has(params.next_offset) << 0); + this.int32(flags); + this.int(params.count); + this.vector(this.predicate, params.reactions); + this.vector(this.predicate, params.chats); + this.vector(this.predicate, params.users); + this.flag(this.string, params.next_offset); + }, + 'storyViewPublicForward': function(params) { + this.int32(-1870436597); + const flags = (this.has(params.blocked) << 0) | (this.has(params.blocked_my_stories_from) << 1); + this.int32(flags); + this.predicate(params.message); + }, + 'storyViewPublicRepost': function(params) { + this.int32(-1116418231); + const flags = (this.has(params.blocked) << 0) | (this.has(params.blocked_my_stories_from) << 1); + this.int32(flags); + this.predicate(params.peer_id); + this.predicate(params.story); + }, + 'channelAdminLogEventActionChangePeerColor': function(params) { + this.int32(1469507456); + this.predicate(params.prev_value); + this.predicate(params.new_value); + }, + 'channelAdminLogEventActionChangeProfilePeerColor': function(params) { + this.int32(1581742885); + this.predicate(params.prev_value); + this.predicate(params.new_value); + }, + 'channelAdminLogEventActionChangeWallpaper': function(params) { + this.int32(834362706); + this.predicate(params.prev_value); + this.predicate(params.new_value); + }, + 'channelAdminLogEventActionChangeEmojiStatus': function(params) { + this.int32(1051328177); + this.predicate(params.prev_value); + this.predicate(params.new_value); + }, + 'inputStickerSetEmojiChannelDefaultStatuses': function(params) { + this.int32(1232373075); + }, + 'mediaAreaChannelPost': function(params) { + this.int32(1996756655); + this.predicate(params.coordinates); + this.long(params.channel_id); + this.int(params.msg_id); + }, + 'inputMediaAreaChannelPost': function(params) { + this.int32(577893055); + this.predicate(params.coordinates); + this.predicate(params.channel); + this.int(params.msg_id); + }, + 'updateBotMessageReaction': function(params) { + this.int32(-1407069234); + this.predicate(params.peer); + this.int(params.msg_id); + this.int(params.date); + this.predicate(params.actor); + this.vector(this.predicate, params.old_reactions); + this.vector(this.predicate, params.new_reactions); + this.int(params.qts); + }, + 'updateBotMessageReactions': function(params) { + this.int32(164329305); + this.predicate(params.peer); + this.int(params.msg_id); + this.int(params.date); + this.vector(this.predicate, params.reactions); + this.int(params.qts); + }, + 'savedDialog': function(params) { + this.int32(-1115174036); + const flags = (this.has(params.pinned) << 2); + this.int32(flags); + this.predicate(params.peer); + this.int(params.top_message); + }, + 'updateSavedDialogPinned': function(params) { + this.int32(-1364222348); + const flags = (this.has(params.pinned) << 0); + this.int32(flags); + this.predicate(params.peer); + }, + 'updatePinnedSavedDialogs': function(params) { + this.int32(1751942566); + const flags = (this.has(params.order) << 0); + this.int32(flags); + this.flagVector(this.predicate, params.order); + }, + 'messages.savedDialogs': function(params) { + this.int32(-130358751); + this.vector(this.predicate, params.dialogs); + this.vector(this.predicate, params.messages); + this.vector(this.predicate, params.chats); + this.vector(this.predicate, params.users); + }, + 'messages.savedDialogsSlice': function(params) { + this.int32(1153080793); + this.int(params.count); + this.vector(this.predicate, params.dialogs); + this.vector(this.predicate, params.messages); + this.vector(this.predicate, params.chats); + this.vector(this.predicate, params.users); + }, + 'messages.savedDialogsNotModified': function(params) { + this.int32(-1071681560); + this.int(params.count); + }, + 'invokeAfterMsg': function(params) { + this.int32(-878758099); + this.long(params.msg_id); + this.predicate(params.query); + }, + 'invokeAfterMsgs': function(params) { + this.int32(1036301552); + this.vector(this.long, params.msg_ids); + this.predicate(params.query); + }, + 'auth.sendCode': function(params) { + this.int32(-1502141361); + this.string(params.phone_number); + this.int(params.api_id); + this.string(params.api_hash); + this.predicate(params.settings); + }, + 'auth.signUp': function(params) { + this.int32(-2131827673); + this.string(params.phone_number); + this.string(params.phone_code_hash); + this.string(params.first_name); + this.string(params.last_name); + }, + 'auth.signIn': function(params) { + this.int32(-1923962543); + const flags = (this.has(params.phone_code) << 0) | (this.has(params.email_verification) << 1); + this.int32(flags); + this.string(params.phone_number); + this.string(params.phone_code_hash); + this.flag(this.string, params.phone_code); + this.flag(this.predicate, params.email_verification); + }, + 'auth.logOut': function(params) { + this.int32(1047706137); + }, + 'auth.resetAuthorizations': function(params) { + this.int32(-1616179942); + }, + 'auth.exportAuthorization': function(params) { + this.int32(-440401971); + this.int(params.dc_id); + }, + 'auth.importAuthorization': function(params) { + this.int32(-1518699091); + this.long(params.id); + this.bytes(params.bytes); + }, + 'auth.bindTempAuthKey': function(params) { + this.int32(-841733627); + this.long(params.perm_auth_key_id); + this.long(params.nonce); + this.int(params.expires_at); + this.bytes(params.encrypted_message); + }, + 'account.registerDevice': function(params) { + this.int32(-326762118); + const flags = (this.has(params.no_muted) << 0); + this.int32(flags); + this.int(params.token_type); + this.string(params.token); + this.Bool(params.app_sandbox); + this.bytes(params.secret); + this.vector(this.long, params.other_uids); + }, + 'account.unregisterDevice': function(params) { + this.int32(1779249670); + this.int(params.token_type); + this.string(params.token); + this.vector(this.long, params.other_uids); + }, + 'account.updateNotifySettings': function(params) { + this.int32(-2067899501); + this.predicate(params.peer); + this.predicate(params.settings); + }, + 'account.getNotifySettings': function(params) { + this.int32(313765169); + this.predicate(params.peer); + }, + 'account.resetNotifySettings': function(params) { + this.int32(-612493497); + }, + 'account.updateProfile': function(params) { + this.int32(2018596725); + const flags = (this.has(params.first_name) << 0) | (this.has(params.last_name) << 1) | (this.has(params.about) << 2); + this.int32(flags); + this.flag(this.string, params.first_name); + this.flag(this.string, params.last_name); + this.flag(this.string, params.about); + }, + 'account.updateStatus': function(params) { + this.int32(1713919532); + this.Bool(params.offline); + }, + 'account.getWallPapers': function(params) { + this.int32(127302966); + this.long(params.hash); + }, + 'account.reportPeer': function(params) { + this.int32(-977650298); + this.predicate(params.peer); + this.predicate(params.reason); + this.string(params.message); + }, + 'users.getUsers': function(params) { + this.int32(227648840); + this.vector(this.predicate, params.id); + }, + 'users.getFullUser': function(params) { + this.int32(-1240508136); + this.predicate(params.id); + }, + 'contacts.getContactIDs': function(params) { + this.int32(2061264541); + this.long(params.hash); + }, + 'contacts.getStatuses': function(params) { + this.int32(-995929106); + }, + 'contacts.getContacts': function(params) { + this.int32(1574346258); + this.long(params.hash); + }, + 'contacts.importContacts': function(params) { + this.int32(746589157); + this.vector(this.predicate, params.contacts); + }, + 'contacts.deleteContacts': function(params) { + this.int32(157945344); + this.vector(this.predicate, params.id); + }, + 'contacts.deleteByPhones': function(params) { + this.int32(269745566); + this.vector(this.string, params.phones); + }, + 'contacts.block': function(params) { + this.int32(774801204); + const flags = (this.has(params.my_stories_from) << 0); + this.int32(flags); + this.predicate(params.id); + }, + 'contacts.unblock': function(params) { + this.int32(-1252994264); + const flags = (this.has(params.my_stories_from) << 0); + this.int32(flags); + this.predicate(params.id); + }, + 'contacts.getBlocked': function(params) { + this.int32(-1702457472); + const flags = (this.has(params.my_stories_from) << 0); + this.int32(flags); + this.int(params.offset); + this.int(params.limit); + }, + 'messages.getMessages': function(params) { + this.int32(1673946374); + this.vector(this.predicate, params.id); + }, + 'messages.getDialogs': function(params) { + this.int32(-1594569905); + const flags = (this.has(params.exclude_pinned) << 0) | (this.has(params.folder_id) << 1); + this.int32(flags); + this.flag(this.int, params.folder_id); + this.int(params.offset_date); + this.int(params.offset_id); + this.predicate(params.offset_peer); + this.int(params.limit); + this.long(params.hash); + }, + 'messages.getHistory': function(params) { + this.int32(1143203525); + this.predicate(params.peer); + this.int(params.offset_id); + this.int(params.offset_date); + this.int(params.add_offset); + this.int(params.limit); + this.int(params.max_id); + this.int(params.min_id); + this.long(params.hash); + }, + 'messages.search': function(params) { + this.int32(-1481316055); + const flags = (this.has(params.from_id) << 0) | (this.has(params.saved_peer_id) << 2) | (this.has(params.top_msg_id) << 1); + this.int32(flags); + this.predicate(params.peer); + this.string(params.q); + this.flag(this.predicate, params.from_id); + this.flag(this.predicate, params.saved_peer_id); + this.flag(this.int, params.top_msg_id); + this.predicate(params.filter); + this.int(params.min_date); + this.int(params.max_date); + this.int(params.offset_id); + this.int(params.add_offset); + this.int(params.limit); + this.int(params.max_id); + this.int(params.min_id); + this.long(params.hash); + }, + 'messages.readHistory': function(params) { + this.int32(238054714); + this.predicate(params.peer); + this.int(params.max_id); + }, + 'messages.deleteHistory': function(params) { + this.int32(-1332768214); + const flags = (this.has(params.just_clear) << 0) | (this.has(params.revoke) << 1) | (this.has(params.min_date) << 2) | (this.has(params.max_date) << 3); + this.int32(flags); + this.predicate(params.peer); + this.int(params.max_id); + this.flag(this.int, params.min_date); + this.flag(this.int, params.max_date); + }, + 'messages.deleteMessages': function(params) { + this.int32(-443640366); + const flags = (this.has(params.revoke) << 0); + this.int32(flags); + this.vector(this.int, params.id); + }, + 'messages.receivedMessages': function(params) { + this.int32(94983360); + this.int(params.max_id); + }, + 'messages.setTyping': function(params) { + this.int32(1486110434); + const flags = (this.has(params.top_msg_id) << 0); + this.int32(flags); + this.predicate(params.peer); + this.flag(this.int, params.top_msg_id); + this.predicate(params.action); + }, + 'messages.sendMessage': function(params) { + this.int32(671943023); + const flags = (this.has(params.no_webpage) << 1) | (this.has(params.silent) << 5) | (this.has(params.background) << 6) | (this.has(params.clear_draft) << 7) | (this.has(params.noforwards) << 14) | (this.has(params.update_stickersets_order) << 15) | (this.has(params.invert_media) << 16) | (this.has(params.reply_to) << 0) | (this.has(params.reply_markup) << 2) | (this.has(params.entities) << 3) | (this.has(params.schedule_date) << 10) | (this.has(params.send_as) << 13); + this.int32(flags); + this.predicate(params.peer); + this.flag(this.predicate, params.reply_to); + this.string(params.message); + this.long(params.random_id); + this.flag(this.predicate, params.reply_markup); + this.flagVector(this.predicate, params.entities); + this.flag(this.int, params.schedule_date); + this.flag(this.predicate, params.send_as); + }, + 'messages.sendMedia': function(params) { + this.int32(1926021693); + const flags = (this.has(params.silent) << 5) | (this.has(params.background) << 6) | (this.has(params.clear_draft) << 7) | (this.has(params.noforwards) << 14) | (this.has(params.update_stickersets_order) << 15) | (this.has(params.invert_media) << 16) | (this.has(params.reply_to) << 0) | (this.has(params.reply_markup) << 2) | (this.has(params.entities) << 3) | (this.has(params.schedule_date) << 10) | (this.has(params.send_as) << 13); + this.int32(flags); + this.predicate(params.peer); + this.flag(this.predicate, params.reply_to); + this.predicate(params.media); + this.string(params.message); + this.long(params.random_id); + this.flag(this.predicate, params.reply_markup); + this.flagVector(this.predicate, params.entities); + this.flag(this.int, params.schedule_date); + this.flag(this.predicate, params.send_as); + }, + 'messages.forwardMessages': function(params) { + this.int32(-966673468); + const flags = (this.has(params.silent) << 5) | (this.has(params.background) << 6) | (this.has(params.with_my_score) << 8) | (this.has(params.drop_author) << 11) | (this.has(params.drop_media_captions) << 12) | (this.has(params.noforwards) << 14) | (this.has(params.top_msg_id) << 9) | (this.has(params.schedule_date) << 10) | (this.has(params.send_as) << 13); + this.int32(flags); + this.predicate(params.from_peer); + this.vector(this.int, params.id); + this.vector(this.long, params.random_id); + this.predicate(params.to_peer); + this.flag(this.int, params.top_msg_id); + this.flag(this.int, params.schedule_date); + this.flag(this.predicate, params.send_as); + }, + 'messages.reportSpam': function(params) { + this.int32(-820669733); + this.predicate(params.peer); + }, + 'messages.getPeerSettings': function(params) { + this.int32(-270948702); + this.predicate(params.peer); + }, + 'messages.report': function(params) { + this.int32(-1991005362); + this.predicate(params.peer); + this.vector(this.int, params.id); + this.predicate(params.reason); + this.string(params.message); + }, + 'messages.getChats': function(params) { + this.int32(1240027791); + this.vector(this.long, params.id); + }, + 'messages.getFullChat': function(params) { + this.int32(-1364194508); + this.long(params.chat_id); + }, + 'messages.editChatTitle': function(params) { + this.int32(1937260541); + this.long(params.chat_id); + this.string(params.title); + }, + 'messages.editChatPhoto': function(params) { + this.int32(903730804); + this.long(params.chat_id); + this.predicate(params.photo); + }, + 'messages.addChatUser': function(params) { + this.int32(-230206493); + this.long(params.chat_id); + this.predicate(params.user_id); + this.int(params.fwd_limit); + }, + 'messages.deleteChatUser': function(params) { + this.int32(-1575461717); + const flags = (this.has(params.revoke_history) << 0); + this.int32(flags); + this.long(params.chat_id); + this.predicate(params.user_id); + }, + 'messages.createChat': function(params) { + this.int32(3450904); + const flags = (this.has(params.ttl_period) << 0); + this.int32(flags); + this.vector(this.predicate, params.users); + this.string(params.title); + this.flag(this.int, params.ttl_period); + }, + 'updates.getState': function(params) { + this.int32(-304838614); + }, + 'updates.getDifference': function(params) { + this.int32(432207715); + const flags = (this.has(params.pts_limit) << 1) | (this.has(params.pts_total_limit) << 0) | (this.has(params.qts_limit) << 2); + this.int32(flags); + this.int(params.pts); + this.flag(this.int, params.pts_limit); + this.flag(this.int, params.pts_total_limit); + this.int(params.date); + this.int(params.qts); + this.flag(this.int, params.qts_limit); + }, + 'photos.updateProfilePhoto': function(params) { + this.int32(166207545); + const flags = (this.has(params.fallback) << 0) | (this.has(params.bot) << 1); + this.int32(flags); + this.flag(this.predicate, params.bot); + this.predicate(params.id); + }, + 'photos.uploadProfilePhoto': function(params) { + this.int32(59286453); + const flags = (this.has(params.fallback) << 3) | (this.has(params.bot) << 5) | (this.has(params.file) << 0) | (this.has(params.video) << 1) | (this.has(params.video_start_ts) << 2) | (this.has(params.video_emoji_markup) << 4); + this.int32(flags); + this.flag(this.predicate, params.bot); + this.flag(this.predicate, params.file); + this.flag(this.predicate, params.video); + this.flag(this.double, params.video_start_ts); + this.flag(this.predicate, params.video_emoji_markup); + }, + 'photos.deletePhotos': function(params) { + this.int32(-2016444625); + this.vector(this.predicate, params.id); + }, + 'upload.saveFilePart': function(params) { + this.int32(-1291540959); + this.long(params.file_id); + this.int(params.file_part); + this.bytes(params.bytes); + }, + 'upload.getFile': function(params) { + this.int32(-1101843010); + const flags = (this.has(params.precise) << 0) | (this.has(params.cdn_supported) << 1); + this.int32(flags); + this.predicate(params.location); + this.long(params.offset); + this.int(params.limit); + }, + 'help.getConfig': function(params) { + this.int32(-990308245); + }, + 'help.getNearestDc': function(params) { + this.int32(531836966); + }, + 'help.getAppUpdate': function(params) { + this.int32(1378703997); + this.string(params.source); + }, + 'help.getInviteText': function(params) { + this.int32(1295590211); + }, + 'photos.getUserPhotos': function(params) { + this.int32(-1848823128); + this.predicate(params.user_id); + this.int(params.offset); + this.long(params.max_id); + this.int(params.limit); + }, + 'messages.getDhConfig': function(params) { + this.int32(651135312); + this.int(params.version); + this.int(params.random_length); + }, + 'messages.requestEncryption': function(params) { + this.int32(-162681021); + this.predicate(params.user_id); + this.int(params.random_id); + this.bytes(params.g_a); + }, + 'messages.acceptEncryption': function(params) { + this.int32(1035731989); + this.predicate(params.peer); + this.bytes(params.g_b); + this.long(params.key_fingerprint); + }, + 'messages.discardEncryption': function(params) { + this.int32(-208425312); + const flags = (this.has(params.delete_history) << 0); + this.int32(flags); + this.int(params.chat_id); + }, + 'messages.setEncryptedTyping': function(params) { + this.int32(2031374829); + this.predicate(params.peer); + this.Bool(params.typing); + }, + 'messages.readEncryptedHistory': function(params) { + this.int32(2135648522); + this.predicate(params.peer); + this.int(params.max_date); + }, + 'messages.sendEncrypted': function(params) { + this.int32(1157265941); + const flags = (this.has(params.silent) << 0); + this.int32(flags); + this.predicate(params.peer); + this.long(params.random_id); + this.bytes(params.data); + }, + 'messages.sendEncryptedFile': function(params) { + this.int32(1431914525); + const flags = (this.has(params.silent) << 0); + this.int32(flags); + this.predicate(params.peer); + this.long(params.random_id); + this.bytes(params.data); + this.predicate(params.file); + }, + 'messages.sendEncryptedService': function(params) { + this.int32(852769188); + this.predicate(params.peer); + this.long(params.random_id); + this.bytes(params.data); + }, + 'messages.receivedQueue': function(params) { + this.int32(1436924774); + this.int(params.max_qts); + }, + 'messages.reportEncryptedSpam': function(params) { + this.int32(1259113487); + this.predicate(params.peer); + }, + 'upload.saveBigFilePart': function(params) { + this.int32(-562337987); + this.long(params.file_id); + this.int(params.file_part); + this.int(params.file_total_parts); + this.bytes(params.bytes); + }, + 'initConnection': function(params) { + this.int32(-1043505495); + const flags = (this.has(params.proxy) << 0) | (this.has(params.params) << 1); + this.int32(flags); + this.int(params.api_id); + this.string(params.device_model); + this.string(params.system_version); + this.string(params.app_version); + this.string(params.system_lang_code); + this.string(params.lang_pack); + this.string(params.lang_code); + this.flag(this.predicate, params.proxy); + this.flag(this.predicate, params.params); + this.predicate(params.query); + }, + 'help.getSupport': function(params) { + this.int32(-1663104819); + }, + 'messages.readMessageContents': function(params) { + this.int32(916930423); + this.vector(this.int, params.id); + }, + 'account.checkUsername': function(params) { + this.int32(655677548); + this.string(params.username); + }, + 'account.updateUsername': function(params) { + this.int32(1040964988); + this.string(params.username); + }, + 'contacts.search': function(params) { + this.int32(301470424); + this.string(params.q); + this.int(params.limit); + }, + 'account.getPrivacy': function(params) { + this.int32(-623130288); + this.predicate(params.key); + }, + 'account.setPrivacy': function(params) { + this.int32(-906486552); + this.predicate(params.key); + this.vector(this.predicate, params.rules); + }, + 'account.deleteAccount': function(params) { + this.int32(-1564422284); + const flags = (this.has(params.password) << 0); + this.int32(flags); + this.string(params.reason); + this.flag(this.predicate, params.password); + }, + 'account.getAccountTTL': function(params) { + this.int32(150761757); + }, + 'account.setAccountTTL': function(params) { + this.int32(608323678); + this.predicate(params.ttl); + }, + 'invokeWithLayer': function(params) { + this.int32(-627372787); + this.int(params.layer); + this.predicate(params.query); + }, + 'contacts.resolveUsername': function(params) { + this.int32(-113456221); + this.string(params.username); + }, + 'account.sendChangePhoneCode': function(params) { + this.int32(-2108208411); + this.string(params.phone_number); + this.predicate(params.settings); + }, + 'account.changePhone': function(params) { + this.int32(1891839707); + this.string(params.phone_number); + this.string(params.phone_code_hash); + this.string(params.phone_code); + }, + 'messages.getStickers': function(params) { + this.int32(-710552671); + this.string(params.emoticon); + this.long(params.hash); + }, + 'messages.getAllStickers': function(params) { + this.int32(-1197432408); + this.long(params.hash); + }, + 'account.updateDeviceLocked': function(params) { + this.int32(954152242); + this.int(params.period); + }, + 'auth.importBotAuthorization': function(params) { + this.int32(1738800940); + this.int(params.flags); + this.int(params.api_id); + this.string(params.api_hash); + this.string(params.bot_auth_token); + }, + 'messages.getWebPagePreview': function(params) { + this.int32(-1956073268); + const flags = (this.has(params.entities) << 3); + this.int32(flags); + this.string(params.message); + this.flagVector(this.predicate, params.entities); + }, + 'account.getAuthorizations': function(params) { + this.int32(-484392616); + }, + 'account.resetAuthorization': function(params) { + this.int32(-545786948); + this.long(params.hash); + }, + 'account.getPassword': function(params) { + this.int32(1418342645); + }, + 'account.getPasswordSettings': function(params) { + this.int32(-1663767815); + this.predicate(params.password); + }, + 'account.updatePasswordSettings': function(params) { + this.int32(-1516564433); + this.predicate(params.password); + this.predicate(params.new_settings); + }, + 'auth.checkPassword': function(params) { + this.int32(-779399914); + this.predicate(params.password); + }, + 'auth.requestPasswordRecovery': function(params) { + this.int32(-661144474); + }, + 'auth.recoverPassword': function(params) { + this.int32(923364464); + const flags = (this.has(params.new_settings) << 0); + this.int32(flags); + this.string(params.code); + this.flag(this.predicate, params.new_settings); + }, + 'invokeWithoutUpdates': function(params) { + this.int32(-1080796745); + this.predicate(params.query); + }, + 'messages.exportChatInvite': function(params) { + this.int32(-1607670315); + const flags = (this.has(params.legacy_revoke_permanent) << 2) | (this.has(params.request_needed) << 3) | (this.has(params.expire_date) << 0) | (this.has(params.usage_limit) << 1) | (this.has(params.title) << 4); + this.int32(flags); + this.predicate(params.peer); + this.flag(this.int, params.expire_date); + this.flag(this.int, params.usage_limit); + this.flag(this.string, params.title); + }, + 'messages.checkChatInvite': function(params) { + this.int32(1051570619); + this.string(params.hash); + }, + 'messages.importChatInvite': function(params) { + this.int32(1817183516); + this.string(params.hash); + }, + 'messages.getStickerSet': function(params) { + this.int32(-928977804); + this.predicate(params.stickerset); + this.int(params.hash); + }, + 'messages.installStickerSet': function(params) { + this.int32(-946871200); + this.predicate(params.stickerset); + this.Bool(params.archived); + }, + 'messages.uninstallStickerSet': function(params) { + this.int32(-110209570); + this.predicate(params.stickerset); + }, + 'messages.startBot': function(params) { + this.int32(-421563528); + this.predicate(params.bot); + this.predicate(params.peer); + this.long(params.random_id); + this.string(params.start_param); + }, + 'messages.getMessagesViews': function(params) { + this.int32(1468322785); + this.predicate(params.peer); + this.vector(this.int, params.id); + this.Bool(params.increment); + }, + 'channels.readHistory': function(params) { + this.int32(-871347913); + this.predicate(params.channel); + this.int(params.max_id); + }, + 'channels.deleteMessages': function(params) { + this.int32(-2067661490); + this.predicate(params.channel); + this.vector(this.int, params.id); + }, + 'channels.reportSpam': function(params) { + this.int32(-196443371); + this.predicate(params.channel); + this.predicate(params.participant); + this.vector(this.int, params.id); + }, + 'channels.getMessages': function(params) { + this.int32(-1383294429); + this.predicate(params.channel); + this.vector(this.predicate, params.id); + }, + 'channels.getParticipants': function(params) { + this.int32(2010044880); + this.predicate(params.channel); + this.predicate(params.filter); + this.int(params.offset); + this.int(params.limit); + this.long(params.hash); + }, + 'channels.getParticipant': function(params) { + this.int32(-1599378234); + this.predicate(params.channel); + this.predicate(params.participant); + }, + 'channels.getChannels': function(params) { + this.int32(176122811); + this.vector(this.predicate, params.id); + }, + 'channels.getFullChannel': function(params) { + this.int32(141781513); + this.predicate(params.channel); + }, + 'channels.createChannel': function(params) { + this.int32(-1862244601); + const flags = (this.has(params.broadcast) << 0) | (this.has(params.megagroup) << 1) | (this.has(params.for_import) << 3) | (this.has(params.forum) << 5) | (this.has(params.geo_point) << 2) | (this.has(params.address) << 2) | (this.has(params.ttl_period) << 4); + this.int32(flags); + this.string(params.title); + this.string(params.about); + this.flag(this.predicate, params.geo_point); + this.flag(this.string, params.address); + this.flag(this.int, params.ttl_period); + }, + 'channels.editAdmin': function(params) { + this.int32(-751007486); + this.predicate(params.channel); + this.predicate(params.user_id); + this.predicate(params.admin_rights); + this.string(params.rank); + }, + 'channels.editTitle': function(params) { + this.int32(1450044624); + this.predicate(params.channel); + this.string(params.title); + }, + 'channels.editPhoto': function(params) { + this.int32(-248621111); + this.predicate(params.channel); + this.predicate(params.photo); + }, + 'channels.checkUsername': function(params) { + this.int32(283557164); + this.predicate(params.channel); + this.string(params.username); + }, + 'channels.updateUsername': function(params) { + this.int32(890549214); + this.predicate(params.channel); + this.string(params.username); + }, + 'channels.joinChannel': function(params) { + this.int32(615851205); + this.predicate(params.channel); + }, + 'channels.leaveChannel': function(params) { + this.int32(-130635115); + this.predicate(params.channel); + }, + 'channels.inviteToChannel': function(params) { + this.int32(429865580); + this.predicate(params.channel); + this.vector(this.predicate, params.users); + }, + 'channels.deleteChannel': function(params) { + this.int32(-1072619549); + this.predicate(params.channel); + }, + 'updates.getChannelDifference': function(params) { + this.int32(51854712); + const flags = (this.has(params.force) << 0); + this.int32(flags); + this.predicate(params.channel); + this.predicate(params.filter); + this.int(params.pts); + this.int(params.limit); + }, + 'messages.editChatAdmin': function(params) { + this.int32(-1470377534); + this.long(params.chat_id); + this.predicate(params.user_id); + this.Bool(params.is_admin); + }, + 'messages.migrateChat': function(params) { + this.int32(-1568189671); + this.long(params.chat_id); + }, + 'messages.searchGlobal': function(params) { + this.int32(1271290010); + const flags = (this.has(params.folder_id) << 0); + this.int32(flags); + this.flag(this.int, params.folder_id); + this.string(params.q); + this.predicate(params.filter); + this.int(params.min_date); + this.int(params.max_date); + this.int(params.offset_rate); + this.predicate(params.offset_peer); + this.int(params.offset_id); + this.int(params.limit); + }, + 'messages.reorderStickerSets': function(params) { + this.int32(2016638777); + const flags = (this.has(params.masks) << 0) | (this.has(params.emojis) << 1); + this.int32(flags); + this.vector(this.long, params.order); + }, + 'messages.getDocumentByHash': function(params) { + this.int32(-1309538785); + this.bytes(params.sha256); + this.long(params.size); + this.string(params.mime_type); + }, + 'messages.getSavedGifs': function(params) { + this.int32(1559270965); + this.long(params.hash); + }, + 'messages.saveGif': function(params) { + this.int32(846868683); + this.predicate(params.id); + this.Bool(params.unsave); + }, + 'messages.getInlineBotResults': function(params) { + this.int32(1364105629); + const flags = (this.has(params.geo_point) << 0); + this.int32(flags); + this.predicate(params.bot); + this.predicate(params.peer); + this.flag(this.predicate, params.geo_point); + this.string(params.query); + this.string(params.offset); + }, + 'messages.setInlineBotResults': function(params) { + this.int32(-1156406247); + const flags = (this.has(params.gallery) << 0) | (this.has(params.private) << 1) | (this.has(params.next_offset) << 2) | (this.has(params.switch_pm) << 3) | (this.has(params.switch_webview) << 4); + this.int32(flags); + this.long(params.query_id); + this.vector(this.predicate, params.results); + this.int(params.cache_time); + this.flag(this.string, params.next_offset); + this.flag(this.predicate, params.switch_pm); + this.flag(this.predicate, params.switch_webview); + }, + 'messages.sendInlineBotResult': function(params) { + this.int32(-138647366); + const flags = (this.has(params.silent) << 5) | (this.has(params.background) << 6) | (this.has(params.clear_draft) << 7) | (this.has(params.hide_via) << 11) | (this.has(params.reply_to) << 0) | (this.has(params.schedule_date) << 10) | (this.has(params.send_as) << 13); + this.int32(flags); + this.predicate(params.peer); + this.flag(this.predicate, params.reply_to); + this.long(params.random_id); + this.long(params.query_id); + this.string(params.id); + this.flag(this.int, params.schedule_date); + this.flag(this.predicate, params.send_as); + }, + 'channels.exportMessageLink': function(params) { + this.int32(-432034325); + const flags = (this.has(params.grouped) << 0) | (this.has(params.thread) << 1); + this.int32(flags); + this.predicate(params.channel); + this.int(params.id); + }, + 'channels.toggleSignatures': function(params) { + this.int32(527021574); + this.predicate(params.channel); + this.Bool(params.enabled); + }, + 'auth.resendCode': function(params) { + this.int32(1056025023); + this.string(params.phone_number); + this.string(params.phone_code_hash); + }, + 'auth.cancelCode': function(params) { + this.int32(520357240); + this.string(params.phone_number); + this.string(params.phone_code_hash); + }, + 'messages.getMessageEditData': function(params) { + this.int32(-39416522); + this.predicate(params.peer); + this.int(params.id); + }, + 'messages.editMessage': function(params) { + this.int32(1224152952); + const flags = (this.has(params.no_webpage) << 1) | (this.has(params.invert_media) << 16) | (this.has(params.message) << 11) | (this.has(params.media) << 14) | (this.has(params.reply_markup) << 2) | (this.has(params.entities) << 3) | (this.has(params.schedule_date) << 15); + this.int32(flags); + this.predicate(params.peer); + this.int(params.id); + this.flag(this.string, params.message); + this.flag(this.predicate, params.media); + this.flag(this.predicate, params.reply_markup); + this.flagVector(this.predicate, params.entities); + this.flag(this.int, params.schedule_date); + }, + 'messages.editInlineBotMessage': function(params) { + this.int32(-2091549254); + const flags = (this.has(params.no_webpage) << 1) | (this.has(params.invert_media) << 16) | (this.has(params.message) << 11) | (this.has(params.media) << 14) | (this.has(params.reply_markup) << 2) | (this.has(params.entities) << 3); + this.int32(flags); + this.predicate(params.id); + this.flag(this.string, params.message); + this.flag(this.predicate, params.media); + this.flag(this.predicate, params.reply_markup); + this.flagVector(this.predicate, params.entities); + }, + 'messages.getBotCallbackAnswer': function(params) { + this.int32(-1824339449); + const flags = (this.has(params.game) << 1) | (this.has(params.data) << 0) | (this.has(params.password) << 2); + this.int32(flags); + this.predicate(params.peer); + this.int(params.msg_id); + this.flag(this.bytes, params.data); + this.flag(this.predicate, params.password); + }, + 'messages.setBotCallbackAnswer': function(params) { + this.int32(-712043766); + const flags = (this.has(params.alert) << 1) | (this.has(params.message) << 0) | (this.has(params.url) << 2); + this.int32(flags); + this.long(params.query_id); + this.flag(this.string, params.message); + this.flag(this.string, params.url); + this.int(params.cache_time); + }, + 'contacts.getTopPeers': function(params) { + this.int32(-1758168906); + const flags = (this.has(params.correspondents) << 0) | (this.has(params.bots_pm) << 1) | (this.has(params.bots_inline) << 2) | (this.has(params.phone_calls) << 3) | (this.has(params.forward_users) << 4) | (this.has(params.forward_chats) << 5) | (this.has(params.groups) << 10) | (this.has(params.channels) << 15); + this.int32(flags); + this.int(params.offset); + this.int(params.limit); + this.long(params.hash); + }, + 'contacts.resetTopPeerRating': function(params) { + this.int32(451113900); + this.predicate(params.category); + this.predicate(params.peer); + }, + 'messages.getPeerDialogs': function(params) { + this.int32(-462373635); + this.vector(this.predicate, params.peers); + }, + 'messages.saveDraft': function(params) { + this.int32(2146678790); + const flags = (this.has(params.no_webpage) << 1) | (this.has(params.invert_media) << 6) | (this.has(params.reply_to) << 4) | (this.has(params.entities) << 3) | (this.has(params.media) << 5); + this.int32(flags); + this.flag(this.predicate, params.reply_to); + this.predicate(params.peer); + this.string(params.message); + this.flagVector(this.predicate, params.entities); + this.flag(this.predicate, params.media); + }, + 'messages.getAllDrafts': function(params) { + this.int32(1782549861); + }, + 'messages.getFeaturedStickers': function(params) { + this.int32(1685588756); + this.long(params.hash); + }, + 'messages.readFeaturedStickers': function(params) { + this.int32(1527873830); + this.vector(this.long, params.id); + }, + 'messages.getRecentStickers': function(params) { + this.int32(-1649852357); + const flags = (this.has(params.attached) << 0); + this.int32(flags); + this.long(params.hash); + }, + 'messages.saveRecentSticker': function(params) { + this.int32(958863608); + const flags = (this.has(params.attached) << 0); + this.int32(flags); + this.predicate(params.id); + this.Bool(params.unsave); + }, + 'messages.clearRecentStickers': function(params) { + this.int32(-1986437075); + const flags = (this.has(params.attached) << 0); + this.int32(flags); + }, + 'messages.getArchivedStickers': function(params) { + this.int32(1475442322); + const flags = (this.has(params.masks) << 0) | (this.has(params.emojis) << 1); + this.int32(flags); + this.long(params.offset_id); + this.int(params.limit); + }, + 'account.sendConfirmPhoneCode': function(params) { + this.int32(457157256); + this.string(params.hash); + this.predicate(params.settings); + }, + 'account.confirmPhone': function(params) { + this.int32(1596029123); + this.string(params.phone_code_hash); + this.string(params.phone_code); + }, + 'channels.getAdminedPublicChannels': function(params) { + this.int32(-122669393); + const flags = (this.has(params.by_location) << 0) | (this.has(params.check_limit) << 1); + this.int32(flags); + }, + 'messages.getMaskStickers': function(params) { + this.int32(1678738104); + this.long(params.hash); + }, + 'messages.getAttachedStickers': function(params) { + this.int32(-866424884); + this.predicate(params.media); + }, + 'auth.dropTempAuthKeys': function(params) { + this.int32(-1907842680); + this.vector(this.long, params.except_auth_keys); + }, + 'messages.setGameScore': function(params) { + this.int32(-1896289088); + const flags = (this.has(params.edit_message) << 0) | (this.has(params.force) << 1); + this.int32(flags); + this.predicate(params.peer); + this.int(params.id); + this.predicate(params.user_id); + this.int(params.score); + }, + 'messages.setInlineGameScore': function(params) { + this.int32(363700068); + const flags = (this.has(params.edit_message) << 0) | (this.has(params.force) << 1); + this.int32(flags); + this.predicate(params.id); + this.predicate(params.user_id); + this.int(params.score); + }, + 'messages.getGameHighScores': function(params) { + this.int32(-400399203); + this.predicate(params.peer); + this.int(params.id); + this.predicate(params.user_id); + }, + 'messages.getInlineGameHighScores': function(params) { + this.int32(258170395); + this.predicate(params.id); + this.predicate(params.user_id); + }, + 'messages.getCommonChats': function(params) { + this.int32(-468934396); + this.predicate(params.user_id); + this.long(params.max_id); + this.int(params.limit); + }, + 'help.setBotUpdatesStatus': function(params) { + this.int32(-333262899); + this.int(params.pending_updates_count); + this.string(params.message); + }, + 'messages.getWebPage': function(params) { + this.int32(-1919511901); + this.string(params.url); + this.int(params.hash); + }, + 'messages.toggleDialogPin': function(params) { + this.int32(-1489903017); + const flags = (this.has(params.pinned) << 0); + this.int32(flags); + this.predicate(params.peer); + }, + 'messages.reorderPinnedDialogs': function(params) { + this.int32(991616823); + const flags = (this.has(params.force) << 0); + this.int32(flags); + this.int(params.folder_id); + this.vector(this.predicate, params.order); + }, + 'messages.getPinnedDialogs': function(params) { + this.int32(-692498958); + this.int(params.folder_id); + }, + 'bots.sendCustomRequest': function(params) { + this.int32(-1440257555); + this.string(params.custom_method); + this.predicate(params.params); + }, + 'bots.answerWebhookJSONQuery': function(params) { + this.int32(-434028723); + this.long(params.query_id); + this.predicate(params.data); + }, + 'upload.getWebFile': function(params) { + this.int32(619086221); + this.predicate(params.location); + this.int(params.offset); + this.int(params.limit); + }, + 'payments.getPaymentForm': function(params) { + this.int32(924093883); + const flags = (this.has(params.theme_params) << 0); + this.int32(flags); + this.predicate(params.invoice); + this.flag(this.predicate, params.theme_params); + }, + 'payments.getPaymentReceipt': function(params) { + this.int32(611897804); + this.predicate(params.peer); + this.int(params.msg_id); + }, + 'payments.validateRequestedInfo': function(params) { + this.int32(-1228345045); + const flags = (this.has(params.save) << 0); + this.int32(flags); + this.predicate(params.invoice); + this.predicate(params.info); + }, + 'payments.sendPaymentForm': function(params) { + this.int32(755192367); + const flags = (this.has(params.requested_info_id) << 0) | (this.has(params.shipping_option_id) << 1) | (this.has(params.tip_amount) << 2); + this.int32(flags); + this.long(params.form_id); + this.predicate(params.invoice); + this.flag(this.string, params.requested_info_id); + this.flag(this.string, params.shipping_option_id); + this.predicate(params.credentials); + this.flag(this.long, params.tip_amount); + }, + 'account.getTmpPassword': function(params) { + this.int32(1151208273); + this.predicate(params.password); + this.int(params.period); + }, + 'payments.getSavedInfo': function(params) { + this.int32(578650699); + }, + 'payments.clearSavedInfo': function(params) { + this.int32(-667062079); + const flags = (this.has(params.credentials) << 0) | (this.has(params.info) << 1); + this.int32(flags); + }, + 'messages.setBotShippingResults': function(params) { + this.int32(-436833542); + const flags = (this.has(params.error) << 0) | (this.has(params.shipping_options) << 1); + this.int32(flags); + this.long(params.query_id); + this.flag(this.string, params.error); + this.flagVector(this.predicate, params.shipping_options); + }, + 'messages.setBotPrecheckoutResults': function(params) { + this.int32(163765653); + const flags = (this.has(params.success) << 1) | (this.has(params.error) << 0); + this.int32(flags); + this.long(params.query_id); + this.flag(this.string, params.error); + }, + 'stickers.createStickerSet': function(params) { + this.int32(-1876841625); + const flags = (this.has(params.masks) << 0) | (this.has(params.animated) << 1) | (this.has(params.videos) << 4) | (this.has(params.emojis) << 5) | (this.has(params.text_color) << 6) | (this.has(params.thumb) << 2) | (this.has(params.software) << 3); + this.int32(flags); + this.predicate(params.user_id); + this.string(params.title); + this.string(params.short_name); + this.flag(this.predicate, params.thumb); + this.vector(this.predicate, params.stickers); + this.flag(this.string, params.software); + }, + 'stickers.removeStickerFromSet': function(params) { + this.int32(-143257775); + this.predicate(params.sticker); + }, + 'stickers.changeStickerPosition': function(params) { + this.int32(-4795190); + this.predicate(params.sticker); + this.int(params.position); + }, + 'stickers.addStickerToSet': function(params) { + this.int32(-2041315650); + this.predicate(params.stickerset); + this.predicate(params.sticker); + }, + 'messages.uploadMedia': function(params) { + this.int32(1369162417); + this.predicate(params.peer); + this.predicate(params.media); + }, + 'phone.getCallConfig': function(params) { + this.int32(1430593449); + }, + 'phone.requestCall': function(params) { + this.int32(1124046573); + const flags = (this.has(params.video) << 0); + this.int32(flags); + this.predicate(params.user_id); + this.int(params.random_id); + this.bytes(params.g_a_hash); + this.predicate(params.protocol); + }, + 'phone.acceptCall': function(params) { + this.int32(1003664544); + this.predicate(params.peer); + this.bytes(params.g_b); + this.predicate(params.protocol); + }, + 'phone.confirmCall': function(params) { + this.int32(788404002); + this.predicate(params.peer); + this.bytes(params.g_a); + this.long(params.key_fingerprint); + this.predicate(params.protocol); + }, + 'phone.receivedCall': function(params) { + this.int32(399855457); + this.predicate(params.peer); + }, + 'phone.discardCall': function(params) { + this.int32(-1295269440); + const flags = (this.has(params.video) << 0); + this.int32(flags); + this.predicate(params.peer); + this.int(params.duration); + this.predicate(params.reason); + this.long(params.connection_id); + }, + 'phone.setCallRating': function(params) { + this.int32(1508562471); + const flags = (this.has(params.user_initiative) << 0); + this.int32(flags); + this.predicate(params.peer); + this.int(params.rating); + this.string(params.comment); + }, + 'phone.saveCallDebug': function(params) { + this.int32(662363518); + this.predicate(params.peer); + this.predicate(params.debug); + }, + 'upload.getCdnFile': function(params) { + this.int32(962554330); + this.bytes(params.file_token); + this.long(params.offset); + this.int(params.limit); + }, + 'upload.reuploadCdnFile': function(params) { + this.int32(-1691921240); + this.bytes(params.file_token); + this.bytes(params.request_token); + }, + 'help.getCdnConfig': function(params) { + this.int32(1375900482); + }, + 'langpack.getLangPack': function(params) { + this.int32(-219008246); + this.string(params.lang_pack); + this.string(params.lang_code); + }, + 'langpack.getStrings': function(params) { + this.int32(-269862909); + this.string(params.lang_pack); + this.string(params.lang_code); + this.vector(this.string, params.keys); + }, + 'langpack.getDifference': function(params) { + this.int32(-845657435); + this.string(params.lang_pack); + this.string(params.lang_code); + this.int(params.from_version); + }, + 'langpack.getLanguages': function(params) { + this.int32(1120311183); + this.string(params.lang_pack); + }, + 'channels.editBanned': function(params) { + this.int32(-1763259007); + this.predicate(params.channel); + this.predicate(params.participant); + this.predicate(params.banned_rights); + }, + 'channels.getAdminLog': function(params) { + this.int32(870184064); + const flags = (this.has(params.events_filter) << 0) | (this.has(params.admins) << 1); + this.int32(flags); + this.predicate(params.channel); + this.string(params.q); + this.flag(this.predicate, params.events_filter); + this.flagVector(this.predicate, params.admins); + this.long(params.max_id); + this.long(params.min_id); + this.int(params.limit); + }, + 'upload.getCdnFileHashes': function(params) { + this.int32(-1847836879); + this.bytes(params.file_token); + this.long(params.offset); + }, + 'messages.sendScreenshotNotification': function(params) { + this.int32(-1589618665); + this.predicate(params.peer); + this.predicate(params.reply_to); + this.long(params.random_id); + }, + 'channels.setStickers': function(params) { + this.int32(-359881479); + this.predicate(params.channel); + this.predicate(params.stickerset); + }, + 'messages.getFavedStickers': function(params) { + this.int32(82946729); + this.long(params.hash); + }, + 'messages.faveSticker': function(params) { + this.int32(-1174420133); + this.predicate(params.id); + this.Bool(params.unfave); + }, + 'channels.readMessageContents': function(params) { + this.int32(-357180360); + this.predicate(params.channel); + this.vector(this.int, params.id); + }, + 'contacts.resetSaved': function(params) { + this.int32(-2020263951); + }, + 'messages.getUnreadMentions': function(params) { + this.int32(-251140208); + const flags = (this.has(params.top_msg_id) << 0); + this.int32(flags); + this.predicate(params.peer); + this.flag(this.int, params.top_msg_id); + this.int(params.offset_id); + this.int(params.add_offset); + this.int(params.limit); + this.int(params.max_id); + this.int(params.min_id); + }, + 'channels.deleteHistory': function(params) { + this.int32(-1683319225); + const flags = (this.has(params.for_everyone) << 0); + this.int32(flags); + this.predicate(params.channel); + this.int(params.max_id); + }, + 'help.getRecentMeUrls': function(params) { + this.int32(1036054804); + this.string(params.referer); + }, + 'channels.togglePreHistoryHidden': function(params) { + this.int32(-356796084); + this.predicate(params.channel); + this.Bool(params.enabled); + }, + 'messages.readMentions': function(params) { + this.int32(921026381); + const flags = (this.has(params.top_msg_id) << 0); + this.int32(flags); + this.predicate(params.peer); + this.flag(this.int, params.top_msg_id); + }, + 'messages.getRecentLocations': function(params) { + this.int32(1881817312); + this.predicate(params.peer); + this.int(params.limit); + this.long(params.hash); + }, + 'messages.sendMultiMedia': function(params) { + this.int32(1164872071); + const flags = (this.has(params.silent) << 5) | (this.has(params.background) << 6) | (this.has(params.clear_draft) << 7) | (this.has(params.noforwards) << 14) | (this.has(params.update_stickersets_order) << 15) | (this.has(params.invert_media) << 16) | (this.has(params.reply_to) << 0) | (this.has(params.schedule_date) << 10) | (this.has(params.send_as) << 13); + this.int32(flags); + this.predicate(params.peer); + this.flag(this.predicate, params.reply_to); + this.vector(this.predicate, params.multi_media); + this.flag(this.int, params.schedule_date); + this.flag(this.predicate, params.send_as); + }, + 'messages.uploadEncryptedFile': function(params) { + this.int32(1347929239); + this.predicate(params.peer); + this.predicate(params.file); + }, + 'account.getWebAuthorizations': function(params) { + this.int32(405695855); + }, + 'account.resetWebAuthorization': function(params) { + this.int32(755087855); + this.long(params.hash); + }, + 'account.resetWebAuthorizations': function(params) { + this.int32(1747789204); + }, + 'messages.searchStickerSets': function(params) { + this.int32(896555914); + const flags = (this.has(params.exclude_featured) << 0); + this.int32(flags); + this.string(params.q); + this.long(params.hash); + }, + 'upload.getFileHashes': function(params) { + this.int32(-1856595926); + this.predicate(params.location); + this.long(params.offset); + }, + 'help.getTermsOfServiceUpdate': function(params) { + this.int32(749019089); + }, + 'help.acceptTermsOfService': function(params) { + this.int32(-294455398); + this.predicate(params.id); + }, + 'account.getAllSecureValues': function(params) { + this.int32(-1299661699); + }, + 'account.getSecureValue': function(params) { + this.int32(1936088002); + this.vector(this.predicate, params.types); + }, + 'account.saveSecureValue': function(params) { + this.int32(-1986010339); + this.predicate(params.value); + this.long(params.secure_secret_id); + }, + 'account.deleteSecureValue': function(params) { + this.int32(-1199522741); + this.vector(this.predicate, params.types); + }, + 'users.setSecureValueErrors': function(params) { + this.int32(-1865902923); + this.predicate(params.id); + this.vector(this.predicate, params.errors); + }, + 'account.getAuthorizationForm': function(params) { + this.int32(-1456907910); + this.long(params.bot_id); + this.string(params.scope); + this.string(params.public_key); + }, + 'account.acceptAuthorization': function(params) { + this.int32(-202552205); + this.long(params.bot_id); + this.string(params.scope); + this.string(params.public_key); + this.vector(this.predicate, params.value_hashes); + this.predicate(params.credentials); + }, + 'account.sendVerifyPhoneCode': function(params) { + this.int32(-1516022023); + this.string(params.phone_number); + this.predicate(params.settings); + }, + 'account.verifyPhone': function(params) { + this.int32(1305716726); + this.string(params.phone_number); + this.string(params.phone_code_hash); + this.string(params.phone_code); + }, + 'account.sendVerifyEmailCode': function(params) { + this.int32(-1730136133); + this.predicate(params.purpose); + this.string(params.email); + }, + 'account.verifyEmail': function(params) { + this.int32(53322959); + this.predicate(params.purpose); + this.predicate(params.verification); + }, + 'help.getDeepLinkInfo': function(params) { + this.int32(1072547679); + this.string(params.path); + }, + 'contacts.getSaved': function(params) { + this.int32(-2098076769); + }, + 'channels.getLeftChannels': function(params) { + this.int32(-2092831552); + this.int(params.offset); + }, + 'account.initTakeoutSession': function(params) { + this.int32(-1896617296); + const flags = (this.has(params.contacts) << 0) | (this.has(params.message_users) << 1) | (this.has(params.message_chats) << 2) | (this.has(params.message_megagroups) << 3) | (this.has(params.message_channels) << 4) | (this.has(params.files) << 5) | (this.has(params.file_max_size) << 5); + this.int32(flags); + this.flag(this.long, params.file_max_size); + }, + 'account.finishTakeoutSession': function(params) { + this.int32(489050862); + const flags = (this.has(params.success) << 0); + this.int32(flags); + }, + 'messages.getSplitRanges': function(params) { + this.int32(486505992); + }, + 'invokeWithMessagesRange': function(params) { + this.int32(911373810); + this.predicate(params.range); + this.predicate(params.query); + }, + 'invokeWithTakeout': function(params) { + this.int32(-1398145746); + this.long(params.takeout_id); + this.predicate(params.query); + }, + 'messages.markDialogUnread': function(params) { + this.int32(-1031349873); + const flags = (this.has(params.unread) << 0); + this.int32(flags); + this.predicate(params.peer); + }, + 'messages.getDialogUnreadMarks': function(params) { + this.int32(585256482); + }, + 'contacts.toggleTopPeers': function(params) { + this.int32(-2062238246); + this.Bool(params.enabled); + }, + 'messages.clearAllDrafts': function(params) { + this.int32(2119757468); + }, + 'help.getAppConfig': function(params) { + this.int32(1642330196); + this.int(params.hash); + }, + 'help.saveAppLog': function(params) { + this.int32(1862465352); + this.vector(this.predicate, params.events); + }, + 'help.getPassportConfig': function(params) { + this.int32(-966677240); + this.int(params.hash); + }, + 'langpack.getLanguage': function(params) { + this.int32(1784243458); + this.string(params.lang_pack); + this.string(params.lang_code); + }, + 'messages.updatePinnedMessage': function(params) { + this.int32(-760547348); + const flags = (this.has(params.silent) << 0) | (this.has(params.unpin) << 1) | (this.has(params.pm_oneside) << 2); + this.int32(flags); + this.predicate(params.peer); + this.int(params.id); + }, + 'account.confirmPasswordEmail': function(params) { + this.int32(-1881204448); + this.string(params.code); + }, + 'account.resendPasswordEmail': function(params) { + this.int32(2055154197); + }, + 'account.cancelPasswordEmail': function(params) { + this.int32(-1043606090); + }, + 'help.getSupportName': function(params) { + this.int32(-748624084); + }, + 'help.getUserInfo': function(params) { + this.int32(59377875); + this.predicate(params.user_id); + }, + 'help.editUserInfo': function(params) { + this.int32(1723407216); + this.predicate(params.user_id); + this.string(params.message); + this.vector(this.predicate, params.entities); + }, + 'account.getContactSignUpNotification': function(params) { + this.int32(-1626880216); + }, + 'account.setContactSignUpNotification': function(params) { + this.int32(-806076575); + this.Bool(params.silent); + }, + 'account.getNotifyExceptions': function(params) { + this.int32(1398240377); + const flags = (this.has(params.compare_sound) << 1) | (this.has(params.compare_stories) << 2) | (this.has(params.peer) << 0); + this.int32(flags); + this.flag(this.predicate, params.peer); + }, + 'messages.sendVote': function(params) { + this.int32(283795844); + this.predicate(params.peer); + this.int(params.msg_id); + this.vector(this.bytes, params.options); + }, + 'messages.getPollResults': function(params) { + this.int32(1941660731); + this.predicate(params.peer); + this.int(params.msg_id); + }, + 'messages.getOnlines': function(params) { + this.int32(1848369232); + this.predicate(params.peer); + }, + 'messages.editChatAbout': function(params) { + this.int32(-554301545); + this.predicate(params.peer); + this.string(params.about); + }, + 'messages.editChatDefaultBannedRights': function(params) { + this.int32(-1517917375); + this.predicate(params.peer); + this.predicate(params.banned_rights); + }, + 'account.getWallPaper': function(params) { + this.int32(-57811990); + this.predicate(params.wallpaper); + }, + 'account.uploadWallPaper': function(params) { + this.int32(-476410109); + const flags = (this.has(params.for_chat) << 0); + this.int32(flags); + this.predicate(params.file); + this.string(params.mime_type); + this.predicate(params.settings); + }, + 'account.saveWallPaper': function(params) { + this.int32(1817860919); + this.predicate(params.wallpaper); + this.Bool(params.unsave); + this.predicate(params.settings); + }, + 'account.installWallPaper': function(params) { + this.int32(-18000023); + this.predicate(params.wallpaper); + this.predicate(params.settings); + }, + 'account.resetWallPapers': function(params) { + this.int32(-1153722364); + }, + 'account.getAutoDownloadSettings': function(params) { + this.int32(1457130303); + }, + 'account.saveAutoDownloadSettings': function(params) { + this.int32(1995661875); + const flags = (this.has(params.low) << 0) | (this.has(params.high) << 1); + this.int32(flags); + this.predicate(params.settings); + }, + 'messages.getEmojiKeywords': function(params) { + this.int32(899735650); + this.string(params.lang_code); + }, + 'messages.getEmojiKeywordsDifference': function(params) { + this.int32(352892591); + this.string(params.lang_code); + this.int(params.from_version); + }, + 'messages.getEmojiKeywordsLanguages': function(params) { + this.int32(1318675378); + this.vector(this.string, params.lang_codes); + }, + 'messages.getEmojiURL': function(params) { + this.int32(-709817306); + this.string(params.lang_code); + }, + 'folders.editPeerFolders': function(params) { + this.int32(1749536939); + this.vector(this.predicate, params.folder_peers); + }, + 'messages.getSearchCounters': function(params) { + this.int32(465367808); + const flags = (this.has(params.saved_peer_id) << 2) | (this.has(params.top_msg_id) << 0); + this.int32(flags); + this.predicate(params.peer); + this.flag(this.predicate, params.saved_peer_id); + this.flag(this.int, params.top_msg_id); + this.vector(this.predicate, params.filters); + }, + 'channels.getGroupsForDiscussion': function(params) { + this.int32(-170208392); + }, + 'channels.setDiscussionGroup': function(params) { + this.int32(1079520178); + this.predicate(params.broadcast); + this.predicate(params.group); + }, + 'messages.requestUrlAuth': function(params) { + this.int32(428848198); + const flags = (this.has(params.peer) << 1) | (this.has(params.msg_id) << 1) | (this.has(params.button_id) << 1) | (this.has(params.url) << 2); + this.int32(flags); + this.flag(this.predicate, params.peer); + this.flag(this.int, params.msg_id); + this.flag(this.int, params.button_id); + this.flag(this.string, params.url); + }, + 'messages.acceptUrlAuth': function(params) { + this.int32(-1322487515); + const flags = (this.has(params.write_allowed) << 0) | (this.has(params.peer) << 1) | (this.has(params.msg_id) << 1) | (this.has(params.button_id) << 1) | (this.has(params.url) << 2); + this.int32(flags); + this.flag(this.predicate, params.peer); + this.flag(this.int, params.msg_id); + this.flag(this.int, params.button_id); + this.flag(this.string, params.url); + }, + 'messages.hidePeerSettingsBar': function(params) { + this.int32(1336717624); + this.predicate(params.peer); + }, + 'contacts.addContact': function(params) { + this.int32(-386636848); + const flags = (this.has(params.add_phone_privacy_exception) << 0); + this.int32(flags); + this.predicate(params.id); + this.string(params.first_name); + this.string(params.last_name); + this.string(params.phone); + }, + 'contacts.acceptContact': function(params) { + this.int32(-130964977); + this.predicate(params.id); + }, + 'channels.editCreator': function(params) { + this.int32(-1892102881); + this.predicate(params.channel); + this.predicate(params.user_id); + this.predicate(params.password); + }, + 'contacts.getLocated': function(params) { + this.int32(-750207932); + const flags = (this.has(params.background) << 1) | (this.has(params.self_expires) << 0); + this.int32(flags); + this.predicate(params.geo_point); + this.flag(this.int, params.self_expires); + }, + 'channels.editLocation': function(params) { + this.int32(1491484525); + this.predicate(params.channel); + this.predicate(params.geo_point); + this.string(params.address); + }, + 'channels.toggleSlowMode': function(params) { + this.int32(-304832784); + this.predicate(params.channel); + this.int(params.seconds); + }, + 'messages.getScheduledHistory': function(params) { + this.int32(-183077365); + this.predicate(params.peer); + this.long(params.hash); + }, + 'messages.getScheduledMessages': function(params) { + this.int32(-1111817116); + this.predicate(params.peer); + this.vector(this.int, params.id); + }, + 'messages.sendScheduledMessages': function(params) { + this.int32(-1120369398); + this.predicate(params.peer); + this.vector(this.int, params.id); + }, + 'messages.deleteScheduledMessages': function(params) { + this.int32(1504586518); + this.predicate(params.peer); + this.vector(this.int, params.id); + }, + 'account.uploadTheme': function(params) { + this.int32(473805619); + const flags = (this.has(params.thumb) << 0); + this.int32(flags); + this.predicate(params.file); + this.flag(this.predicate, params.thumb); + this.string(params.file_name); + this.string(params.mime_type); + }, + 'account.createTheme': function(params) { + this.int32(1697530880); + const flags = (this.has(params.document) << 2) | (this.has(params.settings) << 3); + this.int32(flags); + this.string(params.slug); + this.string(params.title); + this.flag(this.predicate, params.document); + this.flagVector(this.predicate, params.settings); + }, + 'account.updateTheme': function(params) { + this.int32(737414348); + const flags = (this.has(params.slug) << 0) | (this.has(params.title) << 1) | (this.has(params.document) << 2) | (this.has(params.settings) << 3); + this.int32(flags); + this.string(params.format); + this.predicate(params.theme); + this.flag(this.string, params.slug); + this.flag(this.string, params.title); + this.flag(this.predicate, params.document); + this.flagVector(this.predicate, params.settings); + }, + 'account.saveTheme': function(params) { + this.int32(-229175188); + this.predicate(params.theme); + this.Bool(params.unsave); + }, + 'account.installTheme': function(params) { + this.int32(-953697477); + const flags = (this.has(params.dark) << 0) | (this.has(params.theme) << 1) | (this.has(params.format) << 2) | (this.has(params.base_theme) << 3); + this.int32(flags); + this.flag(this.predicate, params.theme); + this.flag(this.string, params.format); + this.flag(this.predicate, params.base_theme); + }, + 'account.getTheme': function(params) { + this.int32(978872812); + this.string(params.format); + this.predicate(params.theme); + }, + 'account.getThemes': function(params) { + this.int32(1913054296); + this.string(params.format); + this.long(params.hash); + }, + 'auth.exportLoginToken': function(params) { + this.int32(-1210022402); + this.int(params.api_id); + this.string(params.api_hash); + this.vector(this.long, params.except_ids); + }, + 'auth.importLoginToken': function(params) { + this.int32(-1783866140); + this.bytes(params.token); + }, + 'auth.acceptLoginToken': function(params) { + this.int32(-392909491); + this.bytes(params.token); + }, + 'account.setContentSettings': function(params) { + this.int32(-1250643605); + const flags = (this.has(params.sensitive_enabled) << 0); + this.int32(flags); + }, + 'account.getContentSettings': function(params) { + this.int32(-1952756306); + }, + 'channels.getInactiveChannels': function(params) { + this.int32(300429806); + }, + 'account.getMultiWallPapers': function(params) { + this.int32(1705865692); + this.vector(this.predicate, params.wallpapers); + }, + 'messages.getPollVotes': function(params) { + this.int32(-1200736242); + const flags = (this.has(params.option) << 0) | (this.has(params.offset) << 1); + this.int32(flags); + this.predicate(params.peer); + this.int(params.id); + this.flag(this.bytes, params.option); + this.flag(this.string, params.offset); + this.int(params.limit); + }, + 'messages.toggleStickerSets': function(params) { + this.int32(-1257951254); + const flags = (this.has(params.uninstall) << 0) | (this.has(params.archive) << 1) | (this.has(params.unarchive) << 2); + this.int32(flags); + this.vector(this.predicate, params.stickersets); + }, + 'payments.getBankCardData': function(params) { + this.int32(779736953); + this.string(params.number); + }, + 'messages.getDialogFilters': function(params) { + this.int32(-241247891); + }, + 'messages.getSuggestedDialogFilters': function(params) { + this.int32(-1566780372); + }, + 'messages.updateDialogFilter': function(params) { + this.int32(450142282); + const flags = (this.has(params.filter) << 0); + this.int32(flags); + this.int(params.id); + this.flag(this.predicate, params.filter); + }, + 'messages.updateDialogFiltersOrder': function(params) { + this.int32(-983318044); + this.vector(this.int, params.order); + }, + 'stats.getBroadcastStats': function(params) { + this.int32(-1421720550); + const flags = (this.has(params.dark) << 0); + this.int32(flags); + this.predicate(params.channel); + }, + 'stats.loadAsyncGraph': function(params) { + this.int32(1646092192); + const flags = (this.has(params.x) << 0); + this.int32(flags); + this.string(params.token); + this.flag(this.long, params.x); + }, + 'stickers.setStickerSetThumb': function(params) { + this.int32(-1486204014); + const flags = (this.has(params.thumb) << 0) | (this.has(params.thumb_document_id) << 1); + this.int32(flags); + this.predicate(params.stickerset); + this.flag(this.predicate, params.thumb); + this.flag(this.long, params.thumb_document_id); + }, + 'bots.setBotCommands': function(params) { + this.int32(85399130); + this.predicate(params.scope); + this.string(params.lang_code); + this.vector(this.predicate, params.commands); + }, + 'messages.getOldFeaturedStickers': function(params) { + this.int32(2127598753); + this.int(params.offset); + this.int(params.limit); + this.long(params.hash); + }, + 'help.getPromoData': function(params) { + this.int32(-1063816159); + }, + 'help.hidePromoData': function(params) { + this.int32(505748629); + this.predicate(params.peer); + }, + 'phone.sendSignalingData': function(params) { + this.int32(-8744061); + this.predicate(params.peer); + this.bytes(params.data); + }, + 'stats.getMegagroupStats': function(params) { + this.int32(-589330937); + const flags = (this.has(params.dark) << 0); + this.int32(flags); + this.predicate(params.channel); + }, + 'account.getGlobalPrivacySettings': function(params) { + this.int32(-349483786); + }, + 'account.setGlobalPrivacySettings': function(params) { + this.int32(517647042); + this.predicate(params.settings); + }, + 'help.dismissSuggestion': function(params) { + this.int32(-183649631); + this.predicate(params.peer); + this.string(params.suggestion); + }, + 'help.getCountriesList': function(params) { + this.int32(1935116200); + this.string(params.lang_code); + this.int(params.hash); + }, + 'messages.getReplies': function(params) { + this.int32(584962828); + this.predicate(params.peer); + this.int(params.msg_id); + this.int(params.offset_id); + this.int(params.offset_date); + this.int(params.add_offset); + this.int(params.limit); + this.int(params.max_id); + this.int(params.min_id); + this.long(params.hash); + }, + 'messages.getDiscussionMessage': function(params) { + this.int32(1147761405); + this.predicate(params.peer); + this.int(params.msg_id); + }, + 'messages.readDiscussion': function(params) { + this.int32(-147740172); + this.predicate(params.peer); + this.int(params.msg_id); + this.int(params.read_max_id); + }, + 'contacts.blockFromReplies': function(params) { + this.int32(698914348); + const flags = (this.has(params.delete_message) << 0) | (this.has(params.delete_history) << 1) | (this.has(params.report_spam) << 2); + this.int32(flags); + this.int(params.msg_id); + }, + 'stats.getMessagePublicForwards': function(params) { + this.int32(1595212100); + this.predicate(params.channel); + this.int(params.msg_id); + this.string(params.offset); + this.int(params.limit); + }, + 'stats.getMessageStats': function(params) { + this.int32(-1226791947); + const flags = (this.has(params.dark) << 0); + this.int32(flags); + this.predicate(params.channel); + this.int(params.msg_id); + }, + 'messages.unpinAllMessages': function(params) { + this.int32(-299714136); + const flags = (this.has(params.top_msg_id) << 0); + this.int32(flags); + this.predicate(params.peer); + this.flag(this.int, params.top_msg_id); + }, + 'phone.createGroupCall': function(params) { + this.int32(1221445336); + const flags = (this.has(params.rtmp_stream) << 2) | (this.has(params.title) << 0) | (this.has(params.schedule_date) << 1); + this.int32(flags); + this.predicate(params.peer); + this.int(params.random_id); + this.flag(this.string, params.title); + this.flag(this.int, params.schedule_date); + }, + 'phone.joinGroupCall': function(params) { + this.int32(-1322057861); + const flags = (this.has(params.muted) << 0) | (this.has(params.video_stopped) << 2) | (this.has(params.invite_hash) << 1); + this.int32(flags); + this.predicate(params.call); + this.predicate(params.join_as); + this.flag(this.string, params.invite_hash); + this.predicate(params.params); + }, + 'phone.leaveGroupCall': function(params) { + this.int32(1342404601); + this.predicate(params.call); + this.int(params.source); + }, + 'phone.inviteToGroupCall': function(params) { + this.int32(2067345760); + this.predicate(params.call); + this.vector(this.predicate, params.users); + }, + 'phone.discardGroupCall': function(params) { + this.int32(2054648117); + this.predicate(params.call); + }, + 'phone.toggleGroupCallSettings': function(params) { + this.int32(1958458429); + const flags = (this.has(params.reset_invite_hash) << 1) | (this.has(params.join_muted) << 0); + this.int32(flags); + this.predicate(params.call); + this.flag(this.Bool, params.join_muted); + }, + 'phone.getGroupCall': function(params) { + this.int32(68699611); + this.predicate(params.call); + this.int(params.limit); + }, + 'phone.getGroupParticipants': function(params) { + this.int32(-984033109); + this.predicate(params.call); + this.vector(this.predicate, params.ids); + this.vector(this.int, params.sources); + this.string(params.offset); + this.int(params.limit); + }, + 'phone.checkGroupCall': function(params) { + this.int32(-1248003721); + this.predicate(params.call); + this.vector(this.int, params.sources); + }, + 'messages.deleteChat': function(params) { + this.int32(1540419152); + this.long(params.chat_id); + }, + 'messages.deletePhoneCallHistory': function(params) { + this.int32(-104078327); + const flags = (this.has(params.revoke) << 0); + this.int32(flags); + }, + 'messages.checkHistoryImport': function(params) { + this.int32(1140726259); + this.string(params.import_head); + }, + 'messages.initHistoryImport': function(params) { + this.int32(873008187); + this.predicate(params.peer); + this.predicate(params.file); + this.int(params.media_count); + }, + 'messages.uploadImportedMedia': function(params) { + this.int32(713433234); + this.predicate(params.peer); + this.long(params.import_id); + this.string(params.file_name); + this.predicate(params.media); + }, + 'messages.startHistoryImport': function(params) { + this.int32(-1271008444); + this.predicate(params.peer); + this.long(params.import_id); + }, + 'messages.getExportedChatInvites': function(params) { + this.int32(-1565154314); + const flags = (this.has(params.revoked) << 3) | (this.has(params.offset_date) << 2) | (this.has(params.offset_link) << 2); + this.int32(flags); + this.predicate(params.peer); + this.predicate(params.admin_id); + this.flag(this.int, params.offset_date); + this.flag(this.string, params.offset_link); + this.int(params.limit); + }, + 'messages.getExportedChatInvite': function(params) { + this.int32(1937010524); + this.predicate(params.peer); + this.string(params.link); + }, + 'messages.editExportedChatInvite': function(params) { + this.int32(-1110823051); + const flags = (this.has(params.revoked) << 2) | (this.has(params.expire_date) << 0) | (this.has(params.usage_limit) << 1) | (this.has(params.request_needed) << 3) | (this.has(params.title) << 4); + this.int32(flags); + this.predicate(params.peer); + this.string(params.link); + this.flag(this.int, params.expire_date); + this.flag(this.int, params.usage_limit); + this.flag(this.Bool, params.request_needed); + this.flag(this.string, params.title); + }, + 'messages.deleteRevokedExportedChatInvites': function(params) { + this.int32(1452833749); + this.predicate(params.peer); + this.predicate(params.admin_id); + }, + 'messages.deleteExportedChatInvite': function(params) { + this.int32(-731601877); + this.predicate(params.peer); + this.string(params.link); + }, + 'messages.getAdminsWithInvites': function(params) { + this.int32(958457583); + this.predicate(params.peer); + }, + 'messages.getChatInviteImporters': function(params) { + this.int32(-553329330); + const flags = (this.has(params.requested) << 0) | (this.has(params.link) << 1) | (this.has(params.q) << 2); + this.int32(flags); + this.predicate(params.peer); + this.flag(this.string, params.link); + this.flag(this.string, params.q); + this.int(params.offset_date); + this.predicate(params.offset_user); + this.int(params.limit); + }, + 'messages.setHistoryTTL': function(params) { + this.int32(-1207017500); + this.predicate(params.peer); + this.int(params.period); + }, + 'account.reportProfilePhoto': function(params) { + this.int32(-91437323); + this.predicate(params.peer); + this.predicate(params.photo_id); + this.predicate(params.reason); + this.string(params.message); + }, + 'channels.convertToGigagroup': function(params) { + this.int32(187239529); + this.predicate(params.channel); + }, + 'messages.checkHistoryImportPeer': function(params) { + this.int32(1573261059); + this.predicate(params.peer); + }, + 'phone.toggleGroupCallRecord': function(params) { + this.int32(-248985848); + const flags = (this.has(params.start) << 0) | (this.has(params.video) << 2) | (this.has(params.title) << 1) | (this.has(params.video_portrait) << 2); + this.int32(flags); + this.predicate(params.call); + this.flag(this.string, params.title); + this.flag(this.Bool, params.video_portrait); + }, + 'phone.editGroupCallParticipant': function(params) { + this.int32(-1524155713); + const flags = (this.has(params.muted) << 0) | (this.has(params.volume) << 1) | (this.has(params.raise_hand) << 2) | (this.has(params.video_stopped) << 3) | (this.has(params.video_paused) << 4) | (this.has(params.presentation_paused) << 5); + this.int32(flags); + this.predicate(params.call); + this.predicate(params.participant); + this.flag(this.Bool, params.muted); + this.flag(this.int, params.volume); + this.flag(this.Bool, params.raise_hand); + this.flag(this.Bool, params.video_stopped); + this.flag(this.Bool, params.video_paused); + this.flag(this.Bool, params.presentation_paused); + }, + 'phone.editGroupCallTitle': function(params) { + this.int32(480685066); + this.predicate(params.call); + this.string(params.title); + }, + 'phone.getGroupCallJoinAs': function(params) { + this.int32(-277077702); + this.predicate(params.peer); + }, + 'phone.exportGroupCallInvite': function(params) { + this.int32(-425040769); + const flags = (this.has(params.can_self_unmute) << 0); + this.int32(flags); + this.predicate(params.call); + }, + 'phone.toggleGroupCallStartSubscription': function(params) { + this.int32(563885286); + this.predicate(params.call); + this.Bool(params.subscribed); + }, + 'phone.startScheduledGroupCall': function(params) { + this.int32(1451287362); + this.predicate(params.call); + }, + 'phone.saveDefaultGroupCallJoinAs': function(params) { + this.int32(1465786252); + this.predicate(params.peer); + this.predicate(params.join_as); + }, + 'phone.joinGroupCallPresentation': function(params) { + this.int32(-873829436); + this.predicate(params.call); + this.predicate(params.params); + }, + 'phone.leaveGroupCallPresentation': function(params) { + this.int32(475058500); + this.predicate(params.call); + }, + 'stickers.checkShortName': function(params) { + this.int32(676017721); + this.string(params.short_name); + }, + 'stickers.suggestShortName': function(params) { + this.int32(1303364867); + this.string(params.title); + }, + 'bots.resetBotCommands': function(params) { + this.int32(1032708345); + this.predicate(params.scope); + this.string(params.lang_code); + }, + 'bots.getBotCommands': function(params) { + this.int32(-481554986); + this.predicate(params.scope); + this.string(params.lang_code); + }, + 'account.resetPassword': function(params) { + this.int32(-1828139493); + }, + 'account.declinePasswordReset': function(params) { + this.int32(1284770294); + }, + 'auth.checkRecoveryPassword': function(params) { + this.int32(221691769); + this.string(params.code); + }, + 'account.getChatThemes': function(params) { + this.int32(-700916087); + this.long(params.hash); + }, + 'messages.setChatTheme': function(params) { + this.int32(-432283329); + this.predicate(params.peer); + this.string(params.emoticon); + }, + 'channels.viewSponsoredMessage': function(params) { + this.int32(-1095836780); + this.predicate(params.channel); + this.bytes(params.random_id); + }, + 'channels.getSponsoredMessages': function(params) { + this.int32(-333377601); + this.predicate(params.channel); + }, + 'messages.getMessageReadParticipants': function(params) { + this.int32(834782287); + this.predicate(params.peer); + this.int(params.msg_id); + }, + 'messages.getSearchResultsCalendar': function(params) { + this.int32(1789130429); + const flags = (this.has(params.saved_peer_id) << 2); + this.int32(flags); + this.predicate(params.peer); + this.flag(this.predicate, params.saved_peer_id); + this.predicate(params.filter); + this.int(params.offset_id); + this.int(params.offset_date); + }, + 'messages.getSearchResultsPositions': function(params) { + this.int32(-1669386480); + const flags = (this.has(params.saved_peer_id) << 2); + this.int32(flags); + this.predicate(params.peer); + this.flag(this.predicate, params.saved_peer_id); + this.predicate(params.filter); + this.int(params.offset_id); + this.int(params.limit); + }, + 'messages.hideChatJoinRequest': function(params) { + this.int32(2145904661); + const flags = (this.has(params.approved) << 0); + this.int32(flags); + this.predicate(params.peer); + this.predicate(params.user_id); + }, + 'messages.hideAllChatJoinRequests': function(params) { + this.int32(-528091926); + const flags = (this.has(params.approved) << 0) | (this.has(params.link) << 1); + this.int32(flags); + this.predicate(params.peer); + this.flag(this.string, params.link); + }, + 'messages.toggleNoForwards': function(params) { + this.int32(-1323389022); + this.predicate(params.peer); + this.Bool(params.enabled); + }, + 'messages.saveDefaultSendAs': function(params) { + this.int32(-855777386); + this.predicate(params.peer); + this.predicate(params.send_as); + }, + 'channels.getSendAs': function(params) { + this.int32(231174382); + this.predicate(params.peer); + }, + 'account.setAuthorizationTTL': function(params) { + this.int32(-1081501024); + this.int(params.authorization_ttl_days); + }, + 'account.changeAuthorizationSettings': function(params) { + this.int32(1089766498); + const flags = (this.has(params.confirmed) << 3) | (this.has(params.encrypted_requests_disabled) << 0) | (this.has(params.call_requests_disabled) << 1); + this.int32(flags); + this.long(params.hash); + this.flag(this.Bool, params.encrypted_requests_disabled); + this.flag(this.Bool, params.call_requests_disabled); + }, + 'channels.deleteParticipantHistory': function(params) { + this.int32(913655003); + this.predicate(params.channel); + this.predicate(params.participant); + }, + 'messages.sendReaction': function(params) { + this.int32(-754091820); + const flags = (this.has(params.big) << 1) | (this.has(params.add_to_recent) << 2) | (this.has(params.reaction) << 0); + this.int32(flags); + this.predicate(params.peer); + this.int(params.msg_id); + this.flagVector(this.predicate, params.reaction); + }, + 'messages.getMessagesReactions': function(params) { + this.int32(-1950707482); + this.predicate(params.peer); + this.vector(this.int, params.id); + }, + 'messages.getMessageReactionsList': function(params) { + this.int32(1176190792); + const flags = (this.has(params.reaction) << 0) | (this.has(params.offset) << 1); + this.int32(flags); + this.predicate(params.peer); + this.int(params.id); + this.flag(this.predicate, params.reaction); + this.flag(this.string, params.offset); + this.int(params.limit); + }, + 'messages.setChatAvailableReactions': function(params) { + this.int32(-21928079); + this.predicate(params.peer); + this.predicate(params.available_reactions); + }, + 'messages.getAvailableReactions': function(params) { + this.int32(417243308); + this.int(params.hash); + }, + 'messages.setDefaultReaction': function(params) { + this.int32(1330094102); + this.predicate(params.reaction); + }, + 'messages.translateText': function(params) { + this.int32(1662529584); + const flags = (this.has(params.peer) << 0) | (this.has(params.id) << 0) | (this.has(params.text) << 1); + this.int32(flags); + this.flag(this.predicate, params.peer); + this.flagVector(this.int, params.id); + this.flagVector(this.predicate, params.text); + this.string(params.to_lang); + }, + 'messages.getUnreadReactions': function(params) { + this.int32(841173339); + const flags = (this.has(params.top_msg_id) << 0); + this.int32(flags); + this.predicate(params.peer); + this.flag(this.int, params.top_msg_id); + this.int(params.offset_id); + this.int(params.add_offset); + this.int(params.limit); + this.int(params.max_id); + this.int(params.min_id); + }, + 'messages.readReactions': function(params) { + this.int32(1420459918); + const flags = (this.has(params.top_msg_id) << 0); + this.int32(flags); + this.predicate(params.peer); + this.flag(this.int, params.top_msg_id); + }, + 'contacts.resolvePhone': function(params) { + this.int32(-1963375804); + this.string(params.phone); + }, + 'phone.getGroupCallStreamChannels': function(params) { + this.int32(447879488); + this.predicate(params.call); + }, + 'phone.getGroupCallStreamRtmpUrl': function(params) { + this.int32(-558650433); + this.predicate(params.peer); + this.Bool(params.revoke); + }, + 'messages.searchSentMedia': function(params) { + this.int32(276705696); + this.string(params.q); + this.predicate(params.filter); + this.int(params.limit); + }, + 'messages.getAttachMenuBots': function(params) { + this.int32(385663691); + this.long(params.hash); + }, + 'messages.getAttachMenuBot': function(params) { + this.int32(1998676370); + this.predicate(params.bot); + }, + 'messages.toggleBotInAttachMenu': function(params) { + this.int32(1777704297); + const flags = (this.has(params.write_allowed) << 0); + this.int32(flags); + this.predicate(params.bot); + this.Bool(params.enabled); + }, + 'messages.requestWebView': function(params) { + this.int32(647873217); + const flags = (this.has(params.from_bot_menu) << 4) | (this.has(params.silent) << 5) | (this.has(params.url) << 1) | (this.has(params.start_param) << 3) | (this.has(params.theme_params) << 2) | (this.has(params.reply_to) << 0) | (this.has(params.send_as) << 13); + this.int32(flags); + this.predicate(params.peer); + this.predicate(params.bot); + this.flag(this.string, params.url); + this.flag(this.string, params.start_param); + this.flag(this.predicate, params.theme_params); + this.string(params.platform); + this.flag(this.predicate, params.reply_to); + this.flag(this.predicate, params.send_as); + }, + 'messages.prolongWebView': function(params) { + this.int32(-1328014717); + const flags = (this.has(params.silent) << 5) | (this.has(params.reply_to) << 0) | (this.has(params.send_as) << 13); + this.int32(flags); + this.predicate(params.peer); + this.predicate(params.bot); + this.long(params.query_id); + this.flag(this.predicate, params.reply_to); + this.flag(this.predicate, params.send_as); + }, + 'messages.requestSimpleWebView': function(params) { + this.int32(440815626); + const flags = (this.has(params.from_switch_webview) << 1) | (this.has(params.from_side_menu) << 2) | (this.has(params.url) << 3) | (this.has(params.start_param) << 4) | (this.has(params.theme_params) << 0); + this.int32(flags); + this.predicate(params.bot); + this.flag(this.string, params.url); + this.flag(this.string, params.start_param); + this.flag(this.predicate, params.theme_params); + this.string(params.platform); + }, + 'messages.sendWebViewResultMessage': function(params) { + this.int32(172168437); + this.string(params.bot_query_id); + this.predicate(params.result); + }, + 'messages.sendWebViewData': function(params) { + this.int32(-603831608); + this.predicate(params.bot); + this.long(params.random_id); + this.string(params.button_text); + this.string(params.data); + }, + 'bots.setBotMenuButton': function(params) { + this.int32(1157944655); + this.predicate(params.user_id); + this.predicate(params.button); + }, + 'bots.getBotMenuButton': function(params) { + this.int32(-1671369944); + this.predicate(params.user_id); + }, + 'account.getSavedRingtones': function(params) { + this.int32(-510647672); + this.long(params.hash); + }, + 'account.saveRingtone': function(params) { + this.int32(1038768899); + this.predicate(params.id); + this.Bool(params.unsave); + }, + 'account.uploadRingtone': function(params) { + this.int32(-2095414366); + this.predicate(params.file); + this.string(params.file_name); + this.string(params.mime_type); + }, + 'bots.setBotBroadcastDefaultAdminRights': function(params) { + this.int32(2021942497); + this.predicate(params.admin_rights); + }, + 'bots.setBotGroupDefaultAdminRights': function(params) { + this.int32(-1839281686); + this.predicate(params.admin_rights); + }, + 'phone.saveCallLog': function(params) { + this.int32(1092913030); + this.predicate(params.peer); + this.predicate(params.file); + }, + 'channels.toggleJoinToSend': function(params) { + this.int32(-456419968); + this.predicate(params.channel); + this.Bool(params.enabled); + }, + 'channels.toggleJoinRequest': function(params) { + this.int32(1277789622); + this.predicate(params.channel); + this.Bool(params.enabled); + }, + 'payments.exportInvoice': function(params) { + this.int32(261206117); + this.predicate(params.invoice_media); + }, + 'messages.transcribeAudio': function(params) { + this.int32(647928393); + this.predicate(params.peer); + this.int(params.msg_id); + }, + 'messages.rateTranscribedAudio': function(params) { + this.int32(2132608815); + this.predicate(params.peer); + this.int(params.msg_id); + this.long(params.transcription_id); + this.Bool(params.good); + }, + 'payments.assignAppStoreTransaction': function(params) { + this.int32(-2131921795); + this.bytes(params.receipt); + this.predicate(params.purpose); + }, + 'payments.assignPlayMarketTransaction': function(params) { + this.int32(-537046829); + this.predicate(params.receipt); + this.predicate(params.purpose); + }, + 'payments.canPurchasePremium': function(params) { + this.int32(-1614700874); + this.predicate(params.purpose); + }, + 'help.getPremiumPromo': function(params) { + this.int32(-1206152236); + }, + 'messages.getCustomEmojiDocuments': function(params) { + this.int32(-643100844); + this.vector(this.long, params.document_id); + }, + 'messages.getEmojiStickers': function(params) { + this.int32(-67329649); + this.long(params.hash); + }, + 'messages.getFeaturedEmojiStickers': function(params) { + this.int32(248473398); + this.long(params.hash); + }, + 'account.updateEmojiStatus': function(params) { + this.int32(-70001045); + this.predicate(params.emoji_status); + }, + 'account.getDefaultEmojiStatuses': function(params) { + this.int32(-696962170); + this.long(params.hash); + }, + 'account.getRecentEmojiStatuses': function(params) { + this.int32(257392901); + this.long(params.hash); + }, + 'account.clearRecentEmojiStatuses': function(params) { + this.int32(404757166); + }, + 'messages.reportReaction': function(params) { + this.int32(1063567478); + this.predicate(params.peer); + this.int(params.id); + this.predicate(params.reaction_peer); + }, + 'messages.getTopReactions': function(params) { + this.int32(-1149164102); + this.int(params.limit); + this.long(params.hash); + }, + 'messages.getRecentReactions': function(params) { + this.int32(960896434); + this.int(params.limit); + this.long(params.hash); + }, + 'messages.clearRecentReactions': function(params) { + this.int32(-1644236876); + }, + 'messages.getExtendedMedia': function(params) { + this.int32(-2064119788); + this.predicate(params.peer); + this.vector(this.int, params.id); + }, + 'auth.importWebTokenAuthorization': function(params) { + this.int32(767062953); + this.int(params.api_id); + this.string(params.api_hash); + this.string(params.web_auth_token); + }, + 'account.reorderUsernames': function(params) { + this.int32(-279966037); + this.vector(this.string, params.order); + }, + 'account.toggleUsername': function(params) { + this.int32(1490465654); + this.string(params.username); + this.Bool(params.active); + }, + 'channels.reorderUsernames': function(params) { + this.int32(-1268978403); + this.predicate(params.channel); + this.vector(this.string, params.order); + }, + 'channels.toggleUsername': function(params) { + this.int32(1358053637); + this.predicate(params.channel); + this.string(params.username); + this.Bool(params.active); + }, + 'channels.deactivateAllUsernames': function(params) { + this.int32(170155475); + this.predicate(params.channel); + }, + 'channels.toggleForum': function(params) { + this.int32(-1540781271); + this.predicate(params.channel); + this.Bool(params.enabled); + }, + 'channels.createForumTopic': function(params) { + this.int32(-200539612); + const flags = (this.has(params.icon_color) << 0) | (this.has(params.icon_emoji_id) << 3) | (this.has(params.send_as) << 2); + this.int32(flags); + this.predicate(params.channel); + this.string(params.title); + this.flag(this.int, params.icon_color); + this.flag(this.long, params.icon_emoji_id); + this.long(params.random_id); + this.flag(this.predicate, params.send_as); + }, + 'channels.getForumTopics': function(params) { + this.int32(233136337); + const flags = (this.has(params.q) << 0); + this.int32(flags); + this.predicate(params.channel); + this.flag(this.string, params.q); + this.int(params.offset_date); + this.int(params.offset_id); + this.int(params.offset_topic); + this.int(params.limit); + }, + 'channels.getForumTopicsByID': function(params) { + this.int32(-1333584199); + this.predicate(params.channel); + this.vector(this.int, params.topics); + }, + 'channels.editForumTopic': function(params) { + this.int32(-186670715); + const flags = (this.has(params.title) << 0) | (this.has(params.icon_emoji_id) << 1) | (this.has(params.closed) << 2) | (this.has(params.hidden) << 3); + this.int32(flags); + this.predicate(params.channel); + this.int(params.topic_id); + this.flag(this.string, params.title); + this.flag(this.long, params.icon_emoji_id); + this.flag(this.Bool, params.closed); + this.flag(this.Bool, params.hidden); + }, + 'channels.updatePinnedForumTopic': function(params) { + this.int32(1814925350); + this.predicate(params.channel); + this.int(params.topic_id); + this.Bool(params.pinned); + }, + 'channels.deleteTopicHistory': function(params) { + this.int32(876830509); + this.predicate(params.channel); + this.int(params.top_msg_id); + }, + 'channels.reorderPinnedForumTopics': function(params) { + this.int32(693150095); + const flags = (this.has(params.force) << 0); + this.int32(flags); + this.predicate(params.channel); + this.vector(this.int, params.order); + }, + 'channels.toggleAntiSpam': function(params) { + this.int32(1760814315); + this.predicate(params.channel); + this.Bool(params.enabled); + }, + 'channels.reportAntiSpamFalsePositive': function(params) { + this.int32(-1471109485); + this.predicate(params.channel); + this.int(params.msg_id); + }, + 'messages.setDefaultHistoryTTL': function(params) { + this.int32(-1632299963); + this.int(params.period); + }, + 'messages.getDefaultHistoryTTL': function(params) { + this.int32(1703637384); + }, + 'contacts.exportContactToken': function(params) { + this.int32(-127582169); + }, + 'contacts.importContactToken': function(params) { + this.int32(318789512); + this.string(params.token); + }, + 'photos.uploadContactProfilePhoto': function(params) { + this.int32(-515093903); + const flags = (this.has(params.suggest) << 3) | (this.has(params.save) << 4) | (this.has(params.file) << 0) | (this.has(params.video) << 1) | (this.has(params.video_start_ts) << 2) | (this.has(params.video_emoji_markup) << 5); + this.int32(flags); + this.predicate(params.user_id); + this.flag(this.predicate, params.file); + this.flag(this.predicate, params.video); + this.flag(this.double, params.video_start_ts); + this.flag(this.predicate, params.video_emoji_markup); + }, + 'channels.toggleParticipantsHidden': function(params) { + this.int32(1785624660); + this.predicate(params.channel); + this.Bool(params.enabled); + }, + 'messages.sendBotRequestedPeer': function(params) { + this.int32(-1850552224); + this.predicate(params.peer); + this.int(params.msg_id); + this.int(params.button_id); + this.vector(this.predicate, params.requested_peers); + }, + 'account.getDefaultProfilePhotoEmojis': function(params) { + this.int32(-495647960); + this.long(params.hash); + }, + 'account.getDefaultGroupPhotoEmojis': function(params) { + this.int32(-1856479058); + this.long(params.hash); + }, + 'auth.requestFirebaseSms': function(params) { + this.int32(-1991881904); + const flags = (this.has(params.safety_net_token) << 0) | (this.has(params.ios_push_secret) << 1); + this.int32(flags); + this.string(params.phone_number); + this.string(params.phone_code_hash); + this.flag(this.string, params.safety_net_token); + this.flag(this.string, params.ios_push_secret); + }, + 'messages.getEmojiGroups': function(params) { + this.int32(1955122779); + this.int(params.hash); + }, + 'messages.getEmojiStatusGroups': function(params) { + this.int32(785209037); + this.int(params.hash); + }, + 'messages.getEmojiProfilePhotoGroups': function(params) { + this.int32(564480243); + this.int(params.hash); + }, + 'messages.searchCustomEmoji': function(params) { + this.int32(739360983); + this.string(params.emoticon); + this.long(params.hash); + }, + 'messages.togglePeerTranslations': function(params) { + this.int32(-461589127); + const flags = (this.has(params.disabled) << 0); + this.int32(flags); + this.predicate(params.peer); + }, + 'account.getAutoSaveSettings': function(params) { + this.int32(-1379156774); + }, + 'account.saveAutoSaveSettings': function(params) { + this.int32(-694451359); + const flags = (this.has(params.users) << 0) | (this.has(params.chats) << 1) | (this.has(params.broadcasts) << 2) | (this.has(params.peer) << 3); + this.int32(flags); + this.flag(this.predicate, params.peer); + this.predicate(params.settings); + }, + 'account.deleteAutoSaveExceptions': function(params) { + this.int32(1404829728); + }, + 'stickers.changeSticker': function(params) { + this.int32(-179077444); + const flags = (this.has(params.emoji) << 0) | (this.has(params.mask_coords) << 1) | (this.has(params.keywords) << 2); + this.int32(flags); + this.predicate(params.sticker); + this.flag(this.string, params.emoji); + this.flag(this.predicate, params.mask_coords); + this.flag(this.string, params.keywords); + }, + 'stickers.renameStickerSet': function(params) { + this.int32(306912256); + this.predicate(params.stickerset); + this.string(params.title); + }, + 'stickers.deleteStickerSet': function(params) { + this.int32(-2022685804); + this.predicate(params.stickerset); + }, + 'messages.getBotApp': function(params) { + this.int32(889046467); + this.predicate(params.app); + this.long(params.hash); + }, + 'messages.requestAppWebView': function(params) { + this.int32(-1940243652); + const flags = (this.has(params.write_allowed) << 0) | (this.has(params.start_param) << 1) | (this.has(params.theme_params) << 2); + this.int32(flags); + this.predicate(params.peer); + this.predicate(params.app); + this.flag(this.string, params.start_param); + this.flag(this.predicate, params.theme_params); + this.string(params.platform); + }, + 'bots.setBotInfo': function(params) { + this.int32(282013987); + const flags = (this.has(params.bot) << 2) | (this.has(params.name) << 3) | (this.has(params.about) << 0) | (this.has(params.description) << 1); + this.int32(flags); + this.flag(this.predicate, params.bot); + this.string(params.lang_code); + this.flag(this.string, params.name); + this.flag(this.string, params.about); + this.flag(this.string, params.description); + }, + 'bots.getBotInfo': function(params) { + this.int32(-589753091); + const flags = (this.has(params.bot) << 0); + this.int32(flags); + this.flag(this.predicate, params.bot); + this.string(params.lang_code); + }, + 'auth.resetLoginEmail': function(params) { + this.int32(2123760019); + this.string(params.phone_number); + this.string(params.phone_code_hash); + }, + 'chatlists.exportChatlistInvite': function(params) { + this.int32(-2072885362); + this.predicate(params.chatlist); + this.string(params.title); + this.vector(this.predicate, params.peers); + }, + 'chatlists.deleteExportedInvite': function(params) { + this.int32(1906072670); + this.predicate(params.chatlist); + this.string(params.slug); + }, + 'chatlists.editExportedInvite': function(params) { + this.int32(1698543165); + const flags = (this.has(params.title) << 1) | (this.has(params.peers) << 2); + this.int32(flags); + this.predicate(params.chatlist); + this.string(params.slug); + this.flag(this.string, params.title); + this.flagVector(this.predicate, params.peers); + }, + 'chatlists.getExportedInvites': function(params) { + this.int32(-838608253); + this.predicate(params.chatlist); + }, + 'chatlists.checkChatlistInvite': function(params) { + this.int32(1103171583); + this.string(params.slug); + }, + 'chatlists.joinChatlistInvite': function(params) { + this.int32(-1498291302); + this.string(params.slug); + this.vector(this.predicate, params.peers); + }, + 'chatlists.getChatlistUpdates': function(params) { + this.int32(-1992190687); + this.predicate(params.chatlist); + }, + 'chatlists.joinChatlistUpdates': function(params) { + this.int32(-527828747); + this.predicate(params.chatlist); + this.vector(this.predicate, params.peers); + }, + 'chatlists.hideChatlistUpdates': function(params) { + this.int32(1726252795); + this.predicate(params.chatlist); + }, + 'chatlists.getLeaveChatlistSuggestions': function(params) { + this.int32(-37955820); + this.predicate(params.chatlist); + }, + 'chatlists.leaveChatlist': function(params) { + this.int32(1962598714); + this.predicate(params.chatlist); + this.vector(this.predicate, params.peers); + }, + 'bots.reorderUsernames': function(params) { + this.int32(-1760972350); + this.predicate(params.bot); + this.vector(this.string, params.order); + }, + 'bots.toggleUsername': function(params) { + this.int32(87861619); + this.predicate(params.bot); + this.string(params.username); + this.Bool(params.active); + }, + 'messages.setChatWallPaper': function(params) { + this.int32(-1879389471); + const flags = (this.has(params.for_both) << 3) | (this.has(params.revert) << 4) | (this.has(params.wallpaper) << 0) | (this.has(params.settings) << 2) | (this.has(params.id) << 1); + this.int32(flags); + this.predicate(params.peer); + this.flag(this.predicate, params.wallpaper); + this.flag(this.predicate, params.settings); + this.flag(this.int, params.id); + }, + 'account.invalidateSignInCodes': function(params) { + this.int32(-896866118); + this.vector(this.string, params.codes); + }, + 'channels.clickSponsoredMessage': function(params) { + this.int32(414170259); + this.predicate(params.channel); + this.bytes(params.random_id); + }, + 'contacts.editCloseFriends': function(params) { + this.int32(-1167653392); + this.vector(this.long, params.id); + }, + 'stories.canSendStory': function(params) { + this.int32(-941629475); + this.predicate(params.peer); + }, + 'stories.sendStory': function(params) { + this.int32(-454661813); + const flags = (this.has(params.pinned) << 2) | (this.has(params.noforwards) << 4) | (this.has(params.fwd_modified) << 7) | (this.has(params.media_areas) << 5) | (this.has(params.caption) << 0) | (this.has(params.entities) << 1) | (this.has(params.period) << 3) | (this.has(params.fwd_from_id) << 6) | (this.has(params.fwd_from_story) << 6); + this.int32(flags); + this.predicate(params.peer); + this.predicate(params.media); + this.flagVector(this.predicate, params.media_areas); + this.flag(this.string, params.caption); + this.flagVector(this.predicate, params.entities); + this.vector(this.predicate, params.privacy_rules); + this.long(params.random_id); + this.flag(this.int, params.period); + this.flag(this.predicate, params.fwd_from_id); + this.flag(this.int, params.fwd_from_story); + }, + 'stories.editStory': function(params) { + this.int32(-1249658298); + const flags = (this.has(params.media) << 0) | (this.has(params.media_areas) << 3) | (this.has(params.caption) << 1) | (this.has(params.entities) << 1) | (this.has(params.privacy_rules) << 2); + this.int32(flags); + this.predicate(params.peer); + this.int(params.id); + this.flag(this.predicate, params.media); + this.flagVector(this.predicate, params.media_areas); + this.flag(this.string, params.caption); + this.flagVector(this.predicate, params.entities); + this.flagVector(this.predicate, params.privacy_rules); + }, + 'stories.deleteStories': function(params) { + this.int32(-1369842849); + this.predicate(params.peer); + this.vector(this.int, params.id); + }, + 'stories.togglePinned': function(params) { + this.int32(-1703566865); + this.predicate(params.peer); + this.vector(this.int, params.id); + this.Bool(params.pinned); + }, + 'stories.getAllStories': function(params) { + this.int32(-290400731); + const flags = (this.has(params.next) << 1) | (this.has(params.hidden) << 2) | (this.has(params.state) << 0); + this.int32(flags); + this.flag(this.string, params.state); + }, + 'stories.getPinnedStories': function(params) { + this.int32(1478600156); + this.predicate(params.peer); + this.int(params.offset_id); + this.int(params.limit); + }, + 'stories.getStoriesArchive': function(params) { + this.int32(-1271586794); + this.predicate(params.peer); + this.int(params.offset_id); + this.int(params.limit); + }, + 'stories.getStoriesByID': function(params) { + this.int32(1467271796); + this.predicate(params.peer); + this.vector(this.int, params.id); + }, + 'stories.toggleAllStoriesHidden': function(params) { + this.int32(2082822084); + this.Bool(params.hidden); + }, + 'stories.readStories': function(params) { + this.int32(-1521034552); + this.predicate(params.peer); + this.int(params.max_id); + }, + 'stories.incrementStoryViews': function(params) { + this.int32(-1308456197); + this.predicate(params.peer); + this.vector(this.int, params.id); + }, + 'stories.getStoryViewsList': function(params) { + this.int32(2127707223); + const flags = (this.has(params.just_contacts) << 0) | (this.has(params.reactions_first) << 2) | (this.has(params.forwards_first) << 3) | (this.has(params.q) << 1); + this.int32(flags); + this.predicate(params.peer); + this.flag(this.string, params.q); + this.int(params.id); + this.string(params.offset); + this.int(params.limit); + }, + 'stories.getStoriesViews': function(params) { + this.int32(685862088); + this.predicate(params.peer); + this.vector(this.int, params.id); + }, + 'stories.exportStoryLink': function(params) { + this.int32(2072899360); + this.predicate(params.peer); + this.int(params.id); + }, + 'stories.report': function(params) { + this.int32(421788300); + this.predicate(params.peer); + this.vector(this.int, params.id); + this.predicate(params.reason); + this.string(params.message); + }, + 'stories.activateStealthMode': function(params) { + this.int32(1471926630); + const flags = (this.has(params.past) << 0) | (this.has(params.future) << 1); + this.int32(flags); + }, + 'contacts.setBlocked': function(params) { + this.int32(-1798939530); + const flags = (this.has(params.my_stories_from) << 0); + this.int32(flags); + this.vector(this.predicate, params.id); + this.int(params.limit); + }, + 'stories.sendReaction': function(params) { + this.int32(2144810674); + const flags = (this.has(params.add_to_recent) << 0); + this.int32(flags); + this.predicate(params.peer); + this.int(params.story_id); + this.predicate(params.reaction); + }, + 'bots.canSendMessage': function(params) { + this.int32(324662502); + this.predicate(params.bot); + }, + 'bots.allowSendMessage': function(params) { + this.int32(-248323089); + this.predicate(params.bot); + }, + 'bots.invokeWebViewCustomMethod': function(params) { + this.int32(142591463); + this.predicate(params.bot); + this.string(params.custom_method); + this.predicate(params.params); + }, + 'stories.getPeerStories': function(params) { + this.int32(743103056); + this.predicate(params.peer); + }, + 'stories.getAllReadPeerStories': function(params) { + this.int32(-1688541191); + }, + 'stories.getPeerMaxIDs': function(params) { + this.int32(1398375363); + this.vector(this.predicate, params.id); + }, + 'stories.getChatsToSend': function(params) { + this.int32(-1519744160); + }, + 'stories.togglePeerStoriesHidden': function(params) { + this.int32(-1123805756); + this.predicate(params.peer); + this.Bool(params.hidden); + }, + 'payments.getPremiumGiftCodeOptions': function(params) { + this.int32(660060756); + const flags = (this.has(params.boost_peer) << 0); + this.int32(flags); + this.flag(this.predicate, params.boost_peer); + }, + 'payments.checkGiftCode': function(params) { + this.int32(-1907247935); + this.string(params.slug); + }, + 'payments.applyGiftCode': function(params) { + this.int32(-152934316); + this.string(params.slug); + }, + 'payments.getGiveawayInfo': function(params) { + this.int32(-198994907); + this.predicate(params.peer); + this.int(params.msg_id); + }, + 'payments.launchPrepaidGiveaway': function(params) { + this.int32(1609928480); + this.predicate(params.peer); + this.long(params.giveaway_id); + this.predicate(params.purpose); + }, + 'account.updateColor': function(params) { + this.int32(2096079197); + const flags = (this.has(params.for_profile) << 1) | (this.has(params.color) << 2) | (this.has(params.background_emoji_id) << 0); + this.int32(flags); + this.flag(this.int, params.color); + this.flag(this.long, params.background_emoji_id); + }, + 'channels.updateColor': function(params) { + this.int32(-659933583); + const flags = (this.has(params.for_profile) << 1) | (this.has(params.color) << 2) | (this.has(params.background_emoji_id) << 0); + this.int32(flags); + this.predicate(params.channel); + this.flag(this.int, params.color); + this.flag(this.long, params.background_emoji_id); + }, + 'account.getDefaultBackgroundEmojis': function(params) { + this.int32(-1509246514); + this.long(params.hash); + }, + 'premium.getBoostsList': function(params) { + this.int32(1626764896); + const flags = (this.has(params.gifts) << 0); + this.int32(flags); + this.predicate(params.peer); + this.string(params.offset); + this.int(params.limit); + }, + 'premium.getMyBoosts': function(params) { + this.int32(199719754); + }, + 'premium.applyBoost': function(params) { + this.int32(1803396934); + const flags = (this.has(params.slots) << 0); + this.int32(flags); + this.flagVector(this.int, params.slots); + this.predicate(params.peer); + }, + 'premium.getBoostsStatus': function(params) { + this.int32(70197089); + this.predicate(params.peer); + }, + 'premium.getUserBoosts': function(params) { + this.int32(965037343); + this.predicate(params.peer); + this.predicate(params.user_id); + }, + 'channels.toggleViewForumAsMessages': function(params) { + this.int32(-1757889771); + this.predicate(params.channel); + this.Bool(params.enabled); + }, + 'messages.searchEmojiStickerSets': function(params) { + this.int32(-1833678516); + const flags = (this.has(params.exclude_featured) << 0); + this.int32(flags); + this.string(params.q); + this.long(params.hash); + }, + 'channels.getChannelRecommendations': function(params) { + this.int32(-2085155433); + this.predicate(params.channel); + }, + 'stats.getStoryStats': function(params) { + this.int32(927985472); + const flags = (this.has(params.dark) << 0); + this.int32(flags); + this.predicate(params.peer); + this.int(params.id); + }, + 'stats.getStoryPublicForwards': function(params) { + this.int32(-1505526026); + this.predicate(params.peer); + this.int(params.id); + this.string(params.offset); + this.int(params.limit); + }, + 'help.getPeerColors': function(params) { + this.int32(-629083089); + this.int(params.hash); + }, + 'help.getPeerProfileColors': function(params) { + this.int32(-1412453891); + this.int(params.hash); + }, + 'stories.getStoryReactionsList': function(params) { + this.int32(-1179482081); + const flags = (this.has(params.forwards_first) << 2) | (this.has(params.reaction) << 0) | (this.has(params.offset) << 1); + this.int32(flags); + this.predicate(params.peer); + this.int(params.id); + this.flag(this.predicate, params.reaction); + this.flag(this.string, params.offset); + this.int(params.limit); + }, + 'channels.updateEmojiStatus': function(params) { + this.int32(-254548312); + this.predicate(params.channel); + this.predicate(params.emoji_status); + }, + 'account.getChannelDefaultEmojiStatuses': function(params) { + this.int32(1999087573); + this.long(params.hash); + }, + 'account.getChannelRestrictedStatusEmojis': function(params) { + this.int32(900325589); + this.long(params.hash); + }, + 'messages.getSavedDialogs': function(params) { + this.int32(1401016858); + const flags = (this.has(params.exclude_pinned) << 0); + this.int32(flags); + this.int(params.offset_date); + this.int(params.offset_id); + this.predicate(params.offset_peer); + this.int(params.limit); + this.long(params.hash); + }, + 'messages.getSavedHistory': function(params) { + this.int32(1033519437); + this.predicate(params.peer); + this.int(params.offset_id); + this.int(params.offset_date); + this.int(params.add_offset); + this.int(params.limit); + this.int(params.max_id); + this.int(params.min_id); + this.long(params.hash); + }, + 'messages.deleteSavedHistory': function(params) { + this.int32(1855459371); + const flags = (this.has(params.min_date) << 2) | (this.has(params.max_date) << 3); + this.int32(flags); + this.predicate(params.peer); + this.int(params.max_id); + this.flag(this.int, params.min_date); + this.flag(this.int, params.max_date); + }, + 'messages.getPinnedSavedDialogs': function(params) { + this.int32(-700607264); + }, + 'messages.toggleSavedDialogPin': function(params) { + this.int32(-1400783906); + const flags = (this.has(params.pinned) << 0); + this.int32(flags); + this.predicate(params.peer); + }, + 'messages.reorderPinnedSavedDialogs': function(params) { + this.int32(-1955502713); + const flags = (this.has(params.force) << 0); + this.int32(flags); + this.vector(this.predicate, params.order); + }, +}; +module.exports = builderMap; \ No newline at end of file diff --git a/src/tl/parser/index.js b/src/tl/parser/index.js new file mode 100644 index 00000000..a9728e4b --- /dev/null +++ b/src/tl/parser/index.js @@ -0,0 +1,8879 @@ +const parserMap = new Map([ + [481674261, function() { +return this.vector(this.predicate, true); + }], + [85337187, function() { +const result = { _: 'mt_resPQ' }; +result.nonce = this.int128(); +result.server_nonce = this.int128(); +result.pq = this.bytes(); +result.server_public_key_fingerprints = this.vector(this.long, false); +return result; + }], + [2211011308, function() { +const result = { _: 'mt_p_q_inner_data' }; +result.pq = this.bytes(); +result.p = this.bytes(); +result.q = this.bytes(); +result.nonce = this.int128(); +result.server_nonce = this.int128(); +result.new_nonce = this.int256(); +return result; + }], + [2851430293, function() { +const result = { _: 'mt_p_q_inner_data_dc' }; +result.pq = this.bytes(); +result.p = this.bytes(); +result.q = this.bytes(); +result.nonce = this.int128(); +result.server_nonce = this.int128(); +result.new_nonce = this.int256(); +result.dc = this.int(); +return result; + }], + [1013613780, function() { +const result = { _: 'mt_p_q_inner_data_temp' }; +result.pq = this.bytes(); +result.p = this.bytes(); +result.q = this.bytes(); +result.nonce = this.int128(); +result.server_nonce = this.int128(); +result.new_nonce = this.int256(); +result.expires_in = this.int(); +return result; + }], + [1459478408, function() { +const result = { _: 'mt_p_q_inner_data_temp_dc' }; +result.pq = this.bytes(); +result.p = this.bytes(); +result.q = this.bytes(); +result.nonce = this.int128(); +result.server_nonce = this.int128(); +result.new_nonce = this.int256(); +result.dc = this.int(); +result.expires_in = this.int(); +return result; + }], + [2043348061, function() { +const result = { _: 'mt_server_DH_params_fail' }; +result.nonce = this.int128(); +result.server_nonce = this.int128(); +result.new_nonce_hash = this.int128(); +return result; + }], + [3504867164, function() { +const result = { _: 'mt_server_DH_params_ok' }; +result.nonce = this.int128(); +result.server_nonce = this.int128(); +result.encrypted_answer = this.bytes(); +return result; + }], + [3045658042, function() { +const result = { _: 'mt_server_DH_inner_data' }; +result.nonce = this.int128(); +result.server_nonce = this.int128(); +result.g = this.int(); +result.dh_prime = this.bytes(); +result.g_a = this.bytes(); +result.server_time = this.int(); +return result; + }], + [1715713620, function() { +const result = { _: 'mt_client_DH_inner_data' }; +result.nonce = this.int128(); +result.server_nonce = this.int128(); +result.retry_id = this.long(); +result.g_b = this.bytes(); +return result; + }], + [1003222836, function() { +const result = { _: 'mt_dh_gen_ok' }; +result.nonce = this.int128(); +result.server_nonce = this.int128(); +result.new_nonce_hash1 = this.int128(); +return result; + }], + [1188831161, function() { +const result = { _: 'mt_dh_gen_retry' }; +result.nonce = this.int128(); +result.server_nonce = this.int128(); +result.new_nonce_hash2 = this.int128(); +return result; + }], + [2795351554, function() { +const result = { _: 'mt_dh_gen_fail' }; +result.nonce = this.int128(); +result.server_nonce = this.int128(); +result.new_nonce_hash3 = this.int128(); +return result; + }], + [4082920705, function() { +const result = { _: 'mt_rpc_result' }; +result.req_msg_id = this.long(); +result.result = this.predicate(); +return result; + }], + [558156313, function() { +const result = { _: 'mt_rpc_error' }; +result.error_code = this.int(); +result.error_message = this.string(); +return result; + }], + [1579864942, function() { +const result = { _: 'mt_rpc_answer_unknown' }; +return result; + }], + [3447252358, function() { +const result = { _: 'mt_rpc_answer_dropped_running' }; +return result; + }], + [2755319991, function() { +const result = { _: 'mt_rpc_answer_dropped' }; +result.msg_id = this.long(); +result.seq_no = this.int(); +result.bytes = this.int(); +return result; + }], + [155834844, function() { +const result = { _: 'mt_future_salt' }; +result.valid_since = this.int(); +result.valid_until = this.int(); +result.salt = this.long(); +return result; + }], + [2924480661, function() { +const result = { _: 'mt_future_salts' }; +result.req_msg_id = this.long(); +result.now = this.int(); +result.salts = this.vector(this.predicate, false); +return result; + }], + [880243653, function() { +const result = { _: 'mt_pong' }; +result.msg_id = this.long(); +result.ping_id = this.long(); +return result; + }], + [2663516424, function() { +const result = { _: 'mt_new_session_created' }; +result.first_msg_id = this.long(); +result.unique_id = this.long(); +result.server_salt = this.long(); +return result; + }], + [1945237724, function() { +const result = { _: 'mt_msg_container' }; +result.messages = this.vector(this.mt_message, true); +return result; + }], + [1538843921, function() { +const result = { _: 'mt_message' }; +result.msg_id = this.long(); +result.seqno = this.int(); +result.bytes = this.int(); +result.body = this.predicate(); +return result; + }], + [3764405938, function() { +const result = { _: 'mt_msg_copy' }; +result.orig_message = this.predicate(); +return result; + }], + [812830625, function() { +return this.gzip(); + }], + [1658238041, function() { +const result = { _: 'mt_msgs_ack' }; +result.msg_ids = this.vector(this.long, false); +return result; + }], + [2817521681, function() { +const result = { _: 'mt_bad_msg_notification' }; +result.bad_msg_id = this.long(); +result.bad_msg_seqno = this.int(); +result.error_code = this.int(); +return result; + }], + [3987424379, function() { +const result = { _: 'mt_bad_server_salt' }; +result.bad_msg_id = this.long(); +result.bad_msg_seqno = this.int(); +result.error_code = this.int(); +result.new_server_salt = this.long(); +return result; + }], + [2105940488, function() { +const result = { _: 'mt_msg_resend_req' }; +result.msg_ids = this.vector(this.long, false); +return result; + }], + [2249243371, function() { +const result = { _: 'mt_msg_resend_ans_req' }; +result.msg_ids = this.vector(this.long, false); +return result; + }], + [3664378706, function() { +const result = { _: 'mt_msgs_state_req' }; +result.msg_ids = this.vector(this.long, false); +return result; + }], + [81704317, function() { +const result = { _: 'mt_msgs_state_info' }; +result.req_msg_id = this.long(); +result.info = this.bytes(); +return result; + }], + [2361446705, function() { +const result = { _: 'mt_msgs_all_info' }; +result.msg_ids = this.vector(this.long, false); +result.info = this.bytes(); +return result; + }], + [661470918, function() { +const result = { _: 'mt_msg_detailed_info' }; +result.msg_id = this.long(); +result.answer_msg_id = this.long(); +result.bytes = this.int(); +result.status = this.int(); +return result; + }], + [2157819615, function() { +const result = { _: 'mt_msg_new_detailed_info' }; +result.answer_msg_id = this.long(); +result.bytes = this.int(); +result.status = this.int(); +return result; + }], + [1973679973, function() { +const result = { _: 'mt_bind_auth_key_inner' }; +result.nonce = this.long(); +result.temp_auth_key_id = this.long(); +result.perm_auth_key_id = this.long(); +result.temp_session_id = this.long(); +result.expires_at = this.int(); +return result; + }], + [4133544404, function() { +const result = { _: 'mt_destroy_auth_key_ok' }; +return result; + }], + [178201177, function() { +const result = { _: 'mt_destroy_auth_key_none' }; +return result; + }], + [3926956819, function() { +const result = { _: 'mt_destroy_auth_key_fail' }; +return result; + }], + [3793765884, function() { +const result = { _: 'mt_destroy_session_ok' }; +result.session_id = this.long(); +return result; + }], + [1658015945, function() { +const result = { _: 'mt_destroy_session_none' }; +result.session_id = this.long(); +return result; + }], + [3162085175, function() { +return false; + }], + [2574415285, function() { +return true; + }], + [1072550713, function() { +return true; + }], + [481674261, function() { +return this.vector(this.predicate, true); + }], + [3300522427, function() { +const result = { _: 'error' }; +result.code = this.int(); +result.text = this.string(); +return result; + }], + [1450380236, function() { +return null; + }], + [2134579434, function() { +const result = { _: 'inputPeerEmpty' }; +return result; + }], + [2107670217, function() { +const result = { _: 'inputPeerSelf' }; +return result; + }], + [900291769, function() { +const result = { _: 'inputPeerChat' }; +result.chat_id = this.long(); +return result; + }], + [3112732367, function() { +const result = { _: 'inputUserEmpty' }; +return result; + }], + [4156666175, function() { +const result = { _: 'inputUserSelf' }; +return result; + }], + [4086478836, function() { +const result = { _: 'inputPhoneContact' }; +result.client_id = this.long(); +result.phone = this.string(); +result.first_name = this.string(); +result.last_name = this.string(); +return result; + }], + [4113560191, function() { +const result = { _: 'inputFile' }; +result.id = this.long(); +result.parts = this.int(); +result.name = this.string(); +result.md5_checksum = this.string(); +return result; + }], + [2523198847, function() { +const result = { _: 'inputMediaEmpty' }; +return result; + }], + [505969924, function() { +const result = { _: 'inputMediaUploadedPhoto' }; +result.flags = this.int(); +result.spoiler = !!(result.flags & 4); +result.file = this.predicate(); +if (result.flags & 1) result.stickers = this.vector(this.predicate); +if (result.flags & 2) result.ttl_seconds = this.int(); +return result; + }], + [3015312949, function() { +const result = { _: 'inputMediaPhoto' }; +result.flags = this.int(); +result.spoiler = !!(result.flags & 2); +result.id = this.predicate(); +if (result.flags & 1) result.ttl_seconds = this.int(); +return result; + }], + [4190388548, function() { +const result = { _: 'inputMediaGeoPoint' }; +result.geo_point = this.predicate(); +return result; + }], + [4171988475, function() { +const result = { _: 'inputMediaContact' }; +result.phone_number = this.string(); +result.first_name = this.string(); +result.last_name = this.string(); +result.vcard = this.string(); +return result; + }], + [480546647, function() { +const result = { _: 'inputChatPhotoEmpty' }; +return result; + }], + [3184373440, function() { +const result = { _: 'inputChatUploadedPhoto' }; +result.flags = this.int(); +if (result.flags & 1) result.file = this.predicate(); +if (result.flags & 2) result.video = this.predicate(); +if (result.flags & 4) result.video_start_ts = this.double(); +if (result.flags & 8) result.video_emoji_markup = this.predicate(); +return result; + }], + [2303962423, function() { +const result = { _: 'inputChatPhoto' }; +result.id = this.predicate(); +return result; + }], + [3837862870, function() { +const result = { _: 'inputGeoPointEmpty' }; +return result; + }], + [1210199983, function() { +const result = { _: 'inputGeoPoint' }; +result.flags = this.int(); +result.lat = this.double(); +result.long = this.double(); +if (result.flags & 1) result.accuracy_radius = this.int(); +return result; + }], + [483901197, function() { +const result = { _: 'inputPhotoEmpty' }; +return result; + }], + [1001634122, function() { +const result = { _: 'inputPhoto' }; +result.id = this.long(); +result.access_hash = this.long(); +result.file_reference = this.bytes(); +return result; + }], + [3755650017, function() { +const result = { _: 'inputFileLocation' }; +result.volume_id = this.long(); +result.local_id = this.int(); +result.secret = this.long(); +result.file_reference = this.bytes(); +return result; + }], + [1498486562, function() { +const result = { _: 'peerUser' }; +result.user_id = this.long(); +return result; + }], + [918946202, function() { +const result = { _: 'peerChat' }; +result.chat_id = this.long(); +return result; + }], + [2861972229, function() { +const result = { _: 'storage.fileUnknown' }; +return result; + }], + [1086091090, function() { +const result = { _: 'storage.filePartial' }; +return result; + }], + [8322574, function() { +const result = { _: 'storage.fileJpeg' }; +return result; + }], + [3403786975, function() { +const result = { _: 'storage.fileGif' }; +return result; + }], + [172975040, function() { +const result = { _: 'storage.filePng' }; +return result; + }], + [2921222285, function() { +const result = { _: 'storage.filePdf' }; +return result; + }], + [1384777335, function() { +const result = { _: 'storage.fileMp3' }; +return result; + }], + [1258941372, function() { +const result = { _: 'storage.fileMov' }; +return result; + }], + [3016663268, function() { +const result = { _: 'storage.fileMp4' }; +return result; + }], + [276907596, function() { +const result = { _: 'storage.fileWebp' }; +return result; + }], + [3552332666, function() { +const result = { _: 'userEmpty' }; +result.id = this.long(); +return result; + }], + [1326562017, function() { +const result = { _: 'userProfilePhotoEmpty' }; +return result; + }], + [2194798342, function() { +const result = { _: 'userProfilePhoto' }; +result.flags = this.int(); +result.has_video = !!(result.flags & 1); +result.personal = !!(result.flags & 4); +result.photo_id = this.long(); +if (result.flags & 2) result.stripped_thumb = this.bytes(); +result.dc_id = this.int(); +return result; + }], + [164646985, function() { +const result = { _: 'userStatusEmpty' }; +return result; + }], + [3988339017, function() { +const result = { _: 'userStatusOnline' }; +result.expires = this.int(); +return result; + }], + [9203775, function() { +const result = { _: 'userStatusOffline' }; +result.was_online = this.int(); +return result; + }], + [693512293, function() { +const result = { _: 'chatEmpty' }; +result.id = this.long(); +return result; + }], + [1103884886, function() { +const result = { _: 'chat' }; +result.flags = this.int(); +result.creator = !!(result.flags & 1); +result.left = !!(result.flags & 4); +result.deactivated = !!(result.flags & 32); +result.call_active = !!(result.flags & 8388608); +result.call_not_empty = !!(result.flags & 16777216); +result.noforwards = !!(result.flags & 33554432); +result.id = this.long(); +result.title = this.string(); +result.photo = this.predicate(); +result.participants_count = this.int(); +result.date = this.int(); +result.version = this.int(); +if (result.flags & 64) result.migrated_to = this.predicate(); +if (result.flags & 16384) result.admin_rights = this.predicate(); +if (result.flags & 262144) result.default_banned_rights = this.predicate(); +return result; + }], + [1704108455, function() { +const result = { _: 'chatForbidden' }; +result.id = this.long(); +result.title = this.string(); +return result; + }], + [3386052920, function() { +const result = { _: 'chatFull' }; +result.flags = this.int(); +result.can_set_username = !!(result.flags & 128); +result.has_scheduled = !!(result.flags & 256); +result.translations_disabled = !!(result.flags & 524288); +result.id = this.long(); +result.about = this.string(); +result.participants = this.predicate(); +if (result.flags & 4) result.chat_photo = this.predicate(); +result.notify_settings = this.predicate(); +if (result.flags & 8192) result.exported_invite = this.predicate(); +if (result.flags & 8) result.bot_info = this.vector(this.predicate); +if (result.flags & 64) result.pinned_msg_id = this.int(); +if (result.flags & 2048) result.folder_id = this.int(); +if (result.flags & 4096) result.call = this.predicate(); +if (result.flags & 16384) result.ttl_period = this.int(); +if (result.flags & 32768) result.groupcall_default_join_as = this.predicate(); +if (result.flags & 65536) result.theme_emoticon = this.string(); +if (result.flags & 131072) result.requests_pending = this.int(); +if (result.flags & 131072) result.recent_requesters = this.vector(this.long); +if (result.flags & 262144) result.available_reactions = this.predicate(); +return result; + }], + [3224190983, function() { +const result = { _: 'chatParticipant' }; +result.user_id = this.long(); +result.inviter_id = this.long(); +result.date = this.int(); +return result; + }], + [2271466465, function() { +const result = { _: 'chatParticipantsForbidden' }; +result.flags = this.int(); +result.chat_id = this.long(); +if (result.flags & 1) result.self_participant = this.predicate(); +return result; + }], + [1018991608, function() { +const result = { _: 'chatParticipants' }; +result.chat_id = this.long(); +result.participants = this.vector(this.predicate, false); +result.version = this.int(); +return result; + }], + [935395612, function() { +const result = { _: 'chatPhotoEmpty' }; +return result; + }], + [476978193, function() { +const result = { _: 'chatPhoto' }; +result.flags = this.int(); +result.has_video = !!(result.flags & 1); +result.photo_id = this.long(); +if (result.flags & 2) result.stripped_thumb = this.bytes(); +result.dc_id = this.int(); +return result; + }], + [2426849924, function() { +const result = { _: 'messageEmpty' }; +result.flags = this.int(); +result.id = this.int(); +if (result.flags & 1) result.peer_id = this.predicate(); +return result; + }], + [1992213009, function() { +const result = { _: 'message' }; +result.flags = this.int(); +result.out = !!(result.flags & 2); +result.mentioned = !!(result.flags & 16); +result.media_unread = !!(result.flags & 32); +result.silent = !!(result.flags & 8192); +result.post = !!(result.flags & 16384); +result.from_scheduled = !!(result.flags & 262144); +result.legacy = !!(result.flags & 524288); +result.edit_hide = !!(result.flags & 2097152); +result.pinned = !!(result.flags & 16777216); +result.noforwards = !!(result.flags & 67108864); +result.invert_media = !!(result.flags & 134217728); +result.id = this.int(); +if (result.flags & 256) result.from_id = this.predicate(); +result.peer_id = this.predicate(); +if (result.flags & 268435456) result.saved_peer_id = this.predicate(); +if (result.flags & 4) result.fwd_from = this.predicate(); +if (result.flags & 2048) result.via_bot_id = this.long(); +if (result.flags & 8) result.reply_to = this.predicate(); +result.date = this.int(); +result.message = this.string(); +if (result.flags & 512) result.media = this.predicate(); +if (result.flags & 64) result.reply_markup = this.predicate(); +if (result.flags & 128) result.entities = this.vector(this.predicate); +if (result.flags & 1024) result.views = this.int(); +if (result.flags & 1024) result.forwards = this.int(); +if (result.flags & 8388608) result.replies = this.predicate(); +if (result.flags & 32768) result.edit_date = this.int(); +if (result.flags & 65536) result.post_author = this.string(); +if (result.flags & 131072) result.grouped_id = this.long(); +if (result.flags & 1048576) result.reactions = this.predicate(); +if (result.flags & 4194304) result.restriction_reason = this.vector(this.predicate); +if (result.flags & 33554432) result.ttl_period = this.int(); +return result; + }], + [721967202, function() { +const result = { _: 'messageService' }; +result.flags = this.int(); +result.out = !!(result.flags & 2); +result.mentioned = !!(result.flags & 16); +result.media_unread = !!(result.flags & 32); +result.silent = !!(result.flags & 8192); +result.post = !!(result.flags & 16384); +result.legacy = !!(result.flags & 524288); +result.id = this.int(); +if (result.flags & 256) result.from_id = this.predicate(); +result.peer_id = this.predicate(); +if (result.flags & 8) result.reply_to = this.predicate(); +result.date = this.int(); +result.action = this.predicate(); +if (result.flags & 33554432) result.ttl_period = this.int(); +return result; + }], + [1038967584, function() { +const result = { _: 'messageMediaEmpty' }; +return result; + }], + [1766936791, function() { +const result = { _: 'messageMediaPhoto' }; +result.flags = this.int(); +result.spoiler = !!(result.flags & 8); +if (result.flags & 1) result.photo = this.predicate(); +if (result.flags & 4) result.ttl_seconds = this.int(); +return result; + }], + [1457575028, function() { +const result = { _: 'messageMediaGeo' }; +result.geo = this.predicate(); +return result; + }], + [1882335561, function() { +const result = { _: 'messageMediaContact' }; +result.phone_number = this.string(); +result.first_name = this.string(); +result.last_name = this.string(); +result.vcard = this.string(); +result.user_id = this.long(); +return result; + }], + [2676290718, function() { +const result = { _: 'messageMediaUnsupported' }; +return result; + }], + [3064919984, function() { +const result = { _: 'messageActionEmpty' }; +return result; + }], + [3175599021, function() { +const result = { _: 'messageActionChatCreate' }; +result.title = this.string(); +result.users = this.vector(this.long, false); +return result; + }], + [3047280218, function() { +const result = { _: 'messageActionChatEditTitle' }; +result.title = this.string(); +return result; + }], + [2144015272, function() { +const result = { _: 'messageActionChatEditPhoto' }; +result.photo = this.predicate(); +return result; + }], + [2514746351, function() { +const result = { _: 'messageActionChatDeletePhoto' }; +return result; + }], + [365886720, function() { +const result = { _: 'messageActionChatAddUser' }; +result.users = this.vector(this.long, false); +return result; + }], + [2755604684, function() { +const result = { _: 'messageActionChatDeleteUser' }; +result.user_id = this.long(); +return result; + }], + [3582593222, function() { +const result = { _: 'dialog' }; +result.flags = this.int(); +result.pinned = !!(result.flags & 4); +result.unread_mark = !!(result.flags & 8); +result.view_forum_as_messages = !!(result.flags & 64); +result.peer = this.predicate(); +result.top_message = this.int(); +result.read_inbox_max_id = this.int(); +result.read_outbox_max_id = this.int(); +result.unread_count = this.int(); +result.unread_mentions_count = this.int(); +result.unread_reactions_count = this.int(); +result.notify_settings = this.predicate(); +if (result.flags & 1) result.pts = this.int(); +if (result.flags & 2) result.draft = this.predicate(); +if (result.flags & 16) result.folder_id = this.int(); +if (result.flags & 32) result.ttl_period = this.int(); +return result; + }], + [590459437, function() { +const result = { _: 'photoEmpty' }; +result.id = this.long(); +return result; + }], + [4212750949, function() { +const result = { _: 'photo' }; +result.flags = this.int(); +result.has_stickers = !!(result.flags & 1); +result.id = this.long(); +result.access_hash = this.long(); +result.file_reference = this.bytes(); +result.date = this.int(); +result.sizes = this.vector(this.predicate, false); +if (result.flags & 2) result.video_sizes = this.vector(this.predicate); +result.dc_id = this.int(); +return result; + }], + [236446268, function() { +const result = { _: 'photoSizeEmpty' }; +result.type = this.string(); +return result; + }], + [1976012384, function() { +const result = { _: 'photoSize' }; +result.type = this.string(); +result.w = this.int(); +result.h = this.int(); +result.size = this.int(); +return result; + }], + [35527382, function() { +const result = { _: 'photoCachedSize' }; +result.type = this.string(); +result.w = this.int(); +result.h = this.int(); +result.bytes = this.bytes(); +return result; + }], + [286776671, function() { +const result = { _: 'geoPointEmpty' }; +return result; + }], + [2997024355, function() { +const result = { _: 'geoPoint' }; +result.flags = this.int(); +result.long = this.double(); +result.lat = this.double(); +result.access_hash = this.long(); +if (result.flags & 1) result.accuracy_radius = this.int(); +return result; + }], + [1577067778, function() { +const result = { _: 'auth.sentCode' }; +result.flags = this.int(); +result.type = this.predicate(); +result.phone_code_hash = this.string(); +if (result.flags & 2) result.next_type = this.predicate(); +if (result.flags & 4) result.timeout = this.int(); +return result; + }], + [782418132, function() { +const result = { _: 'auth.authorization' }; +result.flags = this.int(); +result.setup_password_required = !!(result.flags & 2); +if (result.flags & 2) result.otherwise_relogin_days = this.int(); +if (result.flags & 1) result.tmp_sessions = this.int(); +if (result.flags & 4) result.future_auth_token = this.bytes(); +result.user = this.predicate(); +return result; + }], + [3023364792, function() { +const result = { _: 'auth.exportedAuthorization' }; +result.id = this.long(); +result.bytes = this.bytes(); +return result; + }], + [3099351820, function() { +const result = { _: 'inputNotifyPeer' }; +result.peer = this.predicate(); +return result; + }], + [423314455, function() { +const result = { _: 'inputNotifyUsers' }; +return result; + }], + [1251338318, function() { +const result = { _: 'inputNotifyChats' }; +return result; + }], + [3402328802, function() { +const result = { _: 'inputPeerNotifySettings' }; +result.flags = this.int(); +if (result.flags & 1) result.show_previews = this.predicate(); +if (result.flags & 2) result.silent = this.predicate(); +if (result.flags & 4) result.mute_until = this.int(); +if (result.flags & 8) result.sound = this.predicate(); +if (result.flags & 64) result.stories_muted = this.predicate(); +if (result.flags & 128) result.stories_hide_sender = this.predicate(); +if (result.flags & 256) result.stories_sound = this.predicate(); +return result; + }], + [2573347852, function() { +const result = { _: 'peerNotifySettings' }; +result.flags = this.int(); +if (result.flags & 1) result.show_previews = this.predicate(); +if (result.flags & 2) result.silent = this.predicate(); +if (result.flags & 4) result.mute_until = this.int(); +if (result.flags & 8) result.ios_sound = this.predicate(); +if (result.flags & 16) result.android_sound = this.predicate(); +if (result.flags & 32) result.other_sound = this.predicate(); +if (result.flags & 64) result.stories_muted = this.predicate(); +if (result.flags & 128) result.stories_hide_sender = this.predicate(); +if (result.flags & 256) result.stories_ios_sound = this.predicate(); +if (result.flags & 512) result.stories_android_sound = this.predicate(); +if (result.flags & 1024) result.stories_other_sound = this.predicate(); +return result; + }], + [2769817869, function() { +const result = { _: 'peerSettings' }; +result.flags = this.int(); +result.report_spam = !!(result.flags & 1); +result.add_contact = !!(result.flags & 2); +result.block_contact = !!(result.flags & 4); +result.share_contact = !!(result.flags & 8); +result.need_contacts_exception = !!(result.flags & 16); +result.report_geo = !!(result.flags & 32); +result.autoarchived = !!(result.flags & 128); +result.invite_members = !!(result.flags & 256); +result.request_chat_broadcast = !!(result.flags & 1024); +if (result.flags & 64) result.geo_distance = this.int(); +if (result.flags & 512) result.request_chat_title = this.string(); +if (result.flags & 512) result.request_chat_date = this.int(); +return result; + }], + [2755118061, function() { +const result = { _: 'wallPaper' }; +result.id = this.long(); +result.flags = this.int(); +result.creator = !!(result.flags & 1); +result.default = !!(result.flags & 2); +result.pattern = !!(result.flags & 8); +result.dark = !!(result.flags & 16); +result.access_hash = this.long(); +result.slug = this.string(); +result.document = this.predicate(); +if (result.flags & 4) result.settings = this.predicate(); +return result; + }], + [1490799288, function() { +const result = { _: 'inputReportReasonSpam' }; +return result; + }], + [505595789, function() { +const result = { _: 'inputReportReasonViolence' }; +return result; + }], + [777640226, function() { +const result = { _: 'inputReportReasonPornography' }; +return result; + }], + [2918469347, function() { +const result = { _: 'inputReportReasonChildAbuse' }; +return result; + }], + [3252986545, function() { +const result = { _: 'inputReportReasonOther' }; +return result; + }], + [3115396204, function() { +const result = { _: 'userFull' }; +result.flags = this.int(); +result.blocked = !!(result.flags & 1); +result.phone_calls_available = !!(result.flags & 16); +result.phone_calls_private = !!(result.flags & 32); +result.can_pin_message = !!(result.flags & 128); +result.has_scheduled = !!(result.flags & 4096); +result.video_calls_available = !!(result.flags & 8192); +result.voice_messages_forbidden = !!(result.flags & 1048576); +result.translations_disabled = !!(result.flags & 8388608); +result.stories_pinned_available = !!(result.flags & 67108864); +result.blocked_my_stories_from = !!(result.flags & 134217728); +result.wallpaper_overridden = !!(result.flags & 268435456); +result.id = this.long(); +if (result.flags & 2) result.about = this.string(); +result.settings = this.predicate(); +if (result.flags & 2097152) result.personal_photo = this.predicate(); +if (result.flags & 4) result.profile_photo = this.predicate(); +if (result.flags & 4194304) result.fallback_photo = this.predicate(); +result.notify_settings = this.predicate(); +if (result.flags & 8) result.bot_info = this.predicate(); +if (result.flags & 64) result.pinned_msg_id = this.int(); +result.common_chats_count = this.int(); +if (result.flags & 2048) result.folder_id = this.int(); +if (result.flags & 16384) result.ttl_period = this.int(); +if (result.flags & 32768) result.theme_emoticon = this.string(); +if (result.flags & 65536) result.private_forward_name = this.string(); +if (result.flags & 131072) result.bot_group_admin_rights = this.predicate(); +if (result.flags & 262144) result.bot_broadcast_admin_rights = this.predicate(); +if (result.flags & 524288) result.premium_gifts = this.vector(this.predicate); +if (result.flags & 16777216) result.wallpaper = this.predicate(); +if (result.flags & 33554432) result.stories = this.predicate(); +return result; + }], + [341499403, function() { +const result = { _: 'contact' }; +result.user_id = this.long(); +result.mutual = this.predicate(); +return result; + }], + [3242081360, function() { +const result = { _: 'importedContact' }; +result.user_id = this.long(); +result.client_id = this.long(); +return result; + }], + [383348795, function() { +const result = { _: 'contactStatus' }; +result.user_id = this.long(); +result.status = this.predicate(); +return result; + }], + [3075189202, function() { +const result = { _: 'contacts.contactsNotModified' }; +return result; + }], + [3941105218, function() { +const result = { _: 'contacts.contacts' }; +result.contacts = this.vector(this.predicate, false); +result.saved_count = this.int(); +result.users = this.vector(this.predicate, false); +return result; + }], + [2010127419, function() { +const result = { _: 'contacts.importedContacts' }; +result.imported = this.vector(this.predicate, false); +result.popular_invites = this.vector(this.predicate, false); +result.retry_contacts = this.vector(this.long, false); +result.users = this.vector(this.predicate, false); +return result; + }], + [182326673, function() { +const result = { _: 'contacts.blocked' }; +result.blocked = this.vector(this.predicate, false); +result.chats = this.vector(this.predicate, false); +result.users = this.vector(this.predicate, false); +return result; + }], + [3781575060, function() { +const result = { _: 'contacts.blockedSlice' }; +result.count = this.int(); +result.blocked = this.vector(this.predicate, false); +result.chats = this.vector(this.predicate, false); +result.users = this.vector(this.predicate, false); +return result; + }], + [364538944, function() { +const result = { _: 'messages.dialogs' }; +result.dialogs = this.vector(this.predicate, false); +result.messages = this.vector(this.predicate, false); +result.chats = this.vector(this.predicate, false); +result.users = this.vector(this.predicate, false); +return result; + }], + [1910543603, function() { +const result = { _: 'messages.dialogsSlice' }; +result.count = this.int(); +result.dialogs = this.vector(this.predicate, false); +result.messages = this.vector(this.predicate, false); +result.chats = this.vector(this.predicate, false); +result.users = this.vector(this.predicate, false); +return result; + }], + [2356252295, function() { +const result = { _: 'messages.messages' }; +result.messages = this.vector(this.predicate, false); +result.chats = this.vector(this.predicate, false); +result.users = this.vector(this.predicate, false); +return result; + }], + [978610270, function() { +const result = { _: 'messages.messagesSlice' }; +result.flags = this.int(); +result.inexact = !!(result.flags & 2); +result.count = this.int(); +if (result.flags & 1) result.next_rate = this.int(); +if (result.flags & 4) result.offset_id_offset = this.int(); +result.messages = this.vector(this.predicate, false); +result.chats = this.vector(this.predicate, false); +result.users = this.vector(this.predicate, false); +return result; + }], + [1694474197, function() { +const result = { _: 'messages.chats' }; +result.chats = this.vector(this.predicate, false); +return result; + }], + [3856126364, function() { +const result = { _: 'messages.chatFull' }; +result.full_chat = this.predicate(); +result.chats = this.vector(this.predicate, false); +result.users = this.vector(this.predicate, false); +return result; + }], + [3025955281, function() { +const result = { _: 'messages.affectedHistory' }; +result.pts = this.int(); +result.pts_count = this.int(); +result.offset = this.int(); +return result; + }], + [1474492012, function() { +const result = { _: 'inputMessagesFilterEmpty' }; +return result; + }], + [2517214492, function() { +const result = { _: 'inputMessagesFilterPhotos' }; +return result; + }], + [2680163941, function() { +const result = { _: 'inputMessagesFilterVideo' }; +return result; + }], + [1458172132, function() { +const result = { _: 'inputMessagesFilterPhotoVideo' }; +return result; + }], + [2665345416, function() { +const result = { _: 'inputMessagesFilterDocument' }; +return result; + }], + [2129714567, function() { +const result = { _: 'inputMessagesFilterUrl' }; +return result; + }], + [4291323271, function() { +const result = { _: 'inputMessagesFilterGif' }; +return result; + }], + [522914557, function() { +const result = { _: 'updateNewMessage' }; +result.message = this.predicate(); +result.pts = this.int(); +result.pts_count = this.int(); +return result; + }], + [1318109142, function() { +const result = { _: 'updateMessageID' }; +result.id = this.int(); +result.random_id = this.long(); +return result; + }], + [2718806245, function() { +const result = { _: 'updateDeleteMessages' }; +result.messages = this.vector(this.int, false); +result.pts = this.int(); +result.pts_count = this.int(); +return result; + }], + [3223225727, function() { +const result = { _: 'updateUserTyping' }; +result.user_id = this.long(); +result.action = this.predicate(); +return result; + }], + [2202565360, function() { +const result = { _: 'updateChatUserTyping' }; +result.chat_id = this.long(); +result.from_id = this.predicate(); +result.action = this.predicate(); +return result; + }], + [125178264, function() { +const result = { _: 'updateChatParticipants' }; +result.participants = this.predicate(); +return result; + }], + [3854432478, function() { +const result = { _: 'updateUserStatus' }; +result.user_id = this.long(); +result.status = this.predicate(); +return result; + }], + [2810480932, function() { +const result = { _: 'updateUserName' }; +result.user_id = this.long(); +result.first_name = this.string(); +result.last_name = this.string(); +result.usernames = this.vector(this.predicate, false); +return result; + }], + [2303831023, function() { +const result = { _: 'updateNewAuthorization' }; +result.flags = this.int(); +result.unconfirmed = !!(result.flags & 1); +result.hash = this.long(); +if (result.flags & 1) result.date = this.int(); +if (result.flags & 1) result.device = this.string(); +if (result.flags & 1) result.location = this.string(); +return result; + }], + [2775329342, function() { +const result = { _: 'updates.state' }; +result.pts = this.int(); +result.qts = this.int(); +result.date = this.int(); +result.seq = this.int(); +result.unread_count = this.int(); +return result; + }], + [1567990072, function() { +const result = { _: 'updates.differenceEmpty' }; +result.date = this.int(); +result.seq = this.int(); +return result; + }], + [16030880, function() { +const result = { _: 'updates.difference' }; +result.new_messages = this.vector(this.predicate, false); +result.new_encrypted_messages = this.vector(this.predicate, false); +result.other_updates = this.vector(this.predicate, false); +result.chats = this.vector(this.predicate, false); +result.users = this.vector(this.predicate, false); +result.state = this.predicate(); +return result; + }], + [2835028353, function() { +const result = { _: 'updates.differenceSlice' }; +result.new_messages = this.vector(this.predicate, false); +result.new_encrypted_messages = this.vector(this.predicate, false); +result.other_updates = this.vector(this.predicate, false); +result.chats = this.vector(this.predicate, false); +result.users = this.vector(this.predicate, false); +result.intermediate_state = this.predicate(); +return result; + }], + [3809980286, function() { +const result = { _: 'updatesTooLong' }; +return result; + }], + [826001400, function() { +const result = { _: 'updateShortMessage' }; +result.flags = this.int(); +result.out = !!(result.flags & 2); +result.mentioned = !!(result.flags & 16); +result.media_unread = !!(result.flags & 32); +result.silent = !!(result.flags & 8192); +result.id = this.int(); +result.user_id = this.long(); +result.message = this.string(); +result.pts = this.int(); +result.pts_count = this.int(); +result.date = this.int(); +if (result.flags & 4) result.fwd_from = this.predicate(); +if (result.flags & 2048) result.via_bot_id = this.long(); +if (result.flags & 8) result.reply_to = this.predicate(); +if (result.flags & 128) result.entities = this.vector(this.predicate); +if (result.flags & 33554432) result.ttl_period = this.int(); +return result; + }], + [1299050149, function() { +const result = { _: 'updateShortChatMessage' }; +result.flags = this.int(); +result.out = !!(result.flags & 2); +result.mentioned = !!(result.flags & 16); +result.media_unread = !!(result.flags & 32); +result.silent = !!(result.flags & 8192); +result.id = this.int(); +result.from_id = this.long(); +result.chat_id = this.long(); +result.message = this.string(); +result.pts = this.int(); +result.pts_count = this.int(); +result.date = this.int(); +if (result.flags & 4) result.fwd_from = this.predicate(); +if (result.flags & 2048) result.via_bot_id = this.long(); +if (result.flags & 8) result.reply_to = this.predicate(); +if (result.flags & 128) result.entities = this.vector(this.predicate); +if (result.flags & 33554432) result.ttl_period = this.int(); +return result; + }], + [2027216577, function() { +const result = { _: 'updateShort' }; +result.update = this.predicate(); +result.date = this.int(); +return result; + }], + [1918567619, function() { +const result = { _: 'updatesCombined' }; +result.updates = this.vector(this.predicate, false); +result.users = this.vector(this.predicate, false); +result.chats = this.vector(this.predicate, false); +result.date = this.int(); +result.seq_start = this.int(); +result.seq = this.int(); +return result; + }], + [1957577280, function() { +const result = { _: 'updates' }; +result.updates = this.vector(this.predicate, false); +result.users = this.vector(this.predicate, false); +result.chats = this.vector(this.predicate, false); +result.date = this.int(); +result.seq = this.int(); +return result; + }], + [2378853029, function() { +const result = { _: 'photos.photos' }; +result.photos = this.vector(this.predicate, false); +result.users = this.vector(this.predicate, false); +return result; + }], + [352657236, function() { +const result = { _: 'photos.photosSlice' }; +result.count = this.int(); +result.photos = this.vector(this.predicate, false); +result.users = this.vector(this.predicate, false); +return result; + }], + [539045032, function() { +const result = { _: 'photos.photo' }; +result.photo = this.predicate(); +result.users = this.vector(this.predicate, false); +return result; + }], + [157948117, function() { +const result = { _: 'upload.file' }; +result.type = this.predicate(); +result.mtime = this.int(); +result.bytes = this.bytes(); +return result; + }], + [414687501, function() { +const result = { _: 'dcOption' }; +result.flags = this.int(); +result.ipv6 = !!(result.flags & 1); +result.media_only = !!(result.flags & 2); +result.tcpo_only = !!(result.flags & 4); +result.cdn = !!(result.flags & 8); +result.static = !!(result.flags & 16); +result.this_port_only = !!(result.flags & 32); +result.id = this.int(); +result.ip_address = this.string(); +result.port = this.int(); +if (result.flags & 1024) result.secret = this.bytes(); +return result; + }], + [3424265246, function() { +const result = { _: 'config' }; +result.flags = this.int(); +result.default_p2p_contacts = !!(result.flags & 8); +result.preload_featured_stickers = !!(result.flags & 16); +result.revoke_pm_inbox = !!(result.flags & 64); +result.blocked_mode = !!(result.flags & 256); +result.force_try_ipv6 = !!(result.flags & 16384); +result.date = this.int(); +result.expires = this.int(); +result.test_mode = this.predicate(); +result.this_dc = this.int(); +result.dc_options = this.vector(this.predicate, false); +result.dc_txt_domain_name = this.string(); +result.chat_size_max = this.int(); +result.megagroup_size_max = this.int(); +result.forwarded_count_max = this.int(); +result.online_update_period_ms = this.int(); +result.offline_blur_timeout_ms = this.int(); +result.offline_idle_timeout_ms = this.int(); +result.online_cloud_timeout_ms = this.int(); +result.notify_cloud_delay_ms = this.int(); +result.notify_default_delay_ms = this.int(); +result.push_chat_period_ms = this.int(); +result.push_chat_limit = this.int(); +result.edit_time_limit = this.int(); +result.revoke_time_limit = this.int(); +result.revoke_pm_time_limit = this.int(); +result.rating_e_decay = this.int(); +result.stickers_recent_limit = this.int(); +result.channels_read_media_period = this.int(); +if (result.flags & 1) result.tmp_sessions = this.int(); +result.call_receive_timeout_ms = this.int(); +result.call_ring_timeout_ms = this.int(); +result.call_connect_timeout_ms = this.int(); +result.call_packet_timeout_ms = this.int(); +result.me_url_prefix = this.string(); +if (result.flags & 128) result.autoupdate_url_prefix = this.string(); +if (result.flags & 512) result.gif_search_username = this.string(); +if (result.flags & 1024) result.venue_search_username = this.string(); +if (result.flags & 2048) result.img_search_username = this.string(); +if (result.flags & 4096) result.static_maps_provider = this.string(); +result.caption_length_max = this.int(); +result.message_length_max = this.int(); +result.webfile_dc_id = this.int(); +if (result.flags & 4) result.suggested_lang_code = this.string(); +if (result.flags & 4) result.lang_pack_version = this.int(); +if (result.flags & 4) result.base_lang_pack_version = this.int(); +if (result.flags & 32768) result.reactions_default = this.predicate(); +if (result.flags & 65536) result.autologin_token = this.string(); +return result; + }], + [2384074613, function() { +const result = { _: 'nearestDc' }; +result.country = this.string(); +result.this_dc = this.int(); +result.nearest_dc = this.int(); +return result; + }], + [3434860080, function() { +const result = { _: 'help.appUpdate' }; +result.flags = this.int(); +result.can_not_skip = !!(result.flags & 1); +result.id = this.int(); +result.version = this.string(); +result.text = this.string(); +result.entities = this.vector(this.predicate, false); +if (result.flags & 2) result.document = this.predicate(); +if (result.flags & 4) result.url = this.string(); +if (result.flags & 8) result.sticker = this.predicate(); +return result; + }], + [3294258486, function() { +const result = { _: 'help.noAppUpdate' }; +return result; + }], + [415997816, function() { +const result = { _: 'help.inviteText' }; +result.message = this.string(); +return result; + }], + [314359194, function() { +const result = { _: 'updateNewEncryptedMessage' }; +result.message = this.predicate(); +result.qts = this.int(); +return result; + }], + [386986326, function() { +const result = { _: 'updateEncryptedChatTyping' }; +result.chat_id = this.int(); +return result; + }], + [3030575245, function() { +const result = { _: 'updateEncryption' }; +result.chat = this.predicate(); +result.date = this.int(); +return result; + }], + [956179895, function() { +const result = { _: 'updateEncryptedMessagesRead' }; +result.chat_id = this.int(); +result.max_date = this.int(); +result.date = this.int(); +return result; + }], + [2877210784, function() { +const result = { _: 'encryptedChatEmpty' }; +result.id = this.int(); +return result; + }], + [1722964307, function() { +const result = { _: 'encryptedChatWaiting' }; +result.id = this.int(); +result.access_hash = this.long(); +result.date = this.int(); +result.admin_id = this.long(); +result.participant_id = this.long(); +return result; + }], + [1223809356, function() { +const result = { _: 'encryptedChatRequested' }; +result.flags = this.int(); +if (result.flags & 1) result.folder_id = this.int(); +result.id = this.int(); +result.access_hash = this.long(); +result.date = this.int(); +result.admin_id = this.long(); +result.participant_id = this.long(); +result.g_a = this.bytes(); +return result; + }], + [1643173063, function() { +const result = { _: 'encryptedChat' }; +result.id = this.int(); +result.access_hash = this.long(); +result.date = this.int(); +result.admin_id = this.long(); +result.participant_id = this.long(); +result.g_a_or_b = this.bytes(); +result.key_fingerprint = this.long(); +return result; + }], + [505183301, function() { +const result = { _: 'encryptedChatDiscarded' }; +result.flags = this.int(); +result.history_deleted = !!(result.flags & 1); +result.id = this.int(); +return result; + }], + [4047615457, function() { +const result = { _: 'inputEncryptedChat' }; +result.chat_id = this.int(); +result.access_hash = this.long(); +return result; + }], + [3256830334, function() { +const result = { _: 'encryptedFileEmpty' }; +return result; + }], + [2818608344, function() { +const result = { _: 'encryptedFile' }; +result.id = this.long(); +result.access_hash = this.long(); +result.size = this.long(); +result.dc_id = this.int(); +result.key_fingerprint = this.int(); +return result; + }], + [406307684, function() { +const result = { _: 'inputEncryptedFileEmpty' }; +return result; + }], + [1690108678, function() { +const result = { _: 'inputEncryptedFileUploaded' }; +result.id = this.long(); +result.parts = this.int(); +result.md5_checksum = this.string(); +result.key_fingerprint = this.int(); +return result; + }], + [1511503333, function() { +const result = { _: 'inputEncryptedFile' }; +result.id = this.long(); +result.access_hash = this.long(); +return result; + }], + [4112735573, function() { +const result = { _: 'inputEncryptedFileLocation' }; +result.id = this.long(); +result.access_hash = this.long(); +return result; + }], + [3977822488, function() { +const result = { _: 'encryptedMessage' }; +result.random_id = this.long(); +result.chat_id = this.int(); +result.date = this.int(); +result.bytes = this.bytes(); +result.file = this.predicate(); +return result; + }], + [594758406, function() { +const result = { _: 'encryptedMessageService' }; +result.random_id = this.long(); +result.chat_id = this.int(); +result.date = this.int(); +result.bytes = this.bytes(); +return result; + }], + [3236054581, function() { +const result = { _: 'messages.dhConfigNotModified' }; +result.random = this.bytes(); +return result; + }], + [740433629, function() { +const result = { _: 'messages.dhConfig' }; +result.g = this.int(); +result.p = this.bytes(); +result.version = this.int(); +result.random = this.bytes(); +return result; + }], + [1443858741, function() { +const result = { _: 'messages.sentEncryptedMessage' }; +result.date = this.int(); +return result; + }], + [2492727090, function() { +const result = { _: 'messages.sentEncryptedFile' }; +result.date = this.int(); +result.file = this.predicate(); +return result; + }], + [4199484341, function() { +const result = { _: 'inputFileBig' }; +result.id = this.long(); +result.parts = this.int(); +result.name = this.string(); +return result; + }], + [767652808, function() { +const result = { _: 'inputEncryptedFileBigUploaded' }; +result.id = this.long(); +result.parts = this.int(); +result.key_fingerprint = this.int(); +return result; + }], + [1037718609, function() { +const result = { _: 'updateChatParticipantAdd' }; +result.chat_id = this.long(); +result.user_id = this.long(); +result.inviter_id = this.long(); +result.date = this.int(); +result.version = this.int(); +return result; + }], + [3811523959, function() { +const result = { _: 'updateChatParticipantDelete' }; +result.chat_id = this.long(); +result.user_id = this.long(); +result.version = this.int(); +return result; + }], + [2388564083, function() { +const result = { _: 'updateDcOptions' }; +result.dc_options = this.vector(this.predicate, false); +return result; + }], + [1530447553, function() { +const result = { _: 'inputMediaUploadedDocument' }; +result.flags = this.int(); +result.nosound_video = !!(result.flags & 8); +result.force_file = !!(result.flags & 16); +result.spoiler = !!(result.flags & 32); +result.file = this.predicate(); +if (result.flags & 4) result.thumb = this.predicate(); +result.mime_type = this.string(); +result.attributes = this.vector(this.predicate, false); +if (result.flags & 1) result.stickers = this.vector(this.predicate); +if (result.flags & 2) result.ttl_seconds = this.int(); +return result; + }], + [860303448, function() { +const result = { _: 'inputMediaDocument' }; +result.flags = this.int(); +result.spoiler = !!(result.flags & 4); +result.id = this.predicate(); +if (result.flags & 1) result.ttl_seconds = this.int(); +if (result.flags & 2) result.query = this.string(); +return result; + }], + [1291114285, function() { +const result = { _: 'messageMediaDocument' }; +result.flags = this.int(); +result.nopremium = !!(result.flags & 8); +result.spoiler = !!(result.flags & 16); +result.video = !!(result.flags & 64); +result.round = !!(result.flags & 128); +result.voice = !!(result.flags & 256); +if (result.flags & 1) result.document = this.predicate(); +if (result.flags & 32) result.alt_document = this.predicate(); +if (result.flags & 4) result.ttl_seconds = this.int(); +return result; + }], + [1928391342, function() { +const result = { _: 'inputDocumentEmpty' }; +return result; + }], + [448771445, function() { +const result = { _: 'inputDocument' }; +result.id = this.long(); +result.access_hash = this.long(); +result.file_reference = this.bytes(); +return result; + }], + [3134223748, function() { +const result = { _: 'inputDocumentFileLocation' }; +result.id = this.long(); +result.access_hash = this.long(); +result.file_reference = this.bytes(); +result.thumb_size = this.string(); +return result; + }], + [922273905, function() { +const result = { _: 'documentEmpty' }; +result.id = this.long(); +return result; + }], + [2413085912, function() { +const result = { _: 'document' }; +result.flags = this.int(); +result.id = this.long(); +result.access_hash = this.long(); +result.file_reference = this.bytes(); +result.date = this.int(); +result.mime_type = this.string(); +result.size = this.long(); +if (result.flags & 1) result.thumbs = this.vector(this.predicate); +if (result.flags & 2) result.video_thumbs = this.vector(this.predicate); +result.dc_id = this.int(); +result.attributes = this.vector(this.predicate, false); +return result; + }], + [398898678, function() { +const result = { _: 'help.support' }; +result.phone_number = this.string(); +result.user = this.predicate(); +return result; + }], + [2681474008, function() { +const result = { _: 'notifyPeer' }; +result.peer = this.predicate(); +return result; + }], + [3033021260, function() { +const result = { _: 'notifyUsers' }; +return result; + }], + [3221737155, function() { +const result = { _: 'notifyChats' }; +return result; + }], + [3200411887, function() { +const result = { _: 'updateNotifySettings' }; +result.peer = this.predicate(); +result.notify_settings = this.predicate(); +return result; + }], + [381645902, function() { +const result = { _: 'sendMessageTypingAction' }; +return result; + }], + [4250847477, function() { +const result = { _: 'sendMessageCancelAction' }; +return result; + }], + [2710034031, function() { +const result = { _: 'sendMessageRecordVideoAction' }; +return result; + }], + [3916839660, function() { +const result = { _: 'sendMessageUploadVideoAction' }; +result.progress = this.int(); +return result; + }], + [3576656887, function() { +const result = { _: 'sendMessageRecordAudioAction' }; +return result; + }], + [4082227115, function() { +const result = { _: 'sendMessageUploadAudioAction' }; +result.progress = this.int(); +return result; + }], + [3520285222, function() { +const result = { _: 'sendMessageUploadPhotoAction' }; +result.progress = this.int(); +return result; + }], + [2852968932, function() { +const result = { _: 'sendMessageUploadDocumentAction' }; +result.progress = this.int(); +return result; + }], + [393186209, function() { +const result = { _: 'sendMessageGeoLocationAction' }; +return result; + }], + [1653390447, function() { +const result = { _: 'sendMessageChooseContactAction' }; +return result; + }], + [3004386717, function() { +const result = { _: 'contacts.found' }; +result.my_results = this.vector(this.predicate, false); +result.results = this.vector(this.predicate, false); +result.chats = this.vector(this.predicate, false); +result.users = this.vector(this.predicate, false); +return result; + }], + [3957614617, function() { +const result = { _: 'updateServiceNotification' }; +result.flags = this.int(); +result.popup = !!(result.flags & 1); +result.invert_media = !!(result.flags & 4); +if (result.flags & 2) result.inbox_date = this.int(); +result.type = this.string(); +result.message = this.string(); +result.media = this.predicate(); +result.entities = this.vector(this.predicate, false); +return result; + }], + [3798942449, function() { +const result = { _: 'userStatusRecently' }; +return result; + }], + [129960444, function() { +const result = { _: 'userStatusLastWeek' }; +return result; + }], + [2011940674, function() { +const result = { _: 'userStatusLastMonth' }; +return result; + }], + [3996854058, function() { +const result = { _: 'updatePrivacy' }; +result.key = this.predicate(); +result.rules = this.vector(this.predicate, false); +return result; + }], + [1335282456, function() { +const result = { _: 'inputPrivacyKeyStatusTimestamp' }; +return result; + }], + [3157175088, function() { +const result = { _: 'privacyKeyStatusTimestamp' }; +return result; + }], + [218751099, function() { +const result = { _: 'inputPrivacyValueAllowContacts' }; +return result; + }], + [407582158, function() { +const result = { _: 'inputPrivacyValueAllowAll' }; +return result; + }], + [320652927, function() { +const result = { _: 'inputPrivacyValueAllowUsers' }; +result.users = this.vector(this.predicate, false); +return result; + }], + [195371015, function() { +const result = { _: 'inputPrivacyValueDisallowContacts' }; +return result; + }], + [3597362889, function() { +const result = { _: 'inputPrivacyValueDisallowAll' }; +return result; + }], + [2417034343, function() { +const result = { _: 'inputPrivacyValueDisallowUsers' }; +result.users = this.vector(this.predicate, false); +return result; + }], + [4294843308, function() { +const result = { _: 'privacyValueAllowContacts' }; +return result; + }], + [1698855810, function() { +const result = { _: 'privacyValueAllowAll' }; +return result; + }], + [3096469426, function() { +const result = { _: 'privacyValueAllowUsers' }; +result.users = this.vector(this.long, false); +return result; + }], + [4169726490, function() { +const result = { _: 'privacyValueDisallowContacts' }; +return result; + }], + [2339628899, function() { +const result = { _: 'privacyValueDisallowAll' }; +return result; + }], + [3831632193, function() { +const result = { _: 'privacyValueDisallowUsers' }; +result.users = this.vector(this.long, false); +return result; + }], + [1352683077, function() { +const result = { _: 'account.privacyRules' }; +result.rules = this.vector(this.predicate, false); +result.chats = this.vector(this.predicate, false); +result.users = this.vector(this.predicate, false); +return result; + }], + [3100684255, function() { +const result = { _: 'accountDaysTTL' }; +result.days = this.int(); +return result; + }], + [88680979, function() { +const result = { _: 'updateUserPhone' }; +result.user_id = this.long(); +result.phone = this.string(); +return result; + }], + [1815593308, function() { +const result = { _: 'documentAttributeImageSize' }; +result.w = this.int(); +result.h = this.int(); +return result; + }], + [297109817, function() { +const result = { _: 'documentAttributeAnimated' }; +return result; + }], + [1662637586, function() { +const result = { _: 'documentAttributeSticker' }; +result.flags = this.int(); +result.mask = !!(result.flags & 2); +result.alt = this.string(); +result.stickerset = this.predicate(); +if (result.flags & 1) result.mask_coords = this.predicate(); +return result; + }], + [3549426114, function() { +const result = { _: 'documentAttributeVideo' }; +result.flags = this.int(); +result.round_message = !!(result.flags & 1); +result.supports_streaming = !!(result.flags & 2); +result.nosound = !!(result.flags & 8); +result.duration = this.double(); +result.w = this.int(); +result.h = this.int(); +if (result.flags & 4) result.preload_prefix_size = this.int(); +return result; + }], + [2555574726, function() { +const result = { _: 'documentAttributeAudio' }; +result.flags = this.int(); +result.voice = !!(result.flags & 1024); +result.duration = this.int(); +if (result.flags & 1) result.title = this.string(); +if (result.flags & 2) result.performer = this.string(); +if (result.flags & 4) result.waveform = this.bytes(); +return result; + }], + [358154344, function() { +const result = { _: 'documentAttributeFilename' }; +result.file_name = this.string(); +return result; + }], + [4050950690, function() { +const result = { _: 'messages.stickersNotModified' }; +return result; + }], + [816245886, function() { +const result = { _: 'messages.stickers' }; +result.hash = this.long(); +result.stickers = this.vector(this.predicate, false); +return result; + }], + [313694676, function() { +const result = { _: 'stickerPack' }; +result.emoticon = this.string(); +result.documents = this.vector(this.long, false); +return result; + }], + [3898999491, function() { +const result = { _: 'messages.allStickersNotModified' }; +return result; + }], + [3451637435, function() { +const result = { _: 'messages.allStickers' }; +result.hash = this.long(); +result.sets = this.vector(this.predicate, false); +return result; + }], + [2627162079, function() { +const result = { _: 'updateReadHistoryInbox' }; +result.flags = this.int(); +if (result.flags & 1) result.folder_id = this.int(); +result.peer = this.predicate(); +result.max_id = this.int(); +result.still_unread_count = this.int(); +result.pts = this.int(); +result.pts_count = this.int(); +return result; + }], + [791617983, function() { +const result = { _: 'updateReadHistoryOutbox' }; +result.peer = this.predicate(); +result.max_id = this.int(); +result.pts = this.int(); +result.pts_count = this.int(); +return result; + }], + [2228326789, function() { +const result = { _: 'messages.affectedMessages' }; +result.pts = this.int(); +result.pts_count = this.int(); +return result; + }], + [2139689491, function() { +const result = { _: 'updateWebPage' }; +result.webpage = this.predicate(); +result.pts = this.int(); +result.pts_count = this.int(); +return result; + }], + [555358088, function() { +const result = { _: 'webPageEmpty' }; +result.flags = this.int(); +result.id = this.long(); +if (result.flags & 1) result.url = this.string(); +return result; + }], + [2966502983, function() { +const result = { _: 'webPagePending' }; +result.flags = this.int(); +result.id = this.long(); +if (result.flags & 1) result.url = this.string(); +result.date = this.int(); +return result; + }], + [3902555570, function() { +const result = { _: 'webPage' }; +result.flags = this.int(); +result.has_large_media = !!(result.flags & 8192); +result.id = this.long(); +result.url = this.string(); +result.display_url = this.string(); +result.hash = this.int(); +if (result.flags & 1) result.type = this.string(); +if (result.flags & 2) result.site_name = this.string(); +if (result.flags & 4) result.title = this.string(); +if (result.flags & 8) result.description = this.string(); +if (result.flags & 16) result.photo = this.predicate(); +if (result.flags & 32) result.embed_url = this.string(); +if (result.flags & 32) result.embed_type = this.string(); +if (result.flags & 64) result.embed_width = this.int(); +if (result.flags & 64) result.embed_height = this.int(); +if (result.flags & 128) result.duration = this.int(); +if (result.flags & 256) result.author = this.string(); +if (result.flags & 512) result.document = this.predicate(); +if (result.flags & 1024) result.cached_page = this.predicate(); +if (result.flags & 4096) result.attributes = this.vector(this.predicate); +return result; + }], + [3723562043, function() { +const result = { _: 'messageMediaWebPage' }; +result.flags = this.int(); +result.force_large_media = !!(result.flags & 1); +result.force_small_media = !!(result.flags & 2); +result.manual = !!(result.flags & 8); +result.safe = !!(result.flags & 16); +result.webpage = this.predicate(); +return result; + }], + [2902578717, function() { +const result = { _: 'authorization' }; +result.flags = this.int(); +result.current = !!(result.flags & 1); +result.official_app = !!(result.flags & 2); +result.password_pending = !!(result.flags & 4); +result.encrypted_requests_disabled = !!(result.flags & 8); +result.call_requests_disabled = !!(result.flags & 16); +result.unconfirmed = !!(result.flags & 32); +result.hash = this.long(); +result.device_model = this.string(); +result.platform = this.string(); +result.system_version = this.string(); +result.api_id = this.int(); +result.app_name = this.string(); +result.app_version = this.string(); +result.date_created = this.int(); +result.date_active = this.int(); +result.ip = this.string(); +result.country = this.string(); +result.region = this.string(); +return result; + }], + [1275039392, function() { +const result = { _: 'account.authorizations' }; +result.authorization_ttl_days = this.int(); +result.authorizations = this.vector(this.predicate, false); +return result; + }], + [2507886843, function() { +const result = { _: 'account.password' }; +result.flags = this.int(); +result.has_recovery = !!(result.flags & 1); +result.has_secure_values = !!(result.flags & 2); +result.has_password = !!(result.flags & 4); +if (result.flags & 4) result.current_algo = this.predicate(); +if (result.flags & 4) result.srp_B = this.bytes(); +if (result.flags & 4) result.srp_id = this.long(); +if (result.flags & 8) result.hint = this.string(); +if (result.flags & 16) result.email_unconfirmed_pattern = this.string(); +result.new_algo = this.predicate(); +result.new_secure_algo = this.predicate(); +result.secure_random = this.bytes(); +if (result.flags & 32) result.pending_reset_date = this.int(); +if (result.flags & 64) result.login_email_pattern = this.string(); +return result; + }], + [2589733861, function() { +const result = { _: 'account.passwordSettings' }; +result.flags = this.int(); +if (result.flags & 1) result.email = this.string(); +if (result.flags & 2) result.secure_settings = this.predicate(); +return result; + }], + [3258394569, function() { +const result = { _: 'account.passwordInputSettings' }; +result.flags = this.int(); +if (result.flags & 1) result.new_algo = this.predicate(); +if (result.flags & 1) result.new_password_hash = this.bytes(); +if (result.flags & 1) result.hint = this.string(); +if (result.flags & 2) result.email = this.string(); +if (result.flags & 4) result.new_secure_settings = this.predicate(); +return result; + }], + [326715557, function() { +const result = { _: 'auth.passwordRecovery' }; +result.email_pattern = this.string(); +return result; + }], + [3242007569, function() { +const result = { _: 'inputMediaVenue' }; +result.geo_point = this.predicate(); +result.title = this.string(); +result.address = this.string(); +result.provider = this.string(); +result.venue_id = this.string(); +result.venue_type = this.string(); +return result; + }], + [784356159, function() { +const result = { _: 'messageMediaVenue' }; +result.geo = this.predicate(); +result.title = this.string(); +result.address = this.string(); +result.provider = this.string(); +result.venue_id = this.string(); +result.venue_type = this.string(); +return result; + }], + [2743383929, function() { +const result = { _: 'receivedNotifyMessage' }; +result.id = this.int(); +result.flags = this.int(); +return result; + }], + [179611673, function() { +const result = { _: 'chatInviteExported' }; +result.flags = this.int(); +result.revoked = !!(result.flags & 1); +result.permanent = !!(result.flags & 32); +result.request_needed = !!(result.flags & 64); +result.link = this.string(); +result.admin_id = this.long(); +result.date = this.int(); +if (result.flags & 16) result.start_date = this.int(); +if (result.flags & 2) result.expire_date = this.int(); +if (result.flags & 4) result.usage_limit = this.int(); +if (result.flags & 8) result.usage = this.int(); +if (result.flags & 128) result.requested = this.int(); +if (result.flags & 256) result.title = this.string(); +return result; + }], + [1516793212, function() { +const result = { _: 'chatInviteAlready' }; +result.chat = this.predicate(); +return result; + }], + [3454069824, function() { +const result = { _: 'chatInvite' }; +result.flags = this.int(); +result.channel = !!(result.flags & 1); +result.broadcast = !!(result.flags & 2); +result.public = !!(result.flags & 4); +result.megagroup = !!(result.flags & 8); +result.request_needed = !!(result.flags & 64); +result.verified = !!(result.flags & 128); +result.scam = !!(result.flags & 256); +result.fake = !!(result.flags & 512); +result.title = this.string(); +if (result.flags & 32) result.about = this.string(); +result.photo = this.predicate(); +result.participants_count = this.int(); +if (result.flags & 16) result.participants = this.vector(this.predicate); +result.color = this.int(); +return result; + }], + [51520707, function() { +const result = { _: 'messageActionChatJoinedByLink' }; +result.inviter_id = this.long(); +return result; + }], + [4163006849, function() { +const result = { _: 'updateReadMessagesContents' }; +result.flags = this.int(); +result.messages = this.vector(this.int, false); +result.pts = this.int(); +result.pts_count = this.int(); +if (result.flags & 1) result.date = this.int(); +return result; + }], + [4290128789, function() { +const result = { _: 'inputStickerSetEmpty' }; +return result; + }], + [2649203305, function() { +const result = { _: 'inputStickerSetID' }; +result.id = this.long(); +result.access_hash = this.long(); +return result; + }], + [2250033312, function() { +const result = { _: 'inputStickerSetShortName' }; +result.short_name = this.string(); +return result; + }], + [768691932, function() { +const result = { _: 'stickerSet' }; +result.flags = this.int(); +result.archived = !!(result.flags & 2); +result.official = !!(result.flags & 4); +result.masks = !!(result.flags & 8); +result.animated = !!(result.flags & 32); +result.videos = !!(result.flags & 64); +result.emojis = !!(result.flags & 128); +result.text_color = !!(result.flags & 512); +result.channel_emoji_status = !!(result.flags & 1024); +if (result.flags & 1) result.installed_date = this.int(); +result.id = this.long(); +result.access_hash = this.long(); +result.title = this.string(); +result.short_name = this.string(); +if (result.flags & 16) result.thumbs = this.vector(this.predicate); +if (result.flags & 16) result.thumb_dc_id = this.int(); +if (result.flags & 16) result.thumb_version = this.int(); +if (result.flags & 256) result.thumb_document_id = this.long(); +result.count = this.int(); +result.hash = this.int(); +return result; + }], + [1846886166, function() { +const result = { _: 'messages.stickerSet' }; +result.set = this.predicate(); +result.packs = this.vector(this.predicate, false); +result.keywords = this.vector(this.predicate, false); +result.documents = this.vector(this.predicate, false); +return result; + }], + [559694904, function() { +const result = { _: 'user' }; +result.flags = this.int(); +result.self = !!(result.flags & 1024); +result.contact = !!(result.flags & 2048); +result.mutual_contact = !!(result.flags & 4096); +result.deleted = !!(result.flags & 8192); +result.bot = !!(result.flags & 16384); +result.bot_chat_history = !!(result.flags & 32768); +result.bot_nochats = !!(result.flags & 65536); +result.verified = !!(result.flags & 131072); +result.restricted = !!(result.flags & 262144); +result.min = !!(result.flags & 1048576); +result.bot_inline_geo = !!(result.flags & 2097152); +result.support = !!(result.flags & 8388608); +result.scam = !!(result.flags & 16777216); +result.apply_min_photo = !!(result.flags & 33554432); +result.fake = !!(result.flags & 67108864); +result.bot_attach_menu = !!(result.flags & 134217728); +result.premium = !!(result.flags & 268435456); +result.attach_menu_enabled = !!(result.flags & 536870912); +result.flags2 = this.int(); +result.bot_can_edit = !!(result.flags2 & 2); +result.close_friend = !!(result.flags2 & 4); +result.stories_hidden = !!(result.flags2 & 8); +result.stories_unavailable = !!(result.flags2 & 16); +result.id = this.long(); +if (result.flags & 1) result.access_hash = this.long(); +if (result.flags & 2) result.first_name = this.string(); +if (result.flags & 4) result.last_name = this.string(); +if (result.flags & 8) result.username = this.string(); +if (result.flags & 16) result.phone = this.string(); +if (result.flags & 32) result.photo = this.predicate(); +if (result.flags & 64) result.status = this.predicate(); +if (result.flags & 16384) result.bot_info_version = this.int(); +if (result.flags & 262144) result.restriction_reason = this.vector(this.predicate); +if (result.flags & 524288) result.bot_inline_placeholder = this.string(); +if (result.flags & 4194304) result.lang_code = this.string(); +if (result.flags & 1073741824) result.emoji_status = this.predicate(); +if (result.flags2 & 1) result.usernames = this.vector(this.predicate); +if (result.flags2 & 32) result.stories_max_id = this.int(); +if (result.flags2 & 256) result.color = this.predicate(); +if (result.flags2 & 512) result.profile_color = this.predicate(); +return result; + }], + [3262826695, function() { +const result = { _: 'botCommand' }; +result.command = this.string(); +result.description = this.string(); +return result; + }], + [2402290519, function() { +const result = { _: 'botInfo' }; +result.flags = this.int(); +if (result.flags & 1) result.user_id = this.long(); +if (result.flags & 2) result.description = this.string(); +if (result.flags & 16) result.description_photo = this.predicate(); +if (result.flags & 32) result.description_document = this.predicate(); +if (result.flags & 4) result.commands = this.vector(this.predicate); +if (result.flags & 8) result.menu_button = this.predicate(); +return result; + }], + [2734311552, function() { +const result = { _: 'keyboardButton' }; +result.text = this.string(); +return result; + }], + [2002815875, function() { +const result = { _: 'keyboardButtonRow' }; +result.buttons = this.vector(this.predicate, false); +return result; + }], + [2688441221, function() { +const result = { _: 'replyKeyboardHide' }; +result.flags = this.int(); +result.selective = !!(result.flags & 4); +return result; + }], + [2259946248, function() { +const result = { _: 'replyKeyboardForceReply' }; +result.flags = this.int(); +result.single_use = !!(result.flags & 2); +result.selective = !!(result.flags & 4); +if (result.flags & 8) result.placeholder = this.string(); +return result; + }], + [2245892561, function() { +const result = { _: 'replyKeyboardMarkup' }; +result.flags = this.int(); +result.resize = !!(result.flags & 1); +result.single_use = !!(result.flags & 2); +result.selective = !!(result.flags & 4); +result.persistent = !!(result.flags & 16); +result.rows = this.vector(this.predicate, false); +if (result.flags & 8) result.placeholder = this.string(); +return result; + }], + [3723011404, function() { +const result = { _: 'inputPeerUser' }; +result.user_id = this.long(); +result.access_hash = this.long(); +return result; + }], + [4061223110, function() { +const result = { _: 'inputUser' }; +result.user_id = this.long(); +result.access_hash = this.long(); +return result; + }], + [3146955413, function() { +const result = { _: 'messageEntityUnknown' }; +result.offset = this.int(); +result.length = this.int(); +return result; + }], + [4194588573, function() { +const result = { _: 'messageEntityMention' }; +result.offset = this.int(); +result.length = this.int(); +return result; + }], + [1868782349, function() { +const result = { _: 'messageEntityHashtag' }; +result.offset = this.int(); +result.length = this.int(); +return result; + }], + [1827637959, function() { +const result = { _: 'messageEntityBotCommand' }; +result.offset = this.int(); +result.length = this.int(); +return result; + }], + [1859134776, function() { +const result = { _: 'messageEntityUrl' }; +result.offset = this.int(); +result.length = this.int(); +return result; + }], + [1692693954, function() { +const result = { _: 'messageEntityEmail' }; +result.offset = this.int(); +result.length = this.int(); +return result; + }], + [3177253833, function() { +const result = { _: 'messageEntityBold' }; +result.offset = this.int(); +result.length = this.int(); +return result; + }], + [2188348256, function() { +const result = { _: 'messageEntityItalic' }; +result.offset = this.int(); +result.length = this.int(); +return result; + }], + [681706865, function() { +const result = { _: 'messageEntityCode' }; +result.offset = this.int(); +result.length = this.int(); +return result; + }], + [1938967520, function() { +const result = { _: 'messageEntityPre' }; +result.offset = this.int(); +result.length = this.int(); +result.language = this.string(); +return result; + }], + [1990644519, function() { +const result = { _: 'messageEntityTextUrl' }; +result.offset = this.int(); +result.length = this.int(); +result.url = this.string(); +return result; + }], + [2417352961, function() { +const result = { _: 'updateShortSentMessage' }; +result.flags = this.int(); +result.out = !!(result.flags & 2); +result.id = this.int(); +result.pts = this.int(); +result.pts_count = this.int(); +result.date = this.int(); +if (result.flags & 512) result.media = this.predicate(); +if (result.flags & 128) result.entities = this.vector(this.predicate); +if (result.flags & 33554432) result.ttl_period = this.int(); +return result; + }], + [4002160262, function() { +const result = { _: 'inputChannelEmpty' }; +return result; + }], + [4082822184, function() { +const result = { _: 'inputChannel' }; +result.channel_id = this.long(); +result.access_hash = this.long(); +return result; + }], + [2728736542, function() { +const result = { _: 'peerChannel' }; +result.channel_id = this.long(); +return result; + }], + [666680316, function() { +const result = { _: 'inputPeerChannel' }; +result.channel_id = this.long(); +result.access_hash = this.long(); +return result; + }], + [179174543, function() { +const result = { _: 'channel' }; +result.flags = this.int(); +result.creator = !!(result.flags & 1); +result.left = !!(result.flags & 4); +result.broadcast = !!(result.flags & 32); +result.verified = !!(result.flags & 128); +result.megagroup = !!(result.flags & 256); +result.restricted = !!(result.flags & 512); +result.signatures = !!(result.flags & 2048); +result.min = !!(result.flags & 4096); +result.scam = !!(result.flags & 524288); +result.has_link = !!(result.flags & 1048576); +result.has_geo = !!(result.flags & 2097152); +result.slowmode_enabled = !!(result.flags & 4194304); +result.call_active = !!(result.flags & 8388608); +result.call_not_empty = !!(result.flags & 16777216); +result.fake = !!(result.flags & 33554432); +result.gigagroup = !!(result.flags & 67108864); +result.noforwards = !!(result.flags & 134217728); +result.join_to_send = !!(result.flags & 268435456); +result.join_request = !!(result.flags & 536870912); +result.forum = !!(result.flags & 1073741824); +result.flags2 = this.int(); +result.stories_hidden = !!(result.flags2 & 2); +result.stories_hidden_min = !!(result.flags2 & 4); +result.stories_unavailable = !!(result.flags2 & 8); +result.id = this.long(); +if (result.flags & 8192) result.access_hash = this.long(); +result.title = this.string(); +if (result.flags & 64) result.username = this.string(); +result.photo = this.predicate(); +result.date = this.int(); +if (result.flags & 512) result.restriction_reason = this.vector(this.predicate); +if (result.flags & 16384) result.admin_rights = this.predicate(); +if (result.flags & 32768) result.banned_rights = this.predicate(); +if (result.flags & 262144) result.default_banned_rights = this.predicate(); +if (result.flags & 131072) result.participants_count = this.int(); +if (result.flags2 & 1) result.usernames = this.vector(this.predicate); +if (result.flags2 & 16) result.stories_max_id = this.int(); +if (result.flags2 & 128) result.color = this.predicate(); +if (result.flags2 & 256) result.profile_color = this.predicate(); +if (result.flags2 & 512) result.emoji_status = this.predicate(); +if (result.flags2 & 1024) result.level = this.int(); +return result; + }], + [399807445, function() { +const result = { _: 'channelForbidden' }; +result.flags = this.int(); +result.broadcast = !!(result.flags & 32); +result.megagroup = !!(result.flags & 256); +result.id = this.long(); +result.access_hash = this.long(); +result.title = this.string(); +if (result.flags & 65536) result.until_date = this.int(); +return result; + }], + [2131196633, function() { +const result = { _: 'contacts.resolvedPeer' }; +result.peer = this.predicate(); +result.chats = this.vector(this.predicate, false); +result.users = this.vector(this.predicate, false); +return result; + }], + [254528367, function() { +const result = { _: 'channelFull' }; +result.flags = this.int(); +result.can_view_participants = !!(result.flags & 8); +result.can_set_username = !!(result.flags & 64); +result.can_set_stickers = !!(result.flags & 128); +result.hidden_prehistory = !!(result.flags & 1024); +result.can_set_location = !!(result.flags & 65536); +result.has_scheduled = !!(result.flags & 524288); +result.can_view_stats = !!(result.flags & 1048576); +result.blocked = !!(result.flags & 4194304); +result.flags2 = this.int(); +result.can_delete_channel = !!(result.flags2 & 1); +result.antispam = !!(result.flags2 & 2); +result.participants_hidden = !!(result.flags2 & 4); +result.translations_disabled = !!(result.flags2 & 8); +result.stories_pinned_available = !!(result.flags2 & 32); +result.view_forum_as_messages = !!(result.flags2 & 64); +result.id = this.long(); +result.about = this.string(); +if (result.flags & 1) result.participants_count = this.int(); +if (result.flags & 2) result.admins_count = this.int(); +if (result.flags & 4) result.kicked_count = this.int(); +if (result.flags & 4) result.banned_count = this.int(); +if (result.flags & 8192) result.online_count = this.int(); +result.read_inbox_max_id = this.int(); +result.read_outbox_max_id = this.int(); +result.unread_count = this.int(); +result.chat_photo = this.predicate(); +result.notify_settings = this.predicate(); +if (result.flags & 8388608) result.exported_invite = this.predicate(); +result.bot_info = this.vector(this.predicate, false); +if (result.flags & 16) result.migrated_from_chat_id = this.long(); +if (result.flags & 16) result.migrated_from_max_id = this.int(); +if (result.flags & 32) result.pinned_msg_id = this.int(); +if (result.flags & 256) result.stickerset = this.predicate(); +if (result.flags & 512) result.available_min_id = this.int(); +if (result.flags & 2048) result.folder_id = this.int(); +if (result.flags & 16384) result.linked_chat_id = this.long(); +if (result.flags & 32768) result.location = this.predicate(); +if (result.flags & 131072) result.slowmode_seconds = this.int(); +if (result.flags & 262144) result.slowmode_next_send_date = this.int(); +if (result.flags & 4096) result.stats_dc = this.int(); +result.pts = this.int(); +if (result.flags & 2097152) result.call = this.predicate(); +if (result.flags & 16777216) result.ttl_period = this.int(); +if (result.flags & 33554432) result.pending_suggestions = this.vector(this.string); +if (result.flags & 67108864) result.groupcall_default_join_as = this.predicate(); +if (result.flags & 134217728) result.theme_emoticon = this.string(); +if (result.flags & 268435456) result.requests_pending = this.int(); +if (result.flags & 268435456) result.recent_requesters = this.vector(this.long); +if (result.flags & 536870912) result.default_send_as = this.predicate(); +if (result.flags & 1073741824) result.available_reactions = this.predicate(); +if (result.flags2 & 16) result.stories = this.predicate(); +if (result.flags2 & 128) result.wallpaper = this.predicate(); +return result; + }], + [182649427, function() { +const result = { _: 'messageRange' }; +result.min_id = this.int(); +result.max_id = this.int(); +return result; + }], + [3346446926, function() { +const result = { _: 'messages.channelMessages' }; +result.flags = this.int(); +result.inexact = !!(result.flags & 2); +result.pts = this.int(); +result.count = this.int(); +if (result.flags & 4) result.offset_id_offset = this.int(); +result.messages = this.vector(this.predicate, false); +result.topics = this.vector(this.predicate, false); +result.chats = this.vector(this.predicate, false); +result.users = this.vector(this.predicate, false); +return result; + }], + [2513611922, function() { +const result = { _: 'messageActionChannelCreate' }; +result.title = this.string(); +return result; + }], + [277713951, function() { +const result = { _: 'updateChannelTooLong' }; +result.flags = this.int(); +result.channel_id = this.long(); +if (result.flags & 1) result.pts = this.int(); +return result; + }], + [1666927625, function() { +const result = { _: 'updateChannel' }; +result.channel_id = this.long(); +return result; + }], + [1656358105, function() { +const result = { _: 'updateNewChannelMessage' }; +result.message = this.predicate(); +result.pts = this.int(); +result.pts_count = this.int(); +return result; + }], + [2452516368, function() { +const result = { _: 'updateReadChannelInbox' }; +result.flags = this.int(); +if (result.flags & 1) result.folder_id = this.int(); +result.channel_id = this.long(); +result.max_id = this.int(); +result.still_unread_count = this.int(); +result.pts = this.int(); +return result; + }], + [3274529554, function() { +const result = { _: 'updateDeleteChannelMessages' }; +result.channel_id = this.long(); +result.messages = this.vector(this.int, false); +result.pts = this.int(); +result.pts_count = this.int(); +return result; + }], + [4062620680, function() { +const result = { _: 'updateChannelMessageViews' }; +result.channel_id = this.long(); +result.id = this.int(); +result.views = this.int(); +return result; + }], + [1041346555, function() { +const result = { _: 'updates.channelDifferenceEmpty' }; +result.flags = this.int(); +result.final = !!(result.flags & 1); +result.pts = this.int(); +if (result.flags & 2) result.timeout = this.int(); +return result; + }], + [2763835134, function() { +const result = { _: 'updates.channelDifferenceTooLong' }; +result.flags = this.int(); +result.final = !!(result.flags & 1); +if (result.flags & 2) result.timeout = this.int(); +result.dialog = this.predicate(); +result.messages = this.vector(this.predicate, false); +result.chats = this.vector(this.predicate, false); +result.users = this.vector(this.predicate, false); +return result; + }], + [543450958, function() { +const result = { _: 'updates.channelDifference' }; +result.flags = this.int(); +result.final = !!(result.flags & 1); +result.pts = this.int(); +if (result.flags & 2) result.timeout = this.int(); +result.new_messages = this.vector(this.predicate, false); +result.other_updates = this.vector(this.predicate, false); +result.chats = this.vector(this.predicate, false); +result.users = this.vector(this.predicate, false); +return result; + }], + [2496933607, function() { +const result = { _: 'channelMessagesFilterEmpty' }; +return result; + }], + [3447183703, function() { +const result = { _: 'channelMessagesFilter' }; +result.flags = this.int(); +result.exclude_new_messages = !!(result.flags & 2); +result.ranges = this.vector(this.predicate, false); +return result; + }], + [3222013888, function() { +const result = { _: 'channelParticipant' }; +result.user_id = this.long(); +result.date = this.int(); +return result; + }], + [900251559, function() { +const result = { _: 'channelParticipantSelf' }; +result.flags = this.int(); +result.via_request = !!(result.flags & 1); +result.user_id = this.long(); +result.inviter_id = this.long(); +result.date = this.int(); +return result; + }], + [803602899, function() { +const result = { _: 'channelParticipantCreator' }; +result.flags = this.int(); +result.user_id = this.long(); +result.admin_rights = this.predicate(); +if (result.flags & 1) result.rank = this.string(); +return result; + }], + [3728686201, function() { +const result = { _: 'channelParticipantsRecent' }; +return result; + }], + [3026225513, function() { +const result = { _: 'channelParticipantsAdmins' }; +return result; + }], + [2746567045, function() { +const result = { _: 'channelParticipantsKicked' }; +result.q = this.string(); +return result; + }], + [2595290799, function() { +const result = { _: 'channels.channelParticipants' }; +result.count = this.int(); +result.participants = this.vector(this.predicate, false); +result.chats = this.vector(this.predicate, false); +result.users = this.vector(this.predicate, false); +return result; + }], + [3753378583, function() { +const result = { _: 'channels.channelParticipant' }; +result.participant = this.predicate(); +result.chats = this.vector(this.predicate, false); +result.users = this.vector(this.predicate, false); +return result; + }], + [3832270564, function() { +const result = { _: 'chatParticipantCreator' }; +result.user_id = this.long(); +return result; + }], + [2694004571, function() { +const result = { _: 'chatParticipantAdmin' }; +result.user_id = this.long(); +result.inviter_id = this.long(); +result.date = this.int(); +return result; + }], + [3620364706, function() { +const result = { _: 'updateChatParticipantAdmin' }; +result.chat_id = this.long(); +result.user_id = this.long(); +result.is_admin = this.predicate(); +result.version = this.int(); +return result; + }], + [3775102866, function() { +const result = { _: 'messageActionChatMigrateTo' }; +result.channel_id = this.long(); +return result; + }], + [3929622761, function() { +const result = { _: 'messageActionChannelMigrateFrom' }; +result.title = this.string(); +result.chat_id = this.long(); +return result; + }], + [2966521435, function() { +const result = { _: 'channelParticipantsBots' }; +return result; + }], + [2013922064, function() { +const result = { _: 'help.termsOfService' }; +result.flags = this.int(); +result.popup = !!(result.flags & 1); +result.id = this.predicate(); +result.text = this.string(); +result.entities = this.vector(this.predicate, false); +if (result.flags & 2) result.min_age_confirm = this.int(); +return result; + }], + [1753886890, function() { +const result = { _: 'updateNewStickerSet' }; +result.stickerset = this.predicate(); +return result; + }], + [196268545, function() { +const result = { _: 'updateStickerSetsOrder' }; +result.flags = this.int(); +result.masks = !!(result.flags & 1); +result.emojis = !!(result.flags & 2); +result.order = this.vector(this.long, false); +return result; + }], + [834816008, function() { +const result = { _: 'updateStickerSets' }; +result.flags = this.int(); +result.masks = !!(result.flags & 1); +result.emojis = !!(result.flags & 2); +return result; + }], + [3892468898, function() { +const result = { _: 'messages.savedGifsNotModified' }; +return result; + }], + [2225089037, function() { +const result = { _: 'messages.savedGifs' }; +result.hash = this.long(); +result.gifs = this.vector(this.predicate, false); +return result; + }], + [2473931806, function() { +const result = { _: 'updateSavedGifs' }; +return result; + }], + [864077702, function() { +const result = { _: 'inputBotInlineMessageMediaAuto' }; +result.flags = this.int(); +result.invert_media = !!(result.flags & 8); +result.message = this.string(); +if (result.flags & 2) result.entities = this.vector(this.predicate); +if (result.flags & 4) result.reply_markup = this.predicate(); +return result; + }], + [1036876423, function() { +const result = { _: 'inputBotInlineMessageText' }; +result.flags = this.int(); +result.no_webpage = !!(result.flags & 1); +result.invert_media = !!(result.flags & 8); +result.message = this.string(); +if (result.flags & 2) result.entities = this.vector(this.predicate); +if (result.flags & 4) result.reply_markup = this.predicate(); +return result; + }], + [2294256409, function() { +const result = { _: 'inputBotInlineResult' }; +result.flags = this.int(); +result.id = this.string(); +result.type = this.string(); +if (result.flags & 2) result.title = this.string(); +if (result.flags & 4) result.description = this.string(); +if (result.flags & 8) result.url = this.string(); +if (result.flags & 16) result.thumb = this.predicate(); +if (result.flags & 32) result.content = this.predicate(); +result.send_message = this.predicate(); +return result; + }], + [1984755728, function() { +const result = { _: 'botInlineMessageMediaAuto' }; +result.flags = this.int(); +result.invert_media = !!(result.flags & 8); +result.message = this.string(); +if (result.flags & 2) result.entities = this.vector(this.predicate); +if (result.flags & 4) result.reply_markup = this.predicate(); +return result; + }], + [2357159394, function() { +const result = { _: 'botInlineMessageText' }; +result.flags = this.int(); +result.no_webpage = !!(result.flags & 1); +result.invert_media = !!(result.flags & 8); +result.message = this.string(); +if (result.flags & 2) result.entities = this.vector(this.predicate); +if (result.flags & 4) result.reply_markup = this.predicate(); +return result; + }], + [295067450, function() { +const result = { _: 'botInlineResult' }; +result.flags = this.int(); +result.id = this.string(); +result.type = this.string(); +if (result.flags & 2) result.title = this.string(); +if (result.flags & 4) result.description = this.string(); +if (result.flags & 8) result.url = this.string(); +if (result.flags & 16) result.thumb = this.predicate(); +if (result.flags & 32) result.content = this.predicate(); +result.send_message = this.predicate(); +return result; + }], + [3760321270, function() { +const result = { _: 'messages.botResults' }; +result.flags = this.int(); +result.gallery = !!(result.flags & 1); +result.query_id = this.long(); +if (result.flags & 2) result.next_offset = this.string(); +if (result.flags & 4) result.switch_pm = this.predicate(); +if (result.flags & 8) result.switch_webview = this.predicate(); +result.results = this.vector(this.predicate, false); +result.cache_time = this.int(); +result.users = this.vector(this.predicate, false); +return result; + }], + [1232025500, function() { +const result = { _: 'updateBotInlineQuery' }; +result.flags = this.int(); +result.query_id = this.long(); +result.user_id = this.long(); +result.query = this.string(); +if (result.flags & 1) result.geo = this.predicate(); +if (result.flags & 2) result.peer_type = this.predicate(); +result.offset = this.string(); +return result; + }], + [317794823, function() { +const result = { _: 'updateBotInlineSend' }; +result.flags = this.int(); +result.user_id = this.long(); +result.query = this.string(); +if (result.flags & 1) result.geo = this.predicate(); +result.id = this.string(); +if (result.flags & 2) result.msg_id = this.predicate(); +return result; + }], + [1358283666, function() { +const result = { _: 'inputMessagesFilterVoice' }; +return result; + }], + [928101534, function() { +const result = { _: 'inputMessagesFilterMusic' }; +return result; + }], + [3187344422, function() { +const result = { _: 'inputPrivacyKeyChatInvite' }; +return result; + }], + [1343122938, function() { +const result = { _: 'privacyKeyChatInvite' }; +return result; + }], + [1571494644, function() { +const result = { _: 'exportedMessageLink' }; +result.link = this.string(); +result.html = this.string(); +return result; + }], + [1313731771, function() { +const result = { _: 'messageFwdHeader' }; +result.flags = this.int(); +result.imported = !!(result.flags & 128); +result.saved_out = !!(result.flags & 2048); +if (result.flags & 1) result.from_id = this.predicate(); +if (result.flags & 32) result.from_name = this.string(); +result.date = this.int(); +if (result.flags & 4) result.channel_post = this.int(); +if (result.flags & 8) result.post_author = this.string(); +if (result.flags & 16) result.saved_from_peer = this.predicate(); +if (result.flags & 16) result.saved_from_msg_id = this.int(); +if (result.flags & 256) result.saved_from_id = this.predicate(); +if (result.flags & 512) result.saved_from_name = this.string(); +if (result.flags & 1024) result.saved_date = this.int(); +if (result.flags & 64) result.psa_type = this.string(); +return result; + }], + [457133559, function() { +const result = { _: 'updateEditChannelMessage' }; +result.message = this.predicate(); +result.pts = this.int(); +result.pts_count = this.int(); +return result; + }], + [2495428845, function() { +const result = { _: 'messageActionPinMessage' }; +return result; + }], + [1923290508, function() { +const result = { _: 'auth.codeTypeSms' }; +return result; + }], + [1948046307, function() { +const result = { _: 'auth.codeTypeCall' }; +return result; + }], + [577556219, function() { +const result = { _: 'auth.codeTypeFlashCall' }; +return result; + }], + [1035688326, function() { +const result = { _: 'auth.sentCodeTypeApp' }; +result.length = this.int(); +return result; + }], + [3221273506, function() { +const result = { _: 'auth.sentCodeTypeSms' }; +result.length = this.int(); +return result; + }], + [1398007207, function() { +const result = { _: 'auth.sentCodeTypeCall' }; +result.length = this.int(); +return result; + }], + [2869151449, function() { +const result = { _: 'auth.sentCodeTypeFlashCall' }; +result.pattern = this.string(); +return result; + }], + [629866245, function() { +const result = { _: 'keyboardButtonUrl' }; +result.text = this.string(); +result.url = this.string(); +return result; + }], + [901503851, function() { +const result = { _: 'keyboardButtonCallback' }; +result.flags = this.int(); +result.requires_password = !!(result.flags & 1); +result.text = this.string(); +result.data = this.bytes(); +return result; + }], + [2976541737, function() { +const result = { _: 'keyboardButtonRequestPhone' }; +result.text = this.string(); +return result; + }], + [4235815743, function() { +const result = { _: 'keyboardButtonRequestGeoLocation' }; +result.text = this.string(); +return result; + }], + [2478439349, function() { +const result = { _: 'keyboardButtonSwitchInline' }; +result.flags = this.int(); +result.same_peer = !!(result.flags & 1); +result.text = this.string(); +result.query = this.string(); +if (result.flags & 2) result.peer_types = this.vector(this.predicate); +return result; + }], + [1218642516, function() { +const result = { _: 'replyInlineMarkup' }; +result.rows = this.vector(this.predicate, false); +return result; + }], + [911761060, function() { +const result = { _: 'messages.botCallbackAnswer' }; +result.flags = this.int(); +result.alert = !!(result.flags & 2); +result.has_url = !!(result.flags & 8); +result.native_ui = !!(result.flags & 16); +if (result.flags & 1) result.message = this.string(); +if (result.flags & 4) result.url = this.string(); +result.cache_time = this.int(); +return result; + }], + [3117401229, function() { +const result = { _: 'updateBotCallbackQuery' }; +result.flags = this.int(); +result.query_id = this.long(); +result.user_id = this.long(); +result.peer = this.predicate(); +result.msg_id = this.int(); +result.chat_instance = this.long(); +if (result.flags & 1) result.data = this.bytes(); +if (result.flags & 2) result.game_short_name = this.string(); +return result; + }], + [649453030, function() { +const result = { _: 'messages.messageEditData' }; +result.flags = this.int(); +result.caption = !!(result.flags & 1); +return result; + }], + [3825430691, function() { +const result = { _: 'updateEditMessage' }; +result.message = this.predicate(); +result.pts = this.int(); +result.pts_count = this.int(); +return result; + }], + [2526190213, function() { +const result = { _: 'inputBotInlineMessageMediaGeo' }; +result.flags = this.int(); +result.geo_point = this.predicate(); +if (result.flags & 1) result.heading = this.int(); +if (result.flags & 2) result.period = this.int(); +if (result.flags & 8) result.proximity_notification_radius = this.int(); +if (result.flags & 4) result.reply_markup = this.predicate(); +return result; + }], + [1098628881, function() { +const result = { _: 'inputBotInlineMessageMediaVenue' }; +result.flags = this.int(); +result.geo_point = this.predicate(); +result.title = this.string(); +result.address = this.string(); +result.provider = this.string(); +result.venue_id = this.string(); +result.venue_type = this.string(); +if (result.flags & 4) result.reply_markup = this.predicate(); +return result; + }], + [2800599037, function() { +const result = { _: 'inputBotInlineMessageMediaContact' }; +result.flags = this.int(); +result.phone_number = this.string(); +result.first_name = this.string(); +result.last_name = this.string(); +result.vcard = this.string(); +if (result.flags & 4) result.reply_markup = this.predicate(); +return result; + }], + [85477117, function() { +const result = { _: 'botInlineMessageMediaGeo' }; +result.flags = this.int(); +result.geo = this.predicate(); +if (result.flags & 1) result.heading = this.int(); +if (result.flags & 2) result.period = this.int(); +if (result.flags & 8) result.proximity_notification_radius = this.int(); +if (result.flags & 4) result.reply_markup = this.predicate(); +return result; + }], + [2324063644, function() { +const result = { _: 'botInlineMessageMediaVenue' }; +result.flags = this.int(); +result.geo = this.predicate(); +result.title = this.string(); +result.address = this.string(); +result.provider = this.string(); +result.venue_id = this.string(); +result.venue_type = this.string(); +if (result.flags & 4) result.reply_markup = this.predicate(); +return result; + }], + [416402882, function() { +const result = { _: 'botInlineMessageMediaContact' }; +result.flags = this.int(); +result.phone_number = this.string(); +result.first_name = this.string(); +result.last_name = this.string(); +result.vcard = this.string(); +if (result.flags & 4) result.reply_markup = this.predicate(); +return result; + }], + [2832753831, function() { +const result = { _: 'inputBotInlineResultPhoto' }; +result.id = this.string(); +result.type = this.string(); +result.photo = this.predicate(); +result.send_message = this.predicate(); +return result; + }], + [4294507972, function() { +const result = { _: 'inputBotInlineResultDocument' }; +result.flags = this.int(); +result.id = this.string(); +result.type = this.string(); +if (result.flags & 2) result.title = this.string(); +if (result.flags & 4) result.description = this.string(); +result.document = this.predicate(); +result.send_message = this.predicate(); +return result; + }], + [400266251, function() { +const result = { _: 'botInlineMediaResult' }; +result.flags = this.int(); +result.id = this.string(); +result.type = this.string(); +if (result.flags & 1) result.photo = this.predicate(); +if (result.flags & 2) result.document = this.predicate(); +if (result.flags & 4) result.title = this.string(); +if (result.flags & 8) result.description = this.string(); +result.send_message = this.predicate(); +return result; + }], + [2299280777, function() { +const result = { _: 'inputBotInlineMessageID' }; +result.dc_id = this.int(); +result.id = this.long(); +result.access_hash = this.long(); +return result; + }], + [1763610706, function() { +const result = { _: 'updateInlineBotCallbackQuery' }; +result.flags = this.int(); +result.query_id = this.long(); +result.user_id = this.long(); +result.msg_id = this.predicate(); +result.chat_instance = this.long(); +if (result.flags & 1) result.data = this.bytes(); +if (result.flags & 2) result.game_short_name = this.string(); +return result; + }], + [1008755359, function() { +const result = { _: 'inlineBotSwitchPM' }; +result.text = this.string(); +result.start_param = this.string(); +return result; + }], + [863093588, function() { +const result = { _: 'messages.peerDialogs' }; +result.dialogs = this.vector(this.predicate, false); +result.messages = this.vector(this.predicate, false); +result.chats = this.vector(this.predicate, false); +result.users = this.vector(this.predicate, false); +result.state = this.predicate(); +return result; + }], + [3989684315, function() { +const result = { _: 'topPeer' }; +result.peer = this.predicate(); +result.rating = this.double(); +return result; + }], + [2875595611, function() { +const result = { _: 'topPeerCategoryBotsPM' }; +return result; + }], + [344356834, function() { +const result = { _: 'topPeerCategoryBotsInline' }; +return result; + }], + [104314861, function() { +const result = { _: 'topPeerCategoryCorrespondents' }; +return result; + }], + [3172442442, function() { +const result = { _: 'topPeerCategoryGroups' }; +return result; + }], + [371037736, function() { +const result = { _: 'topPeerCategoryChannels' }; +return result; + }], + [4219683473, function() { +const result = { _: 'topPeerCategoryPeers' }; +result.category = this.predicate(); +result.count = this.int(); +result.peers = this.vector(this.predicate, false); +return result; + }], + [3727060725, function() { +const result = { _: 'contacts.topPeersNotModified' }; +return result; + }], + [1891070632, function() { +const result = { _: 'contacts.topPeers' }; +result.categories = this.vector(this.predicate, false); +result.chats = this.vector(this.predicate, false); +result.users = this.vector(this.predicate, false); +return result; + }], + [3699052864, function() { +const result = { _: 'messageEntityMentionName' }; +result.offset = this.int(); +result.length = this.int(); +result.user_id = this.long(); +return result; + }], + [546203849, function() { +const result = { _: 'inputMessageEntityMentionName' }; +result.offset = this.int(); +result.length = this.int(); +result.user_id = this.predicate(); +return result; + }], + [975236280, function() { +const result = { _: 'inputMessagesFilterChatPhotos' }; +return result; + }], + [3076495785, function() { +const result = { _: 'updateReadChannelOutbox' }; +result.channel_id = this.long(); +result.max_id = this.int(); +return result; + }], + [457829485, function() { +const result = { _: 'updateDraftMessage' }; +result.flags = this.int(); +result.peer = this.predicate(); +if (result.flags & 1) result.top_msg_id = this.int(); +result.draft = this.predicate(); +return result; + }], + [453805082, function() { +const result = { _: 'draftMessageEmpty' }; +result.flags = this.int(); +if (result.flags & 1) result.date = this.int(); +return result; + }], + [1070397423, function() { +const result = { _: 'draftMessage' }; +result.flags = this.int(); +result.no_webpage = !!(result.flags & 2); +result.invert_media = !!(result.flags & 64); +if (result.flags & 16) result.reply_to = this.predicate(); +result.message = this.string(); +if (result.flags & 8) result.entities = this.vector(this.predicate); +if (result.flags & 32) result.media = this.predicate(); +result.date = this.int(); +return result; + }], + [2679813636, function() { +const result = { _: 'messageActionHistoryClear' }; +return result; + }], + [3336309862, function() { +const result = { _: 'messages.featuredStickersNotModified' }; +result.count = this.int(); +return result; + }], + [3191351558, function() { +const result = { _: 'messages.featuredStickers' }; +result.flags = this.int(); +result.premium = !!(result.flags & 1); +result.hash = this.long(); +result.count = this.int(); +result.sets = this.vector(this.predicate, false); +result.unread = this.vector(this.long, false); +return result; + }], + [1461528386, function() { +const result = { _: 'updateReadFeaturedStickers' }; +return result; + }], + [186120336, function() { +const result = { _: 'messages.recentStickersNotModified' }; +return result; + }], + [2295561302, function() { +const result = { _: 'messages.recentStickers' }; +result.hash = this.long(); +result.packs = this.vector(this.predicate, false); +result.stickers = this.vector(this.predicate, false); +result.dates = this.vector(this.int, false); +return result; + }], + [2588027936, function() { +const result = { _: 'updateRecentStickers' }; +return result; + }], + [1338747336, function() { +const result = { _: 'messages.archivedStickers' }; +result.count = this.int(); +result.sets = this.vector(this.predicate, false); +return result; + }], + [946083368, function() { +const result = { _: 'messages.stickerSetInstallResultSuccess' }; +return result; + }], + [904138920, function() { +const result = { _: 'messages.stickerSetInstallResultArchive' }; +result.sets = this.vector(this.predicate, false); +return result; + }], + [1678812626, function() { +const result = { _: 'stickerSetCovered' }; +result.set = this.predicate(); +result.cover = this.predicate(); +return result; + }], + [2720652550, function() { +const result = { _: 'updateConfig' }; +return result; + }], + [861169551, function() { +const result = { _: 'updatePtsChanged' }; +return result; + }], + [3854302746, function() { +const result = { _: 'inputMediaPhotoExternal' }; +result.flags = this.int(); +result.spoiler = !!(result.flags & 2); +result.url = this.string(); +if (result.flags & 1) result.ttl_seconds = this.int(); +return result; + }], + [4216511641, function() { +const result = { _: 'inputMediaDocumentExternal' }; +result.flags = this.int(); +result.spoiler = !!(result.flags & 2); +result.url = this.string(); +if (result.flags & 1) result.ttl_seconds = this.int(); +return result; + }], + [872932635, function() { +const result = { _: 'stickerSetMultiCovered' }; +result.set = this.predicate(); +result.covers = this.vector(this.predicate, false); +return result; + }], + [2933316530, function() { +const result = { _: 'maskCoords' }; +result.n = this.int(); +result.x = this.double(); +result.y = this.double(); +result.zoom = this.double(); +return result; + }], + [2550256375, function() { +const result = { _: 'documentAttributeHasStickers' }; +return result; + }], + [1251549527, function() { +const result = { _: 'inputStickeredMediaPhoto' }; +result.id = this.predicate(); +return result; + }], + [70813275, function() { +const result = { _: 'inputStickeredMediaDocument' }; +result.id = this.predicate(); +return result; + }], + [3187238203, function() { +const result = { _: 'game' }; +result.flags = this.int(); +result.id = this.long(); +result.access_hash = this.long(); +result.short_name = this.string(); +result.title = this.string(); +result.description = this.string(); +result.photo = this.predicate(); +if (result.flags & 1) result.document = this.predicate(); +return result; + }], + [1336154098, function() { +const result = { _: 'inputBotInlineResultGame' }; +result.id = this.string(); +result.short_name = this.string(); +result.send_message = this.predicate(); +return result; + }], + [1262639204, function() { +const result = { _: 'inputBotInlineMessageGame' }; +result.flags = this.int(); +if (result.flags & 4) result.reply_markup = this.predicate(); +return result; + }], + [4256272392, function() { +const result = { _: 'messageMediaGame' }; +result.game = this.predicate(); +return result; + }], + [3544138739, function() { +const result = { _: 'inputMediaGame' }; +result.id = this.predicate(); +return result; + }], + [53231223, function() { +const result = { _: 'inputGameID' }; +result.id = this.long(); +result.access_hash = this.long(); +return result; + }], + [3274827786, function() { +const result = { _: 'inputGameShortName' }; +result.bot_id = this.predicate(); +result.short_name = this.string(); +return result; + }], + [1358175439, function() { +const result = { _: 'keyboardButtonGame' }; +result.text = this.string(); +return result; + }], + [2460428406, function() { +const result = { _: 'messageActionGameScore' }; +result.game_id = this.long(); +result.score = this.int(); +return result; + }], + [1940093419, function() { +const result = { _: 'highScore' }; +result.pos = this.int(); +result.user_id = this.long(); +result.score = this.int(); +return result; + }], + [2587622809, function() { +const result = { _: 'messages.highScores' }; +result.scores = this.vector(this.predicate, false); +result.users = this.vector(this.predicate, false); +return result; + }], + [1258196845, function() { +const result = { _: 'updates.differenceTooLong' }; +result.pts = this.int(); +return result; + }], + [791390623, function() { +const result = { _: 'updateChannelWebPage' }; +result.channel_id = this.long(); +result.webpage = this.predicate(); +result.pts = this.int(); +result.pts_count = this.int(); +return result; + }], + [2631405892, function() { +const result = { _: 'messages.chatsSlice' }; +result.count = this.int(); +result.chats = this.vector(this.predicate, false); +return result; + }], + [3695018575, function() { +const result = { _: 'textEmpty' }; +return result; + }], + [1950782688, function() { +const result = { _: 'textPlain' }; +result.text = this.string(); +return result; + }], + [1730456516, function() { +const result = { _: 'textBold' }; +result.text = this.predicate(); +return result; + }], + [3641877916, function() { +const result = { _: 'textItalic' }; +result.text = this.predicate(); +return result; + }], + [3240501956, function() { +const result = { _: 'textUnderline' }; +result.text = this.predicate(); +return result; + }], + [2616769429, function() { +const result = { _: 'textStrike' }; +result.text = this.predicate(); +return result; + }], + [1816074681, function() { +const result = { _: 'textFixed' }; +result.text = this.predicate(); +return result; + }], + [1009288385, function() { +const result = { _: 'textUrl' }; +result.text = this.predicate(); +result.url = this.string(); +result.webpage_id = this.long(); +return result; + }], + [3730443734, function() { +const result = { _: 'textEmail' }; +result.text = this.predicate(); +result.email = this.string(); +return result; + }], + [2120376535, function() { +const result = { _: 'textConcat' }; +result.texts = this.vector(this.predicate, false); +return result; + }], + [324435594, function() { +const result = { _: 'pageBlockUnsupported' }; +return result; + }], + [1890305021, function() { +const result = { _: 'pageBlockTitle' }; +result.text = this.predicate(); +return result; + }], + [2415565343, function() { +const result = { _: 'pageBlockSubtitle' }; +result.text = this.predicate(); +return result; + }], + [3132089824, function() { +const result = { _: 'pageBlockAuthorDate' }; +result.author = this.predicate(); +result.published_date = this.int(); +return result; + }], + [3218105580, function() { +const result = { _: 'pageBlockHeader' }; +result.text = this.predicate(); +return result; + }], + [4046173921, function() { +const result = { _: 'pageBlockSubheader' }; +result.text = this.predicate(); +return result; + }], + [1182402406, function() { +const result = { _: 'pageBlockParagraph' }; +result.text = this.predicate(); +return result; + }], + [3228621118, function() { +const result = { _: 'pageBlockPreformatted' }; +result.text = this.predicate(); +result.language = this.string(); +return result; + }], + [1216809369, function() { +const result = { _: 'pageBlockFooter' }; +result.text = this.predicate(); +return result; + }], + [3676352904, function() { +const result = { _: 'pageBlockDivider' }; +return result; + }], + [3456972720, function() { +const result = { _: 'pageBlockAnchor' }; +result.name = this.string(); +return result; + }], + [3840442385, function() { +const result = { _: 'pageBlockList' }; +result.items = this.vector(this.predicate, false); +return result; + }], + [641563686, function() { +const result = { _: 'pageBlockBlockquote' }; +result.text = this.predicate(); +result.caption = this.predicate(); +return result; + }], + [1329878739, function() { +const result = { _: 'pageBlockPullquote' }; +result.text = this.predicate(); +result.caption = this.predicate(); +return result; + }], + [391759200, function() { +const result = { _: 'pageBlockPhoto' }; +result.flags = this.int(); +result.photo_id = this.long(); +result.caption = this.predicate(); +if (result.flags & 1) result.url = this.string(); +if (result.flags & 1) result.webpage_id = this.long(); +return result; + }], + [2089805750, function() { +const result = { _: 'pageBlockVideo' }; +result.flags = this.int(); +result.autoplay = !!(result.flags & 1); +result.loop = !!(result.flags & 2); +result.video_id = this.long(); +result.caption = this.predicate(); +return result; + }], + [972174080, function() { +const result = { _: 'pageBlockCover' }; +result.cover = this.predicate(); +return result; + }], + [2826014149, function() { +const result = { _: 'pageBlockEmbed' }; +result.flags = this.int(); +result.full_width = !!(result.flags & 1); +result.allow_scrolling = !!(result.flags & 8); +if (result.flags & 2) result.url = this.string(); +if (result.flags & 4) result.html = this.string(); +if (result.flags & 16) result.poster_photo_id = this.long(); +if (result.flags & 32) result.w = this.int(); +if (result.flags & 32) result.h = this.int(); +result.caption = this.predicate(); +return result; + }], + [4065961995, function() { +const result = { _: 'pageBlockEmbedPost' }; +result.url = this.string(); +result.webpage_id = this.long(); +result.author_photo_id = this.long(); +result.author = this.string(); +result.date = this.int(); +result.blocks = this.vector(this.predicate, false); +result.caption = this.predicate(); +return result; + }], + [1705048653, function() { +const result = { _: 'pageBlockCollage' }; +result.items = this.vector(this.predicate, false); +result.caption = this.predicate(); +return result; + }], + [52401552, function() { +const result = { _: 'pageBlockSlideshow' }; +result.items = this.vector(this.predicate, false); +result.caption = this.predicate(); +return result; + }], + [1930545681, function() { +const result = { _: 'webPageNotModified' }; +result.flags = this.int(); +if (result.flags & 1) result.cached_page_views = this.int(); +return result; + }], + [4206550111, function() { +const result = { _: 'inputPrivacyKeyPhoneCall' }; +return result; + }], + [1030105979, function() { +const result = { _: 'privacyKeyPhoneCall' }; +return result; + }], + [3714748232, function() { +const result = { _: 'sendMessageGamePlayAction' }; +return result; + }], + [2246320897, function() { +const result = { _: 'phoneCallDiscardReasonMissed' }; +return result; + }], + [3767910816, function() { +const result = { _: 'phoneCallDiscardReasonDisconnect' }; +return result; + }], + [1471006352, function() { +const result = { _: 'phoneCallDiscardReasonHangup' }; +return result; + }], + [4210550985, function() { +const result = { _: 'phoneCallDiscardReasonBusy' }; +return result; + }], + [1852826908, function() { +const result = { _: 'updateDialogPinned' }; +result.flags = this.int(); +result.pinned = !!(result.flags & 1); +if (result.flags & 2) result.folder_id = this.int(); +result.peer = this.predicate(); +return result; + }], + [4195302562, function() { +const result = { _: 'updatePinnedDialogs' }; +result.flags = this.int(); +if (result.flags & 2) result.folder_id = this.int(); +if (result.flags & 1) result.order = this.vector(this.predicate); +return result; + }], + [2104790276, function() { +const result = { _: 'dataJSON' }; +result.data = this.string(); +return result; + }], + [2199371971, function() { +const result = { _: 'updateBotWebhookJSON' }; +result.data = this.predicate(); +return result; + }], + [2610053286, function() { +const result = { _: 'updateBotWebhookJSONQuery' }; +result.query_id = this.long(); +result.data = this.predicate(); +result.timeout = this.int(); +return result; + }], + [3408489464, function() { +const result = { _: 'labeledPrice' }; +result.label = this.string(); +result.amount = this.long(); +return result; + }], + [1572428309, function() { +const result = { _: 'invoice' }; +result.flags = this.int(); +result.test = !!(result.flags & 1); +result.name_requested = !!(result.flags & 2); +result.phone_requested = !!(result.flags & 4); +result.email_requested = !!(result.flags & 8); +result.shipping_address_requested = !!(result.flags & 16); +result.flexible = !!(result.flags & 32); +result.phone_to_provider = !!(result.flags & 64); +result.email_to_provider = !!(result.flags & 128); +result.recurring = !!(result.flags & 512); +result.currency = this.string(); +result.prices = this.vector(this.predicate, false); +if (result.flags & 256) result.max_tip_amount = this.long(); +if (result.flags & 256) result.suggested_tip_amounts = this.vector(this.long); +if (result.flags & 1024) result.terms_url = this.string(); +return result; + }], + [2394269397, function() { +const result = { _: 'inputMediaInvoice' }; +result.flags = this.int(); +result.title = this.string(); +result.description = this.string(); +if (result.flags & 1) result.photo = this.predicate(); +result.invoice = this.predicate(); +result.payload = this.bytes(); +result.provider = this.string(); +result.provider_data = this.predicate(); +if (result.flags & 2) result.start_param = this.string(); +if (result.flags & 4) result.extended_media = this.predicate(); +return result; + }], + [3926049406, function() { +const result = { _: 'paymentCharge' }; +result.id = this.string(); +result.provider_charge_id = this.string(); +return result; + }], + [2402399015, function() { +const result = { _: 'messageActionPaymentSentMe' }; +result.flags = this.int(); +result.recurring_init = !!(result.flags & 4); +result.recurring_used = !!(result.flags & 8); +result.currency = this.string(); +result.total_amount = this.long(); +result.payload = this.bytes(); +if (result.flags & 1) result.info = this.predicate(); +if (result.flags & 2) result.shipping_option_id = this.string(); +result.charge = this.predicate(); +return result; + }], + [4138027219, function() { +const result = { _: 'messageMediaInvoice' }; +result.flags = this.int(); +result.shipping_address_requested = !!(result.flags & 2); +result.test = !!(result.flags & 8); +result.title = this.string(); +result.description = this.string(); +if (result.flags & 1) result.photo = this.predicate(); +if (result.flags & 4) result.receipt_msg_id = this.int(); +result.currency = this.string(); +result.total_amount = this.long(); +result.start_param = this.string(); +if (result.flags & 16) result.extended_media = this.predicate(); +return result; + }], + [512535275, function() { +const result = { _: 'postAddress' }; +result.street_line1 = this.string(); +result.street_line2 = this.string(); +result.city = this.string(); +result.state = this.string(); +result.country_iso2 = this.string(); +result.post_code = this.string(); +return result; + }], + [2426158996, function() { +const result = { _: 'paymentRequestedInfo' }; +result.flags = this.int(); +if (result.flags & 1) result.name = this.string(); +if (result.flags & 2) result.phone = this.string(); +if (result.flags & 4) result.email = this.string(); +if (result.flags & 8) result.shipping_address = this.predicate(); +return result; + }], + [2950250427, function() { +const result = { _: 'keyboardButtonBuy' }; +result.text = this.string(); +return result; + }], + [2518040406, function() { +const result = { _: 'messageActionPaymentSent' }; +result.flags = this.int(); +result.recurring_init = !!(result.flags & 4); +result.recurring_used = !!(result.flags & 8); +result.currency = this.string(); +result.total_amount = this.long(); +if (result.flags & 1) result.invoice_slug = this.string(); +return result; + }], + [3452074527, function() { +const result = { _: 'paymentSavedCredentialsCard' }; +result.id = this.string(); +result.title = this.string(); +return result; + }], + [475467473, function() { +const result = { _: 'webDocument' }; +result.url = this.string(); +result.access_hash = this.long(); +result.size = this.int(); +result.mime_type = this.string(); +result.attributes = this.vector(this.predicate, false); +return result; + }], + [2616017741, function() { +const result = { _: 'inputWebDocument' }; +result.url = this.string(); +result.size = this.int(); +result.mime_type = this.string(); +result.attributes = this.vector(this.predicate, false); +return result; + }], + [3258570374, function() { +const result = { _: 'inputWebFileLocation' }; +result.url = this.string(); +result.access_hash = this.long(); +return result; + }], + [568808380, function() { +const result = { _: 'upload.webFile' }; +result.size = this.int(); +result.mime_type = this.string(); +result.file_type = this.predicate(); +result.mtime = this.int(); +result.bytes = this.bytes(); +return result; + }], + [2684716881, function() { +const result = { _: 'payments.paymentForm' }; +result.flags = this.int(); +result.can_save_credentials = !!(result.flags & 4); +result.password_missing = !!(result.flags & 8); +result.form_id = this.long(); +result.bot_id = this.long(); +result.title = this.string(); +result.description = this.string(); +if (result.flags & 32) result.photo = this.predicate(); +result.invoice = this.predicate(); +result.provider_id = this.long(); +result.url = this.string(); +if (result.flags & 16) result.native_provider = this.string(); +if (result.flags & 16) result.native_params = this.predicate(); +if (result.flags & 64) result.additional_methods = this.vector(this.predicate); +if (result.flags & 1) result.saved_info = this.predicate(); +if (result.flags & 2) result.saved_credentials = this.vector(this.predicate); +result.users = this.vector(this.predicate, false); +return result; + }], + [3510966403, function() { +const result = { _: 'payments.validatedRequestedInfo' }; +result.flags = this.int(); +if (result.flags & 1) result.id = this.string(); +if (result.flags & 2) result.shipping_options = this.vector(this.predicate); +return result; + }], + [1314881805, function() { +const result = { _: 'payments.paymentResult' }; +result.updates = this.predicate(); +return result; + }], + [1891958275, function() { +const result = { _: 'payments.paymentReceipt' }; +result.flags = this.int(); +result.date = this.int(); +result.bot_id = this.long(); +result.provider_id = this.long(); +result.title = this.string(); +result.description = this.string(); +if (result.flags & 4) result.photo = this.predicate(); +result.invoice = this.predicate(); +if (result.flags & 1) result.info = this.predicate(); +if (result.flags & 2) result.shipping = this.predicate(); +if (result.flags & 8) result.tip_amount = this.long(); +result.currency = this.string(); +result.total_amount = this.long(); +result.credentials_title = this.string(); +result.users = this.vector(this.predicate, false); +return result; + }], + [4220511292, function() { +const result = { _: 'payments.savedInfo' }; +result.flags = this.int(); +result.has_saved_credentials = !!(result.flags & 2); +if (result.flags & 1) result.saved_info = this.predicate(); +return result; + }], + [3238965967, function() { +const result = { _: 'inputPaymentCredentialsSaved' }; +result.id = this.string(); +result.tmp_password = this.bytes(); +return result; + }], + [873977640, function() { +const result = { _: 'inputPaymentCredentials' }; +result.flags = this.int(); +result.save = !!(result.flags & 1); +result.data = this.predicate(); +return result; + }], + [3680828724, function() { +const result = { _: 'account.tmpPassword' }; +result.tmp_password = this.bytes(); +result.valid_until = this.int(); +return result; + }], + [3055631583, function() { +const result = { _: 'shippingOption' }; +result.id = this.string(); +result.title = this.string(); +result.prices = this.vector(this.predicate, false); +return result; + }], + [3048144253, function() { +const result = { _: 'updateBotShippingQuery' }; +result.query_id = this.long(); +result.user_id = this.long(); +result.payload = this.bytes(); +result.shipping_address = this.predicate(); +return result; + }], + [2359990934, function() { +const result = { _: 'updateBotPrecheckoutQuery' }; +result.flags = this.int(); +result.query_id = this.long(); +result.user_id = this.long(); +result.payload = this.bytes(); +if (result.flags & 1) result.info = this.predicate(); +if (result.flags & 2) result.shipping_option_id = this.string(); +result.currency = this.string(); +result.total_amount = this.long(); +return result; + }], + [853188252, function() { +const result = { _: 'inputStickerSetItem' }; +result.flags = this.int(); +result.document = this.predicate(); +result.emoji = this.string(); +if (result.flags & 1) result.mask_coords = this.predicate(); +if (result.flags & 2) result.keywords = this.string(); +return result; + }], + [2869914398, function() { +const result = { _: 'updatePhoneCall' }; +result.phone_call = this.predicate(); +return result; + }], + [506920429, function() { +const result = { _: 'inputPhoneCall' }; +result.id = this.long(); +result.access_hash = this.long(); +return result; + }], + [1399245077, function() { +const result = { _: 'phoneCallEmpty' }; +result.id = this.long(); +return result; + }], + [3307368215, function() { +const result = { _: 'phoneCallWaiting' }; +result.flags = this.int(); +result.video = !!(result.flags & 64); +result.id = this.long(); +result.access_hash = this.long(); +result.date = this.int(); +result.admin_id = this.long(); +result.participant_id = this.long(); +result.protocol = this.predicate(); +if (result.flags & 1) result.receive_date = this.int(); +return result; + }], + [347139340, function() { +const result = { _: 'phoneCallRequested' }; +result.flags = this.int(); +result.video = !!(result.flags & 64); +result.id = this.long(); +result.access_hash = this.long(); +result.date = this.int(); +result.admin_id = this.long(); +result.participant_id = this.long(); +result.g_a_hash = this.bytes(); +result.protocol = this.predicate(); +return result; + }], + [912311057, function() { +const result = { _: 'phoneCallAccepted' }; +result.flags = this.int(); +result.video = !!(result.flags & 64); +result.id = this.long(); +result.access_hash = this.long(); +result.date = this.int(); +result.admin_id = this.long(); +result.participant_id = this.long(); +result.g_b = this.bytes(); +result.protocol = this.predicate(); +return result; + }], + [2524937319, function() { +const result = { _: 'phoneCall' }; +result.flags = this.int(); +result.p2p_allowed = !!(result.flags & 32); +result.video = !!(result.flags & 64); +result.id = this.long(); +result.access_hash = this.long(); +result.date = this.int(); +result.admin_id = this.long(); +result.participant_id = this.long(); +result.g_a_or_b = this.bytes(); +result.key_fingerprint = this.long(); +result.protocol = this.predicate(); +result.connections = this.vector(this.predicate, false); +result.start_date = this.int(); +return result; + }], + [1355435489, function() { +const result = { _: 'phoneCallDiscarded' }; +result.flags = this.int(); +result.need_rating = !!(result.flags & 4); +result.need_debug = !!(result.flags & 8); +result.video = !!(result.flags & 64); +result.id = this.long(); +if (result.flags & 1) result.reason = this.predicate(); +if (result.flags & 2) result.duration = this.int(); +return result; + }], + [2629903303, function() { +const result = { _: 'phoneConnection' }; +result.flags = this.int(); +result.tcp = !!(result.flags & 1); +result.id = this.long(); +result.ip = this.string(); +result.ipv6 = this.string(); +result.port = this.int(); +result.peer_tag = this.bytes(); +return result; + }], + [4236742600, function() { +const result = { _: 'phoneCallProtocol' }; +result.flags = this.int(); +result.udp_p2p = !!(result.flags & 1); +result.udp_reflector = !!(result.flags & 2); +result.min_layer = this.int(); +result.max_layer = this.int(); +result.library_versions = this.vector(this.string, false); +return result; + }], + [3968000320, function() { +const result = { _: 'phone.phoneCall' }; +result.phone_call = this.predicate(); +result.users = this.vector(this.predicate, false); +return result; + }], + [2160695144, function() { +const result = { _: 'inputMessagesFilterPhoneCalls' }; +result.flags = this.int(); +result.missed = !!(result.flags & 1); +return result; + }], + [2162236031, function() { +const result = { _: 'messageActionPhoneCall' }; +result.flags = this.int(); +result.video = !!(result.flags & 4); +result.call_id = this.long(); +if (result.flags & 1) result.reason = this.predicate(); +if (result.flags & 2) result.duration = this.int(); +return result; + }], + [2054952868, function() { +const result = { _: 'inputMessagesFilterRoundVoice' }; +return result; + }], + [3041516115, function() { +const result = { _: 'inputMessagesFilterRoundVideo' }; +return result; + }], + [2297593788, function() { +const result = { _: 'sendMessageRecordRoundAction' }; +return result; + }], + [608050278, function() { +const result = { _: 'sendMessageUploadRoundAction' }; +result.progress = this.int(); +return result; + }], + [4052539972, function() { +const result = { _: 'upload.fileCdnRedirect' }; +result.dc_id = this.int(); +result.file_token = this.bytes(); +result.encryption_key = this.bytes(); +result.encryption_iv = this.bytes(); +result.file_hashes = this.vector(this.predicate, false); +return result; + }], + [4004045934, function() { +const result = { _: 'upload.cdnFileReuploadNeeded' }; +result.request_token = this.bytes(); +return result; + }], + [2845821519, function() { +const result = { _: 'upload.cdnFile' }; +result.bytes = this.bytes(); +return result; + }], + [3380800186, function() { +const result = { _: 'cdnPublicKey' }; +result.dc_id = this.int(); +result.public_key = this.string(); +return result; + }], + [1462101002, function() { +const result = { _: 'cdnConfig' }; +result.public_keys = this.vector(this.predicate, false); +return result; + }], + [4011282869, function() { +const result = { _: 'pageBlockChannel' }; +result.channel = this.predicate(); +return result; + }], + [3402727926, function() { +const result = { _: 'langPackString' }; +result.key = this.string(); +result.value = this.string(); +return result; + }], + [1816636575, function() { +const result = { _: 'langPackStringPluralized' }; +result.flags = this.int(); +result.key = this.string(); +if (result.flags & 1) result.zero_value = this.string(); +if (result.flags & 2) result.one_value = this.string(); +if (result.flags & 4) result.two_value = this.string(); +if (result.flags & 8) result.few_value = this.string(); +if (result.flags & 16) result.many_value = this.string(); +result.other_value = this.string(); +return result; + }], + [695856818, function() { +const result = { _: 'langPackStringDeleted' }; +result.key = this.string(); +return result; + }], + [4085629430, function() { +const result = { _: 'langPackDifference' }; +result.lang_code = this.string(); +result.from_version = this.int(); +result.version = this.int(); +result.strings = this.vector(this.predicate, false); +return result; + }], + [4006239459, function() { +const result = { _: 'langPackLanguage' }; +result.flags = this.int(); +result.official = !!(result.flags & 1); +result.rtl = !!(result.flags & 4); +result.beta = !!(result.flags & 8); +result.name = this.string(); +result.native_name = this.string(); +result.lang_code = this.string(); +if (result.flags & 2) result.base_lang_code = this.string(); +result.plural_code = this.string(); +result.strings_count = this.int(); +result.translated_count = this.int(); +result.translations_url = this.string(); +return result; + }], + [1180041828, function() { +const result = { _: 'updateLangPackTooLong' }; +result.lang_code = this.string(); +return result; + }], + [1442983757, function() { +const result = { _: 'updateLangPack' }; +result.difference = this.predicate(); +return result; + }], + [885242707, function() { +const result = { _: 'channelParticipantAdmin' }; +result.flags = this.int(); +result.can_edit = !!(result.flags & 1); +result.self = !!(result.flags & 2); +result.user_id = this.long(); +if (result.flags & 2) result.inviter_id = this.long(); +result.promoted_by = this.long(); +result.date = this.int(); +result.admin_rights = this.predicate(); +if (result.flags & 4) result.rank = this.string(); +return result; + }], + [1844969806, function() { +const result = { _: 'channelParticipantBanned' }; +result.flags = this.int(); +result.left = !!(result.flags & 1); +result.peer = this.predicate(); +result.kicked_by = this.long(); +result.date = this.int(); +result.banned_rights = this.predicate(); +return result; + }], + [338142689, function() { +const result = { _: 'channelParticipantsBanned' }; +result.q = this.string(); +return result; + }], + [106343499, function() { +const result = { _: 'channelParticipantsSearch' }; +result.q = this.string(); +return result; + }], + [3873421349, function() { +const result = { _: 'channelAdminLogEventActionChangeTitle' }; +result.prev_value = this.string(); +result.new_value = this.string(); +return result; + }], + [1427671598, function() { +const result = { _: 'channelAdminLogEventActionChangeAbout' }; +result.prev_value = this.string(); +result.new_value = this.string(); +return result; + }], + [1783299128, function() { +const result = { _: 'channelAdminLogEventActionChangeUsername' }; +result.prev_value = this.string(); +result.new_value = this.string(); +return result; + }], + [1129042607, function() { +const result = { _: 'channelAdminLogEventActionChangePhoto' }; +result.prev_photo = this.predicate(); +result.new_photo = this.predicate(); +return result; + }], + [460916654, function() { +const result = { _: 'channelAdminLogEventActionToggleInvites' }; +result.new_value = this.predicate(); +return result; + }], + [648939889, function() { +const result = { _: 'channelAdminLogEventActionToggleSignatures' }; +result.new_value = this.predicate(); +return result; + }], + [3924306968, function() { +const result = { _: 'channelAdminLogEventActionUpdatePinned' }; +result.message = this.predicate(); +return result; + }], + [1889215493, function() { +const result = { _: 'channelAdminLogEventActionEditMessage' }; +result.prev_message = this.predicate(); +result.new_message = this.predicate(); +return result; + }], + [1121994683, function() { +const result = { _: 'channelAdminLogEventActionDeleteMessage' }; +result.message = this.predicate(); +return result; + }], + [405815507, function() { +const result = { _: 'channelAdminLogEventActionParticipantJoin' }; +return result; + }], + [4170676210, function() { +const result = { _: 'channelAdminLogEventActionParticipantLeave' }; +return result; + }], + [3810276568, function() { +const result = { _: 'channelAdminLogEventActionParticipantInvite' }; +result.participant = this.predicate(); +return result; + }], + [3872931198, function() { +const result = { _: 'channelAdminLogEventActionParticipantToggleBan' }; +result.prev_participant = this.predicate(); +result.new_participant = this.predicate(); +return result; + }], + [3580323600, function() { +const result = { _: 'channelAdminLogEventActionParticipantToggleAdmin' }; +result.prev_participant = this.predicate(); +result.new_participant = this.predicate(); +return result; + }], + [531458253, function() { +const result = { _: 'channelAdminLogEvent' }; +result.id = this.long(); +result.date = this.int(); +result.user_id = this.long(); +result.action = this.predicate(); +return result; + }], + [3985307469, function() { +const result = { _: 'channels.adminLogResults' }; +result.events = this.vector(this.predicate, false); +result.chats = this.vector(this.predicate, false); +result.users = this.vector(this.predicate, false); +return result; + }], + [3926948580, function() { +const result = { _: 'channelAdminLogEventsFilter' }; +result.flags = this.int(); +result.join = !!(result.flags & 1); +result.leave = !!(result.flags & 2); +result.invite = !!(result.flags & 4); +result.ban = !!(result.flags & 8); +result.unban = !!(result.flags & 16); +result.kick = !!(result.flags & 32); +result.unkick = !!(result.flags & 64); +result.promote = !!(result.flags & 128); +result.demote = !!(result.flags & 256); +result.info = !!(result.flags & 512); +result.settings = !!(result.flags & 1024); +result.pinned = !!(result.flags & 2048); +result.edit = !!(result.flags & 4096); +result.delete = !!(result.flags & 8192); +result.group_call = !!(result.flags & 16384); +result.invites = !!(result.flags & 32768); +result.send = !!(result.flags & 65536); +result.forums = !!(result.flags & 131072); +return result; + }], + [511092620, function() { +const result = { _: 'topPeerCategoryPhoneCalls' }; +return result; + }], + [2151899626, function() { +const result = { _: 'pageBlockAudio' }; +result.audio_id = this.long(); +result.caption = this.predicate(); +return result; + }], + [1558266229, function() { +const result = { _: 'popularContact' }; +result.client_id = this.long(); +result.importers = this.int(); +return result; + }], + [1200788123, function() { +const result = { _: 'messageActionScreenshotTaken' }; +return result; + }], + [2660214483, function() { +const result = { _: 'messages.favedStickersNotModified' }; +return result; + }], + [750063767, function() { +const result = { _: 'messages.favedStickers' }; +result.hash = this.long(); +result.packs = this.vector(this.predicate, false); +result.stickers = this.vector(this.predicate, false); +return result; + }], + [3843135853, function() { +const result = { _: 'updateFavedStickers' }; +return result; + }], + [3928556893, function() { +const result = { _: 'updateChannelReadMessagesContents' }; +result.flags = this.int(); +result.channel_id = this.long(); +if (result.flags & 1) result.top_msg_id = this.int(); +result.messages = this.vector(this.int, false); +return result; + }], + [3254314650, function() { +const result = { _: 'inputMessagesFilterMyMentions' }; +return result; + }], + [1887741886, function() { +const result = { _: 'updateContactsReset' }; +return result; + }], + [2982398631, function() { +const result = { _: 'channelAdminLogEventActionChangeStickerSet' }; +result.prev_stickerset = this.predicate(); +result.new_stickerset = this.predicate(); +return result; + }], + [4209418070, function() { +const result = { _: 'messageActionCustomAction' }; +result.message = this.string(); +return result; + }], + [178373535, function() { +const result = { _: 'inputPaymentCredentialsApplePay' }; +result.payment_data = this.predicate(); +return result; + }], + [3875695885, function() { +const result = { _: 'inputMessagesFilterGeo' }; +return result; + }], + [3764575107, function() { +const result = { _: 'inputMessagesFilterContacts' }; +return result; + }], + [2990524056, function() { +const result = { _: 'updateChannelAvailableMessages' }; +result.channel_id = this.long(); +result.available_min_id = this.int(); +return result; + }], + [1599903217, function() { +const result = { _: 'channelAdminLogEventActionTogglePreHistoryHidden' }; +result.new_value = this.predicate(); +return result; + }], + [2535434307, function() { +const result = { _: 'inputMediaGeoLive' }; +result.flags = this.int(); +result.stopped = !!(result.flags & 1); +result.geo_point = this.predicate(); +if (result.flags & 4) result.heading = this.int(); +if (result.flags & 2) result.period = this.int(); +if (result.flags & 8) result.proximity_notification_radius = this.int(); +return result; + }], + [3108030054, function() { +const result = { _: 'messageMediaGeoLive' }; +result.flags = this.int(); +result.geo = this.predicate(); +if (result.flags & 1) result.heading = this.int(); +result.period = this.int(); +if (result.flags & 2) result.proximity_notification_radius = this.int(); +return result; + }], + [1189204285, function() { +const result = { _: 'recentMeUrlUnknown' }; +result.url = this.string(); +return result; + }], + [3106671074, function() { +const result = { _: 'recentMeUrlUser' }; +result.url = this.string(); +result.user_id = this.long(); +return result; + }], + [3000660434, function() { +const result = { _: 'recentMeUrlChat' }; +result.url = this.string(); +result.chat_id = this.long(); +return result; + }], + [3947431965, function() { +const result = { _: 'recentMeUrlChatInvite' }; +result.url = this.string(); +result.chat_invite = this.predicate(); +return result; + }], + [3154794460, function() { +const result = { _: 'recentMeUrlStickerSet' }; +result.url = this.string(); +result.set = this.predicate(); +return result; + }], + [235081943, function() { +const result = { _: 'help.recentMeUrls' }; +result.urls = this.vector(this.predicate, false); +result.chats = this.vector(this.predicate, false); +result.users = this.vector(this.predicate, false); +return result; + }], + [4028055529, function() { +const result = { _: 'channels.channelParticipantsNotModified' }; +return result; + }], + [1951620897, function() { +const result = { _: 'messages.messagesNotModified' }; +result.count = this.int(); +return result; + }], + [482797855, function() { +const result = { _: 'inputSingleMedia' }; +result.flags = this.int(); +result.media = this.predicate(); +result.random_id = this.long(); +result.message = this.string(); +if (result.flags & 1) result.entities = this.vector(this.predicate); +return result; + }], + [2801333330, function() { +const result = { _: 'webAuthorization' }; +result.hash = this.long(); +result.bot_id = this.long(); +result.domain = this.string(); +result.browser = this.string(); +result.platform = this.string(); +result.date_created = this.int(); +result.date_active = this.int(); +result.ip = this.string(); +result.region = this.string(); +return result; + }], + [3981887996, function() { +const result = { _: 'account.webAuthorizations' }; +result.authorizations = this.vector(this.predicate, false); +result.users = this.vector(this.predicate, false); +return result; + }], + [2792792866, function() { +const result = { _: 'inputMessageID' }; +result.id = this.int(); +return result; + }], + [3134751637, function() { +const result = { _: 'inputMessageReplyTo' }; +result.id = this.int(); +return result; + }], + [2257003832, function() { +const result = { _: 'inputMessagePinned' }; +return result; + }], + [2607407947, function() { +const result = { _: 'messageEntityPhone' }; +result.offset = this.int(); +result.length = this.int(); +return result; + }], + [1280209983, function() { +const result = { _: 'messageEntityCashtag' }; +result.offset = this.int(); +result.length = this.int(); +return result; + }], + [3306608249, function() { +const result = { _: 'messageActionBotAllowed' }; +result.flags = this.int(); +result.attach_menu = !!(result.flags & 2); +result.from_request = !!(result.flags & 8); +if (result.flags & 1) result.domain = this.string(); +if (result.flags & 4) result.app = this.predicate(); +return result; + }], + [4239064759, function() { +const result = { _: 'inputDialogPeer' }; +result.peer = this.predicate(); +return result; + }], + [3849174789, function() { +const result = { _: 'dialogPeer' }; +result.peer = this.predicate(); +return result; + }], + [223655517, function() { +const result = { _: 'messages.foundStickerSetsNotModified' }; +return result; + }], + [2331024850, function() { +const result = { _: 'messages.foundStickerSets' }; +result.hash = this.long(); +result.sets = this.vector(this.predicate, false); +return result; + }], + [4087022428, function() { +const result = { _: 'fileHash' }; +result.offset = this.long(); +result.limit = this.int(); +result.hash = this.bytes(); +return result; + }], + [4190682310, function() { +const result = { _: 'webDocumentNoProxy' }; +result.url = this.string(); +result.size = this.int(); +result.mime_type = this.string(); +result.attributes = this.vector(this.predicate, false); +return result; + }], + [1968737087, function() { +const result = { _: 'inputClientProxy' }; +result.address = this.string(); +result.port = this.int(); +return result; + }], + [3811614591, function() { +const result = { _: 'help.termsOfServiceUpdateEmpty' }; +result.expires = this.int(); +return result; + }], + [686618977, function() { +const result = { _: 'help.termsOfServiceUpdate' }; +result.expires = this.int(); +result.terms_of_service = this.predicate(); +return result; + }], + [859091184, function() { +const result = { _: 'inputSecureFileUploaded' }; +result.id = this.long(); +result.parts = this.int(); +result.md5_checksum = this.string(); +result.file_hash = this.bytes(); +result.secret = this.bytes(); +return result; + }], + [1399317950, function() { +const result = { _: 'inputSecureFile' }; +result.id = this.long(); +result.access_hash = this.long(); +return result; + }], + [3418877480, function() { +const result = { _: 'inputSecureFileLocation' }; +result.id = this.long(); +result.access_hash = this.long(); +return result; + }], + [1679398724, function() { +const result = { _: 'secureFileEmpty' }; +return result; + }], + [2097791614, function() { +const result = { _: 'secureFile' }; +result.id = this.long(); +result.access_hash = this.long(); +result.size = this.long(); +result.dc_id = this.int(); +result.date = this.int(); +result.file_hash = this.bytes(); +result.secret = this.bytes(); +return result; + }], + [2330640067, function() { +const result = { _: 'secureData' }; +result.data = this.bytes(); +result.data_hash = this.bytes(); +result.secret = this.bytes(); +return result; + }], + [2103482845, function() { +const result = { _: 'securePlainPhone' }; +result.phone = this.string(); +return result; + }], + [569137759, function() { +const result = { _: 'securePlainEmail' }; +result.email = this.string(); +return result; + }], + [2636808675, function() { +const result = { _: 'secureValueTypePersonalDetails' }; +return result; + }], + [1034709504, function() { +const result = { _: 'secureValueTypePassport' }; +return result; + }], + [115615172, function() { +const result = { _: 'secureValueTypeDriverLicense' }; +return result; + }], + [2698015819, function() { +const result = { _: 'secureValueTypeIdentityCard' }; +return result; + }], + [2577698595, function() { +const result = { _: 'secureValueTypeInternalPassport' }; +return result; + }], + [3420659238, function() { +const result = { _: 'secureValueTypeAddress' }; +return result; + }], + [4231435598, function() { +const result = { _: 'secureValueTypeUtilityBill' }; +return result; + }], + [2299755533, function() { +const result = { _: 'secureValueTypeBankStatement' }; +return result; + }], + [2340959368, function() { +const result = { _: 'secureValueTypeRentalAgreement' }; +return result; + }], + [2581823594, function() { +const result = { _: 'secureValueTypePassportRegistration' }; +return result; + }], + [3926060083, function() { +const result = { _: 'secureValueTypeTemporaryRegistration' }; +return result; + }], + [3005262555, function() { +const result = { _: 'secureValueTypePhone' }; +return result; + }], + [2386339822, function() { +const result = { _: 'secureValueTypeEmail' }; +return result; + }], + [411017418, function() { +const result = { _: 'secureValue' }; +result.flags = this.int(); +result.type = this.predicate(); +if (result.flags & 1) result.data = this.predicate(); +if (result.flags & 2) result.front_side = this.predicate(); +if (result.flags & 4) result.reverse_side = this.predicate(); +if (result.flags & 8) result.selfie = this.predicate(); +if (result.flags & 64) result.translation = this.vector(this.predicate); +if (result.flags & 16) result.files = this.vector(this.predicate); +if (result.flags & 32) result.plain_data = this.predicate(); +result.hash = this.bytes(); +return result; + }], + [3676426407, function() { +const result = { _: 'inputSecureValue' }; +result.flags = this.int(); +result.type = this.predicate(); +if (result.flags & 1) result.data = this.predicate(); +if (result.flags & 2) result.front_side = this.predicate(); +if (result.flags & 4) result.reverse_side = this.predicate(); +if (result.flags & 8) result.selfie = this.predicate(); +if (result.flags & 64) result.translation = this.vector(this.predicate); +if (result.flags & 16) result.files = this.vector(this.predicate); +if (result.flags & 32) result.plain_data = this.predicate(); +return result; + }], + [3978218928, function() { +const result = { _: 'secureValueHash' }; +result.type = this.predicate(); +result.hash = this.bytes(); +return result; + }], + [3903065049, function() { +const result = { _: 'secureValueErrorData' }; +result.type = this.predicate(); +result.data_hash = this.bytes(); +result.field = this.string(); +result.text = this.string(); +return result; + }], + [12467706, function() { +const result = { _: 'secureValueErrorFrontSide' }; +result.type = this.predicate(); +result.file_hash = this.bytes(); +result.text = this.string(); +return result; + }], + [2257201829, function() { +const result = { _: 'secureValueErrorReverseSide' }; +result.type = this.predicate(); +result.file_hash = this.bytes(); +result.text = this.string(); +return result; + }], + [3845639894, function() { +const result = { _: 'secureValueErrorSelfie' }; +result.type = this.predicate(); +result.file_hash = this.bytes(); +result.text = this.string(); +return result; + }], + [2054162547, function() { +const result = { _: 'secureValueErrorFile' }; +result.type = this.predicate(); +result.file_hash = this.bytes(); +result.text = this.string(); +return result; + }], + [1717706985, function() { +const result = { _: 'secureValueErrorFiles' }; +result.type = this.predicate(); +result.file_hash = this.vector(this.bytes, false); +result.text = this.string(); +return result; + }], + [871426631, function() { +const result = { _: 'secureCredentialsEncrypted' }; +result.data = this.bytes(); +result.hash = this.bytes(); +result.secret = this.bytes(); +return result; + }], + [2905480408, function() { +const result = { _: 'account.authorizationForm' }; +result.flags = this.int(); +result.required_types = this.vector(this.predicate, false); +result.values = this.vector(this.predicate, false); +result.errors = this.vector(this.predicate, false); +result.users = this.vector(this.predicate, false); +if (result.flags & 1) result.privacy_policy_url = this.string(); +return result; + }], + [2166326607, function() { +const result = { _: 'account.sentEmailCode' }; +result.email_pattern = this.string(); +result.length = this.int(); +return result; + }], + [455635795, function() { +const result = { _: 'messageActionSecureValuesSentMe' }; +result.values = this.vector(this.predicate, false); +result.credentials = this.predicate(); +return result; + }], + [3646710100, function() { +const result = { _: 'messageActionSecureValuesSent' }; +result.types = this.vector(this.predicate, false); +return result; + }], + [1722786150, function() { +const result = { _: 'help.deepLinkInfoEmpty' }; +return result; + }], + [1783556146, function() { +const result = { _: 'help.deepLinkInfo' }; +result.flags = this.int(); +result.update_app = !!(result.flags & 1); +result.message = this.string(); +if (result.flags & 2) result.entities = this.vector(this.predicate); +return result; + }], + [289586518, function() { +const result = { _: 'savedPhoneContact' }; +result.phone = this.string(); +result.first_name = this.string(); +result.last_name = this.string(); +result.date = this.int(); +return result; + }], + [1304052993, function() { +const result = { _: 'account.takeout' }; +result.id = this.long(); +return result; + }], + [700340377, function() { +const result = { _: 'inputTakeoutFileLocation' }; +return result; + }], + [3781450179, function() { +const result = { _: 'updateDialogUnreadMark' }; +result.flags = this.int(); +result.unread = !!(result.flags & 1); +result.peer = this.predicate(); +return result; + }], + [4041467286, function() { +const result = { _: 'messages.dialogsNotModified' }; +result.count = this.int(); +return result; + }], + [2669814217, function() { +const result = { _: 'inputWebFileGeoPointLocation' }; +result.geo_point = this.predicate(); +result.access_hash = this.long(); +result.w = this.int(); +result.h = this.int(); +result.zoom = this.int(); +result.scale = this.int(); +return result; + }], + [3039597469, function() { +const result = { _: 'contacts.topPeersDisabled' }; +return result; + }], + [2609510714, function() { +const result = { _: 'inputReportReasonCopyright' }; +return result; + }], + [3562713238, function() { +const result = { _: 'passwordKdfAlgoUnknown' }; +return result; + }], + [4883767, function() { +const result = { _: 'securePasswordKdfAlgoUnknown' }; +return result; + }], + [3153255840, function() { +const result = { _: 'securePasswordKdfAlgoPBKDF2HMACSHA512iter100000' }; +result.salt = this.bytes(); +return result; + }], + [2252807570, function() { +const result = { _: 'securePasswordKdfAlgoSHA512' }; +result.salt = this.bytes(); +return result; + }], + [354925740, function() { +const result = { _: 'secureSecretSettings' }; +result.secure_algo = this.predicate(); +result.secure_secret = this.bytes(); +result.secure_secret_id = this.long(); +return result; + }], + [982592842, function() { +const result = { _: 'passwordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow' }; +result.salt1 = this.bytes(); +result.salt2 = this.bytes(); +result.g = this.int(); +result.p = this.bytes(); +return result; + }], + [2558588504, function() { +const result = { _: 'inputCheckPasswordEmpty' }; +return result; + }], + [3531600002, function() { +const result = { _: 'inputCheckPasswordSRP' }; +result.srp_id = this.long(); +result.A = this.bytes(); +result.M1 = this.bytes(); +return result; + }], + [2258466191, function() { +const result = { _: 'secureValueError' }; +result.type = this.predicate(); +result.hash = this.bytes(); +result.text = this.string(); +return result; + }], + [2702460784, function() { +const result = { _: 'secureValueErrorTranslationFile' }; +result.type = this.predicate(); +result.file_hash = this.bytes(); +result.text = this.string(); +return result; + }], + [878931416, function() { +const result = { _: 'secureValueErrorTranslationFiles' }; +result.type = this.predicate(); +result.file_hash = this.vector(this.bytes, false); +result.text = this.string(); +return result; + }], + [2191366618, function() { +const result = { _: 'secureRequiredType' }; +result.flags = this.int(); +result.native_names = !!(result.flags & 1); +result.selfie_required = !!(result.flags & 2); +result.translation_required = !!(result.flags & 4); +result.type = this.predicate(); +return result; + }], + [41187252, function() { +const result = { _: 'secureRequiredTypeOneOf' }; +result.types = this.vector(this.predicate, false); +return result; + }], + [3216634967, function() { +const result = { _: 'help.passportConfigNotModified' }; +return result; + }], + [2694370991, function() { +const result = { _: 'help.passportConfig' }; +result.hash = this.int(); +result.countries_langs = this.predicate(); +return result; + }], + [488313413, function() { +const result = { _: 'inputAppEvent' }; +result.time = this.double(); +result.type = this.string(); +result.peer = this.long(); +result.data = this.predicate(); +return result; + }], + [3235781593, function() { +const result = { _: 'jsonObjectValue' }; +result.key = this.string(); +result.value = this.predicate(); +return result; + }], + [1064139624, function() { +const result = { _: 'jsonNull' }; +return result; + }], + [3342098026, function() { +const result = { _: 'jsonBool' }; +result.value = this.predicate(); +return result; + }], + [736157604, function() { +const result = { _: 'jsonNumber' }; +result.value = this.double(); +return result; + }], + [3072226938, function() { +const result = { _: 'jsonString' }; +result.value = this.string(); +return result; + }], + [4148447075, function() { +const result = { _: 'jsonArray' }; +result.value = this.vector(this.predicate, false); +return result; + }], + [2579616925, function() { +const result = { _: 'jsonObject' }; +result.value = this.vector(this.predicate, false); +return result; + }], + [2983951486, function() { +const result = { _: 'inputNotifyBroadcasts' }; +return result; + }], + [3591563503, function() { +const result = { _: 'notifyBroadcasts' }; +return result; + }], + [3983181060, function() { +const result = { _: 'textSubscript' }; +result.text = this.predicate(); +return result; + }], + [3355139585, function() { +const result = { _: 'textSuperscript' }; +result.text = this.predicate(); +return result; + }], + [55281185, function() { +const result = { _: 'textMarked' }; +result.text = this.predicate(); +return result; + }], + [483104362, function() { +const result = { _: 'textPhone' }; +result.text = this.predicate(); +result.phone = this.string(); +return result; + }], + [136105807, function() { +const result = { _: 'textImage' }; +result.document_id = this.long(); +result.w = this.int(); +result.h = this.int(); +return result; + }], + [504660880, function() { +const result = { _: 'pageBlockKicker' }; +result.text = this.predicate(); +return result; + }], + [878078826, function() { +const result = { _: 'pageTableCell' }; +result.flags = this.int(); +result.header = !!(result.flags & 1); +result.align_center = !!(result.flags & 8); +result.align_right = !!(result.flags & 16); +result.valign_middle = !!(result.flags & 32); +result.valign_bottom = !!(result.flags & 64); +if (result.flags & 128) result.text = this.predicate(); +if (result.flags & 2) result.colspan = this.int(); +if (result.flags & 4) result.rowspan = this.int(); +return result; + }], + [3770729957, function() { +const result = { _: 'pageTableRow' }; +result.cells = this.vector(this.predicate, false); +return result; + }], + [3209554562, function() { +const result = { _: 'pageBlockTable' }; +result.flags = this.int(); +result.bordered = !!(result.flags & 1); +result.striped = !!(result.flags & 2); +result.title = this.predicate(); +result.rows = this.vector(this.predicate, false); +return result; + }], + [1869903447, function() { +const result = { _: 'pageCaption' }; +result.text = this.predicate(); +result.credit = this.predicate(); +return result; + }], + [3106911949, function() { +const result = { _: 'pageListItemText' }; +result.text = this.predicate(); +return result; + }], + [635466748, function() { +const result = { _: 'pageListItemBlocks' }; +result.blocks = this.vector(this.predicate, false); +return result; + }], + [1577484359, function() { +const result = { _: 'pageListOrderedItemText' }; +result.num = this.string(); +result.text = this.predicate(); +return result; + }], + [2564655414, function() { +const result = { _: 'pageListOrderedItemBlocks' }; +result.num = this.string(); +result.blocks = this.vector(this.predicate, false); +return result; + }], + [2592793057, function() { +const result = { _: 'pageBlockOrderedList' }; +result.items = this.vector(this.predicate, false); +return result; + }], + [1987480557, function() { +const result = { _: 'pageBlockDetails' }; +result.flags = this.int(); +result.open = !!(result.flags & 1); +result.blocks = this.vector(this.predicate, false); +result.title = this.predicate(); +return result; + }], + [3012615176, function() { +const result = { _: 'pageRelatedArticle' }; +result.flags = this.int(); +result.url = this.string(); +result.webpage_id = this.long(); +if (result.flags & 1) result.title = this.string(); +if (result.flags & 2) result.description = this.string(); +if (result.flags & 4) result.photo_id = this.long(); +if (result.flags & 8) result.author = this.string(); +if (result.flags & 16) result.published_date = this.int(); +return result; + }], + [370236054, function() { +const result = { _: 'pageBlockRelatedArticles' }; +result.title = this.predicate(); +result.articles = this.vector(this.predicate, false); +return result; + }], + [2756656886, function() { +const result = { _: 'pageBlockMap' }; +result.geo = this.predicate(); +result.zoom = this.int(); +result.w = this.int(); +result.h = this.int(); +result.caption = this.predicate(); +return result; + }], + [2556788493, function() { +const result = { _: 'page' }; +result.flags = this.int(); +result.part = !!(result.flags & 1); +result.rtl = !!(result.flags & 2); +result.v2 = !!(result.flags & 4); +result.url = this.string(); +result.blocks = this.vector(this.predicate, false); +result.photos = this.vector(this.predicate, false); +result.documents = this.vector(this.predicate, false); +if (result.flags & 8) result.views = this.int(); +return result; + }], + [3684593874, function() { +const result = { _: 'inputPrivacyKeyPhoneP2P' }; +return result; + }], + [961092808, function() { +const result = { _: 'privacyKeyPhoneP2P' }; +return result; + }], + [894777186, function() { +const result = { _: 'textAnchor' }; +result.text = this.predicate(); +result.name = this.string(); +return result; + }], + [2349199817, function() { +const result = { _: 'help.supportName' }; +result.name = this.string(); +return result; + }], + [4088278765, function() { +const result = { _: 'help.userInfoEmpty' }; +return result; + }], + [32192344, function() { +const result = { _: 'help.userInfo' }; +result.message = this.string(); +result.entities = this.vector(this.predicate, false); +result.author = this.string(); +result.date = this.int(); +return result; + }], + [4092747638, function() { +const result = { _: 'messageActionContactSignUp' }; +return result; + }], + [2896258427, function() { +const result = { _: 'updateMessagePoll' }; +result.flags = this.int(); +result.poll_id = this.long(); +if (result.flags & 1) result.poll = this.predicate(); +result.results = this.predicate(); +return result; + }], + [1823064809, function() { +const result = { _: 'pollAnswer' }; +result.text = this.string(); +result.option = this.bytes(); +return result; + }], + [2262925665, function() { +const result = { _: 'poll' }; +result.id = this.long(); +result.flags = this.int(); +result.closed = !!(result.flags & 1); +result.public_voters = !!(result.flags & 2); +result.multiple_choice = !!(result.flags & 4); +result.quiz = !!(result.flags & 8); +result.question = this.string(); +result.answers = this.vector(this.predicate, false); +if (result.flags & 16) result.close_period = this.int(); +if (result.flags & 32) result.close_date = this.int(); +return result; + }], + [997055186, function() { +const result = { _: 'pollAnswerVoters' }; +result.flags = this.int(); +result.chosen = !!(result.flags & 1); +result.correct = !!(result.flags & 2); +result.option = this.bytes(); +result.voters = this.int(); +return result; + }], + [2061444128, function() { +const result = { _: 'pollResults' }; +result.flags = this.int(); +result.min = !!(result.flags & 1); +if (result.flags & 2) result.results = this.vector(this.predicate); +if (result.flags & 4) result.total_voters = this.int(); +if (result.flags & 8) result.recent_voters = this.vector(this.predicate); +if (result.flags & 16) result.solution = this.string(); +if (result.flags & 16) result.solution_entities = this.vector(this.predicate); +return result; + }], + [261416433, function() { +const result = { _: 'inputMediaPoll' }; +result.flags = this.int(); +result.poll = this.predicate(); +if (result.flags & 1) result.correct_answers = this.vector(this.bytes); +if (result.flags & 2) result.solution = this.string(); +if (result.flags & 2) result.solution_entities = this.vector(this.predicate); +return result; + }], + [1272375192, function() { +const result = { _: 'messageMediaPoll' }; +result.poll = this.predicate(); +result.results = this.predicate(); +return result; + }], + [4030849616, function() { +const result = { _: 'chatOnlines' }; +result.onlines = this.int(); +return result; + }], + [1202287072, function() { +const result = { _: 'statsURL' }; +result.url = this.string(); +return result; + }], + [3769678894, function() { +const result = { _: 'photoStrippedSize' }; +result.type = this.string(); +result.bytes = this.bytes(); +return result; + }], + [1605510357, function() { +const result = { _: 'chatAdminRights' }; +result.flags = this.int(); +result.change_info = !!(result.flags & 1); +result.post_messages = !!(result.flags & 2); +result.edit_messages = !!(result.flags & 4); +result.delete_messages = !!(result.flags & 8); +result.ban_users = !!(result.flags & 16); +result.invite_users = !!(result.flags & 32); +result.pin_messages = !!(result.flags & 128); +result.add_admins = !!(result.flags & 512); +result.anonymous = !!(result.flags & 1024); +result.manage_call = !!(result.flags & 2048); +result.other = !!(result.flags & 4096); +result.manage_topics = !!(result.flags & 8192); +result.post_stories = !!(result.flags & 16384); +result.edit_stories = !!(result.flags & 32768); +result.delete_stories = !!(result.flags & 65536); +return result; + }], + [2668758040, function() { +const result = { _: 'chatBannedRights' }; +result.flags = this.int(); +result.view_messages = !!(result.flags & 1); +result.send_messages = !!(result.flags & 2); +result.send_media = !!(result.flags & 4); +result.send_stickers = !!(result.flags & 8); +result.send_gifs = !!(result.flags & 16); +result.send_games = !!(result.flags & 32); +result.send_inline = !!(result.flags & 64); +result.embed_links = !!(result.flags & 128); +result.send_polls = !!(result.flags & 256); +result.change_info = !!(result.flags & 1024); +result.invite_users = !!(result.flags & 32768); +result.pin_messages = !!(result.flags & 131072); +result.manage_topics = !!(result.flags & 262144); +result.send_photos = !!(result.flags & 524288); +result.send_videos = !!(result.flags & 1048576); +result.send_roundvideos = !!(result.flags & 2097152); +result.send_audios = !!(result.flags & 4194304); +result.send_voices = !!(result.flags & 8388608); +result.send_docs = !!(result.flags & 16777216); +result.send_plain = !!(result.flags & 33554432); +result.until_date = this.int(); +return result; + }], + [1421875280, function() { +const result = { _: 'updateChatDefaultBannedRights' }; +result.peer = this.predicate(); +result.default_banned_rights = this.predicate(); +result.version = this.int(); +return result; + }], + [3861952889, function() { +const result = { _: 'inputWallPaper' }; +result.id = this.long(); +result.access_hash = this.long(); +return result; + }], + [1913199744, function() { +const result = { _: 'inputWallPaperSlug' }; +result.slug = this.string(); +return result; + }], + [3144345741, function() { +const result = { _: 'channelParticipantsContacts' }; +result.q = this.string(); +return result; + }], + [771095562, function() { +const result = { _: 'channelAdminLogEventActionDefaultBannedRights' }; +result.prev_banned_rights = this.predicate(); +result.new_banned_rights = this.predicate(); +return result; + }], + [2399639107, function() { +const result = { _: 'channelAdminLogEventActionStopPoll' }; +result.message = this.predicate(); +return result; + }], + [471437699, function() { +const result = { _: 'account.wallPapersNotModified' }; +return result; + }], + [3452142988, function() { +const result = { _: 'account.wallPapers' }; +result.hash = this.long(); +result.wallpapers = this.vector(this.predicate, false); +return result; + }], + [2904898936, function() { +const result = { _: 'codeSettings' }; +result.flags = this.int(); +result.allow_flashcall = !!(result.flags & 1); +result.current_number = !!(result.flags & 2); +result.allow_app_hash = !!(result.flags & 16); +result.allow_missed_call = !!(result.flags & 32); +result.allow_firebase = !!(result.flags & 128); +if (result.flags & 64) result.logout_tokens = this.vector(this.bytes); +if (result.flags & 256) result.token = this.string(); +if (result.flags & 256) result.app_sandbox = this.predicate(); +return result; + }], + [925826256, function() { +const result = { _: 'wallPaperSettings' }; +result.flags = this.int(); +result.blur = !!(result.flags & 2); +result.motion = !!(result.flags & 4); +if (result.flags & 1) result.background_color = this.int(); +if (result.flags & 16) result.second_background_color = this.int(); +if (result.flags & 32) result.third_background_color = this.int(); +if (result.flags & 64) result.fourth_background_color = this.int(); +if (result.flags & 8) result.intensity = this.int(); +if (result.flags & 16) result.rotation = this.int(); +if (result.flags & 128) result.emoticon = this.string(); +return result; + }], + [3131405864, function() { +const result = { _: 'autoDownloadSettings' }; +result.flags = this.int(); +result.disabled = !!(result.flags & 1); +result.video_preload_large = !!(result.flags & 2); +result.audio_preload_next = !!(result.flags & 4); +result.phonecalls_less_data = !!(result.flags & 8); +result.stories_preload = !!(result.flags & 16); +result.photo_size_max = this.int(); +result.video_size_max = this.long(); +result.file_size_max = this.long(); +result.video_upload_maxbitrate = this.int(); +result.small_queue_active_operations_max = this.int(); +result.large_queue_active_operations_max = this.int(); +return result; + }], + [1674235686, function() { +const result = { _: 'account.autoDownloadSettings' }; +result.low = this.predicate(); +result.medium = this.predicate(); +result.high = this.predicate(); +return result; + }], + [3585325561, function() { +const result = { _: 'emojiKeyword' }; +result.keyword = this.string(); +result.emoticons = this.vector(this.string, false); +return result; + }], + [594408994, function() { +const result = { _: 'emojiKeywordDeleted' }; +result.keyword = this.string(); +result.emoticons = this.vector(this.string, false); +return result; + }], + [1556570557, function() { +const result = { _: 'emojiKeywordsDifference' }; +result.lang_code = this.string(); +result.from_version = this.int(); +result.version = this.int(); +result.keywords = this.vector(this.predicate, false); +return result; + }], + [2775937949, function() { +const result = { _: 'emojiURL' }; +result.url = this.string(); +return result; + }], + [3019592545, function() { +const result = { _: 'emojiLanguage' }; +result.lang_code = this.string(); +return result; + }], + [2765966344, function() { +const result = { _: 'inputPrivacyKeyForwards' }; +return result; + }], + [1777096355, function() { +const result = { _: 'privacyKeyForwards' }; +return result; + }], + [1461304012, function() { +const result = { _: 'inputPrivacyKeyProfilePhoto' }; +return result; + }], + [2517966829, function() { +const result = { _: 'privacyKeyProfilePhoto' }; +return result; + }], + [1075322878, function() { +const result = { _: 'inputPhotoFileLocation' }; +result.id = this.long(); +result.access_hash = this.long(); +result.file_reference = this.bytes(); +result.thumb_size = this.string(); +return result; + }], + [3627312883, function() { +const result = { _: 'inputPhotoLegacyFileLocation' }; +result.id = this.long(); +result.access_hash = this.long(); +result.file_reference = this.bytes(); +result.volume_id = this.long(); +result.local_id = this.int(); +result.secret = this.long(); +return result; + }], + [925204121, function() { +const result = { _: 'inputPeerPhotoFileLocation' }; +result.flags = this.int(); +result.big = !!(result.flags & 1); +result.peer = this.predicate(); +result.photo_id = this.long(); +return result; + }], + [2642736091, function() { +const result = { _: 'inputStickerSetThumb' }; +result.stickerset = this.predicate(); +result.thumb_version = this.int(); +return result; + }], + [4283715173, function() { +const result = { _: 'folder' }; +result.flags = this.int(); +result.autofill_new_broadcasts = !!(result.flags & 1); +result.autofill_public_groups = !!(result.flags & 2); +result.autofill_new_correspondents = !!(result.flags & 4); +result.id = this.int(); +result.title = this.string(); +if (result.flags & 8) result.photo = this.predicate(); +return result; + }], + [1908216652, function() { +const result = { _: 'dialogFolder' }; +result.flags = this.int(); +result.pinned = !!(result.flags & 4); +result.folder = this.predicate(); +result.peer = this.predicate(); +result.top_message = this.int(); +result.unread_muted_peers_count = this.int(); +result.unread_unmuted_peers_count = this.int(); +result.unread_muted_messages_count = this.int(); +result.unread_unmuted_messages_count = this.int(); +return result; + }], + [1684014375, function() { +const result = { _: 'inputDialogPeerFolder' }; +result.folder_id = this.int(); +return result; + }], + [1363483106, function() { +const result = { _: 'dialogPeerFolder' }; +result.folder_id = this.int(); +return result; + }], + [4224893590, function() { +const result = { _: 'inputFolderPeer' }; +result.peer = this.predicate(); +result.folder_id = this.int(); +return result; + }], + [3921323624, function() { +const result = { _: 'folderPeer' }; +result.peer = this.predicate(); +result.folder_id = this.int(); +return result; + }], + [422972864, function() { +const result = { _: 'updateFolderPeers' }; +result.folder_peers = this.vector(this.predicate, false); +result.pts = this.int(); +result.pts_count = this.int(); +return result; + }], + [497305826, function() { +const result = { _: 'inputUserFromMessage' }; +result.peer = this.predicate(); +result.msg_id = this.int(); +result.user_id = this.long(); +return result; + }], + [1536380829, function() { +const result = { _: 'inputChannelFromMessage' }; +result.peer = this.predicate(); +result.msg_id = this.int(); +result.channel_id = this.long(); +return result; + }], + [2826635804, function() { +const result = { _: 'inputPeerUserFromMessage' }; +result.peer = this.predicate(); +result.msg_id = this.int(); +result.user_id = this.long(); +return result; + }], + [3173648448, function() { +const result = { _: 'inputPeerChannelFromMessage' }; +result.peer = this.predicate(); +result.msg_id = this.int(); +result.channel_id = this.long(); +return result; + }], + [55761658, function() { +const result = { _: 'inputPrivacyKeyPhoneNumber' }; +return result; + }], + [3516589165, function() { +const result = { _: 'privacyKeyPhoneNumber' }; +return result; + }], + [2822794409, function() { +const result = { _: 'topPeerCategoryForwardUsers' }; +return result; + }], + [4226728176, function() { +const result = { _: 'topPeerCategoryForwardChats' }; +return result; + }], + [84703944, function() { +const result = { _: 'channelAdminLogEventActionChangeLinkedChat' }; +result.prev_value = this.long(); +result.new_value = this.long(); +return result; + }], + [3896830975, function() { +const result = { _: 'messages.searchCounter' }; +result.flags = this.int(); +result.inexact = !!(result.flags & 2); +result.filter = this.predicate(); +result.count = this.int(); +return result; + }], + [280464681, function() { +const result = { _: 'keyboardButtonUrlAuth' }; +result.flags = this.int(); +result.text = this.string(); +if (result.flags & 1) result.fwd_text = this.string(); +result.url = this.string(); +result.button_id = this.int(); +return result; + }], + [3492708308, function() { +const result = { _: 'inputKeyboardButtonUrlAuth' }; +result.flags = this.int(); +result.request_write_access = !!(result.flags & 1); +result.text = this.string(); +if (result.flags & 2) result.fwd_text = this.string(); +result.url = this.string(); +result.bot = this.predicate(); +return result; + }], + [2463316494, function() { +const result = { _: 'urlAuthResultRequest' }; +result.flags = this.int(); +result.request_write_access = !!(result.flags & 1); +result.bot = this.predicate(); +result.domain = this.string(); +return result; + }], + [2408320590, function() { +const result = { _: 'urlAuthResultAccepted' }; +result.url = this.string(); +return result; + }], + [2849430303, function() { +const result = { _: 'urlAuthResultDefault' }; +return result; + }], + [2215004623, function() { +const result = { _: 'inputPrivacyValueAllowChatParticipants' }; +result.chats = this.vector(this.long, false); +return result; + }], + [3914272646, function() { +const result = { _: 'inputPrivacyValueDisallowChatParticipants' }; +result.chats = this.vector(this.long, false); +return result; + }], + [1796427406, function() { +const result = { _: 'privacyValueAllowChatParticipants' }; +result.chats = this.vector(this.long, false); +return result; + }], + [1103656293, function() { +const result = { _: 'privacyValueDisallowChatParticipants' }; +result.chats = this.vector(this.long, false); +return result; + }], + [2622389899, function() { +const result = { _: 'messageEntityUnderline' }; +result.offset = this.int(); +result.length = this.int(); +return result; + }], + [3204879316, function() { +const result = { _: 'messageEntityStrike' }; +result.offset = this.int(); +result.length = this.int(); +return result; + }], + [1786671974, function() { +const result = { _: 'updatePeerSettings' }; +result.peer = this.predicate(); +result.settings = this.predicate(); +return result; + }], + [3216354699, function() { +const result = { _: 'channelLocationEmpty' }; +return result; + }], + [547062491, function() { +const result = { _: 'channelLocation' }; +result.geo_point = this.predicate(); +result.address = this.string(); +return result; + }], + [3393592157, function() { +const result = { _: 'peerLocated' }; +result.peer = this.predicate(); +result.expires = this.int(); +result.distance = this.int(); +return result; + }], + [3031420848, function() { +const result = { _: 'updatePeerLocated' }; +result.peers = this.vector(this.predicate, false); +return result; + }], + [241923758, function() { +const result = { _: 'channelAdminLogEventActionChangeLocation' }; +result.prev_value = this.predicate(); +result.new_value = this.predicate(); +return result; + }], + [3688169197, function() { +const result = { _: 'inputReportReasonGeoIrrelevant' }; +return result; + }], + [1401984889, function() { +const result = { _: 'channelAdminLogEventActionToggleSlowMode' }; +result.prev_value = this.int(); +result.new_value = this.int(); +return result; + }], + [1148485274, function() { +const result = { _: 'auth.authorizationSignUpRequired' }; +result.flags = this.int(); +if (result.flags & 1) result.terms_of_service = this.predicate(); +return result; + }], + [3628142905, function() { +const result = { _: 'payments.paymentVerificationNeeded' }; +result.url = this.string(); +return result; + }], + [42402760, function() { +const result = { _: 'inputStickerSetAnimatedEmoji' }; +return result; + }], + [967122427, function() { +const result = { _: 'updateNewScheduledMessage' }; +result.message = this.predicate(); +return result; + }], + [2424728814, function() { +const result = { _: 'updateDeleteScheduledMessages' }; +result.peer = this.predicate(); +result.messages = this.vector(this.int, false); +return result; + }], + [3497176244, function() { +const result = { _: 'restrictionReason' }; +result.platform = this.string(); +result.reason = this.string(); +result.text = this.string(); +return result; + }], + [1012306921, function() { +const result = { _: 'inputTheme' }; +result.id = this.long(); +result.access_hash = this.long(); +return result; + }], + [4119399921, function() { +const result = { _: 'inputThemeSlug' }; +result.slug = this.string(); +return result; + }], + [2685298646, function() { +const result = { _: 'theme' }; +result.flags = this.int(); +result.creator = !!(result.flags & 1); +result.default = !!(result.flags & 2); +result.for_chat = !!(result.flags & 32); +result.id = this.long(); +result.access_hash = this.long(); +result.slug = this.string(); +result.title = this.string(); +if (result.flags & 4) result.document = this.predicate(); +if (result.flags & 8) result.settings = this.vector(this.predicate); +if (result.flags & 64) result.emoticon = this.string(); +if (result.flags & 16) result.installs_count = this.int(); +return result; + }], + [4095653410, function() { +const result = { _: 'account.themesNotModified' }; +return result; + }], + [2587724909, function() { +const result = { _: 'account.themes' }; +result.hash = this.long(); +result.themes = this.vector(this.predicate, false); +return result; + }], + [2182544291, function() { +const result = { _: 'updateTheme' }; +result.theme = this.predicate(); +return result; + }], + [3508640733, function() { +const result = { _: 'inputPrivacyKeyAddedByPhone' }; +return result; + }], + [1124062251, function() { +const result = { _: 'privacyKeyAddedByPhone' }; +return result; + }], + [2267003193, function() { +const result = { _: 'updateGeoLiveViewed' }; +result.peer = this.predicate(); +result.msg_id = this.int(); +return result; + }], + [1448076945, function() { +const result = { _: 'updateLoginToken' }; +return result; + }], + [1654593920, function() { +const result = { _: 'auth.loginToken' }; +result.expires = this.int(); +result.token = this.bytes(); +return result; + }], + [110008598, function() { +const result = { _: 'auth.loginTokenMigrateTo' }; +result.dc_id = this.int(); +result.token = this.bytes(); +return result; + }], + [957176926, function() { +const result = { _: 'auth.loginTokenSuccess' }; +result.authorization = this.predicate(); +return result; + }], + [1474462241, function() { +const result = { _: 'account.contentSettings' }; +result.flags = this.int(); +result.sensitive_enabled = !!(result.flags & 1); +result.sensitive_can_change = !!(result.flags & 2); +return result; + }], + [2837970629, function() { +const result = { _: 'messages.inactiveChats' }; +result.dates = this.vector(this.int, false); +result.chats = this.vector(this.predicate, false); +result.users = this.vector(this.predicate, false); +return result; + }], + [3282117730, function() { +const result = { _: 'baseThemeClassic' }; +return result; + }], + [4225242760, function() { +const result = { _: 'baseThemeDay' }; +return result; + }], + [3081969320, function() { +const result = { _: 'baseThemeNight' }; +return result; + }], + [1834973166, function() { +const result = { _: 'baseThemeTinted' }; +return result; + }], + [1527845466, function() { +const result = { _: 'baseThemeArctic' }; +return result; + }], + [2524595758, function() { +const result = { _: 'inputWallPaperNoFile' }; +result.id = this.long(); +return result; + }], + [3766501654, function() { +const result = { _: 'wallPaperNoFile' }; +result.id = this.long(); +result.flags = this.int(); +result.default = !!(result.flags & 2); +result.dark = !!(result.flags & 16); +if (result.flags & 4) result.settings = this.predicate(); +return result; + }], + [2413711439, function() { +const result = { _: 'inputThemeSettings' }; +result.flags = this.int(); +result.message_colors_animated = !!(result.flags & 4); +result.base_theme = this.predicate(); +result.accent_color = this.int(); +if (result.flags & 8) result.outbox_accent_color = this.int(); +if (result.flags & 1) result.message_colors = this.vector(this.int); +if (result.flags & 2) result.wallpaper = this.predicate(); +if (result.flags & 2) result.wallpaper_settings = this.predicate(); +return result; + }], + [4200117972, function() { +const result = { _: 'themeSettings' }; +result.flags = this.int(); +result.message_colors_animated = !!(result.flags & 4); +result.base_theme = this.predicate(); +result.accent_color = this.int(); +if (result.flags & 8) result.outbox_accent_color = this.int(); +if (result.flags & 1) result.message_colors = this.vector(this.int); +if (result.flags & 2) result.wallpaper = this.predicate(); +return result; + }], + [1421174295, function() { +const result = { _: 'webPageAttributeTheme' }; +result.flags = this.int(); +if (result.flags & 1) result.documents = this.vector(this.predicate); +if (result.flags & 2) result.settings = this.predicate(); +return result; + }], + [619974263, function() { +const result = { _: 'updateMessagePollVote' }; +result.poll_id = this.long(); +result.peer = this.predicate(); +result.options = this.vector(this.bytes, false); +result.qts = this.int(); +return result; + }], + [1218005070, function() { +const result = { _: 'messages.votesList' }; +result.flags = this.int(); +result.count = this.int(); +result.votes = this.vector(this.predicate, false); +result.chats = this.vector(this.predicate, false); +result.users = this.vector(this.predicate, false); +if (result.flags & 1) result.next_offset = this.string(); +return result; + }], + [3150401885, function() { +const result = { _: 'keyboardButtonRequestPoll' }; +result.flags = this.int(); +if (result.flags & 1) result.quiz = this.predicate(); +result.text = this.string(); +return result; + }], + [1981704948, function() { +const result = { _: 'messageEntityBankCard' }; +result.offset = this.int(); +result.length = this.int(); +return result; + }], + [4117234314, function() { +const result = { _: 'bankCardOpenUrl' }; +result.url = this.string(); +result.name = this.string(); +return result; + }], + [1042605427, function() { +const result = { _: 'payments.bankCardData' }; +result.title = this.string(); +result.open_urls = this.vector(this.predicate, false); +return result; + }], + [4176226379, function() { +const result = { _: 'peerSelfLocated' }; +result.expires = this.int(); +return result; + }], + [1949890536, function() { +const result = { _: 'dialogFilter' }; +result.flags = this.int(); +result.contacts = !!(result.flags & 1); +result.non_contacts = !!(result.flags & 2); +result.groups = !!(result.flags & 4); +result.broadcasts = !!(result.flags & 8); +result.bots = !!(result.flags & 16); +result.exclude_muted = !!(result.flags & 2048); +result.exclude_read = !!(result.flags & 4096); +result.exclude_archived = !!(result.flags & 8192); +result.id = this.int(); +result.title = this.string(); +if (result.flags & 33554432) result.emoticon = this.string(); +result.pinned_peers = this.vector(this.predicate, false); +result.include_peers = this.vector(this.predicate, false); +result.exclude_peers = this.vector(this.predicate, false); +return result; + }], + [2004110666, function() { +const result = { _: 'dialogFilterSuggested' }; +result.filter = this.predicate(); +result.description = this.string(); +return result; + }], + [654302845, function() { +const result = { _: 'updateDialogFilter' }; +result.flags = this.int(); +result.id = this.int(); +if (result.flags & 1) result.filter = this.predicate(); +return result; + }], + [2782339333, function() { +const result = { _: 'updateDialogFilterOrder' }; +result.order = this.vector(this.int, false); +return result; + }], + [889491791, function() { +const result = { _: 'updateDialogFilters' }; +return result; + }], + [3057118639, function() { +const result = { _: 'statsDateRangeDays' }; +result.min_date = this.int(); +result.max_date = this.int(); +return result; + }], + [3410210014, function() { +const result = { _: 'statsAbsValueAndPrev' }; +result.current = this.double(); +result.previous = this.double(); +return result; + }], + [3419287520, function() { +const result = { _: 'statsPercentValue' }; +result.part = this.double(); +result.total = this.double(); +return result; + }], + [1244130093, function() { +const result = { _: 'statsGraphAsync' }; +result.token = this.string(); +return result; + }], + [3202127906, function() { +const result = { _: 'statsGraphError' }; +result.error = this.string(); +return result; + }], + [2393138358, function() { +const result = { _: 'statsGraph' }; +result.flags = this.int(); +result.json = this.predicate(); +if (result.flags & 1) result.zoom_token = this.string(); +return result; + }], + [963421692, function() { +const result = { _: 'stats.broadcastStats' }; +result.period = this.predicate(); +result.followers = this.predicate(); +result.views_per_post = this.predicate(); +result.shares_per_post = this.predicate(); +result.reactions_per_post = this.predicate(); +result.views_per_story = this.predicate(); +result.shares_per_story = this.predicate(); +result.reactions_per_story = this.predicate(); +result.enabled_notifications = this.predicate(); +result.growth_graph = this.predicate(); +result.followers_graph = this.predicate(); +result.mute_graph = this.predicate(); +result.top_hours_graph = this.predicate(); +result.interactions_graph = this.predicate(); +result.iv_interactions_graph = this.predicate(); +result.views_by_source_graph = this.predicate(); +result.new_followers_by_source_graph = this.predicate(); +result.languages_graph = this.predicate(); +result.reactions_by_emotion_graph = this.predicate(); +result.story_interactions_graph = this.predicate(); +result.story_reactions_by_emotion_graph = this.predicate(); +result.recent_posts_interactions = this.vector(this.predicate, false); +return result; + }], + [3866083195, function() { +const result = { _: 'inputMediaDice' }; +result.emoticon = this.string(); +return result; + }], + [1065280907, function() { +const result = { _: 'messageMediaDice' }; +result.value = this.int(); +result.emoticon = this.string(); +return result; + }], + [3867103758, function() { +const result = { _: 'inputStickerSetDice' }; +result.emoticon = this.string(); +return result; + }], + [2566302837, function() { +const result = { _: 'help.promoDataEmpty' }; +result.expires = this.int(); +return result; + }], + [2352576831, function() { +const result = { _: 'help.promoData' }; +result.flags = this.int(); +result.proxy = !!(result.flags & 1); +result.expires = this.int(); +result.peer = this.predicate(); +result.chats = this.vector(this.predicate, false); +result.users = this.vector(this.predicate, false); +if (result.flags & 2) result.psa_type = this.string(); +if (result.flags & 4) result.psa_message = this.string(); +return result; + }], + [3727929492, function() { +const result = { _: 'videoSize' }; +result.flags = this.int(); +result.type = this.string(); +result.w = this.int(); +result.h = this.int(); +result.size = this.int(); +if (result.flags & 1) result.video_start_ts = this.double(); +return result; + }], + [643940105, function() { +const result = { _: 'updatePhoneCallSignalingData' }; +result.phone_call_id = this.long(); +result.data = this.bytes(); +return result; + }], + [1634294960, function() { +const result = { _: 'chatInvitePeek' }; +result.chat = this.predicate(); +result.expires = this.int(); +return result; + }], + [2634330011, function() { +const result = { _: 'statsGroupTopPoster' }; +result.user_id = this.long(); +result.messages = this.int(); +result.avg_chars = this.int(); +return result; + }], + [3612888199, function() { +const result = { _: 'statsGroupTopAdmin' }; +result.user_id = this.long(); +result.deleted = this.int(); +result.kicked = this.int(); +result.banned = this.int(); +return result; + }], + [1398765469, function() { +const result = { _: 'statsGroupTopInviter' }; +result.user_id = this.long(); +result.invitations = this.int(); +return result; + }], + [4018141462, function() { +const result = { _: 'stats.megagroupStats' }; +result.period = this.predicate(); +result.members = this.predicate(); +result.messages = this.predicate(); +result.viewers = this.predicate(); +result.posters = this.predicate(); +result.growth_graph = this.predicate(); +result.members_graph = this.predicate(); +result.new_members_by_source_graph = this.predicate(); +result.languages_graph = this.predicate(); +result.messages_graph = this.predicate(); +result.actions_graph = this.predicate(); +result.top_hours_graph = this.predicate(); +result.weekdays_graph = this.predicate(); +result.top_posters = this.vector(this.predicate, false); +result.top_admins = this.vector(this.predicate, false); +result.top_inviters = this.vector(this.predicate, false); +result.users = this.vector(this.predicate, false); +return result; + }], + [1934380235, function() { +const result = { _: 'globalPrivacySettings' }; +result.flags = this.int(); +result.archive_and_mute_new_noncontact_peers = !!(result.flags & 1); +result.keep_archived_unmuted = !!(result.flags & 2); +result.keep_archived_folders = !!(result.flags & 4); +return result; + }], + [1667228533, function() { +const result = { _: 'phoneConnectionWebrtc' }; +result.flags = this.int(); +result.turn = !!(result.flags & 1); +result.stun = !!(result.flags & 2); +result.id = this.long(); +result.ip = this.string(); +result.ipv6 = this.string(); +result.port = this.int(); +result.username = this.string(); +result.password = this.string(); +return result; + }], + [1107543535, function() { +const result = { _: 'help.countryCode' }; +result.flags = this.int(); +result.country_code = this.string(); +if (result.flags & 1) result.prefixes = this.vector(this.string); +if (result.flags & 2) result.patterns = this.vector(this.string); +return result; + }], + [3280440867, function() { +const result = { _: 'help.country' }; +result.flags = this.int(); +result.hidden = !!(result.flags & 1); +result.iso2 = this.string(); +result.default_name = this.string(); +if (result.flags & 2) result.name = this.string(); +result.country_codes = this.vector(this.predicate, false); +return result; + }], + [2479628082, function() { +const result = { _: 'help.countriesListNotModified' }; +return result; + }], + [2278585758, function() { +const result = { _: 'help.countriesList' }; +result.countries = this.vector(this.predicate, false); +result.hash = this.int(); +return result; + }], + [1163625789, function() { +const result = { _: 'messageViews' }; +result.flags = this.int(); +if (result.flags & 1) result.views = this.int(); +if (result.flags & 2) result.forwards = this.int(); +if (result.flags & 4) result.replies = this.predicate(); +return result; + }], + [3533318132, function() { +const result = { _: 'updateChannelMessageForwards' }; +result.channel_id = this.long(); +result.id = this.int(); +result.forwards = this.int(); +return result; + }], + [4198431637, function() { +const result = { _: 'photoSizeProgressive' }; +result.type = this.string(); +result.w = this.int(); +result.h = this.int(); +result.sizes = this.vector(this.int, false); +return result; + }], + [3066361155, function() { +const result = { _: 'messages.messageViews' }; +result.views = this.vector(this.predicate, false); +result.chats = this.vector(this.predicate, false); +result.users = this.vector(this.predicate, false); +return result; + }], + [3601962310, function() { +const result = { _: 'updateReadChannelDiscussionInbox' }; +result.flags = this.int(); +result.channel_id = this.long(); +result.top_msg_id = this.int(); +result.read_max_id = this.int(); +if (result.flags & 1) result.broadcast_id = this.long(); +if (result.flags & 1) result.broadcast_post = this.int(); +return result; + }], + [1767677564, function() { +const result = { _: 'updateReadChannelDiscussionOutbox' }; +result.channel_id = this.long(); +result.top_msg_id = this.int(); +result.read_max_id = this.int(); +return result; + }], + [2788431746, function() { +const result = { _: 'messages.discussionMessage' }; +result.flags = this.int(); +result.messages = this.vector(this.predicate, false); +if (result.flags & 1) result.max_id = this.int(); +if (result.flags & 2) result.read_inbox_max_id = this.int(); +if (result.flags & 4) result.read_outbox_max_id = this.int(); +result.unread_count = this.int(); +result.chats = this.vector(this.predicate, false); +result.users = this.vector(this.predicate, false); +return result; + }], + [2948336091, function() { +const result = { _: 'messageReplyHeader' }; +result.flags = this.int(); +result.reply_to_scheduled = !!(result.flags & 4); +result.forum_topic = !!(result.flags & 8); +result.quote = !!(result.flags & 512); +if (result.flags & 16) result.reply_to_msg_id = this.int(); +if (result.flags & 1) result.reply_to_peer_id = this.predicate(); +if (result.flags & 32) result.reply_from = this.predicate(); +if (result.flags & 256) result.reply_media = this.predicate(); +if (result.flags & 2) result.reply_to_top_id = this.int(); +if (result.flags & 64) result.quote_text = this.string(); +if (result.flags & 128) result.quote_entities = this.vector(this.predicate); +if (result.flags & 1024) result.quote_offset = this.int(); +return result; + }], + [2211844034, function() { +const result = { _: 'messageReplies' }; +result.flags = this.int(); +result.comments = !!(result.flags & 1); +result.replies = this.int(); +result.replies_pts = this.int(); +if (result.flags & 2) result.recent_repliers = this.vector(this.predicate); +if (result.flags & 1) result.channel_id = this.long(); +if (result.flags & 4) result.max_id = this.int(); +if (result.flags & 8) result.read_max_id = this.int(); +return result; + }], + [3957356370, function() { +const result = { _: 'updatePeerBlocked' }; +result.flags = this.int(); +result.blocked = !!(result.flags & 1); +result.blocked_my_stories_from = !!(result.flags & 2); +result.peer_id = this.predicate(); +return result; + }], + [3908927508, function() { +const result = { _: 'peerBlocked' }; +result.peer_id = this.predicate(); +result.date = this.int(); +return result; + }], + [2357774627, function() { +const result = { _: 'updateChannelUserTyping' }; +result.flags = this.int(); +result.channel_id = this.long(); +if (result.flags & 1) result.top_msg_id = this.int(); +result.from_id = this.predicate(); +result.action = this.predicate(); +return result; + }], + [2902071934, function() { +const result = { _: 'inputMessageCallbackQuery' }; +result.id = this.int(); +result.query_id = this.long(); +return result; + }], + [453242886, function() { +const result = { _: 'channelParticipantLeft' }; +result.peer = this.predicate(); +return result; + }], + [3763035371, function() { +const result = { _: 'channelParticipantsMentions' }; +result.flags = this.int(); +if (result.flags & 1) result.q = this.string(); +if (result.flags & 2) result.top_msg_id = this.int(); +return result; + }], + [3984976565, function() { +const result = { _: 'updatePinnedMessages' }; +result.flags = this.int(); +result.pinned = !!(result.flags & 1); +result.peer = this.predicate(); +result.messages = this.vector(this.int, false); +result.pts = this.int(); +result.pts_count = this.int(); +return result; + }], + [1538885128, function() { +const result = { _: 'updatePinnedChannelMessages' }; +result.flags = this.int(); +result.pinned = !!(result.flags & 1); +result.channel_id = this.long(); +result.messages = this.vector(this.int, false); +result.pts = this.int(); +result.pts_count = this.int(); +return result; + }], + [464520273, function() { +const result = { _: 'inputMessagesFilterPinned' }; +return result; + }], + [2145983508, function() { +const result = { _: 'stats.messageStats' }; +result.views_graph = this.predicate(); +result.reactions_by_emotion_graph = this.predicate(); +return result; + }], + [2564871831, function() { +const result = { _: 'messageActionGeoProximityReached' }; +result.from_id = this.predicate(); +result.to_id = this.predicate(); +result.distance = this.int(); +return result; + }], + [3626061121, function() { +const result = { _: 'photoPathSize' }; +result.type = this.string(); +result.bytes = this.bytes(); +return result; + }], + [3643548293, function() { +const result = { _: 'speakingInGroupCallAction' }; +return result; + }], + [2004925620, function() { +const result = { _: 'groupCallDiscarded' }; +result.id = this.long(); +result.access_hash = this.long(); +result.duration = this.int(); +return result; + }], + [3583468812, function() { +const result = { _: 'groupCall' }; +result.flags = this.int(); +result.join_muted = !!(result.flags & 2); +result.can_change_join_muted = !!(result.flags & 4); +result.join_date_asc = !!(result.flags & 64); +result.schedule_start_subscribed = !!(result.flags & 256); +result.can_start_video = !!(result.flags & 512); +result.record_video_active = !!(result.flags & 2048); +result.rtmp_stream = !!(result.flags & 4096); +result.listeners_hidden = !!(result.flags & 8192); +result.id = this.long(); +result.access_hash = this.long(); +result.participants_count = this.int(); +if (result.flags & 8) result.title = this.string(); +if (result.flags & 16) result.stream_dc_id = this.int(); +if (result.flags & 32) result.record_start_date = this.int(); +if (result.flags & 128) result.schedule_date = this.int(); +if (result.flags & 1024) result.unmuted_video_count = this.int(); +result.unmuted_video_limit = this.int(); +result.version = this.int(); +return result; + }], + [3635053583, function() { +const result = { _: 'inputGroupCall' }; +result.id = this.long(); +result.access_hash = this.long(); +return result; + }], + [2047704898, function() { +const result = { _: 'messageActionGroupCall' }; +result.flags = this.int(); +result.call = this.predicate(); +if (result.flags & 1) result.duration = this.int(); +return result; + }], + [1345295095, function() { +const result = { _: 'messageActionInviteToGroupCall' }; +result.call = this.predicate(); +result.users = this.vector(this.long, false); +return result; + }], + [3953538814, function() { +const result = { _: 'groupCallParticipant' }; +result.flags = this.int(); +result.muted = !!(result.flags & 1); +result.left = !!(result.flags & 2); +result.can_self_unmute = !!(result.flags & 4); +result.just_joined = !!(result.flags & 16); +result.versioned = !!(result.flags & 32); +result.min = !!(result.flags & 256); +result.muted_by_you = !!(result.flags & 512); +result.volume_by_admin = !!(result.flags & 1024); +result.self = !!(result.flags & 4096); +result.video_joined = !!(result.flags & 32768); +result.peer = this.predicate(); +result.date = this.int(); +if (result.flags & 8) result.active_date = this.int(); +result.source = this.int(); +if (result.flags & 128) result.volume = this.int(); +if (result.flags & 2048) result.about = this.string(); +if (result.flags & 8192) result.raise_hand_rating = this.long(); +if (result.flags & 64) result.video = this.predicate(); +if (result.flags & 16384) result.presentation = this.predicate(); +return result; + }], + [4170869326, function() { +const result = { _: 'updateChat' }; +result.chat_id = this.long(); +return result; + }], + [4075543374, function() { +const result = { _: 'updateGroupCallParticipants' }; +result.call = this.predicate(); +result.participants = this.vector(this.predicate, false); +result.version = this.int(); +return result; + }], + [347227392, function() { +const result = { _: 'updateGroupCall' }; +result.chat_id = this.long(); +result.call = this.predicate(); +return result; + }], + [2658302637, function() { +const result = { _: 'phone.groupCall' }; +result.call = this.predicate(); +result.participants = this.vector(this.predicate, false); +result.participants_next_offset = this.string(); +result.chats = this.vector(this.predicate, false); +result.users = this.vector(this.predicate, false); +return result; + }], + [4101460406, function() { +const result = { _: 'phone.groupParticipants' }; +result.count = this.int(); +result.participants = this.vector(this.predicate, false); +result.next_offset = this.string(); +result.chats = this.vector(this.predicate, false); +result.users = this.vector(this.predicate, false); +result.version = this.int(); +return result; + }], + [813821341, function() { +const result = { _: 'inlineQueryPeerTypeSameBotPM' }; +return result; + }], + [2201751468, function() { +const result = { _: 'inlineQueryPeerTypePM' }; +return result; + }], + [3613836554, function() { +const result = { _: 'inlineQueryPeerTypeChat' }; +return result; + }], + [1589952067, function() { +const result = { _: 'inlineQueryPeerTypeMegagroup' }; +return result; + }], + [1664413338, function() { +const result = { _: 'inlineQueryPeerTypeBroadcast' }; +return result; + }], + [589338437, function() { +const result = { _: 'channelAdminLogEventActionStartGroupCall' }; +result.call = this.predicate(); +return result; + }], + [3684667712, function() { +const result = { _: 'channelAdminLogEventActionDiscardGroupCall' }; +result.call = this.predicate(); +return result; + }], + [4179895506, function() { +const result = { _: 'channelAdminLogEventActionParticipantMute' }; +result.participant = this.predicate(); +return result; + }], + [3863226816, function() { +const result = { _: 'channelAdminLogEventActionParticipantUnmute' }; +result.participant = this.predicate(); +return result; + }], + [1456906823, function() { +const result = { _: 'channelAdminLogEventActionToggleGroupCallSetting' }; +result.join_muted = this.predicate(); +return result; + }], + [2328045569, function() { +const result = { _: 'inputPaymentCredentialsGooglePay' }; +result.payment_token = this.predicate(); +return result; + }], + [375566091, function() { +const result = { _: 'messages.historyImport' }; +result.id = this.long(); +return result; + }], + [3688534598, function() { +const result = { _: 'sendMessageHistoryImportAction' }; +result.progress = this.int(); +return result; + }], + [1578088377, function() { +const result = { _: 'messages.historyImportParsed' }; +result.flags = this.int(); +result.pm = !!(result.flags & 1); +result.group = !!(result.flags & 2); +if (result.flags & 4) result.title = this.string(); +return result; + }], + [4124956391, function() { +const result = { _: 'inputReportReasonFake' }; +return result; + }], + [4019011180, function() { +const result = { _: 'messages.affectedFoundMessages' }; +result.pts = this.int(); +result.pts_count = this.int(); +result.offset = this.int(); +result.messages = this.vector(this.int, false); +return result; + }], + [1007897979, function() { +const result = { _: 'messageActionSetMessagesTTL' }; +result.flags = this.int(); +result.period = this.int(); +if (result.flags & 1) result.auto_setting_from = this.long(); +return result; + }], + [3147544997, function() { +const result = { _: 'updatePeerHistoryTTL' }; +result.flags = this.int(); +result.peer = this.predicate(); +if (result.flags & 1) result.ttl_period = this.int(); +return result; + }], + [3498534458, function() { +const result = { _: 'updateChatParticipant' }; +result.flags = this.int(); +result.chat_id = this.long(); +result.date = this.int(); +result.actor_id = this.long(); +result.user_id = this.long(); +if (result.flags & 1) result.prev_participant = this.predicate(); +if (result.flags & 2) result.new_participant = this.predicate(); +if (result.flags & 4) result.invite = this.predicate(); +result.qts = this.int(); +return result; + }], + [2556246715, function() { +const result = { _: 'updateChannelParticipant' }; +result.flags = this.int(); +result.via_chatlist = !!(result.flags & 8); +result.channel_id = this.long(); +result.date = this.int(); +result.actor_id = this.long(); +result.user_id = this.long(); +if (result.flags & 1) result.prev_participant = this.predicate(); +if (result.flags & 2) result.new_participant = this.predicate(); +if (result.flags & 4) result.invite = this.predicate(); +result.qts = this.int(); +return result; + }], + [3297184329, function() { +const result = { _: 'updateBotStopped' }; +result.user_id = this.long(); +result.date = this.int(); +result.stopped = this.predicate(); +result.qts = this.int(); +return result; + }], + [2354765785, function() { +const result = { _: 'chatInviteImporter' }; +result.flags = this.int(); +result.requested = !!(result.flags & 1); +result.via_chatlist = !!(result.flags & 8); +result.user_id = this.long(); +result.date = this.int(); +if (result.flags & 4) result.about = this.string(); +if (result.flags & 2) result.approved_by = this.long(); +return result; + }], + [3183881676, function() { +const result = { _: 'messages.exportedChatInvites' }; +result.count = this.int(); +result.invites = this.vector(this.predicate, false); +result.users = this.vector(this.predicate, false); +return result; + }], + [410107472, function() { +const result = { _: 'messages.exportedChatInvite' }; +result.invite = this.predicate(); +result.users = this.vector(this.predicate, false); +return result; + }], + [572915951, function() { +const result = { _: 'messages.exportedChatInviteReplaced' }; +result.invite = this.predicate(); +result.new_invite = this.predicate(); +result.users = this.vector(this.predicate, false); +return result; + }], + [2176233482, function() { +const result = { _: 'messages.chatInviteImporters' }; +result.count = this.int(); +result.importers = this.vector(this.predicate, false); +result.users = this.vector(this.predicate, false); +return result; + }], + [4075613987, function() { +const result = { _: 'chatAdminWithInvites' }; +result.admin_id = this.long(); +result.invites_count = this.int(); +result.revoked_invites_count = this.int(); +return result; + }], + [3063640791, function() { +const result = { _: 'messages.chatAdminsWithInvites' }; +result.admins = this.vector(this.predicate, false); +result.users = this.vector(this.predicate, false); +return result; + }], + [4271882584, function() { +const result = { _: 'channelAdminLogEventActionParticipantJoinByInvite' }; +result.flags = this.int(); +result.via_chatlist = !!(result.flags & 1); +result.invite = this.predicate(); +return result; + }], + [1515256996, function() { +const result = { _: 'channelAdminLogEventActionExportedInviteDelete' }; +result.invite = this.predicate(); +return result; + }], + [1091179342, function() { +const result = { _: 'channelAdminLogEventActionExportedInviteRevoke' }; +result.invite = this.predicate(); +return result; + }], + [3910056793, function() { +const result = { _: 'channelAdminLogEventActionExportedInviteEdit' }; +result.prev_invite = this.predicate(); +result.new_invite = this.predicate(); +return result; + }], + [1048537159, function() { +const result = { _: 'channelAdminLogEventActionParticipantVolume' }; +result.participant = this.predicate(); +return result; + }], + [1855199800, function() { +const result = { _: 'channelAdminLogEventActionChangeHistoryTTL' }; +result.prev_value = this.int(); +result.new_value = this.int(); +return result; + }], + [2723014423, function() { +const result = { _: 'messages.checkedHistoryImportPeer' }; +result.confirm_text = this.string(); +return result; + }], + [93890858, function() { +const result = { _: 'inputGroupCallStream' }; +result.flags = this.int(); +result.call = this.predicate(); +result.time_ms = this.long(); +result.scale = this.int(); +if (result.flags & 1) result.video_channel = this.int(); +if (result.flags & 1) result.video_quality = this.int(); +return result; + }], + [2951045695, function() { +const result = { _: 'phone.joinAsPeers' }; +result.peers = this.vector(this.predicate, false); +result.chats = this.vector(this.predicate, false); +result.users = this.vector(this.predicate, false); +return result; + }], + [541839704, function() { +const result = { _: 'phone.exportedGroupCallInvite' }; +result.link = this.string(); +return result; + }], + [3622273573, function() { +const result = { _: 'inputBotInlineMessageMediaInvoice' }; +result.flags = this.int(); +result.title = this.string(); +result.description = this.string(); +if (result.flags & 1) result.photo = this.predicate(); +result.invoice = this.predicate(); +result.payload = this.bytes(); +result.provider = this.string(); +result.provider_data = this.predicate(); +if (result.flags & 4) result.reply_markup = this.predicate(); +return result; + }], + [894081801, function() { +const result = { _: 'botInlineMessageMediaInvoice' }; +result.flags = this.int(); +result.shipping_address_requested = !!(result.flags & 2); +result.test = !!(result.flags & 8); +result.title = this.string(); +result.description = this.string(); +if (result.flags & 1) result.photo = this.predicate(); +result.currency = this.string(); +result.total_amount = this.long(); +if (result.flags & 4) result.reply_markup = this.predicate(); +return result; + }], + [3013637729, function() { +const result = { _: 'messageActionGroupCallScheduled' }; +result.call = this.predicate(); +result.schedule_date = this.int(); +return result; + }], + [3702593719, function() { +const result = { _: 'groupCallParticipantVideoSourceGroup' }; +result.semantics = this.string(); +result.sources = this.vector(this.int, false); +return result; + }], + [1735736008, function() { +const result = { _: 'groupCallParticipantVideo' }; +result.flags = this.int(); +result.paused = !!(result.flags & 1); +result.endpoint = this.string(); +result.source_groups = this.vector(this.predicate, false); +if (result.flags & 2) result.audio_source = this.int(); +return result; + }], + [192428418, function() { +const result = { _: 'updateGroupCallConnection' }; +result.flags = this.int(); +result.presentation = !!(result.flags & 1); +result.params = this.predicate(); +return result; + }], + [2248056895, function() { +const result = { _: 'stickers.suggestedShortName' }; +result.short_name = this.string(); +return result; + }], + [795652779, function() { +const result = { _: 'botCommandScopeDefault' }; +return result; + }], + [1011811544, function() { +const result = { _: 'botCommandScopeUsers' }; +return result; + }], + [1877059713, function() { +const result = { _: 'botCommandScopeChats' }; +return result; + }], + [3114950762, function() { +const result = { _: 'botCommandScopeChatAdmins' }; +return result; + }], + [3684534653, function() { +const result = { _: 'botCommandScopePeer' }; +result.peer = this.predicate(); +return result; + }], + [1071145937, function() { +const result = { _: 'botCommandScopePeerAdmins' }; +result.peer = this.predicate(); +return result; + }], + [169026035, function() { +const result = { _: 'botCommandScopePeerUser' }; +result.peer = this.predicate(); +result.user_id = this.predicate(); +return result; + }], + [3816265825, function() { +const result = { _: 'account.resetPasswordFailedWait' }; +result.retry_date = this.int(); +return result; + }], + [3924819069, function() { +const result = { _: 'account.resetPasswordRequestedWait' }; +result.until_date = this.int(); +return result; + }], + [3911636542, function() { +const result = { _: 'account.resetPasswordOk' }; +return result; + }], + [1299263278, function() { +const result = { _: 'updateBotCommands' }; +result.peer = this.predicate(); +result.bot_id = this.long(); +result.commands = this.vector(this.predicate, false); +return result; + }], + [2860016453, function() { +const result = { _: 'messageActionSetChatTheme' }; +result.emoticon = this.string(); +return result; + }], + [2958739121, function() { +const result = { _: 'sendMessageChooseStickerAction' }; +return result; + }], + [3981673463, function() { +const result = { _: 'sponsoredMessage' }; +result.flags = this.int(); +result.recommended = !!(result.flags & 32); +result.show_peer_photo = !!(result.flags & 64); +result.random_id = this.bytes(); +if (result.flags & 8) result.from_id = this.predicate(); +if (result.flags & 16) result.chat_invite = this.predicate(); +if (result.flags & 16) result.chat_invite_hash = this.string(); +if (result.flags & 4) result.channel_post = this.int(); +if (result.flags & 1) result.start_param = this.string(); +if (result.flags & 512) result.webpage = this.predicate(); +if (result.flags & 1024) result.app = this.predicate(); +result.message = this.string(); +if (result.flags & 2) result.entities = this.vector(this.predicate); +if (result.flags & 2048) result.button_text = this.string(); +if (result.flags & 128) result.sponsor_info = this.string(); +if (result.flags & 256) result.additional_info = this.string(); +return result; + }], + [3387825543, function() { +const result = { _: 'messages.sponsoredMessages' }; +result.flags = this.int(); +if (result.flags & 1) result.posts_between = this.int(); +result.messages = this.vector(this.predicate, false); +result.chats = this.vector(this.predicate, false); +result.users = this.vector(this.predicate, false); +return result; + }], + [215889721, function() { +const result = { _: 'inputStickerSetAnimatedEmojiAnimations' }; +return result; + }], + [630664139, function() { +const result = { _: 'sendMessageEmojiInteraction' }; +result.emoticon = this.string(); +result.msg_id = this.int(); +result.interaction = this.predicate(); +return result; + }], + [3060109358, function() { +const result = { _: 'sendMessageEmojiInteractionSeen' }; +result.emoticon = this.string(); +return result; + }], + [3067680215, function() { +const result = { _: 'inputBotInlineMessageID64' }; +result.dc_id = this.int(); +result.owner_id = this.long(); +result.id = this.int(); +result.access_hash = this.long(); +return result; + }], + [3383776159, function() { +const result = { _: 'searchResultsCalendarPeriod' }; +result.date = this.int(); +result.min_msg_id = this.int(); +result.max_msg_id = this.int(); +result.count = this.int(); +return result; + }], + [343859772, function() { +const result = { _: 'messages.searchResultsCalendar' }; +result.flags = this.int(); +result.inexact = !!(result.flags & 1); +result.count = this.int(); +result.min_date = this.int(); +result.min_msg_id = this.int(); +if (result.flags & 2) result.offset_id_offset = this.int(); +result.periods = this.vector(this.predicate, false); +result.messages = this.vector(this.predicate, false); +result.chats = this.vector(this.predicate, false); +result.users = this.vector(this.predicate, false); +return result; + }], + [2137295719, function() { +const result = { _: 'searchResultPosition' }; +result.msg_id = this.int(); +result.date = this.int(); +result.offset = this.int(); +return result; + }], + [1404185519, function() { +const result = { _: 'messages.searchResultsPositions' }; +result.count = this.int(); +result.positions = this.vector(this.predicate, false); +return result; + }], + [3955008459, function() { +const result = { _: 'messageActionChatJoinedByRequest' }; +return result; + }], + [1885586395, function() { +const result = { _: 'updatePendingJoinRequests' }; +result.peer = this.predicate(); +result.requests_pending = this.int(); +result.recent_requesters = this.vector(this.long, false); +return result; + }], + [299870598, function() { +const result = { _: 'updateBotChatInviteRequester' }; +result.peer = this.predicate(); +result.date = this.int(); +result.user_id = this.long(); +result.about = this.string(); +result.invite = this.predicate(); +result.qts = this.int(); +return result; + }], + [2947945546, function() { +const result = { _: 'channelAdminLogEventActionParticipantJoinByRequest' }; +result.invite = this.predicate(); +result.approved_by = this.long(); +return result; + }], + [3918005115, function() { +const result = { _: 'inputKeyboardButtonUserProfile' }; +result.text = this.string(); +result.user_id = this.predicate(); +return result; + }], + [814112961, function() { +const result = { _: 'keyboardButtonUserProfile' }; +result.text = this.string(); +result.user_id = this.long(); +return result; + }], + [4103516358, function() { +const result = { _: 'channels.sendAsPeers' }; +result.peers = this.vector(this.predicate, false); +result.chats = this.vector(this.predicate, false); +result.users = this.vector(this.predicate, false); +return result; + }], + [3408578406, function() { +const result = { _: 'channelAdminLogEventActionToggleNoForwards' }; +result.new_value = this.predicate(); +return result; + }], + [3556320491, function() { +const result = { _: 'messages.stickerSetNotModified' }; +return result; + }], + [997004590, function() { +const result = { _: 'users.userFull' }; +result.full_user = this.predicate(); +result.chats = this.vector(this.predicate, false); +result.users = this.vector(this.predicate, false); +return result; + }], + [1753266509, function() { +const result = { _: 'messages.peerSettings' }; +result.settings = this.predicate(); +result.chats = this.vector(this.predicate, false); +result.users = this.vector(this.predicate, false); +return result; + }], + [663693416, function() { +const result = { _: 'channelAdminLogEventActionSendMessage' }; +result.message = this.predicate(); +return result; + }], + [3592083182, function() { +const result = { _: 'auth.codeTypeMissedCall' }; +return result; + }], + [2181063812, function() { +const result = { _: 'auth.sentCodeTypeMissedCall' }; +result.prefix = this.string(); +result.length = this.int(); +return result; + }], + [3282207583, function() { +const result = { _: 'auth.loggedOut' }; +result.flags = this.int(); +if (result.flags & 1) result.future_auth_token = this.bytes(); +return result; + }], + [1578843320, function() { +const result = { _: 'updateMessageReactions' }; +result.flags = this.int(); +result.peer = this.predicate(); +result.msg_id = this.int(); +if (result.flags & 1) result.top_msg_id = this.int(); +result.reactions = this.predicate(); +return result; + }], + [2748435328, function() { +const result = { _: 'reactionCount' }; +result.flags = this.int(); +if (result.flags & 1) result.chosen_order = this.int(); +result.reaction = this.predicate(); +result.count = this.int(); +return result; + }], + [1328256121, function() { +const result = { _: 'messageReactions' }; +result.flags = this.int(); +result.min = !!(result.flags & 1); +result.can_see_list = !!(result.flags & 4); +result.results = this.vector(this.predicate, false); +if (result.flags & 2) result.recent_reactions = this.vector(this.predicate); +return result; + }], + [834488621, function() { +const result = { _: 'messages.messageReactionsList' }; +result.flags = this.int(); +result.count = this.int(); +result.reactions = this.vector(this.predicate, false); +result.chats = this.vector(this.predicate, false); +result.users = this.vector(this.predicate, false); +if (result.flags & 1) result.next_offset = this.string(); +return result; + }], + [3229084673, function() { +const result = { _: 'availableReaction' }; +result.flags = this.int(); +result.inactive = !!(result.flags & 1); +result.premium = !!(result.flags & 4); +result.reaction = this.string(); +result.title = this.string(); +result.static_icon = this.predicate(); +result.appear_animation = this.predicate(); +result.select_animation = this.predicate(); +result.activate_animation = this.predicate(); +result.effect_animation = this.predicate(); +if (result.flags & 2) result.around_animation = this.predicate(); +if (result.flags & 2) result.center_icon = this.predicate(); +return result; + }], + [2668042583, function() { +const result = { _: 'messages.availableReactionsNotModified' }; +return result; + }], + [1989032621, function() { +const result = { _: 'messages.availableReactions' }; +result.hash = this.int(); +result.reactions = this.vector(this.predicate, false); +return result; + }], + [852137487, function() { +const result = { _: 'messageEntitySpoiler' }; +result.offset = this.int(); +result.length = this.int(); +return result; + }], + [3192786680, function() { +const result = { _: 'channelAdminLogEventActionChangeAvailableReactions' }; +result.prev_value = this.predicate(); +result.new_value = this.predicate(); +return result; + }], + [2356786748, function() { +const result = { _: 'messagePeerReaction' }; +result.flags = this.int(); +result.big = !!(result.flags & 1); +result.unread = !!(result.flags & 2); +result.my = !!(result.flags & 4); +result.peer_id = this.predicate(); +result.date = this.int(); +result.reaction = this.predicate(); +return result; + }], + [2162903215, function() { +const result = { _: 'groupCallStreamChannel' }; +result.channel = this.int(); +result.scale = this.int(); +result.last_timestamp_ms = this.long(); +return result; + }], + [3504636594, function() { +const result = { _: 'phone.groupCallStreamChannels' }; +result.channels = this.vector(this.predicate, false); +return result; + }], + [177124030, function() { +const result = { _: 'inputReportReasonIllegalDrugs' }; +return result; + }], + [2663876157, function() { +const result = { _: 'inputReportReasonPersonalDetails' }; +return result; + }], + [767505458, function() { +const result = { _: 'phone.groupCallStreamRtmpUrl' }; +result.url = this.string(); +result.key = this.string(); +return result; + }], + [1165423600, function() { +const result = { _: 'attachMenuBotIconColor' }; +result.name = this.string(); +result.color = this.int(); +return result; + }], + [2997303403, function() { +const result = { _: 'attachMenuBotIcon' }; +result.flags = this.int(); +result.name = this.string(); +result.icon = this.predicate(); +if (result.flags & 1) result.colors = this.vector(this.predicate); +return result; + }], + [3641544190, function() { +const result = { _: 'attachMenuBot' }; +result.flags = this.int(); +result.inactive = !!(result.flags & 1); +result.has_settings = !!(result.flags & 2); +result.request_write_access = !!(result.flags & 4); +result.show_in_attach_menu = !!(result.flags & 8); +result.show_in_side_menu = !!(result.flags & 16); +result.side_menu_disclaimer_needed = !!(result.flags & 32); +result.bot_id = this.long(); +result.short_name = this.string(); +if (result.flags & 8) result.peer_types = this.vector(this.predicate); +result.icons = this.vector(this.predicate, false); +return result; + }], + [4057500252, function() { +const result = { _: 'attachMenuBotsNotModified' }; +return result; + }], + [1011024320, function() { +const result = { _: 'attachMenuBots' }; +result.hash = this.long(); +result.bots = this.vector(this.predicate, false); +result.users = this.vector(this.predicate, false); +return result; + }], + [2478794367, function() { +const result = { _: 'attachMenuBotsBot' }; +result.bot = this.predicate(); +result.users = this.vector(this.predicate, false); +return result; + }], + [397910539, function() { +const result = { _: 'updateAttachMenuBots' }; +return result; + }], + [202659196, function() { +const result = { _: 'webViewResultUrl' }; +result.query_id = this.long(); +result.url = this.string(); +return result; + }], + [2284811963, function() { +const result = { _: 'simpleWebViewResultUrl' }; +result.url = this.string(); +return result; + }], + [211046684, function() { +const result = { _: 'webViewMessageSent' }; +result.flags = this.int(); +if (result.flags & 1) result.msg_id = this.predicate(); +return result; + }], + [361936797, function() { +const result = { _: 'updateWebViewResultSent' }; +result.query_id = this.long(); +return result; + }], + [326529584, function() { +const result = { _: 'keyboardButtonWebView' }; +result.text = this.string(); +result.url = this.string(); +return result; + }], + [2696958044, function() { +const result = { _: 'keyboardButtonSimpleWebView' }; +result.text = this.string(); +result.url = this.string(); +return result; + }], + [1205698681, function() { +const result = { _: 'messageActionWebViewDataSentMe' }; +result.text = this.string(); +result.data = this.string(); +return result; + }], + [3032714421, function() { +const result = { _: 'messageActionWebViewDataSent' }; +result.text = this.string(); +return result; + }], + [347625491, function() { +const result = { _: 'updateBotMenuButton' }; +result.bot_id = this.long(); +result.button = this.predicate(); +return result; + }], + [1966318984, function() { +const result = { _: 'botMenuButtonDefault' }; +return result; + }], + [1113113093, function() { +const result = { _: 'botMenuButtonCommands' }; +return result; + }], + [3350559974, function() { +const result = { _: 'botMenuButton' }; +result.text = this.string(); +result.url = this.string(); +return result; + }], + [4227262641, function() { +const result = { _: 'account.savedRingtonesNotModified' }; +return result; + }], + [3253284037, function() { +const result = { _: 'account.savedRingtones' }; +result.hash = this.long(); +result.ringtones = this.vector(this.predicate, false); +return result; + }], + [1960361625, function() { +const result = { _: 'updateSavedRingtones' }; +return result; + }], + [2548612798, function() { +const result = { _: 'notificationSoundDefault' }; +return result; + }], + [1863070943, function() { +const result = { _: 'notificationSoundNone' }; +return result; + }], + [2198575844, function() { +const result = { _: 'notificationSoundLocal' }; +result.title = this.string(); +result.data = this.string(); +return result; + }], + [4285300809, function() { +const result = { _: 'notificationSoundRingtone' }; +result.id = this.long(); +return result; + }], + [3072737133, function() { +const result = { _: 'account.savedRingtone' }; +return result; + }], + [523271863, function() { +const result = { _: 'account.savedRingtoneConverted' }; +result.document = this.predicate(); +return result; + }], + [2104224014, function() { +const result = { _: 'attachMenuPeerTypeSameBotPM' }; +return result; + }], + [3274439194, function() { +const result = { _: 'attachMenuPeerTypeBotPM' }; +return result; + }], + [4047950623, function() { +const result = { _: 'attachMenuPeerTypePM' }; +return result; + }], + [84480319, function() { +const result = { _: 'attachMenuPeerTypeChat' }; +return result; + }], + [2080104188, function() { +const result = { _: 'attachMenuPeerTypeBroadcast' }; +return result; + }], + [3977280183, function() { +const result = { _: 'chatInvitePublicJoinRequests' }; +return result; + }], + [3317000281, function() { +const result = { _: 'inputInvoiceMessage' }; +result.peer = this.predicate(); +result.msg_id = this.int(); +return result; + }], + [3274099439, function() { +const result = { _: 'inputInvoiceSlug' }; +result.slug = this.string(); +return result; + }], + [2932919257, function() { +const result = { _: 'payments.exportedInvoice' }; +result.url = this.string(); +return result; + }], + [8703322, function() { +const result = { _: 'updateTranscribedAudio' }; +result.flags = this.int(); +result.pending = !!(result.flags & 1); +result.peer = this.predicate(); +result.msg_id = this.int(); +result.transcription_id = this.long(); +result.text = this.string(); +return result; + }], + [3485063511, function() { +const result = { _: 'messages.transcribedAudio' }; +result.flags = this.int(); +result.pending = !!(result.flags & 1); +result.transcription_id = this.long(); +result.text = this.string(); +if (result.flags & 2) result.trial_remains_num = this.int(); +if (result.flags & 2) result.trial_remains_until_date = this.int(); +return result; + }], + [909284270, function() { +const result = { _: 'dialogFilterDefault' }; +return result; + }], + [1395946908, function() { +const result = { _: 'help.premiumPromo' }; +result.status_text = this.string(); +result.status_entities = this.vector(this.predicate, false); +result.video_sections = this.vector(this.string, false); +result.videos = this.vector(this.predicate, false); +result.period_options = this.vector(this.predicate, false); +result.users = this.vector(this.predicate, false); +return result; + }], + [3369010680, function() { +const result = { _: 'messageEntityCustomEmoji' }; +result.offset = this.int(); +result.length = this.int(); +result.document_id = this.long(); +return result; + }], + [4245985433, function() { +const result = { _: 'documentAttributeCustomEmoji' }; +result.flags = this.int(); +result.free = !!(result.flags & 1); +result.text_color = !!(result.flags & 2); +result.alt = this.string(); +result.stickerset = this.predicate(); +return result; + }], + [1087454222, function() { +const result = { _: 'stickerSetFullCovered' }; +result.set = this.predicate(); +result.packs = this.vector(this.predicate, false); +result.keywords = this.vector(this.predicate, false); +result.documents = this.vector(this.predicate, false); +return result; + }], + [2792693350, function() { +const result = { _: 'inputStorePaymentPremiumSubscription' }; +result.flags = this.int(); +result.restore = !!(result.flags & 1); +result.upgrade = !!(result.flags & 2); +return result; + }], + [1634697192, function() { +const result = { _: 'inputStorePaymentGiftPremium' }; +result.user_id = this.predicate(); +result.currency = this.string(); +result.amount = this.long(); +return result; + }], + [3359468268, function() { +const result = { _: 'messageActionGiftPremium' }; +result.flags = this.int(); +result.currency = this.string(); +result.amount = this.long(); +result.months = this.int(); +if (result.flags & 1) result.crypto_currency = this.string(); +if (result.flags & 1) result.crypto_amount = this.long(); +return result; + }], + [1958953753, function() { +const result = { _: 'premiumGiftOption' }; +result.flags = this.int(); +result.months = this.int(); +result.currency = this.string(); +result.amount = this.long(); +result.bot_url = this.string(); +if (result.flags & 1) result.store_product = this.string(); +return result; + }], + [3364567810, function() { +const result = { _: 'inputStickerSetPremiumGifts' }; +return result; + }], + [4216080748, function() { +const result = { _: 'updateReadFeaturedEmojiStickers' }; +return result; + }], + [2934349160, function() { +const result = { _: 'inputPrivacyKeyVoiceMessages' }; +return result; + }], + [110621716, function() { +const result = { _: 'privacyKeyVoiceMessages' }; +return result; + }], + [2298016283, function() { +const result = { _: 'paymentFormMethod' }; +result.url = this.string(); +result.title = this.string(); +return result; + }], + [4100974884, function() { +const result = { _: 'inputWebFileAudioAlbumThumbLocation' }; +result.flags = this.int(); +result.small = !!(result.flags & 4); +if (result.flags & 1) result.document = this.predicate(); +if (result.flags & 2) result.title = this.string(); +if (result.flags & 2) result.performer = this.string(); +return result; + }], + [769727150, function() { +const result = { _: 'emojiStatusEmpty' }; +return result; + }], + [2459656605, function() { +const result = { _: 'emojiStatus' }; +result.document_id = this.long(); +return result; + }], + [4197492935, function() { +const result = { _: 'emojiStatusUntil' }; +result.document_id = this.long(); +result.until = this.int(); +return result; + }], + [674706841, function() { +const result = { _: 'updateUserEmojiStatus' }; +result.user_id = this.long(); +result.emoji_status = this.predicate(); +return result; + }], + [821314523, function() { +const result = { _: 'updateRecentEmojiStatuses' }; +return result; + }], + [3498894917, function() { +const result = { _: 'account.emojiStatusesNotModified' }; +return result; + }], + [2428790737, function() { +const result = { _: 'account.emojiStatuses' }; +result.hash = this.long(); +result.statuses = this.vector(this.predicate, false); +return result; + }], + [2046153753, function() { +const result = { _: 'reactionEmpty' }; +return result; + }], + [455247544, function() { +const result = { _: 'reactionEmoji' }; +result.emoticon = this.string(); +return result; + }], + [2302016627, function() { +const result = { _: 'reactionCustomEmoji' }; +result.document_id = this.long(); +return result; + }], + [3942396604, function() { +const result = { _: 'chatReactionsNone' }; +return result; + }], + [1385335754, function() { +const result = { _: 'chatReactionsAll' }; +result.flags = this.int(); +result.allow_custom = !!(result.flags & 1); +return result; + }], + [1713193015, function() { +const result = { _: 'chatReactionsSome' }; +result.reactions = this.vector(this.predicate, false); +return result; + }], + [2960120799, function() { +const result = { _: 'messages.reactionsNotModified' }; +return result; + }], + [3942512406, function() { +const result = { _: 'messages.reactions' }; +result.hash = this.long(); +result.reactions = this.vector(this.predicate, false); +return result; + }], + [1870160884, function() { +const result = { _: 'updateRecentReactions' }; +return result; + }], + [2264715141, function() { +const result = { _: 'updateMoveStickerSetToTop' }; +result.flags = this.int(); +result.masks = !!(result.flags & 1); +result.emojis = !!(result.flags & 2); +result.stickerset = this.long(); +return result; + }], + [4098946459, function() { +const result = { _: 'auth.sentCodeTypeEmailCode' }; +result.flags = this.int(); +result.apple_signin_allowed = !!(result.flags & 1); +result.google_signin_allowed = !!(result.flags & 2); +result.email_pattern = this.string(); +result.length = this.int(); +if (result.flags & 8) result.reset_available_period = this.int(); +if (result.flags & 16) result.reset_pending_date = this.int(); +return result; + }], + [2773032426, function() { +const result = { _: 'auth.sentCodeTypeSetUpEmailRequired' }; +result.flags = this.int(); +result.apple_signin_allowed = !!(result.flags & 1); +result.google_signin_allowed = !!(result.flags & 2); +return result; + }], + [1128644211, function() { +const result = { _: 'emailVerifyPurposeLoginSetup' }; +result.phone_number = this.string(); +result.phone_code_hash = this.string(); +return result; + }], + [1383932651, function() { +const result = { _: 'emailVerifyPurposeLoginChange' }; +return result; + }], + [3153401477, function() { +const result = { _: 'emailVerifyPurposePassport' }; +return result; + }], + [2452510121, function() { +const result = { _: 'emailVerificationCode' }; +result.code = this.string(); +return result; + }], + [3683688130, function() { +const result = { _: 'emailVerificationGoogle' }; +result.token = this.string(); +return result; + }], + [2530243837, function() { +const result = { _: 'emailVerificationApple' }; +result.token = this.string(); +return result; + }], + [731303195, function() { +const result = { _: 'account.emailVerified' }; +result.email = this.string(); +return result; + }], + [3787132257, function() { +const result = { _: 'account.emailVerifiedLogin' }; +result.email = this.string(); +result.sent_code = this.predicate(); +return result; + }], + [1596792306, function() { +const result = { _: 'premiumSubscriptionOption' }; +result.flags = this.int(); +result.current = !!(result.flags & 2); +result.can_purchase_upgrade = !!(result.flags & 4); +if (result.flags & 8) result.transaction = this.string(); +result.months = this.int(); +result.currency = this.string(); +result.amount = this.long(); +result.bot_url = this.string(); +if (result.flags & 1) result.store_product = this.string(); +return result; + }], + [80008398, function() { +const result = { _: 'inputStickerSetEmojiGenericAnimations' }; +return result; + }], + [701560302, function() { +const result = { _: 'inputStickerSetEmojiDefaultStatuses' }; +return result; + }], + [3088871476, function() { +const result = { _: 'sendAsPeer' }; +result.flags = this.int(); +result.premium_required = !!(result.flags & 1); +result.peer = this.predicate(); +return result; + }], + [2908916936, function() { +const result = { _: 'messageExtendedMediaPreview' }; +result.flags = this.int(); +if (result.flags & 1) result.w = this.int(); +if (result.flags & 1) result.h = this.int(); +if (result.flags & 2) result.thumb = this.predicate(); +if (result.flags & 4) result.video_duration = this.int(); +return result; + }], + [3997670500, function() { +const result = { _: 'messageExtendedMedia' }; +result.media = this.predicate(); +return result; + }], + [1517529484, function() { +const result = { _: 'updateMessageExtendedMedia' }; +result.peer = this.predicate(); +result.msg_id = this.int(); +result.extended_media = this.predicate(); +return result; + }], + [4244550300, function() { +const result = { _: 'stickerKeyword' }; +result.document_id = this.long(); +result.keyword = this.vector(this.string, false); +return result; + }], + [3020371527, function() { +const result = { _: 'username' }; +result.flags = this.int(); +result.editable = !!(result.flags & 1); +result.active = !!(result.flags & 2); +result.username = this.string(); +return result; + }], + [4031755177, function() { +const result = { _: 'channelAdminLogEventActionChangeUsernames' }; +result.prev_value = this.vector(this.string, false); +result.new_value = this.vector(this.string, false); +return result; + }], + [46949251, function() { +const result = { _: 'channelAdminLogEventActionToggleForum' }; +result.new_value = this.predicate(); +return result; + }], + [1483767080, function() { +const result = { _: 'channelAdminLogEventActionCreateTopic' }; +result.topic = this.predicate(); +return result; + }], + [4033864200, function() { +const result = { _: 'channelAdminLogEventActionEditTopic' }; +result.prev_topic = this.predicate(); +result.new_topic = this.predicate(); +return result; + }], + [2920712457, function() { +const result = { _: 'channelAdminLogEventActionDeleteTopic' }; +result.topic = this.predicate(); +return result; + }], + [1569535291, function() { +const result = { _: 'channelAdminLogEventActionPinTopic' }; +result.flags = this.int(); +if (result.flags & 1) result.prev_topic = this.predicate(); +if (result.flags & 2) result.new_topic = this.predicate(); +return result; + }], + [37687451, function() { +const result = { _: 'forumTopicDeleted' }; +result.id = this.int(); +return result; + }], + [1903173033, function() { +const result = { _: 'forumTopic' }; +result.flags = this.int(); +result.my = !!(result.flags & 2); +result.closed = !!(result.flags & 4); +result.pinned = !!(result.flags & 8); +result.short = !!(result.flags & 32); +result.hidden = !!(result.flags & 64); +result.id = this.int(); +result.date = this.int(); +result.title = this.string(); +result.icon_color = this.int(); +if (result.flags & 1) result.icon_emoji_id = this.long(); +result.top_message = this.int(); +result.read_inbox_max_id = this.int(); +result.read_outbox_max_id = this.int(); +result.unread_count = this.int(); +result.unread_mentions_count = this.int(); +result.unread_reactions_count = this.int(); +result.from_id = this.predicate(); +result.notify_settings = this.predicate(); +if (result.flags & 16) result.draft = this.predicate(); +return result; + }], + [913709011, function() { +const result = { _: 'messages.forumTopics' }; +result.flags = this.int(); +result.order_by_create_date = !!(result.flags & 1); +result.count = this.int(); +result.topics = this.vector(this.predicate, false); +result.messages = this.vector(this.predicate, false); +result.chats = this.vector(this.predicate, false); +result.users = this.vector(this.predicate, false); +result.pts = this.int(); +return result; + }], + [228168278, function() { +const result = { _: 'messageActionTopicCreate' }; +result.flags = this.int(); +result.title = this.string(); +result.icon_color = this.int(); +if (result.flags & 1) result.icon_emoji_id = this.long(); +return result; + }], + [3230943264, function() { +const result = { _: 'messageActionTopicEdit' }; +result.flags = this.int(); +if (result.flags & 1) result.title = this.string(); +if (result.flags & 2) result.icon_emoji_id = this.long(); +if (result.flags & 4) result.closed = this.predicate(); +if (result.flags & 8) result.hidden = this.predicate(); +return result; + }], + [422509539, function() { +const result = { _: 'updateChannelPinnedTopic' }; +result.flags = this.int(); +result.pinned = !!(result.flags & 1); +result.channel_id = this.long(); +result.topic_id = this.int(); +return result; + }], + [1548122514, function() { +const result = { _: 'inputNotifyForumTopic' }; +result.peer = this.predicate(); +result.top_msg_id = this.int(); +return result; + }], + [577659656, function() { +const result = { _: 'notifyForumTopic' }; +result.peer = this.predicate(); +result.top_msg_id = this.int(); +return result; + }], + [1153562857, function() { +const result = { _: 'inputStickerSetEmojiDefaultTopicIcons' }; +return result; + }], + [406407439, function() { +const result = { _: 'messages.sponsoredMessagesEmpty' }; +return result; + }], + [4263085570, function() { +const result = { _: 'updateChannelPinnedTopics' }; +result.flags = this.int(); +result.channel_id = this.long(); +if (result.flags & 1) result.order = this.vector(this.int); +return result; + }], + [1135897376, function() { +const result = { _: 'defaultHistoryTTL' }; +result.period = this.int(); +return result; + }], + [116234636, function() { +const result = { _: 'auth.codeTypeFragmentSms' }; +return result; + }], + [3646315577, function() { +const result = { _: 'auth.sentCodeTypeFragmentSms' }; +result.url = this.string(); +result.length = this.int(); +return result; + }], + [1103040667, function() { +const result = { _: 'exportedContactToken' }; +result.url = this.string(); +result.expires = this.int(); +return result; + }], + [1693675004, function() { +const result = { _: 'channelAdminLogEventActionToggleAntiSpam' }; +result.new_value = this.predicate(); +return result; + }], + [1474192222, function() { +const result = { _: 'messageActionSuggestProfilePhoto' }; +result.photo = this.predicate(); +return result; + }], + [2008112412, function() { +const result = { _: 'stickerSetNoCovered' }; +result.set = this.predicate(); +return result; + }], + [542282808, function() { +const result = { _: 'updateUser' }; +result.user_id = this.long(); +return result; + }], + [596704836, function() { +const result = { _: 'auth.sentCodeSuccess' }; +result.authorization = this.predicate(); +return result; + }], + [827428507, function() { +const result = { _: 'messageActionRequestedPeer' }; +result.button_id = this.int(); +result.peers = this.vector(this.predicate, false); +return result; + }], + [1597737472, function() { +const result = { _: 'requestPeerTypeUser' }; +result.flags = this.int(); +if (result.flags & 1) result.bot = this.predicate(); +if (result.flags & 2) result.premium = this.predicate(); +return result; + }], + [3387977243, function() { +const result = { _: 'requestPeerTypeChat' }; +result.flags = this.int(); +result.creator = !!(result.flags & 1); +result.bot_participant = !!(result.flags & 32); +if (result.flags & 8) result.has_username = this.predicate(); +if (result.flags & 16) result.forum = this.predicate(); +if (result.flags & 2) result.user_admin_rights = this.predicate(); +if (result.flags & 4) result.bot_admin_rights = this.predicate(); +return result; + }], + [865857388, function() { +const result = { _: 'requestPeerTypeBroadcast' }; +result.flags = this.int(); +result.creator = !!(result.flags & 1); +if (result.flags & 8) result.has_username = this.predicate(); +if (result.flags & 2) result.user_admin_rights = this.predicate(); +if (result.flags & 4) result.bot_admin_rights = this.predicate(); +return result; + }], + [1406648280, function() { +const result = { _: 'keyboardButtonRequestPeer' }; +result.text = this.string(); +result.button_id = this.int(); +result.peer_type = this.predicate(); +result.max_quantity = this.int(); +return result; + }], + [1209970170, function() { +const result = { _: 'emojiListNotModified' }; +return result; + }], + [2048790993, function() { +const result = { _: 'emojiList' }; +result.hash = this.long(); +result.document_id = this.vector(this.long, false); +return result; + }], + [3850048562, function() { +const result = { _: 'auth.sentCodeTypeFirebaseSms' }; +result.flags = this.int(); +if (result.flags & 1) result.nonce = this.bytes(); +if (result.flags & 2) result.receipt = this.string(); +if (result.flags & 2) result.push_timeout = this.int(); +result.length = this.int(); +return result; + }], + [2056961449, function() { +const result = { _: 'emojiGroup' }; +result.title = this.string(); +result.icon_emoji_id = this.long(); +result.emoticons = this.vector(this.string, false); +return result; + }], + [1874111879, function() { +const result = { _: 'messages.emojiGroupsNotModified' }; +return result; + }], + [2283780427, function() { +const result = { _: 'messages.emojiGroups' }; +result.hash = this.int(); +result.groups = this.vector(this.predicate, false); +return result; + }], + [4166795580, function() { +const result = { _: 'videoSizeEmojiMarkup' }; +result.emoji_id = this.long(); +result.background_colors = this.vector(this.int, false); +return result; + }], + [228623102, function() { +const result = { _: 'videoSizeStickerMarkup' }; +result.stickerset = this.predicate(); +result.sticker_id = this.long(); +result.background_colors = this.vector(this.int, false); +return result; + }], + [1964978502, function() { +const result = { _: 'textWithEntities' }; +result.text = this.string(); +result.entities = this.vector(this.predicate, false); +return result; + }], + [870003448, function() { +const result = { _: 'messages.translateResult' }; +result.result = this.vector(this.predicate, false); +return result; + }], + [3360175310, function() { +const result = { _: 'autoSaveSettings' }; +result.flags = this.int(); +result.photos = !!(result.flags & 1); +result.videos = !!(result.flags & 2); +if (result.flags & 4) result.video_max_size = this.long(); +return result; + }], + [2170563911, function() { +const result = { _: 'autoSaveException' }; +result.peer = this.predicate(); +result.settings = this.predicate(); +return result; + }], + [1279133341, function() { +const result = { _: 'account.autoSaveSettings' }; +result.users_settings = this.predicate(); +result.chats_settings = this.predicate(); +result.broadcasts_settings = this.predicate(); +result.exceptions = this.vector(this.predicate, false); +result.chats = this.vector(this.predicate, false); +result.users = this.vector(this.predicate, false); +return result; + }], + [3959795863, function() { +const result = { _: 'updateAutoSaveSettings' }; +return result; + }], + [2094949405, function() { +const result = { _: 'help.appConfigNotModified' }; +return result; + }], + [3709368366, function() { +const result = { _: 'help.appConfig' }; +result.hash = this.int(); +result.config = this.predicate(); +return result; + }], + [2837495162, function() { +const result = { _: 'inputBotAppID' }; +result.id = this.long(); +result.access_hash = this.long(); +return result; + }], + [2425095175, function() { +const result = { _: 'inputBotAppShortName' }; +result.bot_id = this.predicate(); +result.short_name = this.string(); +return result; + }], + [1571189943, function() { +const result = { _: 'botAppNotModified' }; +return result; + }], + [2516373974, function() { +const result = { _: 'botApp' }; +result.flags = this.int(); +result.id = this.long(); +result.access_hash = this.long(); +result.short_name = this.string(); +result.title = this.string(); +result.description = this.string(); +result.photo = this.predicate(); +if (result.flags & 1) result.document = this.predicate(); +result.hash = this.long(); +return result; + }], + [3947933173, function() { +const result = { _: 'messages.botApp' }; +result.flags = this.int(); +result.inactive = !!(result.flags & 1); +result.request_write_access = !!(result.flags & 2); +result.has_settings = !!(result.flags & 4); +result.app = this.predicate(); +return result; + }], + [1008422669, function() { +const result = { _: 'appWebViewResultUrl' }; +result.url = this.string(); +return result; + }], + [3044185557, function() { +const result = { _: 'inlineBotWebView' }; +result.text = this.string(); +result.url = this.string(); +return result; + }], + [1246753138, function() { +const result = { _: 'readParticipantDate' }; +result.user_id = this.long(); +result.date = this.int(); +return result; + }], + [3438316246, function() { +const result = { _: 'updateGroupInvitePrivacyForbidden' }; +result.user_id = this.long(); +return result; + }], + [3595175080, function() { +const result = { _: 'dialogFilterChatlist' }; +result.flags = this.int(); +result.has_my_invites = !!(result.flags & 67108864); +result.id = this.int(); +result.title = this.string(); +if (result.flags & 33554432) result.emoticon = this.string(); +result.pinned_peers = this.vector(this.predicate, false); +result.include_peers = this.vector(this.predicate, false); +return result; + }], + [4091599411, function() { +const result = { _: 'inputChatlistDialogFilter' }; +result.filter_id = this.int(); +return result; + }], + [206668204, function() { +const result = { _: 'exportedChatlistInvite' }; +result.flags = this.int(); +result.title = this.string(); +result.url = this.string(); +result.peers = this.vector(this.predicate, false); +return result; + }], + [283567014, function() { +const result = { _: 'chatlists.exportedChatlistInvite' }; +result.filter = this.predicate(); +result.invite = this.predicate(); +return result; + }], + [279670215, function() { +const result = { _: 'chatlists.exportedInvites' }; +result.invites = this.vector(this.predicate, false); +result.chats = this.vector(this.predicate, false); +result.users = this.vector(this.predicate, false); +return result; + }], + [4203214425, function() { +const result = { _: 'chatlists.chatlistInviteAlready' }; +result.filter_id = this.int(); +result.missing_peers = this.vector(this.predicate, false); +result.already_peers = this.vector(this.predicate, false); +result.chats = this.vector(this.predicate, false); +result.users = this.vector(this.predicate, false); +return result; + }], + [500007837, function() { +const result = { _: 'chatlists.chatlistInvite' }; +result.flags = this.int(); +result.title = this.string(); +if (result.flags & 1) result.emoticon = this.string(); +result.peers = this.vector(this.predicate, false); +result.chats = this.vector(this.predicate, false); +result.users = this.vector(this.predicate, false); +return result; + }], + [2478671757, function() { +const result = { _: 'chatlists.chatlistUpdates' }; +result.missing_peers = this.vector(this.predicate, false); +result.chats = this.vector(this.predicate, false); +result.users = this.vector(this.predicate, false); +return result; + }], + [1348510708, function() { +const result = { _: 'messageActionSetChatWallPaper' }; +result.flags = this.int(); +result.same = !!(result.flags & 1); +result.for_both = !!(result.flags & 2); +result.wallpaper = this.predicate(); +return result; + }], + [3903288752, function() { +const result = { _: 'bots.botInfo' }; +result.name = this.string(); +result.about = this.string(); +result.description = this.string(); +return result; + }], + [238759180, function() { +const result = { _: 'inlineQueryPeerTypeBotPM' }; +return result; + }], + [3066834268, function() { +const result = { _: 'messagePeerVote' }; +result.peer = this.predicate(); +result.option = this.bytes(); +result.date = this.int(); +return result; + }], + [1959634180, function() { +const result = { _: 'messagePeerVoteInputOption' }; +result.peer = this.predicate(); +result.date = this.int(); +return result; + }], + [1177089766, function() { +const result = { _: 'messagePeerVoteMultiple' }; +result.peer = this.predicate(); +result.options = this.vector(this.bytes, false); +result.date = this.int(); +return result; + }], + [941870144, function() { +const result = { _: 'inputPrivacyKeyAbout' }; +return result; + }], + [2760292193, function() { +const result = { _: 'privacyKeyAbout' }; +return result; + }], + [1035529315, function() { +const result = { _: 'sponsoredWebPage' }; +result.flags = this.int(); +result.url = this.string(); +result.site_name = this.string(); +if (result.flags & 1) result.photo = this.predicate(); +return result; + }], + [2371443926, function() { +const result = { _: 'storyViews' }; +result.flags = this.int(); +result.has_viewers = !!(result.flags & 2); +result.views_count = this.int(); +if (result.flags & 4) result.forwards_count = this.int(); +if (result.flags & 8) result.reactions = this.vector(this.predicate); +if (result.flags & 16) result.reactions_count = this.int(); +if (result.flags & 1) result.recent_viewers = this.vector(this.long); +return result; + }], + [1374088783, function() { +const result = { _: 'storyItemDeleted' }; +result.id = this.int(); +return result; + }], + [4289579283, function() { +const result = { _: 'storyItemSkipped' }; +result.flags = this.int(); +result.close_friends = !!(result.flags & 256); +result.id = this.int(); +result.date = this.int(); +result.expire_date = this.int(); +return result; + }], + [2942526881, function() { +const result = { _: 'storyItem' }; +result.flags = this.int(); +result.pinned = !!(result.flags & 32); +result.public = !!(result.flags & 128); +result.close_friends = !!(result.flags & 256); +result.min = !!(result.flags & 512); +result.noforwards = !!(result.flags & 1024); +result.edited = !!(result.flags & 2048); +result.contacts = !!(result.flags & 4096); +result.selected_contacts = !!(result.flags & 8192); +result.out = !!(result.flags & 65536); +result.id = this.int(); +result.date = this.int(); +if (result.flags & 131072) result.fwd_from = this.predicate(); +result.expire_date = this.int(); +if (result.flags & 1) result.caption = this.string(); +if (result.flags & 2) result.entities = this.vector(this.predicate); +result.media = this.predicate(); +if (result.flags & 16384) result.media_areas = this.vector(this.predicate); +if (result.flags & 4) result.privacy = this.vector(this.predicate); +if (result.flags & 8) result.views = this.predicate(); +if (result.flags & 32768) result.sent_reaction = this.predicate(); +return result; + }], + [1974712216, function() { +const result = { _: 'updateStory' }; +result.peer = this.predicate(); +result.story = this.predicate(); +return result; + }], + [4149121835, function() { +const result = { _: 'updateReadStories' }; +result.peer = this.predicate(); +result.max_id = this.int(); +return result; + }], + [291044926, function() { +const result = { _: 'stories.allStoriesNotModified' }; +result.flags = this.int(); +result.state = this.string(); +result.stealth_mode = this.predicate(); +return result; + }], + [1862033025, function() { +const result = { _: 'stories.allStories' }; +result.flags = this.int(); +result.has_more = !!(result.flags & 1); +result.count = this.int(); +result.state = this.string(); +result.peer_stories = this.vector(this.predicate, false); +result.chats = this.vector(this.predicate, false); +result.users = this.vector(this.predicate, false); +result.stealth_mode = this.predicate(); +return result; + }], + [1574486984, function() { +const result = { _: 'stories.stories' }; +result.count = this.int(); +result.stories = this.vector(this.predicate, false); +result.chats = this.vector(this.predicate, false); +result.users = this.vector(this.predicate, false); +return result; + }], + [793067081, function() { +const result = { _: 'inputPrivacyValueAllowCloseFriends' }; +return result; + }], + [4159232155, function() { +const result = { _: 'privacyValueAllowCloseFriends' }; +return result; + }], + [2965236421, function() { +const result = { _: 'storyView' }; +result.flags = this.int(); +result.blocked = !!(result.flags & 1); +result.blocked_my_stories_from = !!(result.flags & 2); +result.user_id = this.long(); +result.date = this.int(); +if (result.flags & 4) result.reaction = this.predicate(); +return result; + }], + [1507299269, function() { +const result = { _: 'stories.storyViewsList' }; +result.flags = this.int(); +result.count = this.int(); +result.views_count = this.int(); +result.forwards_count = this.int(); +result.reactions_count = this.int(); +result.views = this.vector(this.predicate, false); +result.chats = this.vector(this.predicate, false); +result.users = this.vector(this.predicate, false); +if (result.flags & 1) result.next_offset = this.string(); +return result; + }], + [3734957341, function() { +const result = { _: 'stories.storyViews' }; +result.views = this.vector(this.predicate, false); +result.users = this.vector(this.predicate, false); +return result; + }], + [583071445, function() { +const result = { _: 'inputReplyToMessage' }; +result.flags = this.int(); +result.reply_to_msg_id = this.int(); +if (result.flags & 1) result.top_msg_id = this.int(); +if (result.flags & 2) result.reply_to_peer_id = this.predicate(); +if (result.flags & 4) result.quote_text = this.string(); +if (result.flags & 8) result.quote_entities = this.vector(this.predicate); +if (result.flags & 16) result.quote_offset = this.int(); +return result; + }], + [363917955, function() { +const result = { _: 'inputReplyToStory' }; +result.user_id = this.predicate(); +result.story_id = this.int(); +return result; + }], + [2627256257, function() { +const result = { _: 'messageReplyStoryHeader' }; +result.user_id = this.long(); +result.story_id = this.int(); +return result; + }], + [468923833, function() { +const result = { _: 'updateStoryID' }; +result.id = this.int(); +result.random_id = this.long(); +return result; + }], + [1070138683, function() { +const result = { _: 'exportedStoryLink' }; +result.link = this.string(); +return result; + }], + [2315114360, function() { +const result = { _: 'inputMediaStory' }; +result.peer = this.predicate(); +result.id = this.int(); +return result; + }], + [1758159491, function() { +const result = { _: 'messageMediaStory' }; +result.flags = this.int(); +result.via_mention = !!(result.flags & 2); +result.peer = this.predicate(); +result.id = this.int(); +if (result.flags & 1) result.story = this.predicate(); +return result; + }], + [781501415, function() { +const result = { _: 'webPageAttributeStory' }; +result.flags = this.int(); +result.peer = this.predicate(); +result.id = this.int(); +if (result.flags & 1) result.story = this.predicate(); +return result; + }], + [1898850301, function() { +const result = { _: 'storiesStealthMode' }; +result.flags = this.int(); +if (result.flags & 1) result.active_until_date = this.int(); +if (result.flags & 2) result.cooldown_until_date = this.int(); +return result; + }], + [738741697, function() { +const result = { _: 'updateStoriesStealthMode' }; +result.stealth_mode = this.predicate(); +return result; + }], + [64088654, function() { +const result = { _: 'mediaAreaCoordinates' }; +result.x = this.double(); +result.y = this.double(); +result.w = this.double(); +result.h = this.double(); +result.rotation = this.double(); +return result; + }], + [3196246940, function() { +const result = { _: 'mediaAreaVenue' }; +result.coordinates = this.predicate(); +result.geo = this.predicate(); +result.title = this.string(); +result.address = this.string(); +result.provider = this.string(); +result.venue_id = this.string(); +result.venue_type = this.string(); +return result; + }], + [2994872703, function() { +const result = { _: 'inputMediaAreaVenue' }; +result.coordinates = this.predicate(); +result.query_id = this.long(); +result.result_id = this.string(); +return result; + }], + [3750443810, function() { +const result = { _: 'mediaAreaGeoPoint' }; +result.coordinates = this.predicate(); +result.geo = this.predicate(); +return result; + }], + [2103604867, function() { +const result = { _: 'updateSentStoryReaction' }; +result.peer = this.predicate(); +result.story_id = this.int(); +result.reaction = this.predicate(); +return result; + }], + [340088945, function() { +const result = { _: 'mediaAreaSuggestedReaction' }; +result.flags = this.int(); +result.dark = !!(result.flags & 1); +result.flipped = !!(result.flags & 2); +result.coordinates = this.predicate(); +result.reaction = this.predicate(); +return result; + }], + [2587224473, function() { +const result = { _: 'peerStories' }; +result.flags = this.int(); +result.peer = this.predicate(); +if (result.flags & 1) result.max_read_id = this.int(); +result.stories = this.vector(this.predicate, false); +return result; + }], + [3404105576, function() { +const result = { _: 'stories.peerStories' }; +result.stories = this.predicate(); +result.chats = this.vector(this.predicate, false); +result.users = this.vector(this.predicate, false); +return result; + }], + [4250800829, function() { +const result = { _: 'messages.webPage' }; +result.webpage = this.predicate(); +result.chats = this.vector(this.predicate, false); +result.users = this.vector(this.predicate, false); +return result; + }], + [2743099199, function() { +const result = { _: 'inputStorePaymentPremiumGiftCode' }; +result.flags = this.int(); +result.users = this.vector(this.predicate, false); +if (result.flags & 1) result.boost_peer = this.predicate(); +result.currency = this.string(); +result.amount = this.long(); +return result; + }], + [369444042, function() { +const result = { _: 'inputStorePaymentPremiumGiveaway' }; +result.flags = this.int(); +result.only_new_subscribers = !!(result.flags & 1); +result.winners_are_visible = !!(result.flags & 8); +result.boost_peer = this.predicate(); +if (result.flags & 2) result.additional_peers = this.vector(this.predicate); +if (result.flags & 4) result.countries_iso2 = this.vector(this.string); +if (result.flags & 16) result.prize_description = this.string(); +result.random_id = this.long(); +result.until_date = this.int(); +result.currency = this.string(); +result.amount = this.long(); +return result; + }], + [2560125965, function() { +const result = { _: 'inputInvoicePremiumGiftCode' }; +result.purpose = this.predicate(); +result.option = this.predicate(); +return result; + }], + [629052971, function() { +const result = { _: 'premiumGiftCodeOption' }; +result.flags = this.int(); +result.users = this.int(); +result.months = this.int(); +if (result.flags & 1) result.store_product = this.string(); +if (result.flags & 2) result.store_quantity = this.int(); +result.currency = this.string(); +result.amount = this.long(); +return result; + }], + [675942550, function() { +const result = { _: 'payments.checkedGiftCode' }; +result.flags = this.int(); +result.via_giveaway = !!(result.flags & 4); +if (result.flags & 16) result.from_id = this.predicate(); +if (result.flags & 8) result.giveaway_msg_id = this.int(); +if (result.flags & 1) result.to_id = this.long(); +result.date = this.int(); +result.months = this.int(); +if (result.flags & 2) result.used_date = this.int(); +result.chats = this.vector(this.predicate, false); +result.users = this.vector(this.predicate, false); +return result; + }], + [3668805040, function() { +const result = { _: 'messageMediaGiveaway' }; +result.flags = this.int(); +result.only_new_subscribers = !!(result.flags & 1); +result.winners_are_visible = !!(result.flags & 4); +result.channels = this.vector(this.long, false); +if (result.flags & 2) result.countries_iso2 = this.vector(this.string); +if (result.flags & 8) result.prize_description = this.string(); +result.quantity = this.int(); +result.months = this.int(); +result.until_date = this.int(); +return result; + }], + [1737240073, function() { +const result = { _: 'messageActionGiftCode' }; +result.flags = this.int(); +result.via_giveaway = !!(result.flags & 1); +result.unclaimed = !!(result.flags & 4); +if (result.flags & 2) result.boost_peer = this.predicate(); +result.months = this.int(); +result.slug = this.string(); +if (result.flags & 4) result.currency = this.string(); +if (result.flags & 4) result.amount = this.long(); +if (result.flags & 8) result.crypto_currency = this.string(); +if (result.flags & 8) result.crypto_amount = this.long(); +return result; + }], + [858499565, function() { +const result = { _: 'messageActionGiveawayLaunch' }; +return result; + }], + [1130879648, function() { +const result = { _: 'payments.giveawayInfo' }; +result.flags = this.int(); +result.participating = !!(result.flags & 1); +result.preparing_results = !!(result.flags & 8); +result.start_date = this.int(); +if (result.flags & 2) result.joined_too_early_date = this.int(); +if (result.flags & 4) result.admin_disallowed_chat_id = this.long(); +if (result.flags & 16) result.disallowed_country = this.string(); +return result; + }], + [13456752, function() { +const result = { _: 'payments.giveawayInfoResults' }; +result.flags = this.int(); +result.winner = !!(result.flags & 1); +result.refunded = !!(result.flags & 2); +result.start_date = this.int(); +if (result.flags & 1) result.gift_code_slug = this.string(); +result.finish_date = this.int(); +result.winners_count = this.int(); +result.activated_count = this.int(); +return result; + }], + [34469328, function() { +const result = { _: 'messageEntityBlockquote' }; +result.offset = this.int(); +result.length = this.int(); +return result; + }], + [2991824212, function() { +const result = { _: 'prepaidGiveaway' }; +result.id = this.long(); +result.months = this.int(); +result.quantity = this.int(); +result.date = this.int(); +return result; + }], + [3256584265, function() { +const result = { _: 'inputMediaWebPage' }; +result.flags = this.int(); +result.force_large_media = !!(result.flags & 1); +result.force_small_media = !!(result.flags & 2); +result.optional = !!(result.flags & 4); +result.url = this.string(); +return result; + }], + [3185362192, function() { +const result = { _: 'inputBotInlineMessageMediaWebPage' }; +result.flags = this.int(); +result.invert_media = !!(result.flags & 8); +result.force_large_media = !!(result.flags & 16); +result.force_small_media = !!(result.flags & 32); +result.optional = !!(result.flags & 64); +result.message = this.string(); +if (result.flags & 2) result.entities = this.vector(this.predicate); +result.url = this.string(); +if (result.flags & 4) result.reply_markup = this.predicate(); +return result; + }], + [2157631910, function() { +const result = { _: 'botInlineMessageMediaWebPage' }; +result.flags = this.int(); +result.invert_media = !!(result.flags & 8); +result.force_large_media = !!(result.flags & 16); +result.force_small_media = !!(result.flags & 32); +result.manual = !!(result.flags & 128); +result.safe = !!(result.flags & 256); +result.message = this.string(); +if (result.flags & 2) result.entities = this.vector(this.predicate); +result.url = this.string(); +if (result.flags & 4) result.reply_markup = this.predicate(); +return result; + }], + [706514033, function() { +const result = { _: 'boost' }; +result.flags = this.int(); +result.gift = !!(result.flags & 2); +result.giveaway = !!(result.flags & 4); +result.unclaimed = !!(result.flags & 8); +result.id = this.string(); +if (result.flags & 1) result.user_id = this.long(); +if (result.flags & 4) result.giveaway_msg_id = this.int(); +result.date = this.int(); +result.expires = this.int(); +if (result.flags & 16) result.used_gift_slug = this.string(); +if (result.flags & 32) result.multiplier = this.int(); +return result; + }], + [2264424764, function() { +const result = { _: 'premium.boostsList' }; +result.flags = this.int(); +result.count = this.int(); +result.boosts = this.vector(this.predicate, false); +if (result.flags & 1) result.next_offset = this.string(); +result.users = this.vector(this.predicate, false); +return result; + }], + [3293069660, function() { +const result = { _: 'myBoost' }; +result.flags = this.int(); +result.slot = this.int(); +if (result.flags & 1) result.peer = this.predicate(); +result.date = this.int(); +result.expires = this.int(); +if (result.flags & 2) result.cooldown_until_date = this.int(); +return result; + }], + [2598512866, function() { +const result = { _: 'premium.myBoosts' }; +result.my_boosts = this.vector(this.predicate, false); +result.chats = this.vector(this.predicate, false); +result.users = this.vector(this.predicate, false); +return result; + }], + [1230586490, function() { +const result = { _: 'premium.boostsStatus' }; +result.flags = this.int(); +result.my_boost = !!(result.flags & 4); +result.level = this.int(); +result.current_level_boosts = this.int(); +result.boosts = this.int(); +if (result.flags & 16) result.gift_boosts = this.int(); +if (result.flags & 1) result.next_level_boosts = this.int(); +if (result.flags & 2) result.premium_audience = this.predicate(); +result.boost_url = this.string(); +if (result.flags & 8) result.prepaid_giveaways = this.vector(this.predicate); +if (result.flags & 4) result.my_boost_slots = this.vector(this.int); +return result; + }], + [2421019804, function() { +const result = { _: 'updateBotChatBoost' }; +result.peer = this.predicate(); +result.boost = this.predicate(); +result.qts = this.int(); +return result; + }], + [129403168, function() { +const result = { _: 'updateChannelViewForumAsMessages' }; +result.channel_id = this.long(); +result.enabled = this.predicate(); +return result; + }], + [715107781, function() { +const result = { _: 'messageActionGiveawayResults' }; +result.winners_count = this.int(); +result.unclaimed_count = this.int(); +return result; + }], + [2923368477, function() { +const result = { _: 'updatePeerWallpaper' }; +result.flags = this.int(); +result.wallpaper_overridden = !!(result.flags & 2); +result.peer = this.predicate(); +if (result.flags & 1) result.wallpaper = this.predicate(); +return result; + }], + [3089555792, function() { +const result = { _: 'storyFwdHeader' }; +result.flags = this.int(); +result.modified = !!(result.flags & 8); +if (result.flags & 1) result.from = this.predicate(); +if (result.flags & 2) result.from_name = this.string(); +if (result.flags & 4) result.story_id = this.int(); +return result; + }], + [3875901055, function() { +const result = { _: 'postInteractionCountersMessage' }; +result.msg_id = this.int(); +result.views = this.int(); +result.forwards = this.int(); +result.reactions = this.int(); +return result; + }], + [2319978023, function() { +const result = { _: 'postInteractionCountersStory' }; +result.story_id = this.int(); +result.views = this.int(); +result.forwards = this.int(); +result.reactions = this.int(); +return result; + }], + [1355613820, function() { +const result = { _: 'stats.storyStats' }; +result.views_graph = this.predicate(); +result.reactions_by_emotion_graph = this.predicate(); +return result; + }], + [32685898, function() { +const result = { _: 'publicForwardMessage' }; +result.message = this.predicate(); +return result; + }], + [3992169936, function() { +const result = { _: 'publicForwardStory' }; +result.peer = this.predicate(); +result.story = this.predicate(); +return result; + }], + [2466479648, function() { +const result = { _: 'stats.publicForwards' }; +result.flags = this.int(); +result.count = this.int(); +result.forwards = this.vector(this.predicate, false); +if (result.flags & 1) result.next_offset = this.string(); +result.chats = this.vector(this.predicate, false); +result.users = this.vector(this.predicate, false); +return result; + }], + [3041614543, function() { +const result = { _: 'peerColor' }; +result.flags = this.int(); +if (result.flags & 1) result.color = this.int(); +if (result.flags & 2) result.background_emoji_id = this.long(); +return result; + }], + [639736408, function() { +const result = { _: 'help.peerColorSet' }; +result.colors = this.vector(this.int, false); +return result; + }], + [1987928555, function() { +const result = { _: 'help.peerColorProfileSet' }; +result.palette_colors = this.vector(this.int, false); +result.bg_colors = this.vector(this.int, false); +result.story_colors = this.vector(this.int, false); +return result; + }], + [4018417835, function() { +const result = { _: 'help.peerColorOption' }; +result.flags = this.int(); +result.hidden = !!(result.flags & 1); +result.color_id = this.int(); +if (result.flags & 2) result.colors = this.predicate(); +if (result.flags & 4) result.dark_colors = this.predicate(); +if (result.flags & 8) result.channel_min_level = this.int(); +return result; + }], + [732034510, function() { +const result = { _: 'help.peerColorsNotModified' }; +return result; + }], + [16313608, function() { +const result = { _: 'help.peerColors' }; +result.hash = this.int(); +result.colors = this.vector(this.predicate, false); +return result; + }], + [3331919976, function() { +const result = { _: 'messageMediaGiveawayResults' }; +result.flags = this.int(); +result.only_new_subscribers = !!(result.flags & 1); +result.refunded = !!(result.flags & 4); +result.channel_id = this.long(); +if (result.flags & 8) result.additional_peers_count = this.int(); +result.launch_msg_id = this.int(); +result.winners_count = this.int(); +result.unclaimed_count = this.int(); +result.winners = this.vector(this.long, false); +result.months = this.int(); +if (result.flags & 2) result.prize_description = this.string(); +result.until_date = this.int(); +return result; + }], + [1620104917, function() { +const result = { _: 'storyReaction' }; +result.peer_id = this.predicate(); +result.date = this.int(); +result.reaction = this.predicate(); +return result; + }], + [3148555843, function() { +const result = { _: 'storyReactionPublicForward' }; +result.message = this.predicate(); +return result; + }], + [3486322451, function() { +const result = { _: 'storyReactionPublicRepost' }; +result.peer_id = this.predicate(); +result.story = this.predicate(); +return result; + }], + [2858383516, function() { +const result = { _: 'stories.storyReactionsList' }; +result.flags = this.int(); +result.count = this.int(); +result.reactions = this.vector(this.predicate, false); +result.chats = this.vector(this.predicate, false); +result.users = this.vector(this.predicate, false); +if (result.flags & 1) result.next_offset = this.string(); +return result; + }], + [2424530699, function() { +const result = { _: 'storyViewPublicForward' }; +result.flags = this.int(); +result.blocked = !!(result.flags & 1); +result.blocked_my_stories_from = !!(result.flags & 2); +result.message = this.predicate(); +return result; + }], + [3178549065, function() { +const result = { _: 'storyViewPublicRepost' }; +result.flags = this.int(); +result.blocked = !!(result.flags & 1); +result.blocked_my_stories_from = !!(result.flags & 2); +result.peer_id = this.predicate(); +result.story = this.predicate(); +return result; + }], + [1469507456, function() { +const result = { _: 'channelAdminLogEventActionChangePeerColor' }; +result.prev_value = this.predicate(); +result.new_value = this.predicate(); +return result; + }], + [1581742885, function() { +const result = { _: 'channelAdminLogEventActionChangeProfilePeerColor' }; +result.prev_value = this.predicate(); +result.new_value = this.predicate(); +return result; + }], + [834362706, function() { +const result = { _: 'channelAdminLogEventActionChangeWallpaper' }; +result.prev_value = this.predicate(); +result.new_value = this.predicate(); +return result; + }], + [1051328177, function() { +const result = { _: 'channelAdminLogEventActionChangeEmojiStatus' }; +result.prev_value = this.predicate(); +result.new_value = this.predicate(); +return result; + }], + [1232373075, function() { +const result = { _: 'inputStickerSetEmojiChannelDefaultStatuses' }; +return result; + }], + [1996756655, function() { +const result = { _: 'mediaAreaChannelPost' }; +result.coordinates = this.predicate(); +result.channel_id = this.long(); +result.msg_id = this.int(); +return result; + }], + [577893055, function() { +const result = { _: 'inputMediaAreaChannelPost' }; +result.coordinates = this.predicate(); +result.channel = this.predicate(); +result.msg_id = this.int(); +return result; + }], + [2887898062, function() { +const result = { _: 'updateBotMessageReaction' }; +result.peer = this.predicate(); +result.msg_id = this.int(); +result.date = this.int(); +result.actor = this.predicate(); +result.old_reactions = this.vector(this.predicate, false); +result.new_reactions = this.vector(this.predicate, false); +result.qts = this.int(); +return result; + }], + [164329305, function() { +const result = { _: 'updateBotMessageReactions' }; +result.peer = this.predicate(); +result.msg_id = this.int(); +result.date = this.int(); +result.reactions = this.vector(this.predicate, false); +result.qts = this.int(); +return result; + }], + [3179793260, function() { +const result = { _: 'savedDialog' }; +result.flags = this.int(); +result.pinned = !!(result.flags & 4); +result.peer = this.predicate(); +result.top_message = this.int(); +return result; + }], + [2930744948, function() { +const result = { _: 'updateSavedDialogPinned' }; +result.flags = this.int(); +result.pinned = !!(result.flags & 1); +result.peer = this.predicate(); +return result; + }], + [1751942566, function() { +const result = { _: 'updatePinnedSavedDialogs' }; +result.flags = this.int(); +if (result.flags & 1) result.order = this.vector(this.predicate); +return result; + }], + [4164608545, function() { +const result = { _: 'messages.savedDialogs' }; +result.dialogs = this.vector(this.predicate, false); +result.messages = this.vector(this.predicate, false); +result.chats = this.vector(this.predicate, false); +result.users = this.vector(this.predicate, false); +return result; + }], + [1153080793, function() { +const result = { _: 'messages.savedDialogsSlice' }; +result.count = this.int(); +result.dialogs = this.vector(this.predicate, false); +result.messages = this.vector(this.predicate, false); +result.chats = this.vector(this.predicate, false); +result.users = this.vector(this.predicate, false); +return result; + }], + [3223285736, function() { +const result = { _: 'messages.savedDialogsNotModified' }; +result.count = this.int(); +return result; + }], +]); +module.exports = parserMap; \ No newline at end of file