1
0
mirror of https://github.com/danog/tl-schema.git synced 2024-11-26 11:54:54 +01:00

Add layer 053

This commit is contained in:
Viktor Oreshkin 2017-07-01 17:44:29 +03:00
parent b7074dbf41
commit 9b79f6c0a3
5 changed files with 1298 additions and 321 deletions

5
l053/README.md Normal file
View File

@ -0,0 +1,5 @@
### Version info
App|Version/Hash|Date
---|---|---
TDesktop|38c291553366b9ed1bf5cec52a2cc1bdd4b2608b|14.06.16
Webogram|b28d1d223be29ecc6ba41214a2339ff34886cc79|13.06.16

1010
l053/schema.json Normal file

File diff suppressed because it is too large Load Diff

65
l053/schema.tl Normal file
View File

@ -0,0 +1,65 @@
---types---
// 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;
// updateChannelGroup#c36c1e3c channel_id:int group:MessageGroup = Update;
// messageGroup#e8346f53 min_id:int max_id:int count:int date:int = MessageGroup;
// channelMessagesFilterCollapsed#fa01232e = ChannelMessagesFilter;
// 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<MessageEntity> views:flags.10?int edit_date:flags.15?int = Message;
message#c09be45f flags:# 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<MessageEntity> views:flags.10?int edit_date:flags.15?int = 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;
messageService#9e19a1f6 flags:# 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;
// dialog#c1dd804a peer:Peer top_message:int read_inbox_max_id:int unread_count:int notify_settings:PeerNotifySettings = Dialog;
dialog#66ffba14 flags:# peer:Peer top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int notify_settings:PeerNotifySettings pts:flags.0?int draft:flags.1?DraftMessage = Dialog;
// updateShortMessage#914fbf11 flags:# unread:flags.0?true out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int user_id:int message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int entities:flags.7?Vector<MessageEntity> = Updates;
updateShortMessage#914fbf11 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int user_id:int message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int entities:flags.7?Vector<MessageEntity> = Updates;
// updateShortChatMessage#16812688 flags:# unread:flags.0?true out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int from_id:int chat_id:int message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int entities:flags.7?Vector<MessageEntity> = Updates;
updateShortChatMessage#16812688 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int from_id:int chat_id:int message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int entities:flags.7?Vector<MessageEntity> = Updates;
// 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<MessageEntity> = Updates;
updateShortSentMessage#11f1331c flags:# out:flags.1?true id:int pts:int pts_count:int date:int media:flags.9?MessageMedia entities:flags.7?Vector<MessageEntity> = Updates;
// channelForbidden#2d85832c id:int access_hash:long title:string = Chat;
channelForbidden#8537784f flags:# broadcast:flags.5?true megagroup:flags.8?true id:int access_hash:long title:string = Chat;
// 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<BotInfo> migrated_from_chat_id:flags.4?int migrated_from_max_id:flags.4?int pinned_msg_id:flags.5?int = ChatFull;
channelFull#c3d5512f 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 read_outbox_max_id:int unread_count:int chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:ExportedChatInvite bot_info:Vector<BotInfo> migrated_from_chat_id:flags.4?int migrated_from_max_id:flags.4?int pinned_msg_id:flags.5?int = ChatFull;
// messages.channelMessages#bc0f17bc flags:# pts:int count:int messages:Vector<Message> collapsed:flags.0?Vector<MessageGroup> chats:Vector<Chat> users:Vector<User> = messages.Messages;
messages.channelMessages#99262e37 flags:# pts:int count:int messages:Vector<Message> chats:Vector<Chat> users:Vector<User> = messages.Messages;
// updates.channelDifferenceTooLong#5e167646 flags:# final:flags.0?true pts:int timeout:flags.1?int top_message:int top_important_message:int read_inbox_max_id:int unread_count:int unread_important_count:int messages:Vector<Message> chats:Vector<Chat> users:Vector<User> = updates.ChannelDifference;
updates.channelDifferenceTooLong#410dee07 flags:# final:flags.0?true pts:int timeout:flags.1?int top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int messages:Vector<Message> chats:Vector<Chat> users:Vector<User> = updates.ChannelDifference;
// channelMessagesFilter#cd77d957 flags:# important_only:flags.0?true exclude_new_messages:flags.1?true ranges:Vector<MessageRange> = ChannelMessagesFilter;
channelMessagesFilter#cd77d957 flags:# exclude_new_messages:flags.1?true ranges:Vector<MessageRange> = ChannelMessagesFilter;
inputMessagesFilterChatPhotos#3a20ecb8 = MessagesFilter;
updateReadChannelOutbox#25d6c9c7 channel_id:int max_id:int = Update;
updateDraftMessage#ee2bb969 peer:Peer draft:DraftMessage = Update;
draftMessageEmpty#ba4baec5 = DraftMessage;
draftMessage#fd8e711f flags:# no_webpage:flags.1?true reply_to_msg_id:flags.0?int message:string entities:flags.3?Vector<MessageEntity> date:int = DraftMessage;
messageActionHistoryClear#9fbab604 = MessageAction;
---functions---
// channels.getDialogs#a9d3d249 offset:int limit:int = messages.Dialogs;
// channels.getImportantHistory#8f494bb2 channel:InputChannel offset_id:int offset_date:int add_offset:int limit:int max_id:int min_id:int = messages.Messages;
// channels.toggleComments#aaa29e88 channel:InputChannel enabled:Bool = Updates;
// auth.sendCode#ccfd70cf flags:# allow_flashcall:flags.0?true phone_number:string current_number:flags.0?Bool api_id:int api_hash:string lang_code:string = auth.SentCode;
auth.sendCode#86aef0ec flags:# allow_flashcall:flags.0?true phone_number:string current_number:flags.0?Bool api_id:int api_hash:string = auth.SentCode;
// account.registerDevice#446c712c token_type:int token:string device_model:string system_version:string app_version:string app_sandbox:Bool lang_code:string = Bool;
account.registerDevice#637ea878 token_type:int token:string = Bool;
// messages.search#d4569248 flags:# important_only:flags.0?true peer:InputPeer q:string filter:MessagesFilter min_date:int max_date:int offset:int max_id:int limit:int = messages.Messages;
messages.search#d4569248 flags:# peer:InputPeer q:string filter:MessagesFilter min_date:int max_date:int offset:int max_id:int limit:int = messages.Messages;
// messages.deleteHistory#b7c13bd9 peer:InputPeer max_id:int = messages.AffectedHistory;
messages.deleteHistory#1c015b09 flags:# just_clear:flags.0?true peer:InputPeer max_id:int = messages.AffectedHistory;
// messages.sendMessage#fa88427a flags:# no_webpage:flags.1?true broadcast:flags.4?true silent:flags.5?true background:flags.6?true peer:InputPeer reply_to_msg_id:flags.0?int message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector<MessageEntity> = Updates;
messages.sendMessage#fa88427a flags:# no_webpage:flags.1?true silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector<MessageEntity> = Updates;
// messages.sendMedia#c8f16791 flags:# broadcast:flags.4?true silent:flags.5?true background:flags.6?true peer:InputPeer reply_to_msg_id:flags.0?int media:InputMedia random_id:long reply_markup:flags.2?ReplyMarkup = Updates;
messages.sendMedia#c8f16791 flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int media:InputMedia random_id:long reply_markup:flags.2?ReplyMarkup = Updates;
// messages.forwardMessages#708e0195 flags:# broadcast:flags.4?true silent:flags.5?true background:flags.6?true from_peer:InputPeer id:Vector<int> random_id:Vector<long> to_peer:InputPeer = Updates;
messages.forwardMessages#708e0195 flags:# silent:flags.5?true background:flags.6?true from_peer:InputPeer id:Vector<int> random_id:Vector<long> to_peer:InputPeer = Updates;
// help.getAppUpdate#c812ac7e device_model:string system_version:string app_version:string lang_code:string = help.AppUpdate;
help.getAppUpdate#ae2de196 = help.AppUpdate;
// help.getInviteText#a4a95186 lang_code:string = help.InviteText;
help.getInviteText#4d392343 = help.InviteText;
// help.getAppChangelog#5bab7fb2 device_model:string system_version:string app_version:string lang_code:string = help.AppChangelog;
help.getAppChangelog#b921197a = help.AppChangelog;
// help.getTermsOfService#37d78f83 lang_code:string = help.TermsOfService;
help.getTermsOfService#350170f3 = help.TermsOfService;
// messages.sendInlineBotResult#b16e06fe flags:# broadcast:flags.4?true silent:flags.5?true background:flags.6?true peer:InputPeer reply_to_msg_id:flags.0?int random_id:long query_id:long id:string = Updates;
messages.sendInlineBotResult#b16e06fe flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int random_id:long query_id:long id:string = Updates;
// messages.getPeerDialogs#19250887 peer:Vector<InputPeer> = messages.PeerDialogs;
messages.getPeerDialogs#2d9776b9 peers:Vector<InputPeer> = messages.PeerDialogs;
messages.saveDraft#bc39e14b flags:# no_webpage:flags.1?true reply_to_msg_id:flags.0?int peer:InputPeer message:string entities:flags.3?Vector<MessageEntity> = Bool;
messages.getAllDrafts#6a3f8d65 = Updates;

