|
|
|
@ -176,6 +176,7 @@ messageActionGiftCode#678c2e09 flags:# via_giveaway:flags.0?true unclaimed:flags
|
|
|
|
|
messageActionGiveawayLaunch#332ba9ed = MessageAction;
|
|
|
|
|
messageActionGiveawayResults#2a9fadc5 winners_count:int unclaimed_count:int = MessageAction;
|
|
|
|
|
messageActionBoostApply#cc02aa6d boosts:int = MessageAction;
|
|
|
|
|
messageActionRequestedPeerSentMe#93b31848 button_id:int peers:Vector<RequestedPeer> = MessageAction;
|
|
|
|
|
|
|
|
|
|
dialog#d58a08c6 flags:# pinned:flags.2?true unread_mark:flags.3?true view_forum_as_messages:flags.6?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 ttl_period:flags.5?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;
|
|
|
|
@ -227,7 +228,7 @@ inputReportReasonFake#f5ddd6e7 = ReportReason;
|
|
|
|
|
inputReportReasonIllegalDrugs#a8eb2be = ReportReason;
|
|
|
|
|
inputReportReasonPersonalDetails#9ec7863d = ReportReason;
|
|
|
|
|
|
|
|
|
|
userFull#ecdadceb 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 voice_messages_forbidden:flags.20?true translations_disabled:flags.23?true stories_pinned_available:flags.26?true blocked_my_stories_from:flags.27?true wallpaper_overridden:flags.28?true contact_require_premium:flags.29?true read_dates_private:flags.30?true flags2:# id:long about:flags.1?string settings:PeerSettings personal_photo:flags.21?Photo profile_photo:flags.2?Photo fallback_photo:flags.22?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 premium_gifts:flags.19?Vector<PremiumGiftOption> wallpaper:flags.24?WallPaper stories:flags.25?PeerStories business_work_hours:flags2.0?BusinessWorkHours business_location:flags2.1?BusinessLocation business_greeting_message:flags2.2?BusinessGreetingMessage business_away_message:flags2.3?BusinessAwayMessage business_intro:flags2.4?BusinessIntro birthday:flags2.5?Birthday = UserFull;
|
|
|
|
|
userFull#cc997720 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 voice_messages_forbidden:flags.20?true translations_disabled:flags.23?true stories_pinned_available:flags.26?true blocked_my_stories_from:flags.27?true wallpaper_overridden:flags.28?true contact_require_premium:flags.29?true read_dates_private:flags.30?true flags2:# id:long about:flags.1?string settings:PeerSettings personal_photo:flags.21?Photo profile_photo:flags.2?Photo fallback_photo:flags.22?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 premium_gifts:flags.19?Vector<PremiumGiftOption> wallpaper:flags.24?WallPaper stories:flags.25?PeerStories business_work_hours:flags2.0?BusinessWorkHours business_location:flags2.1?BusinessLocation business_greeting_message:flags2.2?BusinessGreetingMessage business_away_message:flags2.3?BusinessAwayMessage business_intro:flags2.4?BusinessIntro birthday:flags2.5?Birthday personal_channel_id:flags2.6?long personal_channel_message:flags2.6?int = UserFull;
|
|
|
|
|
|
|
|
|
|
contact#145ade0b user_id:long mutual:Bool = Contact;
|
|
|
|
|
|
|
|
|
@ -388,7 +389,6 @@ updateChannelPinnedTopic#192efbe3 flags:# pinned:flags.0?true channel_id:long to
|
|
|
|
|
updateChannelPinnedTopics#fe198602 flags:# channel_id:long order:flags.0?Vector<int> = Update;
|
|
|
|
|
updateUser#20529438 user_id:long = Update;
|
|
|
|
|
updateAutoSaveSettings#ec05b097 = Update;
|
|
|
|
|
updateGroupInvitePrivacyForbidden#ccf08ad6 user_id:long = Update;
|
|
|
|
|
updateStory#75b3b798 peer:Peer story:StoryItem = Update;
|
|
|
|
|
updateReadStories#f74e932b peer:Peer max_id:int = Update;
|
|
|
|
|
updateStoryID#1bf335b9 id:int random_id:long = Update;
|
|
|
|
@ -540,6 +540,7 @@ inputPrivacyValueDisallowUsers#90110467 users:Vector<InputUser> = InputPrivacyRu
|
|
|
|
|
inputPrivacyValueAllowChatParticipants#840649cf chats:Vector<long> = InputPrivacyRule;
|
|
|
|
|
inputPrivacyValueDisallowChatParticipants#e94f0f86 chats:Vector<long> = InputPrivacyRule;
|
|
|
|
|
inputPrivacyValueAllowCloseFriends#2f453e49 = InputPrivacyRule;
|
|
|
|
|
inputPrivacyValueAllowPremium#77cdc9f1 = InputPrivacyRule;
|
|
|
|
|
|
|
|
|
|
privacyValueAllowContacts#fffe1bac = PrivacyRule;
|
|
|
|
|
privacyValueAllowAll#65427b82 = PrivacyRule;
|
|
|
|
@ -550,6 +551,7 @@ privacyValueDisallowUsers#e4621141 users:Vector<long> = PrivacyRule;
|
|
|
|
|
privacyValueAllowChatParticipants#6b134e8e chats:Vector<long> = PrivacyRule;
|
|
|
|
|
privacyValueDisallowChatParticipants#41c87565 chats:Vector<long> = PrivacyRule;
|
|
|
|
|
privacyValueAllowCloseFriends#f7e8d89b = PrivacyRule;
|
|
|
|
|
privacyValueAllowPremium#ece9814b = PrivacyRule;
|
|
|
|
|
|
|
|
|
|
account.privacyRules#50a04e45 rules:Vector<PrivacyRule> chats:Vector<Chat> users:Vector<User> = account.PrivacyRules;
|
|
|
|
|
|
|
|
|
@ -637,6 +639,7 @@ keyboardButtonUserProfile#308660c1 text:string user_id:long = KeyboardButton;
|
|
|
|
|
keyboardButtonWebView#13767230 text:string url:string = KeyboardButton;
|
|
|
|
|
keyboardButtonSimpleWebView#a0c0505c text:string url:string = KeyboardButton;
|
|
|
|
|
keyboardButtonRequestPeer#53d7bfd8 text:string button_id:int peer_type:RequestPeerType max_quantity:int = KeyboardButton;
|
|
|
|
|
inputKeyboardButtonRequestPeer#c9662d05 flags:# name_requested:flags.0?true username_requested:flags.1?true photo_requested:flags.2?true text:string button_id:int peer_type:RequestPeerType max_quantity:int = KeyboardButton;
|
|
|
|
|
|
|
|
|
|
keyboardButtonRow#77608b83 buttons:Vector<KeyboardButton> = KeyboardButtonRow;
|
|
|
|
|
|
|
|
|
@ -921,7 +924,7 @@ phoneCallEmpty#5366c915 id:long = PhoneCall;
|
|
|
|
|
phoneCallWaiting#c5226f17 flags:# video:flags.6?true id:long access_hash:long date:int admin_id:long participant_id:long protocol:PhoneCallProtocol receive_date:flags.0?int = PhoneCall;
|
|
|
|
|
phoneCallRequested#14b0ed0c flags:# video:flags.6?true id:long access_hash:long date:int admin_id:long participant_id:long g_a_hash:bytes protocol:PhoneCallProtocol = PhoneCall;
|
|
|
|
|
phoneCallAccepted#3660c311 flags:# video:flags.6?true id:long access_hash:long date:int admin_id:long participant_id:long g_b:bytes protocol:PhoneCallProtocol = PhoneCall;
|
|
|
|
|
phoneCall#967f7c67 flags:# p2p_allowed:flags.5?true video:flags.6?true id:long access_hash:long date:int admin_id:long participant_id:long g_a_or_b:bytes key_fingerprint:long protocol:PhoneCallProtocol connections:Vector<PhoneConnection> start_date:int = PhoneCall;
|
|
|
|
|
phoneCall#30535af5 flags:# p2p_allowed:flags.5?true video:flags.6?true id:long access_hash:long date:int admin_id:long participant_id:long g_a_or_b:bytes key_fingerprint:long protocol:PhoneCallProtocol connections:Vector<PhoneConnection> start_date:int custom_parameters:flags.7?DataJSON = PhoneCall;
|
|
|
|
|
phoneCallDiscarded#50ca4de1 flags:# need_rating:flags.2?true need_debug:flags.3?true video:flags.6?true id:long reason:flags.0?PhoneCallDiscardReason duration:flags.1?int = PhoneCall;
|
|
|
|
|
|
|
|
|
|
phoneConnection#9cc123c7 flags:# tcp:flags.0?true id:long ip:string ipv6:string port:int peer_tag:bytes = PhoneConnection;
|
|
|
|
@ -1358,7 +1361,7 @@ account.resetPasswordFailedWait#e3779861 retry_date:int = account.ResetPasswordR
|
|
|
|
|
account.resetPasswordRequestedWait#e9effc7d until_date:int = account.ResetPasswordResult;
|
|
|
|
|
account.resetPasswordOk#e926d63e = account.ResetPasswordResult;
|
|
|
|
|
|
|
|
|
|
sponsoredMessage#ed5383f7 flags:# recommended:flags.5?true show_peer_photo:flags.6?true random_id:bytes from_id:flags.3?Peer chat_invite:flags.4?ChatInvite chat_invite_hash:flags.4?string channel_post:flags.2?int start_param:flags.0?string webpage:flags.9?SponsoredWebPage app:flags.10?BotApp message:string entities:flags.1?Vector<MessageEntity> button_text:flags.11?string sponsor_info:flags.7?string additional_info:flags.8?string = SponsoredMessage;
|
|
|
|
|
sponsoredMessage#ed5383f7 flags:# recommended:flags.5?true show_peer_photo:flags.6?true can_report:flags.12?true random_id:bytes from_id:flags.3?Peer chat_invite:flags.4?ChatInvite chat_invite_hash:flags.4?string channel_post:flags.2?int start_param:flags.0?string webpage:flags.9?SponsoredWebPage app:flags.10?BotApp message:string entities:flags.1?Vector<MessageEntity> button_text:flags.11?string sponsor_info:flags.7?string additional_info:flags.8?string = SponsoredMessage;
|
|
|
|
|
|
|
|
|
|
messages.sponsoredMessages#c9ee1d87 flags:# posts_between:flags.0?int messages:Vector<SponsoredMessage> chats:Vector<Chat> users:Vector<User> = messages.SponsoredMessages;
|
|
|
|
|
messages.sponsoredMessagesEmpty#1839490f = messages.SponsoredMessages;
|
|
|
|
@ -1735,6 +1738,28 @@ contactBirthday#1d998733 contact_id:long birthday:Birthday = ContactBirthday;
|
|
|
|
|
|
|
|
|
|
contacts.contactBirthdays#114ff30d contacts:Vector<ContactBirthday> users:Vector<User> = contacts.ContactBirthdays;
|
|
|
|
|
|
|
|
|
|
missingInvitee#628c9224 flags:# premium_would_allow_invite:flags.0?true premium_required_for_pm:flags.1?true user_id:long = MissingInvitee;
|
|
|
|
|
|
|
|
|
|
messages.invitedUsers#7f5defa6 updates:Updates missing_invitees:Vector<MissingInvitee> = messages.InvitedUsers;
|
|
|
|
|
|
|
|
|
|
inputBusinessChatLink#11679fa7 flags:# message:string entities:flags.0?Vector<MessageEntity> title:flags.1?string = InputBusinessChatLink;
|
|
|
|
|
|
|
|
|
|
businessChatLink#b4ae666f flags:# link:string message:string entities:flags.0?Vector<MessageEntity> title:flags.1?string views:int = BusinessChatLink;
|
|
|
|
|
|
|
|
|
|
account.businessChatLinks#ec43a2d1 links:Vector<BusinessChatLink> chats:Vector<Chat> users:Vector<User> = account.BusinessChatLinks;
|
|
|
|
|
|
|
|
|
|
account.resolvedBusinessChatLinks#9a23af21 flags:# peer:Peer message:string entities:flags.0?Vector<MessageEntity> chats:Vector<Chat> users:Vector<User> = account.ResolvedBusinessChatLinks;
|
|
|
|
|
|
|
|
|
|
requestedPeerUser#d62ff46a flags:# user_id:long first_name:flags.0?string last_name:flags.0?string username:flags.1?string photo:flags.2?Photo = RequestedPeer;
|
|
|
|
|
requestedPeerChat#7307544f flags:# chat_id:long title:flags.0?string photo:flags.2?Photo = RequestedPeer;
|
|
|
|
|
requestedPeerChannel#8ba403e4 flags:# channel_id:long title:flags.0?string username:flags.1?string photo:flags.2?Photo = RequestedPeer;
|
|
|
|
|
|
|
|
|
|
sponsoredMessageReportOption#430d3150 text:string option:bytes = SponsoredMessageReportOption;
|
|
|
|
|
|
|
|
|
|
channels.sponsoredMessageReportResultChooseOption#846f9e42 title:string options:Vector<SponsoredMessageReportOption> = channels.SponsoredMessageReportResult;
|
|
|
|
|
channels.sponsoredMessageReportResultAdsHidden#3e3bcf2f = channels.SponsoredMessageReportResult;
|
|
|
|
|
channels.sponsoredMessageReportResultReported#ad798849 = channels.SponsoredMessageReportResult;
|
|
|
|
|
|
|
|
|
|
---functions---
|
|
|
|
|
|
|
|
|
|
invokeAfterMsg#cb9f372d {X:Type} msg_id:long query:!X = X;
|
|
|
|
@ -1872,6 +1897,12 @@ account.updateBusinessIntro#a614d034 flags:# intro:flags.0?InputBusinessIntro =
|
|
|
|
|
account.toggleConnectedBotPaused#646e1097 peer:InputPeer paused:Bool = Bool;
|
|
|
|
|
account.disablePeerConnectedBot#5e437ed9 peer:InputPeer = Bool;
|
|
|
|
|
account.updateBirthday#cc6e0c11 flags:# birthday:flags.0?Birthday = Bool;
|
|
|
|
|
account.createBusinessChatLink#8851e68e link:InputBusinessChatLink = BusinessChatLink;
|
|
|
|
|
account.editBusinessChatLink#8c3410af slug:string link:InputBusinessChatLink = BusinessChatLink;
|
|
|
|
|
account.deleteBusinessChatLink#60073674 slug:string = Bool;
|
|
|
|
|
account.getBusinessChatLinks#6f70dde1 = account.BusinessChatLinks;
|
|
|
|
|
account.resolveBusinessChatLink#5492e5ee slug:string = account.ResolvedBusinessChatLinks;
|
|
|
|
|
account.updatePersonalChannel#d94305e0 channel:InputChannel = Bool;
|
|
|
|
|
|
|
|
|
|
users.getUsers#d91a548 id:Vector<InputUser> = Vector<User>;
|
|
|
|
|
users.getFullUser#b60f5918 id:InputUser = users.UserFull;
|
|
|
|
@ -1924,9 +1955,9 @@ messages.getChats#49e9528f id:Vector<long> = messages.Chats;
|
|
|
|
|
messages.getFullChat#aeb00b34 chat_id:long = messages.ChatFull;
|
|
|
|
|
messages.editChatTitle#73783ffd chat_id:long title:string = Updates;
|
|
|
|
|
messages.editChatPhoto#35ddd674 chat_id:long photo:InputChatPhoto = Updates;
|
|
|
|
|
messages.addChatUser#f24753e3 chat_id:long user_id:InputUser fwd_limit:int = Updates;
|
|
|
|
|
messages.addChatUser#cbc6d107 chat_id:long user_id:InputUser fwd_limit:int = messages.InvitedUsers;
|
|
|
|
|
messages.deleteChatUser#a2185cab flags:# revoke_history:flags.0?true chat_id:long user_id:InputUser = Updates;
|
|
|
|
|
messages.createChat#34a818 flags:# users:Vector<InputUser> title:string ttl_period:flags.0?int = Updates;
|
|
|
|
|
messages.createChat#92ceddd4 flags:# users:Vector<InputUser> title:string ttl_period:flags.0?int = messages.InvitedUsers;
|
|
|
|
|
messages.getDhConfig#26cf8950 version:int random_length:int = messages.DhConfig;
|
|
|
|
|
messages.requestEncryption#f64daf43 user_id:InputUser random_id:int g_a:bytes = EncryptedChat;
|
|
|
|
|
messages.acceptEncryption#3dbc0415 peer:InputEncryptedChat g_b:bytes key_fingerprint:long = EncryptedChat;
|
|
|
|
@ -2175,7 +2206,7 @@ channels.checkUsername#10e6bd2c channel:InputChannel username:string = Bool;
|
|
|
|
|
channels.updateUsername#3514b3de channel:InputChannel username:string = Bool;
|
|
|
|
|
channels.joinChannel#24b524c5 channel:InputChannel = Updates;
|
|
|
|
|
channels.leaveChannel#f836aa95 channel:InputChannel = Updates;
|
|
|
|
|
channels.inviteToChannel#199f3a6c channel:InputChannel users:Vector<InputUser> = Updates;
|
|
|
|
|
channels.inviteToChannel#c9e33d54 channel:InputChannel users:Vector<InputUser> = messages.InvitedUsers;
|
|
|
|
|
channels.deleteChannel#c0111fe3 channel:InputChannel = Updates;
|
|
|
|
|
channels.exportMessageLink#e63fadeb flags:# grouped:flags.0?true thread:flags.1?true channel:InputChannel id:int = ExportedMessageLink;
|
|
|
|
|
channels.toggleSignatures#1f69b606 channel:InputChannel enabled:Bool = Updates;
|
|
|
|
@ -2221,6 +2252,7 @@ channels.getChannelRecommendations#83b70d97 channel:InputChannel = messages.Chat
|
|
|
|
|
channels.updateEmojiStatus#f0d3e6a8 channel:InputChannel emoji_status:EmojiStatus = Updates;
|
|
|
|
|
channels.setBoostsToUnblockRestrictions#ad399cee channel:InputChannel boosts:int = Updates;
|
|
|
|
|
channels.setEmojiStickers#3cd930b7 channel:InputChannel stickerset:InputStickerSet = Bool;
|
|
|
|
|
channels.reportSponsoredMessage#af8ff6b9 channel:InputChannel random_id:bytes option:bytes = channels.SponsoredMessageReportResult;
|
|
|
|
|
|
|
|
|
|
bots.sendCustomRequest#aa2769ed custom_method:string params:DataJSON = DataJSON;
|
|
|
|
|
bots.answerWebhookJSONQuery#e6213f4d query_id:long data:DataJSON = Bool;
|
|
|
|
|