From ee409f6549661c89e3a9418b6629eb9b12611cec Mon Sep 17 00:00:00 2001 From: Viktor Oreshkin Date: Sat, 1 Jul 2017 23:05:28 +0300 Subject: [PATCH] Add layer 049 --- l049/README.md | 4 + l049/schema.json | 416 +++++++++++++++++++++++++++++++++++++++++++++++ l049/schema.tl | 23 +++ schema.json | 167 +++++++++++++++---- schema.tl | 21 ++- 5 files changed, 593 insertions(+), 38 deletions(-) create mode 100644 l049/README.md create mode 100644 l049/schema.json create mode 100644 l049/schema.tl diff --git a/l049/README.md b/l049/README.md new file mode 100644 index 0000000..9977473 --- /dev/null +++ b/l049/README.md @@ -0,0 +1,4 @@ +### Version info +App|Version/Hash|Date +---|---|--- +TDesktop|5cab9569c3fa1a8f3459679fc325fe9434e908c5|11.03.16 diff --git a/l049/schema.json b/l049/schema.json new file mode 100644 index 0000000..32d00b2 --- /dev/null +++ b/l049/schema.json @@ -0,0 +1,416 @@ +{ + "constructors": [ + { + "id": "-1642487306", + "predicate": "messageService", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "unread", + "type": "flags.0?true" + }, + { + "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": "id", + "type": "int" + }, + { + "name": "from_id", + "type": "flags.8?int" + }, + { + "name": "to_id", + "type": "Peer" + }, + { + "name": "reply_to_msg_id", + "type": "flags.3?int" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "action", + "type": "MessageAction" + } + ], + "type": "Message" + }, + { + "id": "1496513539", + "predicate": "userFull", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "blocked", + "type": "flags.0?true" + }, + { + "name": "user", + "type": "User" + }, + { + "name": "about", + "type": "flags.1?string" + }, + { + "name": "link", + "type": "contacts.Link" + }, + { + "name": "profile_photo", + "type": "flags.2?Photo" + }, + { + "name": "notify_settings", + "type": "PeerNotifySettings" + }, + { + "name": "bot_info", + "type": "flags.3?BotInfo" + } + ], + "type": "UserFull" + }, + { + "id": "-1729618630", + "predicate": "botInfo", + "params": [ + { + "name": "user_id", + "type": "int" + }, + { + "name": "description", + "type": "string" + }, + { + "name": "commands", + "type": "Vector" + } + ], + "type": "BotInfo" + }, + { + "id": "-1588737454", + "predicate": "channel", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "creator", + "type": "flags.0?true" + }, + { + "name": "kicked", + "type": "flags.1?true" + }, + { + "name": "left", + "type": "flags.2?true" + }, + { + "name": "editor", + "type": "flags.3?true" + }, + { + "name": "moderator", + "type": "flags.4?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": "democracy", + "type": "flags.10?true" + }, + { + "name": "signatures", + "type": "flags.11?true" + }, + { + "name": "min", + "type": "flags.12?true" + }, + { + "name": "id", + "type": "int" + }, + { + "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": "version", + "type": "int" + }, + { + "name": "restriction_reason", + "type": "flags.9?string" + } + ], + "type": "Chat" + }, + { + "id": "-1749097118", + "predicate": "channelFull", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "can_view_participants", + "type": "flags.3?true" + }, + { + "name": "can_set_username", + "type": "flags.6?true" + }, + { + "name": "id", + "type": "int" + }, + { + "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": "read_inbox_max_id", + "type": "int" + }, + { + "name": "unread_count", + "type": "int" + }, + { + "name": "unread_important_count", + "type": "int" + }, + { + "name": "chat_photo", + "type": "Photo" + }, + { + "name": "notify_settings", + "type": "PeerNotifySettings" + }, + { + "name": "exported_invite", + "type": "ExportedChatInvite" + }, + { + "name": "bot_info", + "type": "Vector" + }, + { + "name": "migrated_from_chat_id", + "type": "flags.4?int" + }, + { + "name": "migrated_from_max_id", + "type": "flags.4?int" + }, + { + "name": "pinned_msg_id", + "type": "flags.5?int" + } + ], + "type": "ChatFull" + }, + { + "id": "-352032773", + "predicate": "updateChannelTooLong", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "channel_id", + "type": "int" + }, + { + "name": "pts", + "type": "flags.0?int" + } + ], + "type": "Update" + }, + { + "id": "-1799538451", + "predicate": "messageActionPinMessage", + "params": [], + "type": "MessageAction" + }, + { + "id": "-2122045747", + "predicate": "peerSettings", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "report_spam", + "type": "flags.0?true" + } + ], + "type": "PeerSettings" + }, + { + "id": "-1738988427", + "predicate": "updateChannelPinnedMessage", + "params": [ + { + "name": "channel_id", + "type": "int" + }, + { + "name": "id", + "type": "int" + } + ], + "type": "Update" + } + ], + "methods": [ + { + "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": "-1460572005", + "method": "messages.hideReportSpam", + "params": [ + { + "name": "peer", + "type": "InputPeer" + } + ], + "type": "Bool" + }, + { + "id": "913498268", + "method": "messages.getPeerSettings", + "params": [ + { + "name": "peer", + "type": "InputPeer" + } + ], + "type": "PeerSettings" + }, + { + "id": "-1490162350", + "method": "channels.updatePinnedMessage", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "silent", + "type": "flags.0?true" + }, + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "id", + "type": "int" + } + ], + "type": "Updates" + } + ] +} \ No newline at end of file diff --git a/l049/schema.tl b/l049/schema.tl new file mode 100644 index 0000000..ce3b78b --- /dev/null +++ b/l049/schema.tl @@ -0,0 +1,23 @@ +---types--- +// botInfoEmpty#bb2e37ce = BotInfo; +// messageService#c06b9607 flags:# unread:flags.0?true out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true id:int from_id:flags.8?int to_id:Peer date:int action:MessageAction = Message; +messageService#9e19a1f6 flags:# unread:flags.0?true out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true id:int from_id:flags.8?int to_id:Peer reply_to_msg_id:flags.3?int date:int action:MessageAction = Message; +// userFull#5a89ac5b user:User link:contacts.Link profile_photo:Photo notify_settings:PeerNotifySettings blocked:Bool bot_info:BotInfo = UserFull; +userFull#5932fc03 flags:# blocked:flags.0?true user:User about:flags.1?string link:contacts.Link profile_photo:flags.2?Photo notify_settings:PeerNotifySettings bot_info:flags.3?BotInfo = UserFull; +// botInfo#9cf585d user_id:int version:int share_text:string description:string commands:Vector = BotInfo; +botInfo#98e81d3a user_id:int description:string commands:Vector = BotInfo; +// channel#4b1b7506 flags:# creator:flags.0?true kicked:flags.1?true left:flags.2?true editor:flags.3?true moderator:flags.4?true broadcast:flags.5?true verified:flags.7?true megagroup:flags.8?true restricted:flags.9?true democracy:flags.10?true signatures:flags.11?true id:int access_hash:long title:string username:flags.6?string photo:ChatPhoto date:int version:int restriction_reason:flags.9?string = Chat; +channel#a14dca52 flags:# creator:flags.0?true kicked:flags.1?true left:flags.2?true editor:flags.3?true moderator:flags.4?true broadcast:flags.5?true verified:flags.7?true megagroup:flags.8?true restricted:flags.9?true democracy:flags.10?true signatures:flags.11?true min:flags.12?true id:int access_hash:flags.13?long title:string username:flags.6?string photo:ChatPhoto date:int version:int restriction_reason:flags.9?string = Chat; +// channelFull#9e341ddf flags:# can_view_participants:flags.3?true id:int about:string participants_count:flags.0?int admins_count:flags.1?int kicked_count:flags.2?int read_inbox_max_id:int unread_count:int unread_important_count:int chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:ExportedChatInvite bot_info:Vector migrated_from_chat_id:flags.4?int migrated_from_max_id:flags.4?int = ChatFull; +channelFull#97bee562 flags:# can_view_participants:flags.3?true can_set_username:flags.6?true id:int about:string participants_count:flags.0?int admins_count:flags.1?int kicked_count:flags.2?int read_inbox_max_id:int unread_count:int unread_important_count:int chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:ExportedChatInvite bot_info:Vector migrated_from_chat_id:flags.4?int migrated_from_max_id:flags.4?int pinned_msg_id:flags.5?int = ChatFull; +// updateChannelTooLong#60946422 channel_id:int = Update; +updateChannelTooLong#eb0467fb flags:# channel_id:int pts:flags.0?int = Update; +messageActionPinMessage#94bd38ed = MessageAction; +peerSettings#818426cd flags:# report_spam:flags.0?true = PeerSettings; +updateChannelPinnedMessage#98592475 channel_id:int id:int = Update; +---functions--- +// account.updateProfile#f0888d68 first_name:string last_name:string = User; +account.updateProfile#78515775 flags:# first_name:flags.0?string last_name:flags.1?string about:flags.2?string = User; +messages.hideReportSpam#a8f1709b peer:InputPeer = Bool; +messages.getPeerSettings#3672e09c peer:InputPeer = PeerSettings; +channels.updatePinnedMessage#a72ded52 flags:# silent:flags.0?true channel:InputChannel id:int = Updates; diff --git a/schema.json b/schema.json index 4c11cca..6e877c8 100644 --- a/schema.json +++ b/schema.json @@ -804,7 +804,7 @@ "type": "Message" }, { - "id": "-1066691065", + "id": "-1642487306", "predicate": "messageService", "params": [ { @@ -847,6 +847,10 @@ "name": "to_id", "type": "Peer" }, + { + "name": "reply_to_msg_id", + "type": "flags.3?int" + }, { "name": "date", "type": "int" @@ -1322,32 +1326,40 @@ "type": "WallPaper" }, { - "id": "1518971995", + "id": "1496513539", "predicate": "userFull", "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "blocked", + "type": "flags.0?true" + }, { "name": "user", "type": "User" }, + { + "name": "about", + "type": "flags.1?string" + }, { "name": "link", "type": "contacts.Link" }, { "name": "profile_photo", - "type": "Photo" + "type": "flags.2?Photo" }, { "name": "notify_settings", "type": "PeerNotifySettings" }, - { - "name": "blocked", - "type": "Bool" - }, { "name": "bot_info", - "type": "BotInfo" + "type": "flags.3?BotInfo" } ], "type": "UserFull" @@ -4491,27 +4503,13 @@ "type": "BotCommand" }, { - "id": "-1154598962", - "predicate": "botInfoEmpty", - "params": [], - "type": "BotInfo" - }, - { - "id": "164583517", + "id": "-1729618630", "predicate": "botInfo", "params": [ { "name": "user_id", "type": "int" }, - { - "name": "version", - "type": "int" - }, - { - "name": "share_text", - "type": "string" - }, { "name": "description", "type": "string" @@ -4902,7 +4900,7 @@ "type": "Peer" }, { - "id": "1260090630", + "id": "-1588737454", "predicate": "channel", "params": [ { @@ -4953,13 +4951,17 @@ "name": "signatures", "type": "flags.11?true" }, + { + "name": "min", + "type": "flags.12?true" + }, { "name": "id", "type": "int" }, { "name": "access_hash", - "type": "long" + "type": "flags.13?long" }, { "name": "title", @@ -5008,7 +5010,7 @@ "type": "Chat" }, { - "id": "-1640751649", + "id": "-1749097118", "predicate": "channelFull", "params": [ { @@ -5019,6 +5021,10 @@ "name": "can_view_participants", "type": "flags.3?true" }, + { + "name": "can_set_username", + "type": "flags.6?true" + }, { "name": "id", "type": "int" @@ -5074,6 +5080,10 @@ { "name": "migrated_from_max_id", "type": "flags.4?int" + }, + { + "name": "pinned_msg_id", + "type": "flags.5?int" } ], "type": "ChatFull" @@ -5164,12 +5174,20 @@ "type": "messages.Messages" }, { - "id": "1620337698", + "id": "-352032773", "predicate": "updateChannelTooLong", "params": [ + { + "name": "flags", + "type": "#" + }, { "name": "channel_id", "type": "int" + }, + { + "name": "pts", + "type": "flags.0?int" } ], "type": "Update" @@ -6365,6 +6383,42 @@ } ], "type": "channels.MessageEditData" + }, + { + "id": "-1799538451", + "predicate": "messageActionPinMessage", + "params": [], + "type": "MessageAction" + }, + { + "id": "-2122045747", + "predicate": "peerSettings", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "report_spam", + "type": "flags.0?true" + } + ], + "type": "PeerSettings" + }, + { + "id": "-1738988427", + "predicate": "updateChannelPinnedMessage", + "params": [ + { + "name": "channel_id", + "type": "int" + }, + { + "name": "id", + "type": "int" + } + ], + "type": "Update" } ], "methods": [ @@ -6633,16 +6687,24 @@ "type": "Bool" }, { - "id": "-259486360", + "id": "2018596725", "method": "account.updateProfile", "params": [ + { + "name": "flags", + "type": "#" + }, { "name": "first_name", - "type": "string" + "type": "flags.0?string" }, { "name": "last_name", - "type": "string" + "type": "flags.1?string" + }, + { + "name": "about", + "type": "flags.2?string" } ], "type": "User" @@ -8954,6 +9016,51 @@ } ], "type": "Updates" + }, + { + "id": "-1460572005", + "method": "messages.hideReportSpam", + "params": [ + { + "name": "peer", + "type": "InputPeer" + } + ], + "type": "Bool" + }, + { + "id": "913498268", + "method": "messages.getPeerSettings", + "params": [ + { + "name": "peer", + "type": "InputPeer" + } + ], + "type": "PeerSettings" + }, + { + "id": "-1490162350", + "method": "channels.updatePinnedMessage", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "silent", + "type": "flags.0?true" + }, + { + "name": "channel", + "type": "InputChannel" + }, + { + "name": "id", + "type": "int" + } + ], + "type": "Updates" } ] } \ No newline at end of file diff --git a/schema.tl b/schema.tl index eed2d4b..3cb3c47 100644 --- a/schema.tl +++ b/schema.tl @@ -56,7 +56,7 @@ chatPhotoEmpty#37c1011c = ChatPhoto; chatPhoto#6153276a photo_small:FileLocation photo_big:FileLocation = ChatPhoto; messageEmpty#83e5de54 id:int = Message; message#c09be45f flags:# unread:flags.0?true out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true id:int from_id:flags.8?int to_id:Peer fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int date:int message:string media:flags.9?MessageMedia reply_markup:flags.6?ReplyMarkup entities:flags.7?Vector views:flags.10?int edit_date:flags.15?int = Message; -messageService#c06b9607 flags:# unread:flags.0?true out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true id:int from_id:flags.8?int to_id:Peer date:int action:MessageAction = Message; +messageService#9e19a1f6 flags:# unread:flags.0?true out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true id:int from_id:flags.8?int to_id:Peer reply_to_msg_id:flags.3?int date:int action:MessageAction = Message; messageMediaEmpty#3ded6320 = MessageMedia; messageMediaPhoto#3d8ce53d photo:Photo caption:string = MessageMedia; messageMediaGeo#56e0d474 geo:GeoPoint = MessageMedia; @@ -91,7 +91,7 @@ peerNotifyEventsAll#6d1ded88 = PeerNotifyEvents; peerNotifySettingsEmpty#70a68512 = PeerNotifySettings; peerNotifySettings#9acda4c0 flags:# show_previews:flags.0?true silent:flags.1?true mute_until:int sound:string = PeerNotifySettings; wallPaper#ccb03657 id:int title:string sizes:Vector color:int = WallPaper; -userFull#5a89ac5b user:User link:contacts.Link profile_photo:Photo notify_settings:PeerNotifySettings blocked:Bool bot_info:BotInfo = UserFull; +userFull#5932fc03 flags:# blocked:flags.0?true user:User about:flags.1?string link:contacts.Link profile_photo:flags.2?Photo notify_settings:PeerNotifySettings bot_info:flags.3?BotInfo = UserFull; contact#f911c994 user_id:int mutual:Bool = Contact; importedContact#d0028438 user_id:int client_id:long = ImportedContact; contactBlocked#561bc879 user_id:int date:int = ContactBlocked; @@ -276,8 +276,7 @@ stickerSet#cd303b41 flags:# installed:flags.0?true disabled:flags.1?true officia messages.stickerSet#b60a24a6 set:StickerSet packs:Vector documents:Vector = messages.StickerSet; user#d10d979a flags:# self:flags.10?true contact:flags.11?true mutual_contact:flags.12?true deleted:flags.13?true bot:flags.14?true bot_chat_history:flags.15?true bot_nochats:flags.16?true verified:flags.17?true restricted:flags.18?true min:flags.20?true id:int access_hash:flags.0?long first_name:flags.1?string last_name:flags.2?string username:flags.3?string phone:flags.4?string photo:flags.5?UserProfilePhoto status:flags.6?UserStatus bot_info_version:flags.14?int restriction_reason:flags.18?string bot_inline_placeholder:flags.19?string = User; botCommand#c27ac8c7 command:string description:string = BotCommand; -botInfoEmpty#bb2e37ce = BotInfo; -botInfo#9cf585d user_id:int version:int share_text:string description:string commands:Vector = BotInfo; +botInfo#98e81d3a user_id:int description:string commands:Vector = BotInfo; keyboardButton#a2fa4880 text:string = KeyboardButton; keyboardButtonRow#77608b83 buttons:Vector = KeyboardButtonRow; replyKeyboardHide#a03e5b85 flags:# selective:flags.2?true = ReplyMarkup; @@ -302,13 +301,13 @@ messageEntityTextUrl#76a6d327 offset:int length:int url:string = MessageEntity; updateShortSentMessage#11f1331c flags:# unread:flags.0?true out:flags.1?true id:int pts:int pts_count:int date:int media:flags.9?MessageMedia entities:flags.7?Vector = Updates; inputPeerChannel#20adaef8 channel_id:int access_hash:long = InputPeer; peerChannel#bddde532 channel_id:int = Peer; -channel#4b1b7506 flags:# creator:flags.0?true kicked:flags.1?true left:flags.2?true editor:flags.3?true moderator:flags.4?true broadcast:flags.5?true verified:flags.7?true megagroup:flags.8?true restricted:flags.9?true democracy:flags.10?true signatures:flags.11?true id:int access_hash:long title:string username:flags.6?string photo:ChatPhoto date:int version:int restriction_reason:flags.9?string = Chat; +channel#a14dca52 flags:# creator:flags.0?true kicked:flags.1?true left:flags.2?true editor:flags.3?true moderator:flags.4?true broadcast:flags.5?true verified:flags.7?true megagroup:flags.8?true restricted:flags.9?true democracy:flags.10?true signatures:flags.11?true min:flags.12?true id:int access_hash:flags.13?long title:string username:flags.6?string photo:ChatPhoto date:int version:int restriction_reason:flags.9?string = Chat; channelForbidden#2d85832c id:int access_hash:long title:string = Chat; -channelFull#9e341ddf flags:# can_view_participants:flags.3?true id:int about:string participants_count:flags.0?int admins_count:flags.1?int kicked_count:flags.2?int read_inbox_max_id:int unread_count:int unread_important_count:int chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:ExportedChatInvite bot_info:Vector migrated_from_chat_id:flags.4?int migrated_from_max_id:flags.4?int = ChatFull; +channelFull#97bee562 flags:# can_view_participants:flags.3?true can_set_username:flags.6?true id:int about:string participants_count:flags.0?int admins_count:flags.1?int kicked_count:flags.2?int read_inbox_max_id:int unread_count:int unread_important_count:int chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:ExportedChatInvite bot_info:Vector migrated_from_chat_id:flags.4?int migrated_from_max_id:flags.4?int pinned_msg_id:flags.5?int = ChatFull; messageActionChannelCreate#95d2ac92 title:string = MessageAction; dialogChannel#5b8496b2 peer:Peer top_message:int top_important_message:int read_inbox_max_id:int unread_count:int unread_important_count:int notify_settings:PeerNotifySettings pts:int = Dialog; messages.channelMessages#bc0f17bc flags:# pts:int count:int messages:Vector collapsed:flags.0?Vector chats:Vector users:Vector = messages.Messages; -updateChannelTooLong#60946422 channel_id:int = Update; +updateChannelTooLong#eb0467fb flags:# channel_id:int pts:flags.0?int = Update; updateChannel#b6d45656 channel_id:int = Update; updateChannelGroup#c36c1e3c channel_id:int group:MessageGroup = Update; updateNewChannelMessage#62ba04d9 message:Message pts:int pts_count:int = Update; @@ -383,6 +382,9 @@ updateEditChannelMessage#1b3f4df7 message:Message pts:int pts_count:int = Update exportedMessageLink#1f486803 link:string = ExportedMessageLink; messageFwdHeader#c786ddcb flags:# from_id:flags.0?int date:int channel_id:flags.1?int channel_post:flags.2?int = MessageFwdHeader; channels.messageEditData#67e1255f flags:# caption:flags.0?true = channels.MessageEditData; +messageActionPinMessage#94bd38ed = MessageAction; +peerSettings#818426cd flags:# report_spam:flags.0?true = PeerSettings; +updateChannelPinnedMessage#98592475 channel_id:int id:int = Update; ---functions--- invokeAfterMsg#cb9f372d msg_id:long query:!X = X; invokeAfterMsgs#3dc4b4f0 msg_ids:Vector query:!X = X; @@ -401,7 +403,7 @@ account.unregisterDevice#65c55b40 token_type:int token:string = Bool; account.updateNotifySettings#84be5b93 peer:InputNotifyPeer settings:InputPeerNotifySettings = Bool; account.getNotifySettings#12b3ad31 peer:InputNotifyPeer = PeerNotifySettings; account.resetNotifySettings#db7e1747 = Bool; -account.updateProfile#f0888d68 first_name:string last_name:string = User; +account.updateProfile#78515775 flags:# first_name:flags.0?string last_name:flags.1?string about:flags.2?string = User; account.updateStatus#6628562c offline:Bool = Bool; account.getWallPapers#c04cfac2 = Vector; users.getUsers#d91a548 id:Vector = Vector; @@ -547,3 +549,6 @@ channels.exportMessageLink#c846d22d channel:InputChannel id:int = ExportedMessag channels.toggleSignatures#1f69b606 channel:InputChannel enabled:Bool = Updates; channels.getMessageEditData#27ea3a28 channel:InputChannel id:int = channels.MessageEditData; channels.editMessage#dcda80ed flags:# no_webpage:flags.1?true channel:InputChannel id:int message:string entities:flags.3?Vector = Updates; +messages.hideReportSpam#a8f1709b peer:InputPeer = Bool; +messages.getPeerSettings#3672e09c peer:InputPeer = PeerSettings; +channels.updatePinnedMessage#a72ded52 flags:# silent:flags.0?true channel:InputChannel id:int = Updates;