View File

@ -724,10 +724,6 @@
"name": "flags",
"type": "#"
},
{
"name": "unread",
"type": "flags.0?true"
},
{
"name": "out",
"type": "flags.1?true"
@ -811,10 +807,6 @@
"name": "flags",
"type": "#"
},
{
"name": "unread",
"type": "flags.0?true"
},
{
"name": "out",
"type": "flags.1?true"
@ -995,9 +987,13 @@
"type": "MessageAction"
},
{
"id": "-1042448310",
"id": "1728035348",
"predicate": "dialog",
"params": [
{
"name": "flags",
"type": "#"
},
{
"name": "peer",
"type": "Peer"
@ -1010,6 +1006,10 @@
"name": "read_inbox_max_id",
"type": "int"
},
{
"name": "read_outbox_max_id",
"type": "int"
},
{
"name": "unread_count",
"type": "int"
@ -1017,6 +1017,14 @@
{
"name": "notify_settings",
"type": "PeerNotifySettings"
},
{
"name": "pts",
"type": "flags.0?int"
},
{
"name": "draft",
"type": "flags.1?DraftMessage"
}
],
"type": "Dialog"
@ -2043,10 +2051,6 @@
"name": "flags",
"type": "#"
},
{
"name": "unread",
"type": "flags.0?true"
},
{
"name": "out",
"type": "flags.1?true"
@ -2114,10 +2118,6 @@
"name": "flags",
"type": "#"
},
{
"name": "unread",
"type": "flags.0?true"
},
{
"name": "out",
"type": "flags.1?true"
@ -4816,10 +4816,6 @@
"name": "flags",
"type": "#"
},
{
"name": "unread",
"type": "flags.0?true"
},
{
"name": "out",
"type": "flags.1?true"
@ -4969,9 +4965,21 @@
"type": "Chat"
},
{
"id": "763724588",
"id": "-2059962289",
"predicate": "channelForbidden",
"params": [
{
"name": "flags",
"type": "#"
},
{
"name": "broadcast",
"type": "flags.5?true"
},
{
"name": "megagroup",
"type": "flags.8?true"
},
{
"name": "id",
"type": "int"
@ -4988,7 +4996,7 @@
"type": "Chat"
},
{
"id": "-1749097118",
"id": "-1009430225",
"predicate": "channelFull",
"params": [
{
@ -5028,11 +5036,11 @@
"type": "int"
},
{
"name": "unread_count",
"name": "read_outbox_max_id",
"type": "int"
},
{
"name": "unread_important_count",
"name": "unread_count",
"type": "int"
},
{
@ -5078,46 +5086,7 @@
"type": "MessageAction"
},
{
"id": "1535415986",
"predicate": "dialogChannel",
"params": [
{
"name": "peer",
"type": "Peer"
},
{
"name": "top_message",
"type": "int"
},
{
"name": "top_important_message",
"type": "int"
},
{
"name": "read_inbox_max_id",
"type": "int"
},
{
"name": "unread_count",
"type": "int"
},
{
"name": "unread_important_count",
"type": "int"
},
{
"name": "notify_settings",
"type": "PeerNotifySettings"
},
{
"name": "pts",
"type": "int"
}
],
"type": "Dialog"
},
{
"id": "-1139861572",
"id": "-1725551049",
"predicate": "messages.channelMessages",
"params": [
{
@ -5136,10 +5105,6 @@
"name": "messages",
"type": "Vector<Message>"
},
{
"name": "collapsed",
"type": "flags.0?Vector<MessageGroup>"
},
{
"name": "chats",
"type": "Vector<Chat>"
@ -5181,21 +5146,6 @@
],
"type": "Update"
},
{
"id": "-1016324548",
"predicate": "updateChannelGroup",
"params": [
{
"name": "channel_id",
"type": "int"
},
{
"name": "group",
"type": "MessageGroup"
}
],
"type": "Update"
},
{
"id": "1656358105",
"predicate": "updateNewChannelMessage",
@ -5327,29 +5277,6 @@
],
"type": "MessageRange"
},
{
"id": "-399216813",
"predicate": "messageGroup",
"params": [
{
"name": "min_id",
"type": "int"
},
{
"name": "max_id",
"type": "int"
},
{
"name": "count",
"type": "int"
},
{
"name": "date",
"type": "int"
}
],
"type": "MessageGroup"
},
{
"id": "1041346555",
"predicate": "updates.channelDifferenceEmpty",
@ -5374,7 +5301,7 @@
"type": "updates.ChannelDifference"
},
{
"id": "1578530374",
"id": "1091431943",
"predicate": "updates.channelDifferenceTooLong",
"params": [
{
@ -5397,20 +5324,16 @@
"name": "top_message",
"type": "int"
},
{
"name": "top_important_message",
"type": "int"
},
{
"name": "read_inbox_max_id",
"type": "int"
},
{
"name": "unread_count",
"name": "read_outbox_max_id",
"type": "int"
},
{
"name": "unread_important_count",
"name": "unread_count",
"type": "int"
},
{
@ -5481,10 +5404,6 @@
"name": "flags",
"type": "#"
},
{
"name": "important_only",
"type": "flags.0?true"
},
{
"name": "exclude_new_messages",
"type": "flags.1?true"
@ -5496,12 +5415,6 @@
],
"type": "ChannelMessagesFilter"
},
{
"id": "-100588754",
"predicate": "channelMessagesFilterCollapsed",
"params": [],
"type": "ChannelMessagesFilter"
},
{
"id": "367766557",
"predicate": "channelParticipant",
@ -7074,6 +6987,85 @@
}
],
"type": "contacts.TopPeers"
},
{
"id": "975236280",
"predicate": "inputMessagesFilterChatPhotos",
"params": [],
"type": "MessagesFilter"
},
{
"id": "634833351",
"predicate": "updateReadChannelOutbox",
"params": [
{
"name": "channel_id",
"type": "int"
},
{
"name": "max_id",
"type": "int"
}
],
"type": "Update"
},
{
"id": "-299124375",
"predicate": "updateDraftMessage",
"params": [
{
"name": "peer",
"type": "Peer"
},
{
"name": "draft",
"type": "DraftMessage"
}
],
"type": "Update"
},
{
"id": "-1169445179",
"predicate": "draftMessageEmpty",
"params": [],
"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<MessageEntity>"
},
{
"name": "date",
"type": "int"
}
],
"type": "DraftMessage"
},
{
"id": "-1615153660",
"predicate": "messageActionHistoryClear",
"params": [],
"type": "MessageAction"
}
],
"methods": [
@ -7119,7 +7111,7 @@
"type": "auth.CheckedPhone"
},
{
"id": "-855805745",
"id": "-2035355412",
"method": "auth.sendCode",
"params": [
{
@ -7145,10 +7137,6 @@
{
"name": "api_hash",
"type": "string"
},
{
"name": "lang_code",
"type": "string"
}
],
"type": "auth.SentCode"
@ -7253,7 +7241,7 @@
"type": "auth.Authorization"
},
{
"id": "1147957548",
"id": "1669245048",
"method": "account.registerDevice",
"params": [
{
@ -7263,26 +7251,6 @@
{
"name": "token",
"type": "string"
},
{
"name": "device_model",
"type": "string"
},
{
"name": "system_version",
"type": "string"
},
{
"name": "app_version",
"type": "string"
},
{
"name": "app_sandbox",
"type": "Bool"
},
{
"name": "lang_code",
"type": "string"
}
],
"type": "Bool"
@ -7579,10 +7547,6 @@
"name": "flags",
"type": "#"
},
{
"name": "important_only",
"type": "flags.0?true"
},
{
"name": "peer",
"type": "InputPeer"
@ -7634,9 +7598,17 @@
"type": "messages.AffectedMessages"
},
{
"id": "-1212072999",
"id": "469850889",
"method": "messages.deleteHistory",
"params": [
{
"name": "flags",
"type": "#"
},
{
"name": "just_clear",
"type": "flags.0?true"
},
{
"name": "peer",
"type": "InputPeer"
@ -7697,10 +7669,6 @@
"name": "no_webpage",
"type": "flags.1?true"
},
{
"name": "broadcast",
"type": "flags.4?true"
},
{
"name": "silent",
"type": "flags.5?true"
@ -7709,6 +7677,10 @@
"name": "background",
"type": "flags.6?true"
},
{
"name": "clear_draft",
"type": "flags.7?true"
},
{
"name": "peer",
"type": "InputPeer"
@ -7744,10 +7716,6 @@
"name": "flags",
"type": "#"
},
{
"name": "broadcast",
"type": "flags.4?true"
},
{
"name": "silent",
"type": "flags.5?true"
@ -7756,6 +7724,10 @@
"name": "background",
"type": "flags.6?true"
},
{
"name": "clear_draft",
"type": "flags.7?true"
},
{
"name": "peer",
"type": "InputPeer"
@ -7787,10 +7759,6 @@
"name": "flags",
"type": "#"
},
{
"name": "broadcast",
"type": "flags.4?true"
},
{
"name": "silent",
"type": "flags.5?true"
@ -8033,26 +8001,9 @@
"type": "NearestDc"
},
{
"id": "-938300290",
"id": "-1372724842",
"method": "help.getAppUpdate",
"params": [
{
"name": "device_model",
"type": "string"
},
{
"name": "system_version",
"type": "string"
},
{
"name": "app_version",
"type": "string"
},
{
"name": "lang_code",
"type": "string"
}
],
"params": [],
"type": "help.AppUpdate"
},
{
@ -8067,14 +8018,9 @@
"type": "Bool"
},
{
"id": "-1532407418",
"id": "1295590211",
"method": "help.getInviteText",
"params": [
{
"name": "lang_code",
"type": "string"
}
],
"params": [],
"type": "help.InviteText"
},
{
@ -8827,26 +8773,9 @@
"type": "Updates"
},
{
"id": "1537966002",
"id": "-1189013126",
"method": "help.getAppChangelog",
"params": [
{
"name": "device_model",
"type": "string"
},
{
"name": "system_version",
"type": "string"
},
{
"name": "app_version",
"type": "string"
},
{
"name": "lang_code",
"type": "string"
}
],
"params": [],
"type": "help.AppChangelog"
},
{
@ -8902,56 +8831,6 @@
],
"type": "updates.ChannelDifference"
},
{
"id": "-1445735863",
"method": "channels.getDialogs",
"params": [
{
"name": "offset",
"type": "int"
},
{
"name": "limit",
"type": "int"
}
],
"type": "messages.Dialogs"
},
{
"id": "-1891021902",
"method": "channels.getImportantHistory",
"params": [
{
"name": "channel",
"type": "InputChannel"
},
{
"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"
}
],
"type": "messages.Messages"
},
{
"id": "-871347913",
"method": "channels.readHistory",
@ -9182,21 +9061,6 @@
],
"type": "Updates"
},
{
"id": "-1432183160",
"method": "channels.toggleComments",
"params": [
{
"name": "channel",
"type": "InputChannel"
},
{
"name": "enabled",
"type": "Bool"
}
],
"type": "Updates"
},
{
"id": "283557164",
"method": "channels.checkUsername",
@ -9404,14 +9268,9 @@
"type": "Bool"
},
{
"id": "936873859",
"id": "889286899",
"method": "help.getTermsOfService",
"params": [
{
"name": "lang_code",
"type": "string"
}
],
"params": [],
"type": "help.TermsOfService"
},
{
@ -9552,10 +9411,6 @@
"name": "flags",
"type": "#"
},
{
"name": "broadcast",
"type": "flags.4?true"
},
{
"name": "silent",
"type": "flags.5?true"
@ -9564,6 +9419,10 @@
"name": "background",
"type": "flags.6?true"
},
{
"name": "clear_draft",
"type": "flags.7?true"
},
{
"name": "peer",
"type": "InputPeer"
@ -9889,15 +9748,52 @@
"type": "Bool"
},
{
"id": "421857415",
"id": "764901049",
"method": "messages.getPeerDialogs",
"params": [
{
"name": "peer",
"name": "peers",
"type": "Vector<InputPeer>"
}
],
"type": "messages.PeerDialogs"
},
{
"id": "-1137057461",
"method": "messages.saveDraft",
"params": [
{
"name": "flags",
"type": "#"
},
{
"name": "no_webpage",
"type": "flags.1?true"
},
{
"name": "reply_to_msg_id",
"type": "flags.0?int"
},
{
"name": "peer",
"type": "InputPeer"
},
{
"name": "message",
"type": "string"
},
{
"name": "entities",
"type": "flags.3?Vector<MessageEntity>"
}
],
"type": "Bool"
},
{
"id": "1782549861",
"method": "messages.getAllDrafts",
"params": [],
"type": "Updates"
}
]
}

View File

@ -55,8 +55,8 @@ chatParticipants#3f460fed chat_id:int participants:Vector<ChatParticipant> versi
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<MessageEntity> views:flags.10?int edit_date:flags.15?int = 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;
message#c09be45f flags:# 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<MessageEntity> views:flags.10?int edit_date:flags.15?int = Message;
messageService#9e19a1f6 flags:# 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;
@ -69,7 +69,7 @@ messageActionChatEditPhoto#7fcb13a8 photo:Photo = MessageAction;
messageActionChatDeletePhoto#95e3fbef = MessageAction;
messageActionChatAddUser#488a7337 users:Vector<int> = MessageAction;
messageActionChatDeleteUser#b2ae9b0c user_id:int = MessageAction;
dialog#c1dd804a peer:Peer top_message:int read_inbox_max_id:int unread_count:int notify_settings:PeerNotifySettings = Dialog;
dialog#66ffba14 flags:# peer:Peer top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int notify_settings:PeerNotifySettings pts:flags.0?int draft:flags.1?DraftMessage = Dialog;
photoEmpty#2331b22d id:long = Photo;
photo#cded42fe id:long access_hash:long date:int sizes:Vector<PhotoSize> = Photo;
photoSizeEmpty#e17e23c type:string = PhotoSize;
@ -131,8 +131,8 @@ 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;
updates.differenceSlice#a8fb1981 new_messages:Vector<Message> new_encrypted_messages:Vector<EncryptedMessage> other_updates:Vector<Update> chats:Vector<Chat> users:Vector<User> intermediate_state:updates.State = updates.Difference;
updatesTooLong#e317af7e = Updates;
updateShortMessage#914fbf11 flags:# unread:flags.0?true out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int user_id:int message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int entities:flags.7?Vector<MessageEntity> = Updates;
updateShortChatMessage#16812688 flags:# unread:flags.0?true out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int from_id:int chat_id:int message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int entities:flags.7?Vector<MessageEntity> = Updates;
updateShortMessage#914fbf11 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int user_id:int message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int entities:flags.7?Vector<MessageEntity> = Updates;
updateShortChatMessage#16812688 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int from_id:int chat_id:int message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int entities:flags.7?Vector<MessageEntity> = Updates;
updateShort#78d4dec1 update:Update date:int = Updates;
updatesCombined#725b04c3 updates:Vector<Update> users:Vector<User> chats:Vector<Chat> date:int seq_start:int seq:int = Updates;
updates#74ae4240 updates:Vector<Update> users:Vector<User> chats:Vector<Chat> date:int seq:int = Updates;
@ -296,18 +296,16 @@ messageEntityItalic#826f8b60 offset:int length:int = MessageEntity;
messageEntityCode#28a20571 offset:int length:int = MessageEntity;
messageEntityPre#73924be0 offset:int length:int language:string = MessageEntity;
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<MessageEntity> = Updates;
updateShortSentMessage#11f1331c flags:# out:flags.1?true id:int pts:int pts_count:int date:int media:flags.9?MessageMedia entities:flags.7?Vector<MessageEntity> = Updates;
inputPeerChannel#20adaef8 channel_id:int access_hash:long = InputPeer;
peerChannel#bddde532 channel_id:int = Peer;
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#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<BotInfo> migrated_from_chat_id:flags.4?int migrated_from_max_id:flags.4?int pinned_msg_id:flags.5?int = ChatFull;
channelForbidden#8537784f flags:# broadcast:flags.5?true megagroup:flags.8?true id:int access_hash:long title:string = Chat;
channelFull#c3d5512f 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 read_outbox_max_id:int unread_count:int chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:ExportedChatInvite bot_info:Vector<BotInfo> migrated_from_chat_id:flags.4?int migrated_from_max_id:flags.4?int 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<Message> collapsed:flags.0?Vector<MessageGroup> chats:Vector<Chat> users:Vector<User> = messages.Messages;
messages.channelMessages#99262e37 flags:# pts:int count:int messages:Vector<Message> chats:Vector<Chat> users:Vector<User> = messages.Messages;
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;
updateReadChannelInbox#4214f37f channel_id:int max_id:int = Update;
updateDeleteChannelMessages#c37521c9 channel_id:int messages:Vector<int> pts:int pts_count:int = Update;
@ -316,13 +314,11 @@ inputChannelEmpty#ee8c1e86 = InputChannel;
inputChannel#afeb712e channel_id:int access_hash:long = InputChannel;
contacts.resolvedPeer#7f077ad9 peer:Peer chats:Vector<Chat> users:Vector<User> = contacts.ResolvedPeer;
messageRange#ae30253 min_id:int max_id:int = MessageRange;
messageGroup#e8346f53 min_id:int max_id:int count:int date:int = MessageGroup;
updates.channelDifferenceEmpty#3e11affb flags:# final:flags.0?true pts:int timeout:flags.1?int = updates.ChannelDifference;
updates.channelDifferenceTooLong#5e167646 flags:# final:flags.0?true pts:int timeout:flags.1?int top_message:int top_important_message:int read_inbox_max_id:int unread_count:int unread_important_count:int messages:Vector<Message> chats:Vector<Chat> users:Vector<User> = updates.ChannelDifference;
updates.channelDifferenceTooLong#410dee07 flags:# final:flags.0?true pts:int timeout:flags.1?int top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int messages:Vector<Message> chats:Vector<Chat> users:Vector<User> = updates.ChannelDifference;
updates.channelDifference#2064674e flags:# final:flags.0?true pts:int timeout:flags.1?int new_messages:Vector<Message> other_updates:Vector<Update> chats:Vector<Chat> users:Vector<User> = updates.ChannelDifference;
channelMessagesFilterEmpty#94d42ee7 = ChannelMessagesFilter;
channelMessagesFilter#cd77d957 flags:# important_only:flags.0?true exclude_new_messages:flags.1?true ranges:Vector<MessageRange> = ChannelMessagesFilter;
channelMessagesFilterCollapsed#fa01232e = ChannelMessagesFilter;
channelMessagesFilter#cd77d957 flags:# exclude_new_messages:flags.1?true ranges:Vector<MessageRange> = ChannelMessagesFilter;
channelParticipant#15ebac1d user_id:int date:int = ChannelParticipant;
channelParticipantSelf#a3289a6d user_id:int inviter_id:int date:int = ChannelParticipant;
channelParticipantModerator#91057fef user_id:int inviter_id:int date:int = ChannelParticipant;
@ -421,11 +417,17 @@ topPeerCategoryChannels#161d9628 = TopPeerCategory;
topPeerCategoryPeers#fb834291 category:TopPeerCategory count:int peers:Vector<TopPeer> = TopPeerCategoryPeers;
contacts.topPeersNotModified#de266ef5 = contacts.TopPeers;
contacts.topPeers#70b772a8 categories:Vector<TopPeerCategoryPeers> chats:Vector<Chat> users:Vector<User> = contacts.TopPeers;
inputMessagesFilterChatPhotos#3a20ecb8 = MessagesFilter;
updateReadChannelOutbox#25d6c9c7 channel_id:int max_id:int = Update;
updateDraftMessage#ee2bb969 peer:Peer draft:DraftMessage = Update;
draftMessageEmpty#ba4baec5 = DraftMessage;
draftMessage#fd8e711f flags:# no_webpage:flags.1?true reply_to_msg_id:flags.0?int message:string entities:flags.3?Vector<MessageEntity> date:int = DraftMessage;
messageActionHistoryClear#9fbab604 = MessageAction;
---functions---
invokeAfterMsg#cb9f372d msg_id:long query:!X = X;
invokeAfterMsgs#3dc4b4f0 msg_ids:Vector<long> query:!X = X;
auth.checkPhone#6fe51dfb phone_number:string = auth.CheckedPhone;
auth.sendCode#ccfd70cf flags:# allow_flashcall:flags.0?true phone_number:string current_number:flags.0?Bool api_id:int api_hash:string lang_code:string = auth.SentCode;
auth.sendCode#86aef0ec flags:# allow_flashcall:flags.0?true phone_number:string current_number:flags.0?Bool api_id:int api_hash:string = auth.SentCode;
auth.signUp#1b067634 phone_number:string phone_code_hash:string phone_code:string first_name:string last_name:string = auth.Authorization;
auth.signIn#bcd51581 phone_number:string phone_code_hash:string phone_code:string = auth.Authorization;
auth.logOut#5717da40 = Bool;
@ -433,7 +435,7 @@ auth.resetAuthorizations#9fab0d1a = Bool;
auth.sendInvites#771c1d97 phone_numbers:Vector<string> message:string = Bool;
auth.exportAuthorization#e5bfffcd dc_id:int = auth.ExportedAuthorization;
auth.importAuthorization#e3ef9613 id:int bytes:bytes = auth.Authorization;
account.registerDevice#446c712c token_type:int token:string device_model:string system_version:string app_version:string app_sandbox:Bool lang_code:string = Bool;
account.registerDevice#637ea878 token_type:int token:string = Bool;
account.unregisterDevice#65c55b40 token_type:int token:string = Bool;
account.updateNotifySettings#84be5b93 peer:InputNotifyPeer settings:InputPeerNotifySettings = Bool;
account.getNotifySettings#12b3ad31 peer:InputNotifyPeer = PeerNotifySettings;
@ -455,15 +457,15 @@ contacts.getBlocked#f57c350f offset:int limit:int = contacts.Blocked;
messages.getMessages#4222fa74 id:Vector<int> = messages.Messages;
messages.getDialogs#6b47f94d offset_date:int offset_id:int offset_peer:InputPeer limit:int = messages.Dialogs;
messages.getHistory#afa92846 peer:InputPeer offset_id:int offset_date:int add_offset:int limit:int max_id:int min_id:int = messages.Messages;
messages.search#d4569248 flags:# important_only:flags.0?true peer:InputPeer q:string filter:MessagesFilter min_date:int max_date:int offset:int max_id:int limit:int = messages.Messages;
messages.search#d4569248 flags:# peer:InputPeer q:string filter:MessagesFilter min_date:int max_date:int offset:int max_id:int limit:int = messages.Messages;
messages.readHistory#e306d3a peer:InputPeer max_id:int = messages.AffectedMessages;
messages.deleteHistory#b7c13bd9 peer:InputPeer max_id:int = messages.AffectedHistory;
messages.deleteHistory#1c015b09 flags:# just_clear:flags.0?true peer:InputPeer max_id:int = messages.AffectedHistory;
messages.deleteMessages#a5f18925 id:Vector<int> = messages.AffectedMessages;
messages.receivedMessages#5a954c0 max_id:int = Vector<ReceivedNotifyMessage>;
messages.setTyping#a3825e50 peer:InputPeer action:SendMessageAction = Bool;
messages.sendMessage#fa88427a flags:# no_webpage:flags.1?true broadcast:flags.4?true silent:flags.5?true background:flags.6?true peer:InputPeer reply_to_msg_id:flags.0?int message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector<MessageEntity> = Updates;
messages.sendMedia#c8f16791 flags:# broadcast:flags.4?true silent:flags.5?true background:flags.6?true peer:InputPeer reply_to_msg_id:flags.0?int media:InputMedia random_id:long reply_markup:flags.2?ReplyMarkup = Updates;
messages.forwardMessages#708e0195 flags:# broadcast:flags.4?true silent:flags.5?true background:flags.6?true from_peer:InputPeer id:Vector<int> random_id:Vector<long> to_peer:InputPeer = Updates;
messages.sendMessage#fa88427a flags:# no_webpage:flags.1?true silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector<MessageEntity> = Updates;
messages.sendMedia#c8f16791 flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int media:InputMedia random_id:long reply_markup:flags.2?ReplyMarkup = Updates;
messages.forwardMessages#708e0195 flags:# silent:flags.5?true background:flags.6?true from_peer:InputPeer id:Vector<int> random_id:Vector<long> to_peer:InputPeer = Updates;
messages.getChats#3c6aa187 id:Vector<int> = messages.Chats;
messages.getFullChat#3b831c66 chat_id:int = messages.ChatFull;
messages.editChatTitle#dc452855 chat_id:int title:string = Updates;
@ -479,9 +481,9 @@ upload.saveFilePart#b304a621 file_id:long file_part:int bytes:bytes = Bool;
upload.getFile#e3a6cfb5 location:InputFileLocation offset:int limit:int = upload.File;
help.getConfig#c4f9186b = Config;
help.getNearestDc#1fb33026 = NearestDc;
help.getAppUpdate#c812ac7e device_model:string system_version:string app_version:string lang_code:string = help.AppUpdate;
help.getAppUpdate#ae2de196 = help.AppUpdate;
help.saveAppLog#6f02f748 events:Vector<InputAppEvent> = Bool;
help.getInviteText#a4a95186 lang_code:string = help.InviteText;
help.getInviteText#4d392343 = help.InviteText;
photos.deletePhotos#87cf7f2f id:Vector<InputPhoto> = Vector<long>;
photos.getUserPhotos#91cd32a8 user_id:InputUser offset:int max_id:long limit:int = photos.Photos;
messages.forwardMessage#33963bf9 peer:InputPeer id:int random_id:long = Updates;
@ -535,12 +537,10 @@ messages.installStickerSet#7b30c3a6 stickerset:InputStickerSet disabled:Bool = B
messages.uninstallStickerSet#f96e55de stickerset:InputStickerSet = Bool;
auth.importBotAuthorization#67a3ff2c flags:int api_id:int api_hash:string bot_auth_token:string = auth.Authorization;
messages.startBot#e6df7378 bot:InputUser peer:InputPeer random_id:long start_param:string = Updates;
help.getAppChangelog#5bab7fb2 device_model:string system_version:string app_version:string lang_code:string = help.AppChangelog;
help.getAppChangelog#b921197a = help.AppChangelog;
messages.reportSpam#cf1592db peer:InputPeer = Bool;
messages.getMessagesViews#c4c8a55d peer:InputPeer id:Vector<int> increment:Bool = Vector<int>;
updates.getChannelDifference#bb32d7c0 channel:InputChannel filter:ChannelMessagesFilter pts:int limit:int = updates.ChannelDifference;
channels.getDialogs#a9d3d249 offset:int limit:int = messages.Dialogs;
channels.getImportantHistory#8f494bb2 channel:InputChannel offset_id:int offset_date:int add_offset:int limit:int max_id:int min_id:int = messages.Messages;
channels.readHistory#cc104937 channel:InputChannel max_id:int = Bool;
channels.deleteMessages#84c1fd4e channel:InputChannel id:Vector<int> = messages.AffectedMessages;
channels.deleteUserHistory#d10dd71b channel:InputChannel user_id:InputUser = messages.AffectedHistory;
@ -555,7 +555,6 @@ channels.editAbout#13e27f1e channel:InputChannel about:string = Bool;
channels.editAdmin#eb7611d0 channel:InputChannel user_id:InputUser role:ChannelParticipantRole = Updates;
channels.editTitle#566decd0 channel:InputChannel title:string = Updates;
channels.editPhoto#f12e57c9 channel:InputChannel photo:InputChatPhoto = Updates;
channels.toggleComments#aaa29e88 channel:InputChannel enabled:Bool = Updates;
channels.checkUsername#10e6bd2c channel:InputChannel username:string = Bool;
channels.updateUsername#3514b3de channel:InputChannel username:string = Bool;
channels.joinChannel#24b524c5 channel:InputChannel = Updates;
@ -570,14 +569,14 @@ messages.migrateChat#15a3b8e3 chat_id:int = Updates;
messages.searchGlobal#9e3cacb0 q:string offset_date:int offset_peer:InputPeer offset_id:int limit:int = messages.Messages;
account.reportPeer#ae189d5f peer:InputPeer reason:ReportReason = Bool;
messages.reorderStickerSets#9fcfbc30 order:Vector<long> = Bool;
help.getTermsOfService#37d78f83 lang_code:string = help.TermsOfService;
help.getTermsOfService#350170f3 = help.TermsOfService;
messages.getDocumentByHash#338e2464 sha256:bytes size:int mime_type:string = Document;
messages.searchGifs#bf9a776b q:string offset:int = messages.FoundGifs;
messages.getSavedGifs#83bf3d52 hash:int = messages.SavedGifs;
messages.saveGif#327a30cb id:InputDocument unsave:Bool = Bool;
messages.getInlineBotResults#514e999d flags:# bot:InputUser peer:InputPeer geo_point:flags.0?InputGeoPoint query:string offset:string = messages.BotResults;
messages.setInlineBotResults#eb5ea206 flags:# gallery:flags.0?true private:flags.1?true query_id:long results:Vector<InputBotInlineResult> cache_time:int next_offset:flags.2?string switch_pm:flags.3?InlineBotSwitchPM = Bool;
messages.sendInlineBotResult#b16e06fe flags:# broadcast:flags.4?true silent:flags.5?true background:flags.6?true peer:InputPeer reply_to_msg_id:flags.0?int random_id:long query_id:long id:string = Updates;
messages.sendInlineBotResult#b16e06fe flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int random_id:long query_id:long id:string = Updates;
channels.toggleInvites#49609307 channel:InputChannel enabled:Bool = Updates;
channels.exportMessageLink#c846d22d channel:InputChannel id:int = ExportedMessageLink;
channels.toggleSignatures#1f69b606 channel:InputChannel enabled:Bool = Updates;
@ -593,4 +592,6 @@ messages.getBotCallbackAnswer#a6e94f04 peer:InputPeer msg_id:int data:bytes = me
messages.setBotCallbackAnswer#481c591a flags:# alert:flags.1?true query_id:long message:flags.0?string = Bool;
contacts.getTopPeers#d4982db5 flags:# correspondents:flags.0?true bots_pm:flags.1?true bots_inline:flags.2?true groups:flags.10?true channels:flags.15?true offset:int limit:int hash:int = contacts.TopPeers;
contacts.resetTopPeerRating#1ae373ac category:TopPeerCategory peer:InputPeer = Bool;
messages.getPeerDialogs#19250887 peer:Vector<InputPeer> = messages.PeerDialogs;
messages.getPeerDialogs#2d9776b9 peers:Vector<InputPeer> = messages.PeerDialogs;
messages.saveDraft#bc39e14b flags:# no_webpage:flags.1?true reply_to_msg_id:flags.0?int peer:InputPeer message:string entities:flags.3?Vector<MessageEntity> = Bool;
messages.getAllDrafts#6a3f8d65 = Updates;