|
@@ -1,5 +1,4 @@
|
|
|
module.exports = `
|
|
|
----types---
|
|
|
boolFalse#bc799737 = Bool;
|
|
|
boolTrue#997275b5 = Bool;
|
|
|
true#3fedd339 = True;
|
|
@@ -66,7 +65,7 @@ storage.fileMov#4b09ebbc = storage.FileType;
|
|
|
storage.fileMp4#b3cea0e4 = storage.FileType;
|
|
|
storage.fileWebp#1081464c = storage.FileType;
|
|
|
userEmpty#d3bc4b7a id:long = User;
|
|
|
-user#3ff6ecb0 flags:# self:flags.10?true contact:flags.11?true mutual_contact:flags.12?true deleted:flags.13?true bot:flags.14?true bot_chat_history:flags.15?true bot_nochats:flags.16?true verified:flags.17?true restricted:flags.18?true min:flags.20?true bot_inline_geo:flags.21?true support:flags.23?true scam:flags.24?true apply_min_photo:flags.25?true fake:flags.26?true id:long access_hash:flags.0?long first_name:flags.1?string last_name:flags.2?string username:flags.3?string phone:flags.4?string photo:flags.5?UserProfilePhoto status:flags.6?UserStatus bot_info_version:flags.14?int restriction_reason:flags.18?Vector<RestrictionReason> bot_inline_placeholder:flags.19?string lang_code:flags.22?string = User;
|
|
|
+user#3ff6ecb0 flags:# self:flags.10?true contact:flags.11?true mutual_contact:flags.12?true deleted:flags.13?true bot:flags.14?true bot_chat_history:flags.15?true bot_nochats:flags.16?true verified:flags.17?true restricted:flags.18?true min:flags.20?true bot_inline_geo:flags.21?true support:flags.23?true scam:flags.24?true apply_min_photo:flags.25?true fake:flags.26?true bot_attach_menu:flags.27?true id:long access_hash:flags.0?long first_name:flags.1?string last_name:flags.2?string username:flags.3?string phone:flags.4?string photo:flags.5?UserProfilePhoto status:flags.6?UserStatus bot_info_version:flags.14?int restriction_reason:flags.18?Vector<RestrictionReason> bot_inline_placeholder:flags.19?string lang_code:flags.22?string = User;
|
|
|
userProfilePhotoEmpty#4f11bae1 = UserProfilePhoto;
|
|
|
userProfilePhoto#82d1f706 flags:# has_video:flags.0?true photo_id:long stripped_thumb:flags.1?bytes dc_id:int = UserProfilePhoto;
|
|
|
userStatusEmpty#9d05049 = UserStatus;
|
|
@@ -76,12 +75,12 @@ userStatusRecently#e26f42f1 = UserStatus;
|
|
|
userStatusLastWeek#7bf09fc = UserStatus;
|
|
|
userStatusLastMonth#77ebc742 = UserStatus;
|
|
|
chatEmpty#29562865 id:long = Chat;
|
|
|
-chat#41cbf256 flags:# creator:flags.0?true kicked:flags.1?true left:flags.2?true deactivated:flags.5?true call_active:flags.23?true call_not_empty:flags.24?true noforwards:flags.25?true id:long title:string photo:ChatPhoto participants_count:int date:int version:int migrated_to:flags.6?InputChannel admin_rights:flags.14?ChatAdminRights default_banned_rights:flags.18?ChatBannedRights = Chat;
|
|
|
+chat#41cbf256 flags:# creator:flags.0?true left:flags.2?true deactivated:flags.5?true call_active:flags.23?true call_not_empty:flags.24?true noforwards:flags.25?true id:long title:string photo:ChatPhoto participants_count:int date:int version:int migrated_to:flags.6?InputChannel admin_rights:flags.14?ChatAdminRights default_banned_rights:flags.18?ChatBannedRights = Chat;
|
|
|
chatForbidden#6592a1a7 id:long title:string = Chat;
|
|
|
channel#8261ac61 flags:# creator:flags.0?true left:flags.2?true broadcast:flags.5?true verified:flags.7?true megagroup:flags.8?true restricted:flags.9?true signatures:flags.11?true min:flags.12?true scam:flags.19?true has_link:flags.20?true has_geo:flags.21?true slowmode_enabled:flags.22?true call_active:flags.23?true call_not_empty:flags.24?true fake:flags.25?true gigagroup:flags.26?true noforwards:flags.27?true id:long access_hash:flags.13?long title:string username:flags.6?string photo:ChatPhoto date:int restriction_reason:flags.9?Vector<RestrictionReason> admin_rights:flags.14?ChatAdminRights banned_rights:flags.15?ChatBannedRights default_banned_rights:flags.18?ChatBannedRights participants_count:flags.17?int = Chat;
|
|
|
channelForbidden#17d493d5 flags:# broadcast:flags.5?true megagroup:flags.8?true id:long access_hash:long title:string until_date:flags.16?int = Chat;
|
|
|
chatFull#d18ee226 flags:# can_set_username:flags.7?true has_scheduled:flags.8?true id:long about:string participants:ChatParticipants chat_photo:flags.2?Photo notify_settings:PeerNotifySettings exported_invite:flags.13?ExportedChatInvite bot_info:flags.3?Vector<BotInfo> pinned_msg_id:flags.6?int folder_id:flags.11?int call:flags.12?InputGroupCall ttl_period:flags.14?int groupcall_default_join_as:flags.15?Peer theme_emoticon:flags.16?string requests_pending:flags.17?int recent_requesters:flags.17?Vector<long> available_reactions:flags.18?Vector<string> = ChatFull;
|
|
|
-channelFull#e13c3d20 flags:# can_view_participants:flags.3?true can_set_username:flags.6?true can_set_stickers:flags.7?true hidden_prehistory:flags.10?true can_set_location:flags.16?true has_scheduled:flags.19?true can_view_stats:flags.20?true blocked:flags.22?true id:long about:string participants_count:flags.0?int admins_count:flags.1?int kicked_count:flags.2?int banned_count:flags.2?int online_count:flags.13?int read_inbox_max_id:int read_outbox_max_id:int unread_count:int chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:flags.23?ExportedChatInvite bot_info:Vector<BotInfo> migrated_from_chat_id:flags.4?long migrated_from_max_id:flags.4?int pinned_msg_id:flags.5?int stickerset:flags.8?StickerSet available_min_id:flags.9?int folder_id:flags.11?int linked_chat_id:flags.14?long location:flags.15?ChannelLocation slowmode_seconds:flags.17?int slowmode_next_send_date:flags.18?int stats_dc:flags.12?int pts:int call:flags.21?InputGroupCall ttl_period:flags.24?int pending_suggestions:flags.25?Vector<string> groupcall_default_join_as:flags.26?Peer theme_emoticon:flags.27?string requests_pending:flags.28?int recent_requesters:flags.28?Vector<long> default_send_as:flags.29?Peer available_reactions:flags.30?Vector<string> = ChatFull;
|
|
|
+channelFull#ea68a619 flags:# can_view_participants:flags.3?true can_set_username:flags.6?true can_set_stickers:flags.7?true hidden_prehistory:flags.10?true can_set_location:flags.16?true has_scheduled:flags.19?true can_view_stats:flags.20?true blocked:flags.22?true flags2:# can_delete_channel:flags2.0?true id:long about:string participants_count:flags.0?int admins_count:flags.1?int kicked_count:flags.2?int banned_count:flags.2?int online_count:flags.13?int read_inbox_max_id:int read_outbox_max_id:int unread_count:int chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:flags.23?ExportedChatInvite bot_info:Vector<BotInfo> migrated_from_chat_id:flags.4?long migrated_from_max_id:flags.4?int pinned_msg_id:flags.5?int stickerset:flags.8?StickerSet available_min_id:flags.9?int folder_id:flags.11?int linked_chat_id:flags.14?long location:flags.15?ChannelLocation slowmode_seconds:flags.17?int slowmode_next_send_date:flags.18?int stats_dc:flags.12?int pts:int call:flags.21?InputGroupCall ttl_period:flags.24?int pending_suggestions:flags.25?Vector<string> groupcall_default_join_as:flags.26?Peer theme_emoticon:flags.27?string requests_pending:flags.28?int recent_requesters:flags.28?Vector<long> default_send_as:flags.29?Peer available_reactions:flags.30?Vector<string> = ChatFull;
|
|
|
chatParticipant#c02d4007 user_id:long inviter_id:long date:int = ChatParticipant;
|
|
|
chatParticipantCreator#e46bcee4 user_id:long = ChatParticipant;
|
|
|
chatParticipantAdmin#a0933f5b user_id:long inviter_id:long date:int = ChatParticipant;
|
|
@@ -135,6 +134,8 @@ messageActionSetMessagesTTL#aa1afbfd period:int = MessageAction;
|
|
|
messageActionGroupCallScheduled#b3a07661 call:InputGroupCall schedule_date:int = MessageAction;
|
|
|
messageActionSetChatTheme#aa786345 emoticon:string = MessageAction;
|
|
|
messageActionChatJoinedByRequest#ebbca3cb = MessageAction;
|
|
|
+messageActionWebViewDataSentMe#47dd8079 text:string data:string = MessageAction;
|
|
|
+messageActionWebViewDataSent#b4c38cb5 text:string = MessageAction;
|
|
|
dialog#a8edd0f5 flags:# pinned:flags.2?true unread_mark:flags.3?true peer:Peer top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int unread_mentions_count:int unread_reactions_count:int notify_settings:PeerNotifySettings pts:flags.0?int draft:flags.1?DraftMessage folder_id:flags.4?int = Dialog;
|
|
|
dialogFolder#71bd134c flags:# pinned:flags.2?true folder:Folder peer:Peer top_message:int unread_muted_peers_count:int unread_unmuted_peers_count:int unread_muted_messages_count:int unread_unmuted_messages_count:int = Dialog;
|
|
|
photoEmpty#2331b22d id:long = Photo;
|
|
@@ -155,8 +156,8 @@ inputNotifyPeer#b8bc5b0c peer:InputPeer = InputNotifyPeer;
|
|
|
inputNotifyUsers#193b4417 = InputNotifyPeer;
|
|
|
inputNotifyChats#4a95e84e = InputNotifyPeer;
|
|
|
inputNotifyBroadcasts#b1db7c7e = InputNotifyPeer;
|
|
|
-inputPeerNotifySettings#9c3d198e flags:# show_previews:flags.0?Bool silent:flags.1?Bool mute_until:flags.2?int sound:flags.3?string = InputPeerNotifySettings;
|
|
|
-peerNotifySettings#af509d20 flags:# show_previews:flags.0?Bool silent:flags.1?Bool mute_until:flags.2?int sound:flags.3?string = PeerNotifySettings;
|
|
|
+inputPeerNotifySettings#df1f002b flags:# show_previews:flags.0?Bool silent:flags.1?Bool mute_until:flags.2?int sound:flags.3?NotificationSound = InputPeerNotifySettings;
|
|
|
+peerNotifySettings#a83b0426 flags:# show_previews:flags.0?Bool silent:flags.1?Bool mute_until:flags.2?int ios_sound:flags.3?NotificationSound android_sound:flags.4?NotificationSound other_sound:flags.5?NotificationSound = PeerNotifySettings;
|
|
|
peerSettings#a518110d flags:# report_spam:flags.0?true add_contact:flags.1?true block_contact:flags.2?true share_contact:flags.3?true need_contacts_exception:flags.4?true report_geo:flags.5?true autoarchived:flags.7?true invite_members:flags.8?true request_chat_broadcast:flags.10?true geo_distance:flags.6?int request_chat_title:flags.9?string request_chat_date:flags.9?int = PeerSettings;
|
|
|
wallPaper#a437c3ed id:long flags:# creator:flags.0?true default:flags.1?true pattern:flags.3?true dark:flags.4?true access_hash:long slug:string document:Document settings:flags.2?WallPaperSettings = WallPaper;
|
|
|
wallPaperNoFile#e0804116 id:long flags:# default:flags.1?true dark:flags.4?true settings:flags.2?WallPaperSettings = WallPaper;
|
|
@@ -168,7 +169,9 @@ inputReportReasonOther#c1e4a2b1 = ReportReason;
|
|
|
inputReportReasonCopyright#9b89f93a = ReportReason;
|
|
|
inputReportReasonGeoIrrelevant#dbd4feed = ReportReason;
|
|
|
inputReportReasonFake#f5ddd6e7 = ReportReason;
|
|
|
-userFull#cf366521 flags:# blocked:flags.0?true phone_calls_available:flags.4?true phone_calls_private:flags.5?true can_pin_message:flags.7?true has_scheduled:flags.12?true video_calls_available:flags.13?true id:long about:flags.1?string settings:PeerSettings profile_photo:flags.2?Photo notify_settings:PeerNotifySettings bot_info:flags.3?BotInfo pinned_msg_id:flags.6?int common_chats_count:int folder_id:flags.11?int ttl_period:flags.14?int theme_emoticon:flags.15?string private_forward_name:flags.16?string = UserFull;
|
|
|
+inputReportReasonIllegalDrugs#a8eb2be = ReportReason;
|
|
|
+inputReportReasonPersonalDetails#9ec7863d = ReportReason;
|
|
|
+userFull#8c72ea81 flags:# blocked:flags.0?true phone_calls_available:flags.4?true phone_calls_private:flags.5?true can_pin_message:flags.7?true has_scheduled:flags.12?true video_calls_available:flags.13?true id:long about:flags.1?string settings:PeerSettings profile_photo:flags.2?Photo notify_settings:PeerNotifySettings bot_info:flags.3?BotInfo pinned_msg_id:flags.6?int common_chats_count:int folder_id:flags.11?int ttl_period:flags.14?int theme_emoticon:flags.15?string private_forward_name:flags.16?string bot_group_admin_rights:flags.17?ChatAdminRights bot_broadcast_admin_rights:flags.18?ChatAdminRights = UserFull;
|
|
|
contact#145ade0b user_id:long mutual:Bool = Contact;
|
|
|
importedContact#c13e3c50 user_id:long client_id:long = ImportedContact;
|
|
|
contactStatus#16d9703b user_id:long status:UserStatus = ContactStatus;
|
|
@@ -301,6 +304,10 @@ updateBotCommands#4d712f2e peer:Peer bot_id:long commands:Vector<BotCommand> = U
|
|
|
updatePendingJoinRequests#7063c3db peer:Peer requests_pending:int recent_requesters:Vector<long> = Update;
|
|
|
updateBotChatInviteRequester#11dfa986 peer:Peer date:int user_id:long about:string invite:ExportedChatInvite qts:int = Update;
|
|
|
updateMessageReactions#154798c3 peer:Peer msg_id:int reactions:MessageReactions = Update;
|
|
|
+updateAttachMenuBots#17b7a20b = Update;
|
|
|
+updateWebViewResultSent#1592b79d query_id:long = Update;
|
|
|
+updateBotMenuButton#14b85813 bot_id:long button:BotMenuButton = Update;
|
|
|
+updateSavedRingtones#74d8be99 = Update;
|
|
|
updates.state#a56c2a3e pts:int qts:int date:int seq:int unread_count:int = updates.State;
|
|
|
updates.differenceEmpty#5d75a138 date:int seq:int = updates.Difference;
|
|
|
updates.difference#f49ca0 new_messages:Vector<Message> new_encrypted_messages:Vector<EncryptedMessage> other_updates:Vector<Update> chats:Vector<Chat> users:Vector<User> state:updates.State = updates.Difference;
|
|
@@ -438,11 +445,11 @@ inputStickerSetShortName#861cc8a0 short_name:string = InputStickerSet;
|
|
|
inputStickerSetAnimatedEmoji#28703c8 = InputStickerSet;
|
|
|
inputStickerSetDice#e67f520e emoticon:string = InputStickerSet;
|
|
|
inputStickerSetAnimatedEmojiAnimations#cde3739 = InputStickerSet;
|
|
|
-stickerSet#d7df217a flags:# archived:flags.1?true official:flags.2?true masks:flags.3?true animated:flags.5?true gifs:flags.6?true installed_date:flags.0?int id:long access_hash:long title:string short_name:string thumbs:flags.4?Vector<PhotoSize> thumb_dc_id:flags.4?int thumb_version:flags.4?int count:int hash:int = StickerSet;
|
|
|
+stickerSet#d7df217a flags:# archived:flags.1?true official:flags.2?true masks:flags.3?true animated:flags.5?true videos:flags.6?true installed_date:flags.0?int id:long access_hash:long title:string short_name:string thumbs:flags.4?Vector<PhotoSize> thumb_dc_id:flags.4?int thumb_version:flags.4?int count:int hash:int = StickerSet;
|
|
|
messages.stickerSet#b60a24a6 set:StickerSet packs:Vector<StickerPack> documents:Vector<Document> = messages.StickerSet;
|
|
|
messages.stickerSetNotModified#d3f924eb = messages.StickerSet;
|
|
|
botCommand#c27ac8c7 command:string description:string = BotCommand;
|
|
|
-botInfo#1b74b335 user_id:long description:string commands:Vector<BotCommand> = BotInfo;
|
|
|
+botInfo#e4169b5d user_id:long description:string commands:Vector<BotCommand> menu_button:BotMenuButton = BotInfo;
|
|
|
keyboardButton#a2fa4880 text:string = KeyboardButton;
|
|
|
keyboardButtonUrl#258aff05 text:string url:string = KeyboardButton;
|
|
|
keyboardButtonCallback#35bbdb6b flags:# requires_password:flags.0?true text:string data:bytes = KeyboardButton;
|
|
@@ -456,6 +463,8 @@ inputKeyboardButtonUrlAuth#d02e7fd4 flags:# request_write_access:flags.0?true te
|
|
|
keyboardButtonRequestPoll#bbc7515d flags:# quiz:flags.0?Bool text:string = KeyboardButton;
|
|
|
inputKeyboardButtonUserProfile#e988037b text:string user_id:InputUser = KeyboardButton;
|
|
|
keyboardButtonUserProfile#308660c1 text:string user_id:long = KeyboardButton;
|
|
|
+keyboardButtonWebView#13767230 text:string url:string = KeyboardButton;
|
|
|
+keyboardButtonSimpleWebView#a0c0505c text:string url:string = KeyboardButton;
|
|
|
keyboardButtonRow#77608b83 buttons:Vector<KeyboardButton> = KeyboardButtonRow;
|
|
|
replyKeyboardHide#a03e5b85 flags:# selective:flags.2?true = ReplyMarkup;
|
|
|
replyKeyboardForceReply#86b40b08 flags:# single_use:flags.1?true selective:flags.2?true placeholder:flags.3?string = ReplyMarkup;
|
|
@@ -899,7 +908,7 @@ messageReplies#83d60fc2 flags:# comments:flags.0?true replies:int replies_pts:in
|
|
|
peerBlocked#e8fd8014 peer_id:Peer date:int = PeerBlocked;
|
|
|
stats.messageStats#8999f295 views_graph:StatsGraph = stats.MessageStats;
|
|
|
groupCallDiscarded#7780bcb4 id:long access_hash:long duration:int = GroupCall;
|
|
|
-groupCall#d597650c flags:# join_muted:flags.1?true can_change_join_muted:flags.2?true join_date_asc:flags.6?true schedule_start_subscribed:flags.8?true can_start_video:flags.9?true record_video_active:flags.11?true id:long access_hash:long participants_count:int title:flags.3?string stream_dc_id:flags.4?int record_start_date:flags.5?int schedule_date:flags.7?int unmuted_video_count:flags.10?int unmuted_video_limit:int version:int = GroupCall;
|
|
|
+groupCall#d597650c flags:# join_muted:flags.1?true can_change_join_muted:flags.2?true join_date_asc:flags.6?true schedule_start_subscribed:flags.8?true can_start_video:flags.9?true record_video_active:flags.11?true rtmp_stream:flags.12?true listeners_hidden:flags.13?true id:long access_hash:long participants_count:int title:flags.3?string stream_dc_id:flags.4?int record_start_date:flags.5?int schedule_date:flags.7?int unmuted_video_count:flags.10?int unmuted_video_limit:int version:int = GroupCall;
|
|
|
inputGroupCall#d8aa840f id:long access_hash:long = InputGroupCall;
|
|
|
groupCallParticipant#eba636fe flags:# muted:flags.0?true left:flags.1?true can_self_unmute:flags.2?true just_joined:flags.4?true versioned:flags.5?true min:flags.8?true muted_by_you:flags.9?true volume_by_admin:flags.10?true self:flags.12?true video_joined:flags.15?true peer:Peer date:int active_date:flags.3?int source:int volume:flags.7?int about:flags.11?string raise_hand_rating:flags.13?long video:flags.6?GroupCallParticipantVideo presentation:flags.14?GroupCallParticipantVideo = GroupCallParticipant;
|
|
|
phone.groupCall#9e727aad call:GroupCall participants:Vector<GroupCallParticipant> participants_next_offset:string chats:Vector<Chat> users:Vector<User> = phone.GroupCall;
|
|
@@ -954,7 +963,29 @@ messages.availableReactions#768e3aad hash:int reactions:Vector<AvailableReaction
|
|
|
messages.translateNoResult#67ca4737 = messages.TranslatedText;
|
|
|
messages.translateResultText#a214f7d0 text:string = messages.TranslatedText;
|
|
|
messagePeerReaction#51b67eff flags:# big:flags.0?true unread:flags.1?true peer_id:Peer reaction:string = MessagePeerReaction;
|
|
|
+groupCallStreamChannel#80eb48af channel:int scale:int last_timestamp_ms:long = GroupCallStreamChannel;
|
|
|
+phone.groupCallStreamChannels#d0e482b2 channels:Vector<GroupCallStreamChannel> = phone.GroupCallStreamChannels;
|
|
|
phone.groupCallStreamRtmpUrl#2dbf3432 url:string key:string = phone.GroupCallStreamRtmpUrl;
|
|
|
+attachMenuBotIconColor#4576f3f0 name:string color:int = AttachMenuBotIconColor;
|
|
|
+attachMenuBotIcon#b2a7386b flags:# name:string icon:Document colors:flags.0?Vector<AttachMenuBotIconColor> = AttachMenuBotIcon;
|
|
|
+attachMenuBot#e93cb772 flags:# inactive:flags.0?true bot_id:long short_name:string icons:Vector<AttachMenuBotIcon> = AttachMenuBot;
|
|
|
+attachMenuBotsNotModified#f1d88a5c = AttachMenuBots;
|
|
|
+attachMenuBots#3c4301c0 hash:long bots:Vector<AttachMenuBot> users:Vector<User> = AttachMenuBots;
|
|
|
+attachMenuBotsBot#93bf667f bot:AttachMenuBot users:Vector<User> = AttachMenuBotsBot;
|
|
|
+webViewResultUrl#c14557c query_id:long url:string = WebViewResult;
|
|
|
+simpleWebViewResultUrl#882f76bb url:string = SimpleWebViewResult;
|
|
|
+webViewMessageSent#c94511c flags:# msg_id:flags.0?InputBotInlineMessageID = WebViewMessageSent;
|
|
|
+botMenuButtonDefault#7533a588 = BotMenuButton;
|
|
|
+botMenuButtonCommands#4258c205 = BotMenuButton;
|
|
|
+botMenuButton#c7b57ce6 text:string url:string = BotMenuButton;
|
|
|
+account.savedRingtonesNotModified#fbf6e8b1 = account.SavedRingtones;
|
|
|
+account.savedRingtones#c1e92cc5 hash:long ringtones:Vector<Document> = account.SavedRingtones;
|
|
|
+notificationSoundDefault#97e8bebe = NotificationSound;
|
|
|
+notificationSoundNone#6f0c34df = NotificationSound;
|
|
|
+notificationSoundLocal#830b9ae4 title:string data:string = NotificationSound;
|
|
|
+notificationSoundRingtone#ff6c8049 id:long = NotificationSound;
|
|
|
+account.savedRingtone#b7263f6d = account.SavedRingtone;
|
|
|
+account.savedRingtoneConverted#1f307eb7 document:Document = account.SavedRingtone;
|
|
|
---functions---
|
|
|
invokeAfterMsg#cb9f372d {X:Type} msg_id:long query:!X = X;
|
|
|
invokeAfterMsgs#3dc4b4f0 {X:Type} msg_ids:Vector<long> query:!X = X;
|
|
@@ -1055,6 +1086,9 @@ account.declinePasswordReset#4c9409f6 = Bool;
|
|
|
account.getChatThemes#d638de89 hash:long = account.Themes;
|
|
|
account.setAuthorizationTTL#bf899aa0 authorization_ttl_days:int = Bool;
|
|
|
account.changeAuthorizationSettings#40f48462 flags:# hash:long encrypted_requests_disabled:flags.0?Bool call_requests_disabled:flags.1?Bool = Bool;
|
|
|
+account.getSavedRingtones#e1902288 hash:long = account.SavedRingtones;
|
|
|
+account.saveRingtone#3dea5b03 id:InputDocument unsave:Bool = account.SavedRingtone;
|
|
|
+account.uploadRingtone#831a83a2 file:InputFile file_name:string mime_type:string = Document;
|
|
|
users.getUsers#d91a548 id:Vector<InputUser> = Vector<User>;
|
|
|
users.getFullUser#b60f5918 id:InputUser = users.UserFull;
|
|
|
users.setSecureValueErrors#90c894b5 id:InputUser errors:Vector<SecureValueError> = Bool;
|
|
@@ -1078,6 +1112,7 @@ contacts.addContact#e8f463d0 flags:# add_phone_privacy_exception:flags.0?true id
|
|
|
contacts.acceptContact#f831a20f id:InputUser = Updates;
|
|
|
contacts.getLocated#d348bc44 flags:# background:flags.1?true geo_point:InputGeoPoint self_expires:flags.0?int = Updates;
|
|
|
contacts.blockFromReplies#29a8962c flags:# delete_message:flags.0?true delete_history:flags.1?true report_spam:flags.2?true msg_id:int = Updates;
|
|
|
+contacts.resolvePhone#8af94344 phone:string = contacts.ResolvedPeer;
|
|
|
messages.getMessages#63c66506 id:Vector<InputMessage> = messages.Messages;
|
|
|
messages.getDialogs#a0f4cb4f flags:# exclude_pinned:flags.0?true folder_id:flags.1?int offset_date:int offset_id:int offset_peer:InputPeer limit:int hash:long = messages.Dialogs;
|
|
|
messages.getHistory#4423e6c5 peer:InputPeer offset_id:int offset_date:int add_offset:int limit:int max_id:int min_id:int hash:long = messages.Messages;
|
|
@@ -1236,6 +1271,15 @@ messages.setDefaultReaction#d960c4d4 reaction:string = Bool;
|
|
|
messages.translateText#24ce6dee flags:# peer:flags.0?InputPeer msg_id:flags.0?int text:flags.1?string from_lang:flags.2?string to_lang:string = messages.TranslatedText;
|
|
|
messages.getUnreadReactions#e85bae1a peer:InputPeer offset_id:int add_offset:int limit:int max_id:int min_id:int = messages.Messages;
|
|
|
messages.readReactions#82e251d7 peer:InputPeer = messages.AffectedHistory;
|
|
|
+messages.searchSentMedia#107e31a0 q:string filter:MessagesFilter limit:int = messages.Messages;
|
|
|
+messages.getAttachMenuBots#16fcc2cb hash:long = AttachMenuBots;
|
|
|
+messages.getAttachMenuBot#77216192 bot:InputUser = AttachMenuBotsBot;
|
|
|
+messages.toggleBotInAttachMenu#1aee33af bot:InputUser enabled:Bool = Bool;
|
|
|
+messages.requestWebView#fa04dff flags:# from_bot_menu:flags.4?true silent:flags.5?true peer:InputPeer bot:InputUser url:flags.1?string start_param:flags.3?string theme_params:flags.2?DataJSON reply_to_msg_id:flags.0?int = WebViewResult;
|
|
|
+messages.prolongWebView#d22ad148 flags:# silent:flags.5?true peer:InputPeer bot:InputUser query_id:long reply_to_msg_id:flags.0?int = Bool;
|
|
|
+messages.requestSimpleWebView#6abb2f73 flags:# bot:InputUser url:string theme_params:flags.0?DataJSON = SimpleWebViewResult;
|
|
|
+messages.sendWebViewResultMessage#a4314f5 bot_query_id:string result:InputBotInlineResult = WebViewMessageSent;
|
|
|
+messages.sendWebViewData#dc0242c8 bot:InputUser random_id:long button_text:string data:string = Updates;
|
|
|
updates.getState#edd4882a = updates.State;
|
|
|
updates.getDifference#25939651 flags:# pts:int pts_total_limit:flags.0?int date:int qts:int = updates.Difference;
|
|
|
updates.getChannelDifference#3173d78 flags:# force:flags.0?true channel:InputChannel filter:ChannelMessagesFilter pts:int limit:int = updates.ChannelDifference;
|
|
@@ -1298,7 +1342,7 @@ channels.editBanned#96e6cd81 channel:InputChannel participant:InputPeer banned_r
|
|
|
channels.getAdminLog#33ddf480 flags:# channel:InputChannel q:string events_filter:flags.0?ChannelAdminLogEventsFilter admins:flags.1?Vector<InputUser> max_id:long min_id:long limit:int = channels.AdminLogResults;
|
|
|
channels.setStickers#ea8ca4f9 channel:InputChannel stickerset:InputStickerSet = Bool;
|
|
|
channels.readMessageContents#eab5dc38 channel:InputChannel id:Vector<int> = Bool;
|
|
|
-channels.deleteHistory#af369d42 channel:InputChannel max_id:int = Bool;
|
|
|
+channels.deleteHistory#9baa9647 flags:# for_everyone:flags.0?true channel:InputChannel max_id:int = Updates;
|
|
|
channels.togglePreHistoryHidden#eabbb94c channel:InputChannel enabled:Bool = Updates;
|
|
|
channels.getLeftChannels#8341ecc0 offset:int = messages.Chats;
|
|
|
channels.getGroupsForDiscussion#f5dad378 = messages.Chats;
|
|
@@ -1317,6 +1361,10 @@ bots.answerWebhookJSONQuery#e6213f4d query_id:long data:DataJSON = Bool;
|
|
|
bots.setBotCommands#517165a scope:BotCommandScope lang_code:string commands:Vector<BotCommand> = Bool;
|
|
|
bots.resetBotCommands#3d8de0f9 scope:BotCommandScope lang_code:string = Bool;
|
|
|
bots.getBotCommands#e34c0dd6 scope:BotCommandScope lang_code:string = Vector<BotCommand>;
|
|
|
+bots.setBotMenuButton#4504d54f user_id:InputUser button:BotMenuButton = Bool;
|
|
|
+bots.getBotMenuButton#9c60eb28 user_id:InputUser = BotMenuButton;
|
|
|
+bots.setBotBroadcastDefaultAdminRights#788464e1 admin_rights:ChatAdminRights = Bool;
|
|
|
+bots.setBotGroupDefaultAdminRights#925ec9ea admin_rights:ChatAdminRights = Bool;
|
|
|
payments.getPaymentForm#8a333c8d flags:# peer:InputPeer msg_id:int theme_params:flags.0?DataJSON = payments.PaymentForm;
|
|
|
payments.getPaymentReceipt#2478d1cc peer:InputPeer msg_id:int = payments.PaymentReceipt;
|
|
|
payments.validateRequestedInfo#db103170 flags:# save:flags.0?true peer:InputPeer msg_id:int info:PaymentRequestedInfo = payments.ValidatedRequestedInfo;
|
|
@@ -1324,7 +1372,7 @@ payments.sendPaymentForm#30c3bc9d flags:# form_id:long peer:InputPeer msg_id:int
|
|
|
payments.getSavedInfo#227d824b = payments.SavedInfo;
|
|
|
payments.clearSavedInfo#d83d70c1 flags:# credentials:flags.0?true info:flags.1?true = Bool;
|
|
|
payments.getBankCardData#2e79d779 number:string = payments.BankCardData;
|
|
|
-stickers.createStickerSet#9021ab67 flags:# masks:flags.0?true animated:flags.1?true user_id:InputUser title:string short_name:string thumb:flags.2?InputDocument stickers:Vector<InputStickerSetItem> software:flags.3?string = messages.StickerSet;
|
|
|
+stickers.createStickerSet#9021ab67 flags:# masks:flags.0?true animated:flags.1?true videos:flags.4?true user_id:InputUser title:string short_name:string thumb:flags.2?InputDocument stickers:Vector<InputStickerSetItem> software:flags.3?string = messages.StickerSet;
|
|
|
stickers.removeStickerFromSet#f7760f51 sticker:InputDocument = messages.StickerSet;
|
|
|
stickers.changeStickerPosition#ffb6d4ca sticker:InputDocument position:int = messages.StickerSet;
|
|
|
stickers.addStickerToSet#8653febe stickerset:InputStickerSet sticker:InputStickerSetItem = messages.StickerSet;
|
|
@@ -1359,6 +1407,8 @@ phone.startScheduledGroupCall#5680e342 call:InputGroupCall = Updates;
|
|
|
phone.saveDefaultGroupCallJoinAs#575e1f8c peer:InputPeer join_as:InputPeer = Bool;
|
|
|
phone.joinGroupCallPresentation#cbea6bc4 call:InputGroupCall params:DataJSON = Updates;
|
|
|
phone.leaveGroupCallPresentation#1c50d144 call:InputGroupCall = Updates;
|
|
|
+phone.getGroupCallStreamChannels#1ab21940 call:InputGroupCall = phone.GroupCallStreamChannels;
|
|
|
+phone.getGroupCallStreamRtmpUrl#deb3abbf peer:InputPeer revoke:Bool = phone.GroupCallStreamRtmpUrl;
|
|
|
langpack.getLangPack#f2f2330a lang_pack:string lang_code:string = LangPackDifference;
|
|
|
langpack.getStrings#efea3803 lang_pack:string lang_code:string keys:Vector<string> = Vector<LangPackString>;
|
|
|
langpack.getDifference#cd984aa5 lang_pack:string lang_code:string from_version:int = LangPackDifference;
|
|
@@ -1371,5 +1421,4 @@ stats.loadAsyncGraph#621d5fa0 flags:# token:string x:flags.0?long = StatsGraph;
|
|
|
stats.getMegagroupStats#dcdf8607 flags:# dark:flags.0?true channel:InputChannel = stats.MegagroupStats;
|
|
|
stats.getMessagePublicForwards#5630281b channel:InputChannel msg_id:int offset_rate:int offset_peer:InputPeer offset_id:int limit:int = messages.Messages;
|
|
|
stats.getMessageStats#b6e0a3f5 flags:# dark:flags.0?true channel:InputChannel msg_id:int = stats.MessageStats;
|
|
|
-phone.getGroupCallStreamRtmpUrl#deb3abbf peer:InputPeer revoke:Bool = phone.GroupCallStreamRtmpUrl;
|
|
|
`;
|