mirror of
https://github.com/danog/tl-schema.git
synced 2024-11-30 04:19:47 +01:00
Add layer 061
This commit is contained in:
parent
73aaf6ce74
commit
44323c68d2
4
l061/README.md
Normal file
4
l061/README.md
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
### Version info
|
||||||
|
App|Version/Hash|Date
|
||||||
|
---|---|---
|
||||||
|
TDesktop|85b434bee4758ada2c9ba095faaba82bf06036db|13.12.16
|
1008
l061/schema.json
Normal file
1008
l061/schema.json
Normal file
File diff suppressed because it is too large
Load Diff
61
l061/schema.tl
Normal file
61
l061/schema.tl
Normal file
@ -0,0 +1,61 @@
|
|||||||
|
---types---
|
||||||
|
// updateNewAuthorization#8f06529a auth_key_id:long date:int device:string location:string = Update;
|
||||||
|
// embedPostPhoto#e31ee77 photo_id:long = EmbedPostMedia;
|
||||||
|
// embedPostVideo#a07f2d66 video_id:long = EmbedPostMedia;
|
||||||
|
// 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;
|
||||||
|
dialog#66ffba14 flags:# pinned:flags.2?true 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;
|
||||||
|
// userFull#f220f3f 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 common_chats_count:int = UserFull;
|
||||||
|
userFull#f220f3f flags:# blocked:flags.0?true phone_calls_available:flags.4?true user:User about:flags.1?string link:contacts.Link profile_photo:flags.2?Photo notify_settings:PeerNotifySettings bot_info:flags.3?BotInfo common_chats_count:int = UserFull;
|
||||||
|
// config#9a6b2e2a flags:# date:int expires:int test_mode:Bool this_dc:int dc_options:Vector<DcOption> chat_size_max:int megagroup_size_max:int forwarded_count_max:int online_update_period_ms:int offline_blur_timeout_ms:int offline_idle_timeout_ms:int online_cloud_timeout_ms:int notify_cloud_delay_ms:int notify_default_delay_ms:int chat_big_size:int push_chat_period_ms:int push_chat_limit:int saved_gifs_limit:int edit_time_limit:int rating_e_decay:int stickers_recent_limit:int tmp_sessions:flags.0?int disabled_features:Vector<DisabledFeature> = Config;
|
||||||
|
config#3af6fb5f flags:# phonecalls_enabled:flags.1?true date:int expires:int test_mode:Bool this_dc:int dc_options:Vector<DcOption> chat_size_max:int megagroup_size_max:int forwarded_count_max:int online_update_period_ms:int offline_blur_timeout_ms:int offline_idle_timeout_ms:int online_cloud_timeout_ms:int notify_cloud_delay_ms:int notify_default_delay_ms:int chat_big_size:int push_chat_period_ms:int push_chat_limit:int saved_gifs_limit:int edit_time_limit:int rating_e_decay:int stickers_recent_limit:int tmp_sessions:flags.0?int pinned_dialogs_count_max:int call_receive_timeout_ms:int call_ring_timeout_ms:int call_connect_timeout_ms:int call_packet_timeout_ms:int disabled_features:Vector<DisabledFeature> = Config;
|
||||||
|
// updateServiceNotification#382dd3e4 type:string message:string media:MessageMedia popup:Bool = Update;
|
||||||
|
updateServiceNotification#ebe46819 flags:# popup:flags.0?true inbox_date:flags.1?int type:string message:string media:MessageMedia entities:Vector<MessageEntity> = Update;
|
||||||
|
// help.appChangelog#4668e6bd text:string = help.AppChangelog;
|
||||||
|
help.appChangelog#2a137e7c message:string media:MessageMedia entities:Vector<MessageEntity> = help.AppChangelog;
|
||||||
|
// messages.chatsSlice#78f69146 count:int chats:Vector<Chat> users:Vector<User> = messages.Chats;
|
||||||
|
messages.chatsSlice#9cd81144 count:int chats:Vector<Chat> = messages.Chats;
|
||||||
|
// pageBlockAuthorDate#3d5b64f2 author:string published_date:int = PageBlock;
|
||||||
|
pageBlockAuthorDate#baafe5e0 author:RichText published_date:int = PageBlock;
|
||||||
|
// pageBlockVideo#d9d71866 flags:# autoplay:flags.1?true loop:flags.2?true video_id:long caption:RichText = PageBlock;
|
||||||
|
pageBlockVideo#d9d71866 flags:# autoplay:flags.0?true loop:flags.1?true video_id:long caption:RichText = PageBlock;
|
||||||
|
// pageBlockEmbed#36b0816 url:string w:int h:int caption:RichText = PageBlock;
|
||||||
|
pageBlockEmbed#cde200d1 flags:# full_width:flags.0?true allow_scrolling:flags.3?true url:flags.1?string html:flags.2?string poster_photo_id:flags.4?long w:int h:int caption:RichText = PageBlock;
|
||||||
|
// pageBlockEmbedPost#7ff81db7 flags:# author:string date:int caption:RichText url:string webpage_id:long text:flags.1?RichText medias:flags.2?Vector<EmbedPostMedia> author_photo_id:flags.3?long = PageBlock;
|
||||||
|
pageBlockEmbedPost#292c7be9 url:string webpage_id:long author_photo_id:long author:string date:int blocks:Vector<PageBlock> caption:RichText = PageBlock;
|
||||||
|
updatePhoneCall#ab0f6b1e phone_call:PhoneCall = Update;
|
||||||
|
updateDialogPinned#d711a2cc flags:# pinned:flags.0?true peer:Peer = Update;
|
||||||
|
updatePinnedDialogs#d8caf68d flags:# order:flags.0?Vector<Peer> = Update;
|
||||||
|
inputPrivacyKeyPhoneCall#fabadc5f = InputPrivacyKey;
|
||||||
|
privacyKeyPhoneCall#3d662b7b = PrivacyKey;
|
||||||
|
pageBlockUnsupported#13567e8a = PageBlock;
|
||||||
|
pageBlockAnchor#ce0d37b0 name:string = PageBlock;
|
||||||
|
pageBlockCollage#8b31c4f items:Vector<PageBlock> caption:RichText = PageBlock;
|
||||||
|
inputPhoneCall#1e36fded id:long access_hash:long = InputPhoneCall;
|
||||||
|
phoneCallEmpty#5366c915 id:long = PhoneCall;
|
||||||
|
phoneCallWaiting#1b8f4ad1 flags:# id:long access_hash:long date:int admin_id:int participant_id:int protocol:PhoneCallProtocol receive_date:flags.0?int = PhoneCall;
|
||||||
|
phoneCallRequested#6c448ae8 id:long access_hash:long date:int admin_id:int participant_id:int g_a:bytes protocol:PhoneCallProtocol = PhoneCall;
|
||||||
|
phoneCall#ffe6ab67 id:long access_hash:long date:int admin_id:int participant_id:int g_a_or_b:bytes key_fingerprint:long protocol:PhoneCallProtocol connection:PhoneConnection alternative_connections:Vector<PhoneConnection> start_date:int = PhoneCall;
|
||||||
|
phoneCallDiscarded#50ca4de1 flags:# id:long reason:flags.0?PhoneCallDiscardReason duration:flags.1?int = PhoneCall;
|
||||||
|
phoneConnection#9d4c17c0 id:long ip:string ipv6:string port:int peer_tag:bytes = PhoneConnection;
|
||||||
|
phoneCallProtocol#a2bb35cb flags:# udp_p2p:flags.0?true udp_reflector:flags.1?true min_layer:int max_layer:int = PhoneCallProtocol;
|
||||||
|
phone.phoneCall#ec82e140 phone_call:PhoneCall users:Vector<User> = phone.PhoneCall;
|
||||||
|
phoneCallDiscardReasonMissed#85e42301 = PhoneCallDiscardReason;
|
||||||
|
phoneCallDiscardReasonDisconnect#e095c1a0 = PhoneCallDiscardReason;
|
||||||
|
phoneCallDiscardReasonHangup#57adc690 = PhoneCallDiscardReason;
|
||||||
|
phoneCallDiscardReasonBusy#faf7e8c9 = PhoneCallDiscardReason;
|
||||||
|
---functions---
|
||||||
|
// messages.getDialogs#6b47f94d offset_date:int offset_id:int offset_peer:InputPeer limit:int = messages.Dialogs;
|
||||||
|
messages.getDialogs#191ba9c5 flags:# exclude_pinned:flags.0?true offset_date:int offset_id:int offset_peer:InputPeer limit:int = messages.Dialogs;
|
||||||
|
// messages.setGameScore#8ef8ecc0 flags:# edit_message:flags.0?true peer:InputPeer id:int user_id:InputUser score:int = Updates;
|
||||||
|
messages.setGameScore#8ef8ecc0 flags:# edit_message:flags.0?true force:flags.1?true peer:InputPeer id:int user_id:InputUser score:int = Updates;
|
||||||
|
// messages.setInlineGameScore#15ad9f64 flags:# edit_message:flags.0?true id:InputBotInlineMessageID user_id:InputUser score:int = Bool;
|
||||||
|
messages.setInlineGameScore#15ad9f64 flags:# edit_message:flags.0?true force:flags.1?true id:InputBotInlineMessageID user_id:InputUser score:int = Bool;
|
||||||
|
// messages.getWebPage#61203e2 id:long hash:int = WebPage;
|
||||||
|
messages.getWebPage#32ca8f91 url:string hash:int = WebPage;
|
||||||
|
messages.toggleDialogPin#3289be6a flags:# pinned:flags.0?true peer:InputPeer = Bool;
|
||||||
|
messages.reorderPinnedDialogs#959ff644 flags:# force:flags.0?true order:Vector<InputPeer> = Bool;
|
||||||
|
messages.getPinnedDialogs#e254d64e = messages.PeerDialogs;
|
||||||
|
phone.requestCall#a41aa5e4 user_id:InputUser random_id:int g_a:bytes protocol:PhoneCallProtocol = phone.PhoneCall;
|
||||||
|
phone.acceptCall#220f0b20 peer:InputPhoneCall g_b:bytes key_fingerprint:long protocol:PhoneCallProtocol = phone.PhoneCall;
|
||||||
|
phone.discardCall#5dfbcddc peer:InputPhoneCall duration:int reason:PhoneCallDiscardReason connection_id:long = Bool;
|
||||||
|
phone.receivedCall#17d54f61 peer:InputPhoneCall = Bool;
|
689
schema.json
689
schema.json
@ -969,6 +969,10 @@
|
|||||||
"name": "flags",
|
"name": "flags",
|
||||||
"type": "#"
|
"type": "#"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "pinned",
|
||||||
|
"type": "flags.2?true"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "peer",
|
"name": "peer",
|
||||||
"type": "Peer"
|
"type": "Peer"
|
||||||
@ -1344,6 +1348,10 @@
|
|||||||
"name": "blocked",
|
"name": "blocked",
|
||||||
"type": "flags.0?true"
|
"type": "flags.0?true"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "phone_calls_available",
|
||||||
|
"type": "flags.4?true"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "user",
|
"name": "user",
|
||||||
"type": "User"
|
"type": "User"
|
||||||
@ -1905,29 +1913,6 @@
|
|||||||
],
|
],
|
||||||
"type": "Update"
|
"type": "Update"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"id": "-1895411046",
|
|
||||||
"predicate": "updateNewAuthorization",
|
|
||||||
"params": [
|
|
||||||
{
|
|
||||||
"name": "auth_key_id",
|
|
||||||
"type": "long"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "date",
|
|
||||||
"type": "int"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "device",
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "location",
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"type": "Update"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"id": "-1519637954",
|
"id": "-1519637954",
|
||||||
"predicate": "updates.state",
|
"predicate": "updates.state",
|
||||||
@ -2319,13 +2304,17 @@
|
|||||||
"type": "DcOption"
|
"type": "DcOption"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "-1704251862",
|
"id": "989264735",
|
||||||
"predicate": "config",
|
"predicate": "config",
|
||||||
"params": [
|
"params": [
|
||||||
{
|
{
|
||||||
"name": "flags",
|
"name": "flags",
|
||||||
"type": "#"
|
"type": "#"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "phonecalls_enabled",
|
||||||
|
"type": "flags.1?true"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "date",
|
"name": "date",
|
||||||
"type": "int"
|
"type": "int"
|
||||||
@ -2414,6 +2403,26 @@
|
|||||||
"name": "tmp_sessions",
|
"name": "tmp_sessions",
|
||||||
"type": "flags.0?int"
|
"type": "flags.0?int"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "pinned_dialogs_count_max",
|
||||||
|
"type": "int"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "call_receive_timeout_ms",
|
||||||
|
"type": "int"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "call_ring_timeout_ms",
|
||||||
|
"type": "int"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "call_connect_timeout_ms",
|
||||||
|
"type": "int"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "call_packet_timeout_ms",
|
||||||
|
"type": "int"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "disabled_features",
|
"name": "disabled_features",
|
||||||
"type": "Vector<DisabledFeature>"
|
"type": "Vector<DisabledFeature>"
|
||||||
@ -3399,9 +3408,21 @@
|
|||||||
"type": "SendMessageAction"
|
"type": "SendMessageAction"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "942527460",
|
"id": "-337352679",
|
||||||
"predicate": "updateServiceNotification",
|
"predicate": "updateServiceNotification",
|
||||||
"params": [
|
"params": [
|
||||||
|
{
|
||||||
|
"name": "flags",
|
||||||
|
"type": "#"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "popup",
|
||||||
|
"type": "flags.0?true"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "inbox_date",
|
||||||
|
"type": "flags.1?int"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "type",
|
"name": "type",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
@ -3415,8 +3436,8 @@
|
|||||||
"type": "MessageMedia"
|
"type": "MessageMedia"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "popup",
|
"name": "entities",
|
||||||
"type": "Bool"
|
"type": "Vector<MessageEntity>"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"type": "Update"
|
"type": "Update"
|
||||||
@ -4692,12 +4713,20 @@
|
|||||||
"type": "help.AppChangelog"
|
"type": "help.AppChangelog"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "1181279933",
|
"id": "705920636",
|
||||||
"predicate": "help.appChangelog",
|
"predicate": "help.appChangelog",
|
||||||
"params": [
|
"params": [
|
||||||
{
|
{
|
||||||
"name": "text",
|
"name": "message",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "media",
|
||||||
|
"type": "MessageMedia"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "entities",
|
||||||
|
"type": "Vector<MessageEntity>"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"type": "help.AppChangelog"
|
"type": "help.AppChangelog"
|
||||||
@ -7589,7 +7618,7 @@
|
|||||||
"type": "messages.HighScores"
|
"type": "messages.HighScores"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "2029424966",
|
"id": "-1663561404",
|
||||||
"predicate": "messages.chatsSlice",
|
"predicate": "messages.chatsSlice",
|
||||||
"params": [
|
"params": [
|
||||||
{
|
{
|
||||||
@ -7599,10 +7628,6 @@
|
|||||||
{
|
{
|
||||||
"name": "chats",
|
"name": "chats",
|
||||||
"type": "Vector<Chat>"
|
"type": "Vector<Chat>"
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "users",
|
|
||||||
"type": "Vector<User>"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"type": "messages.Chats"
|
"type": "messages.Chats"
|
||||||
@ -7793,12 +7818,12 @@
|
|||||||
"type": "PageBlock"
|
"type": "PageBlock"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "1029399794",
|
"id": "-1162877472",
|
||||||
"predicate": "pageBlockAuthorDate",
|
"predicate": "pageBlockAuthorDate",
|
||||||
"params": [
|
"params": [
|
||||||
{
|
{
|
||||||
"name": "author",
|
"name": "author",
|
||||||
"type": "string"
|
"type": "RichText"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "published_date",
|
"name": "published_date",
|
||||||
@ -7942,11 +7967,11 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "autoplay",
|
"name": "autoplay",
|
||||||
"type": "flags.1?true"
|
"type": "flags.0?true"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "loop",
|
"name": "loop",
|
||||||
"type": "flags.2?true"
|
"type": "flags.1?true"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "video_id",
|
"name": "video_id",
|
||||||
@ -7971,12 +7996,32 @@
|
|||||||
"type": "PageBlock"
|
"type": "PageBlock"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "57346070",
|
"id": "-840826671",
|
||||||
"predicate": "pageBlockEmbed",
|
"predicate": "pageBlockEmbed",
|
||||||
"params": [
|
"params": [
|
||||||
|
{
|
||||||
|
"name": "flags",
|
||||||
|
"type": "#"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "full_width",
|
||||||
|
"type": "flags.0?true"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "allow_scrolling",
|
||||||
|
"type": "flags.3?true"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "url",
|
"name": "url",
|
||||||
"type": "string"
|
"type": "flags.1?string"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "html",
|
||||||
|
"type": "flags.2?string"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "poster_photo_id",
|
||||||
|
"type": "flags.4?long"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "w",
|
"name": "w",
|
||||||
@ -7994,12 +8039,20 @@
|
|||||||
"type": "PageBlock"
|
"type": "PageBlock"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "2146966967",
|
"id": "690781161",
|
||||||
"predicate": "pageBlockEmbedPost",
|
"predicate": "pageBlockEmbedPost",
|
||||||
"params": [
|
"params": [
|
||||||
{
|
{
|
||||||
"name": "flags",
|
"name": "url",
|
||||||
"type": "#"
|
"type": "string"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "webpage_id",
|
||||||
|
"type": "long"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "author_photo_id",
|
||||||
|
"type": "long"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "author",
|
"name": "author",
|
||||||
@ -8009,29 +8062,13 @@
|
|||||||
"name": "date",
|
"name": "date",
|
||||||
"type": "int"
|
"type": "int"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "blocks",
|
||||||
|
"type": "Vector<PageBlock>"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "caption",
|
"name": "caption",
|
||||||
"type": "RichText"
|
"type": "RichText"
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "url",
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "webpage_id",
|
|
||||||
"type": "long"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "text",
|
|
||||||
"type": "flags.1?RichText"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "medias",
|
|
||||||
"type": "flags.2?Vector<EmbedPostMedia>"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "author_photo_id",
|
|
||||||
"type": "flags.3?long"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"type": "PageBlock"
|
"type": "PageBlock"
|
||||||
@ -8051,28 +8088,6 @@
|
|||||||
],
|
],
|
||||||
"type": "PageBlock"
|
"type": "PageBlock"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"id": "238153335",
|
|
||||||
"predicate": "embedPostPhoto",
|
|
||||||
"params": [
|
|
||||||
{
|
|
||||||
"name": "photo_id",
|
|
||||||
"type": "long"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"type": "EmbedPostMedia"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "-1602278042",
|
|
||||||
"predicate": "embedPostVideo",
|
|
||||||
"params": [
|
|
||||||
{
|
|
||||||
"name": "video_id",
|
|
||||||
"type": "long"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"type": "EmbedPostMedia"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"id": "-1913754556",
|
"id": "-1913754556",
|
||||||
"predicate": "pagePart",
|
"predicate": "pagePart",
|
||||||
@ -8110,6 +8125,362 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"type": "Page"
|
"type": "Page"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "-1425052898",
|
||||||
|
"predicate": "updatePhoneCall",
|
||||||
|
"params": [
|
||||||
|
{
|
||||||
|
"name": "phone_call",
|
||||||
|
"type": "PhoneCall"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "Update"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "-686710068",
|
||||||
|
"predicate": "updateDialogPinned",
|
||||||
|
"params": [
|
||||||
|
{
|
||||||
|
"name": "flags",
|
||||||
|
"type": "#"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "pinned",
|
||||||
|
"type": "flags.0?true"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "peer",
|
||||||
|
"type": "Peer"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "Update"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "-657787251",
|
||||||
|
"predicate": "updatePinnedDialogs",
|
||||||
|
"params": [
|
||||||
|
{
|
||||||
|
"name": "flags",
|
||||||
|
"type": "#"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "order",
|
||||||
|
"type": "flags.0?Vector<Peer>"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "Update"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "-88417185",
|
||||||
|
"predicate": "inputPrivacyKeyPhoneCall",
|
||||||
|
"params": [],
|
||||||
|
"type": "InputPrivacyKey"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "1030105979",
|
||||||
|
"predicate": "privacyKeyPhoneCall",
|
||||||
|
"params": [],
|
||||||
|
"type": "PrivacyKey"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "324435594",
|
||||||
|
"predicate": "pageBlockUnsupported",
|
||||||
|
"params": [],
|
||||||
|
"type": "PageBlock"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "-837994576",
|
||||||
|
"predicate": "pageBlockAnchor",
|
||||||
|
"params": [
|
||||||
|
{
|
||||||
|
"name": "name",
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "PageBlock"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "145955919",
|
||||||
|
"predicate": "pageBlockCollage",
|
||||||
|
"params": [
|
||||||
|
{
|
||||||
|
"name": "items",
|
||||||
|
"type": "Vector<PageBlock>"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "caption",
|
||||||
|
"type": "RichText"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "PageBlock"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "506920429",
|
||||||
|
"predicate": "inputPhoneCall",
|
||||||
|
"params": [
|
||||||
|
{
|
||||||
|
"name": "id",
|
||||||
|
"type": "long"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "access_hash",
|
||||||
|
"type": "long"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "InputPhoneCall"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "1399245077",
|
||||||
|
"predicate": "phoneCallEmpty",
|
||||||
|
"params": [
|
||||||
|
{
|
||||||
|
"name": "id",
|
||||||
|
"type": "long"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "PhoneCall"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "462375633",
|
||||||
|
"predicate": "phoneCallWaiting",
|
||||||
|
"params": [
|
||||||
|
{
|
||||||
|
"name": "flags",
|
||||||
|
"type": "#"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "id",
|
||||||
|
"type": "long"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "access_hash",
|
||||||
|
"type": "long"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "date",
|
||||||
|
"type": "int"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "admin_id",
|
||||||
|
"type": "int"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "participant_id",
|
||||||
|
"type": "int"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "protocol",
|
||||||
|
"type": "PhoneCallProtocol"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "receive_date",
|
||||||
|
"type": "flags.0?int"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "PhoneCall"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "1816431336",
|
||||||
|
"predicate": "phoneCallRequested",
|
||||||
|
"params": [
|
||||||
|
{
|
||||||
|
"name": "id",
|
||||||
|
"type": "long"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "access_hash",
|
||||||
|
"type": "long"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "date",
|
||||||
|
"type": "int"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "admin_id",
|
||||||
|
"type": "int"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "participant_id",
|
||||||
|
"type": "int"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "g_a",
|
||||||
|
"type": "bytes"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "protocol",
|
||||||
|
"type": "PhoneCallProtocol"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "PhoneCall"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "-1660057",
|
||||||
|
"predicate": "phoneCall",
|
||||||
|
"params": [
|
||||||
|
{
|
||||||
|
"name": "id",
|
||||||
|
"type": "long"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "access_hash",
|
||||||
|
"type": "long"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "date",
|
||||||
|
"type": "int"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "admin_id",
|
||||||
|
"type": "int"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "participant_id",
|
||||||
|
"type": "int"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "g_a_or_b",
|
||||||
|
"type": "bytes"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "key_fingerprint",
|
||||||
|
"type": "long"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "protocol",
|
||||||
|
"type": "PhoneCallProtocol"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "connection",
|
||||||
|
"type": "PhoneConnection"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "alternative_connections",
|
||||||
|
"type": "Vector<PhoneConnection>"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "start_date",
|
||||||
|
"type": "int"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "PhoneCall"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "1355435489",
|
||||||
|
"predicate": "phoneCallDiscarded",
|
||||||
|
"params": [
|
||||||
|
{
|
||||||
|
"name": "flags",
|
||||||
|
"type": "#"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "id",
|
||||||
|
"type": "long"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "reason",
|
||||||
|
"type": "flags.0?PhoneCallDiscardReason"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "duration",
|
||||||
|
"type": "flags.1?int"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "PhoneCall"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "-1655957568",
|
||||||
|
"predicate": "phoneConnection",
|
||||||
|
"params": [
|
||||||
|
{
|
||||||
|
"name": "id",
|
||||||
|
"type": "long"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "ip",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "ipv6",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "port",
|
||||||
|
"type": "int"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "peer_tag",
|
||||||
|
"type": "bytes"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "PhoneConnection"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "-1564789301",
|
||||||
|
"predicate": "phoneCallProtocol",
|
||||||
|
"params": [
|
||||||
|
{
|
||||||
|
"name": "flags",
|
||||||
|
"type": "#"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "udp_p2p",
|
||||||
|
"type": "flags.0?true"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "udp_reflector",
|
||||||
|
"type": "flags.1?true"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "min_layer",
|
||||||
|
"type": "int"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "max_layer",
|
||||||
|
"type": "int"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "PhoneCallProtocol"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "-326966976",
|
||||||
|
"predicate": "phone.phoneCall",
|
||||||
|
"params": [
|
||||||
|
{
|
||||||
|
"name": "phone_call",
|
||||||
|
"type": "PhoneCall"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "users",
|
||||||
|
"type": "Vector<User>"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "phone.PhoneCall"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "-2048646399",
|
||||||
|
"predicate": "phoneCallDiscardReasonMissed",
|
||||||
|
"params": [],
|
||||||
|
"type": "PhoneCallDiscardReason"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "-527056480",
|
||||||
|
"predicate": "phoneCallDiscardReasonDisconnect",
|
||||||
|
"params": [],
|
||||||
|
"type": "PhoneCallDiscardReason"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "1471006352",
|
||||||
|
"predicate": "phoneCallDiscardReasonHangup",
|
||||||
|
"params": [],
|
||||||
|
"type": "PhoneCallDiscardReason"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "-84416311",
|
||||||
|
"predicate": "phoneCallDiscardReasonBusy",
|
||||||
|
"params": [],
|
||||||
|
"type": "PhoneCallDiscardReason"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"methods": [
|
"methods": [
|
||||||
@ -8526,9 +8897,17 @@
|
|||||||
"type": "messages.Messages"
|
"type": "messages.Messages"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "1799878989",
|
"id": "421243333",
|
||||||
"method": "messages.getDialogs",
|
"method": "messages.getDialogs",
|
||||||
"params": [
|
"params": [
|
||||||
|
{
|
||||||
|
"name": "flags",
|
||||||
|
"type": "#"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "exclude_pinned",
|
||||||
|
"type": "flags.0?true"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "offset_date",
|
"name": "offset_date",
|
||||||
"type": "int"
|
"type": "int"
|
||||||
@ -10998,6 +11377,10 @@
|
|||||||
"name": "edit_message",
|
"name": "edit_message",
|
||||||
"type": "flags.0?true"
|
"type": "flags.0?true"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "force",
|
||||||
|
"type": "flags.1?true"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "peer",
|
"name": "peer",
|
||||||
"type": "InputPeer"
|
"type": "InputPeer"
|
||||||
@ -11029,6 +11412,10 @@
|
|||||||
"name": "edit_message",
|
"name": "edit_message",
|
||||||
"type": "flags.0?true"
|
"type": "flags.0?true"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "force",
|
||||||
|
"type": "flags.1?true"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"type": "InputBotInlineMessageID"
|
"type": "InputBotInlineMessageID"
|
||||||
@ -11146,12 +11533,12 @@
|
|||||||
"type": "Bool"
|
"type": "Bool"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "101843938",
|
"id": "852135825",
|
||||||
"method": "messages.getWebPage",
|
"method": "messages.getWebPage",
|
||||||
"params": [
|
"params": [
|
||||||
{
|
{
|
||||||
"name": "id",
|
"name": "url",
|
||||||
"type": "long"
|
"type": "string"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "hash",
|
"name": "hash",
|
||||||
@ -11159,6 +11546,130 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"type": "WebPage"
|
"type": "WebPage"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "847887978",
|
||||||
|
"method": "messages.toggleDialogPin",
|
||||||
|
"params": [
|
||||||
|
{
|
||||||
|
"name": "flags",
|
||||||
|
"type": "#"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "pinned",
|
||||||
|
"type": "flags.0?true"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "peer",
|
||||||
|
"type": "InputPeer"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "Bool"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "-1784678844",
|
||||||
|
"method": "messages.reorderPinnedDialogs",
|
||||||
|
"params": [
|
||||||
|
{
|
||||||
|
"name": "flags",
|
||||||
|
"type": "#"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "force",
|
||||||
|
"type": "flags.0?true"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "order",
|
||||||
|
"type": "Vector<InputPeer>"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "Bool"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "-497756594",
|
||||||
|
"method": "messages.getPinnedDialogs",
|
||||||
|
"params": [],
|
||||||
|
"type": "messages.PeerDialogs"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "-1541757468",
|
||||||
|
"method": "phone.requestCall",
|
||||||
|
"params": [
|
||||||
|
{
|
||||||
|
"name": "user_id",
|
||||||
|
"type": "InputUser"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "random_id",
|
||||||
|
"type": "int"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "g_a",
|
||||||
|
"type": "bytes"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "protocol",
|
||||||
|
"type": "PhoneCallProtocol"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "phone.PhoneCall"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "571411232",
|
||||||
|
"method": "phone.acceptCall",
|
||||||
|
"params": [
|
||||||
|
{
|
||||||
|
"name": "peer",
|
||||||
|
"type": "InputPhoneCall"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "g_b",
|
||||||
|
"type": "bytes"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "key_fingerprint",
|
||||||
|
"type": "long"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "protocol",
|
||||||
|
"type": "PhoneCallProtocol"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "phone.PhoneCall"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "1576783324",
|
||||||
|
"method": "phone.discardCall",
|
||||||
|
"params": [
|
||||||
|
{
|
||||||
|
"name": "peer",
|
||||||
|
"type": "InputPhoneCall"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "duration",
|
||||||
|
"type": "int"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "reason",
|
||||||
|
"type": "PhoneCallDiscardReason"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "connection_id",
|
||||||
|
"type": "long"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "Bool"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "399855457",
|
||||||
|
"method": "phone.receivedCall",
|
||||||
|
"params": [
|
||||||
|
{
|
||||||
|
"name": "peer",
|
||||||
|
"type": "InputPhoneCall"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "Bool"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
59
schema.tl
59
schema.tl
@ -67,7 +67,7 @@ messageActionChatEditPhoto#7fcb13a8 photo:Photo = MessageAction;
|
|||||||
messageActionChatDeletePhoto#95e3fbef = MessageAction;
|
messageActionChatDeletePhoto#95e3fbef = MessageAction;
|
||||||
messageActionChatAddUser#488a7337 users:Vector<int> = MessageAction;
|
messageActionChatAddUser#488a7337 users:Vector<int> = MessageAction;
|
||||||
messageActionChatDeleteUser#b2ae9b0c user_id:int = MessageAction;
|
messageActionChatDeleteUser#b2ae9b0c user_id:int = MessageAction;
|
||||||
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;
|
dialog#66ffba14 flags:# pinned:flags.2?true 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;
|
photoEmpty#2331b22d id:long = Photo;
|
||||||
photo#9288dd29 flags:# has_stickers:flags.0?true id:long access_hash:long date:int sizes:Vector<PhotoSize> = Photo;
|
photo#9288dd29 flags:# has_stickers:flags.0?true id:long access_hash:long date:int sizes:Vector<PhotoSize> = Photo;
|
||||||
photoSizeEmpty#e17e23c type:string = PhotoSize;
|
photoSizeEmpty#e17e23c type:string = PhotoSize;
|
||||||
@ -89,7 +89,7 @@ peerNotifyEventsAll#6d1ded88 = PeerNotifyEvents;
|
|||||||
peerNotifySettingsEmpty#70a68512 = PeerNotifySettings;
|
peerNotifySettingsEmpty#70a68512 = PeerNotifySettings;
|
||||||
peerNotifySettings#9acda4c0 flags:# show_previews:flags.0?true silent:flags.1?true mute_until:int sound:string = 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<PhotoSize> color:int = WallPaper;
|
wallPaper#ccb03657 id:int title:string sizes:Vector<PhotoSize> color:int = WallPaper;
|
||||||
userFull#f220f3f 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 common_chats_count:int = UserFull;
|
userFull#f220f3f flags:# blocked:flags.0?true phone_calls_available:flags.4?true user:User about:flags.1?string link:contacts.Link profile_photo:flags.2?Photo notify_settings:PeerNotifySettings bot_info:flags.3?BotInfo common_chats_count:int = UserFull;
|
||||||
contact#f911c994 user_id:int mutual:Bool = Contact;
|
contact#f911c994 user_id:int mutual:Bool = Contact;
|
||||||
importedContact#d0028438 user_id:int client_id:long = ImportedContact;
|
importedContact#d0028438 user_id:int client_id:long = ImportedContact;
|
||||||
contactBlocked#561bc879 user_id:int date:int = ContactBlocked;
|
contactBlocked#561bc879 user_id:int date:int = ContactBlocked;
|
||||||
@ -123,7 +123,6 @@ updateUserName#a7332b73 user_id:int first_name:string last_name:string username:
|
|||||||
updateUserPhoto#95313b0c user_id:int date:int photo:UserProfilePhoto previous:Bool = Update;
|
updateUserPhoto#95313b0c user_id:int date:int photo:UserProfilePhoto previous:Bool = Update;
|
||||||
updateContactRegistered#2575bbb9 user_id:int date:int = Update;
|
updateContactRegistered#2575bbb9 user_id:int date:int = Update;
|
||||||
updateContactLink#9d2e67c5 user_id:int my_link:ContactLink foreign_link:ContactLink = Update;
|
updateContactLink#9d2e67c5 user_id:int my_link:ContactLink foreign_link:ContactLink = Update;
|
||||||
updateNewAuthorization#8f06529a auth_key_id:long date:int device:string location:string = Update;
|
|
||||||
updates.state#a56c2a3e pts:int qts:int date:int seq:int unread_count:int = updates.State;
|
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.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.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;
|
||||||
@ -137,7 +136,7 @@ updates#74ae4240 updates:Vector<Update> users:Vector<User> chats:Vector<Chat> da
|
|||||||
photos.photo#20212ca8 photo:Photo users:Vector<User> = photos.Photo;
|
photos.photo#20212ca8 photo:Photo users:Vector<User> = photos.Photo;
|
||||||
upload.file#96a18d5 type:storage.FileType mtime:int bytes:bytes = upload.File;
|
upload.file#96a18d5 type:storage.FileType mtime:int bytes:bytes = upload.File;
|
||||||
dcOption#5d8c6cc flags:# ipv6:flags.0?true media_only:flags.1?true tcpo_only:flags.2?true id:int ip_address:string port:int = DcOption;
|
dcOption#5d8c6cc flags:# ipv6:flags.0?true media_only:flags.1?true tcpo_only:flags.2?true id:int ip_address:string port:int = DcOption;
|
||||||
config#9a6b2e2a flags:# date:int expires:int test_mode:Bool this_dc:int dc_options:Vector<DcOption> chat_size_max:int megagroup_size_max:int forwarded_count_max:int online_update_period_ms:int offline_blur_timeout_ms:int offline_idle_timeout_ms:int online_cloud_timeout_ms:int notify_cloud_delay_ms:int notify_default_delay_ms:int chat_big_size:int push_chat_period_ms:int push_chat_limit:int saved_gifs_limit:int edit_time_limit:int rating_e_decay:int stickers_recent_limit:int tmp_sessions:flags.0?int disabled_features:Vector<DisabledFeature> = Config;
|
config#3af6fb5f flags:# phonecalls_enabled:flags.1?true date:int expires:int test_mode:Bool this_dc:int dc_options:Vector<DcOption> chat_size_max:int megagroup_size_max:int forwarded_count_max:int online_update_period_ms:int offline_blur_timeout_ms:int offline_idle_timeout_ms:int online_cloud_timeout_ms:int notify_cloud_delay_ms:int notify_default_delay_ms:int chat_big_size:int push_chat_period_ms:int push_chat_limit:int saved_gifs_limit:int edit_time_limit:int rating_e_decay:int stickers_recent_limit:int tmp_sessions:flags.0?int pinned_dialogs_count_max:int call_receive_timeout_ms:int call_ring_timeout_ms:int call_connect_timeout_ms:int call_packet_timeout_ms:int disabled_features:Vector<DisabledFeature> = Config;
|
||||||
nearestDc#8e1a1775 country:string this_dc:int nearest_dc:int = NearestDc;
|
nearestDc#8e1a1775 country:string this_dc:int nearest_dc:int = NearestDc;
|
||||||
help.appUpdate#8987f311 id:int critical:Bool url:string text:string = help.AppUpdate;
|
help.appUpdate#8987f311 id:int critical:Bool url:string text:string = help.AppUpdate;
|
||||||
help.noAppUpdate#c45a6536 = help.AppUpdate;
|
help.noAppUpdate#c45a6536 = help.AppUpdate;
|
||||||
@ -203,7 +202,7 @@ sendMessageUploadPhotoAction#d1d34a26 progress:int = SendMessageAction;
|
|||||||
sendMessageUploadDocumentAction#aa0cd9e4 progress:int = SendMessageAction;
|
sendMessageUploadDocumentAction#aa0cd9e4 progress:int = SendMessageAction;
|
||||||
sendMessageGeoLocationAction#176f8ba1 = SendMessageAction;
|
sendMessageGeoLocationAction#176f8ba1 = SendMessageAction;
|
||||||
sendMessageChooseContactAction#628cbc6f = SendMessageAction;
|
sendMessageChooseContactAction#628cbc6f = SendMessageAction;
|
||||||
updateServiceNotification#382dd3e4 type:string message:string media:MessageMedia popup:Bool = Update;
|
updateServiceNotification#ebe46819 flags:# popup:flags.0?true inbox_date:flags.1?int type:string message:string media:MessageMedia entities:Vector<MessageEntity> = Update;
|
||||||
userStatusRecently#e26f42f1 = UserStatus;
|
userStatusRecently#e26f42f1 = UserStatus;
|
||||||
userStatusLastWeek#7bf09fc = UserStatus;
|
userStatusLastWeek#7bf09fc = UserStatus;
|
||||||
userStatusLastMonth#77ebc742 = UserStatus;
|
userStatusLastMonth#77ebc742 = UserStatus;
|
||||||
@ -282,7 +281,7 @@ inputMessagesFilterUrl#7ef0dd87 = MessagesFilter;
|
|||||||
inputPeerUser#7b8e7de6 user_id:int access_hash:long = InputPeer;
|
inputPeerUser#7b8e7de6 user_id:int access_hash:long = InputPeer;
|
||||||
inputUser#d8292816 user_id:int access_hash:long = InputUser;
|
inputUser#d8292816 user_id:int access_hash:long = InputUser;
|
||||||
help.appChangelogEmpty#af7e0394 = help.AppChangelog;
|
help.appChangelogEmpty#af7e0394 = help.AppChangelog;
|
||||||
help.appChangelog#4668e6bd text:string = help.AppChangelog;
|
help.appChangelog#2a137e7c message:string media:MessageMedia entities:Vector<MessageEntity> = help.AppChangelog;
|
||||||
messageEntityUnknown#bb92ba95 offset:int length:int = MessageEntity;
|
messageEntityUnknown#bb92ba95 offset:int length:int = MessageEntity;
|
||||||
messageEntityMention#fa04579d offset:int length:int = MessageEntity;
|
messageEntityMention#fa04579d offset:int length:int = MessageEntity;
|
||||||
messageEntityHashtag#6f635b0d offset:int length:int = MessageEntity;
|
messageEntityHashtag#6f635b0d offset:int length:int = MessageEntity;
|
||||||
@ -451,7 +450,7 @@ inputGameID#32c3e77 id:long access_hash:long = InputGame;
|
|||||||
inputGameShortName#c331e80a bot_id:InputUser short_name:string = InputGame;
|
inputGameShortName#c331e80a bot_id:InputUser short_name:string = InputGame;
|
||||||
highScore#58fffcd0 pos:int user_id:int score:int = HighScore;
|
highScore#58fffcd0 pos:int user_id:int score:int = HighScore;
|
||||||
messages.highScores#9a3bfd99 scores:Vector<HighScore> users:Vector<User> = messages.HighScores;
|
messages.highScores#9a3bfd99 scores:Vector<HighScore> users:Vector<User> = messages.HighScores;
|
||||||
messages.chatsSlice#78f69146 count:int chats:Vector<Chat> users:Vector<User> = messages.Chats;
|
messages.chatsSlice#9cd81144 count:int chats:Vector<Chat> = messages.Chats;
|
||||||
updateChannelWebPage#40771900 channel_id:int webpage:WebPage pts:int pts_count:int = Update;
|
updateChannelWebPage#40771900 channel_id:int webpage:WebPage pts:int pts_count:int = Update;
|
||||||
updates.differenceTooLong#4afe8f6d pts:int = updates.Difference;
|
updates.differenceTooLong#4afe8f6d pts:int = updates.Difference;
|
||||||
sendMessageGamePlayAction#dd6a8f48 = SendMessageAction;
|
sendMessageGamePlayAction#dd6a8f48 = SendMessageAction;
|
||||||
@ -468,7 +467,7 @@ textEmail#de5a0dd6 text:RichText email:string = RichText;
|
|||||||
textConcat#7e6260d7 texts:Vector<RichText> = RichText;
|
textConcat#7e6260d7 texts:Vector<RichText> = RichText;
|
||||||
pageBlockTitle#70abc3fd text:RichText = PageBlock;
|
pageBlockTitle#70abc3fd text:RichText = PageBlock;
|
||||||
pageBlockSubtitle#8ffa9a1f text:RichText = PageBlock;
|
pageBlockSubtitle#8ffa9a1f text:RichText = PageBlock;
|
||||||
pageBlockAuthorDate#3d5b64f2 author:string published_date:int = PageBlock;
|
pageBlockAuthorDate#baafe5e0 author:RichText published_date:int = PageBlock;
|
||||||
pageBlockHeader#bfd064ec text:RichText = PageBlock;
|
pageBlockHeader#bfd064ec text:RichText = PageBlock;
|
||||||
pageBlockSubheader#f12bb6e1 text:RichText = PageBlock;
|
pageBlockSubheader#f12bb6e1 text:RichText = PageBlock;
|
||||||
pageBlockParagraph#467a0766 text:RichText = PageBlock;
|
pageBlockParagraph#467a0766 text:RichText = PageBlock;
|
||||||
@ -479,15 +478,34 @@ pageBlockList#3a58c7f4 ordered:Bool items:Vector<RichText> = PageBlock;
|
|||||||
pageBlockBlockquote#263d7c26 text:RichText caption:RichText = PageBlock;
|
pageBlockBlockquote#263d7c26 text:RichText caption:RichText = PageBlock;
|
||||||
pageBlockPullquote#4f4456d3 text:RichText caption:RichText = PageBlock;
|
pageBlockPullquote#4f4456d3 text:RichText caption:RichText = PageBlock;
|
||||||
pageBlockPhoto#e9c69982 photo_id:long caption:RichText = PageBlock;
|
pageBlockPhoto#e9c69982 photo_id:long caption:RichText = PageBlock;
|
||||||
pageBlockVideo#d9d71866 flags:# autoplay:flags.1?true loop:flags.2?true video_id:long caption:RichText = PageBlock;
|
pageBlockVideo#d9d71866 flags:# autoplay:flags.0?true loop:flags.1?true video_id:long caption:RichText = PageBlock;
|
||||||
pageBlockCover#39f23300 cover:PageBlock = PageBlock;
|
pageBlockCover#39f23300 cover:PageBlock = PageBlock;
|
||||||
pageBlockEmbed#36b0816 url:string w:int h:int caption:RichText = PageBlock;
|
pageBlockEmbed#cde200d1 flags:# full_width:flags.0?true allow_scrolling:flags.3?true url:flags.1?string html:flags.2?string poster_photo_id:flags.4?long w:int h:int caption:RichText = PageBlock;
|
||||||
pageBlockEmbedPost#7ff81db7 flags:# author:string date:int caption:RichText url:string webpage_id:long text:flags.1?RichText medias:flags.2?Vector<EmbedPostMedia> author_photo_id:flags.3?long = PageBlock;
|
pageBlockEmbedPost#292c7be9 url:string webpage_id:long author_photo_id:long author:string date:int blocks:Vector<PageBlock> caption:RichText = PageBlock;
|
||||||
pageBlockSlideshow#130c8963 items:Vector<PageBlock> caption:RichText = PageBlock;
|
pageBlockSlideshow#130c8963 items:Vector<PageBlock> caption:RichText = PageBlock;
|
||||||
embedPostPhoto#e31ee77 photo_id:long = EmbedPostMedia;
|
|
||||||
embedPostVideo#a07f2d66 video_id:long = EmbedPostMedia;
|
|
||||||
pagePart#8dee6c44 blocks:Vector<PageBlock> photos:Vector<Photo> videos:Vector<Document> = Page;
|
pagePart#8dee6c44 blocks:Vector<PageBlock> photos:Vector<Photo> videos:Vector<Document> = Page;
|
||||||
pageFull#d7a19d69 blocks:Vector<PageBlock> photos:Vector<Photo> videos:Vector<Document> = Page;
|
pageFull#d7a19d69 blocks:Vector<PageBlock> photos:Vector<Photo> videos:Vector<Document> = Page;
|
||||||
|
updatePhoneCall#ab0f6b1e phone_call:PhoneCall = Update;
|
||||||
|
updateDialogPinned#d711a2cc flags:# pinned:flags.0?true peer:Peer = Update;
|
||||||
|
updatePinnedDialogs#d8caf68d flags:# order:flags.0?Vector<Peer> = Update;
|
||||||
|
inputPrivacyKeyPhoneCall#fabadc5f = InputPrivacyKey;
|
||||||
|
privacyKeyPhoneCall#3d662b7b = PrivacyKey;
|
||||||
|
pageBlockUnsupported#13567e8a = PageBlock;
|
||||||
|
pageBlockAnchor#ce0d37b0 name:string = PageBlock;
|
||||||
|
pageBlockCollage#8b31c4f items:Vector<PageBlock> caption:RichText = PageBlock;
|
||||||
|
inputPhoneCall#1e36fded id:long access_hash:long = InputPhoneCall;
|
||||||
|
phoneCallEmpty#5366c915 id:long = PhoneCall;
|
||||||
|
phoneCallWaiting#1b8f4ad1 flags:# id:long access_hash:long date:int admin_id:int participant_id:int protocol:PhoneCallProtocol receive_date:flags.0?int = PhoneCall;
|
||||||
|
phoneCallRequested#6c448ae8 id:long access_hash:long date:int admin_id:int participant_id:int g_a:bytes protocol:PhoneCallProtocol = PhoneCall;
|
||||||
|
phoneCall#ffe6ab67 id:long access_hash:long date:int admin_id:int participant_id:int g_a_or_b:bytes key_fingerprint:long protocol:PhoneCallProtocol connection:PhoneConnection alternative_connections:Vector<PhoneConnection> start_date:int = PhoneCall;
|
||||||
|
phoneCallDiscarded#50ca4de1 flags:# id:long reason:flags.0?PhoneCallDiscardReason duration:flags.1?int = PhoneCall;
|
||||||
|
phoneConnection#9d4c17c0 id:long ip:string ipv6:string port:int peer_tag:bytes = PhoneConnection;
|
||||||
|
phoneCallProtocol#a2bb35cb flags:# udp_p2p:flags.0?true udp_reflector:flags.1?true min_layer:int max_layer:int = PhoneCallProtocol;
|
||||||
|
phone.phoneCall#ec82e140 phone_call:PhoneCall users:Vector<User> = phone.PhoneCall;
|
||||||
|
phoneCallDiscardReasonMissed#85e42301 = PhoneCallDiscardReason;
|
||||||
|
phoneCallDiscardReasonDisconnect#e095c1a0 = PhoneCallDiscardReason;
|
||||||
|
phoneCallDiscardReasonHangup#57adc690 = PhoneCallDiscardReason;
|
||||||
|
phoneCallDiscardReasonBusy#faf7e8c9 = PhoneCallDiscardReason;
|
||||||
---functions---
|
---functions---
|
||||||
invokeAfterMsg#cb9f372d msg_id:long query:!X = X;
|
invokeAfterMsg#cb9f372d msg_id:long query:!X = X;
|
||||||
invokeAfterMsgs#3dc4b4f0 msg_ids:Vector<long> query:!X = X;
|
invokeAfterMsgs#3dc4b4f0 msg_ids:Vector<long> query:!X = X;
|
||||||
@ -520,7 +538,7 @@ contacts.block#332b49fc id:InputUser = Bool;
|
|||||||
contacts.unblock#e54100bd id:InputUser = Bool;
|
contacts.unblock#e54100bd id:InputUser = Bool;
|
||||||
contacts.getBlocked#f57c350f offset:int limit:int = contacts.Blocked;
|
contacts.getBlocked#f57c350f offset:int limit:int = contacts.Blocked;
|
||||||
messages.getMessages#4222fa74 id:Vector<int> = messages.Messages;
|
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.getDialogs#191ba9c5 flags:# exclude_pinned:flags.0?true 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.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:# 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.readHistory#e306d3a peer:InputPeer max_id:int = messages.AffectedMessages;
|
||||||
@ -668,8 +686,8 @@ messages.clearRecentStickers#8999602d flags:# attached:flags.0?true = Bool;
|
|||||||
messages.getArchivedStickers#57f17692 flags:# masks:flags.0?true offset_id:long limit:int = messages.ArchivedStickers;
|
messages.getArchivedStickers#57f17692 flags:# masks:flags.0?true offset_id:long limit:int = messages.ArchivedStickers;
|
||||||
channels.getAdminedPublicChannels#8d8d82d7 = messages.Chats;
|
channels.getAdminedPublicChannels#8d8d82d7 = messages.Chats;
|
||||||
auth.dropTempAuthKeys#8e48a188 except_auth_keys:Vector<long> = Bool;
|
auth.dropTempAuthKeys#8e48a188 except_auth_keys:Vector<long> = Bool;
|
||||||
messages.setGameScore#8ef8ecc0 flags:# edit_message:flags.0?true peer:InputPeer id:int user_id:InputUser score:int = Updates;
|
messages.setGameScore#8ef8ecc0 flags:# edit_message:flags.0?true force:flags.1?true peer:InputPeer id:int user_id:InputUser score:int = Updates;
|
||||||
messages.setInlineGameScore#15ad9f64 flags:# edit_message:flags.0?true id:InputBotInlineMessageID user_id:InputUser score:int = Bool;
|
messages.setInlineGameScore#15ad9f64 flags:# edit_message:flags.0?true force:flags.1?true id:InputBotInlineMessageID user_id:InputUser score:int = Bool;
|
||||||
messages.getMaskStickers#65b8c79f hash:int = messages.AllStickers;
|
messages.getMaskStickers#65b8c79f hash:int = messages.AllStickers;
|
||||||
messages.getAttachedStickers#cc5b67cc media:InputStickeredMedia = Vector<StickerSetCovered>;
|
messages.getAttachedStickers#cc5b67cc media:InputStickeredMedia = Vector<StickerSetCovered>;
|
||||||
messages.getGameHighScores#e822649d peer:InputPeer id:int user_id:InputUser = messages.HighScores;
|
messages.getGameHighScores#e822649d peer:InputPeer id:int user_id:InputUser = messages.HighScores;
|
||||||
@ -677,4 +695,11 @@ messages.getInlineGameHighScores#f635e1b id:InputBotInlineMessageID user_id:Inpu
|
|||||||
messages.getCommonChats#d0a48c4 user_id:InputUser max_id:int limit:int = messages.Chats;
|
messages.getCommonChats#d0a48c4 user_id:InputUser max_id:int limit:int = messages.Chats;
|
||||||
messages.getAllChats#eba80ff0 except_ids:Vector<int> = messages.Chats;
|
messages.getAllChats#eba80ff0 except_ids:Vector<int> = messages.Chats;
|
||||||
help.setBotUpdatesStatus#ec22cfcd pending_updates_count:int message:string = Bool;
|
help.setBotUpdatesStatus#ec22cfcd pending_updates_count:int message:string = Bool;
|
||||||
messages.getWebPage#61203e2 id:long hash:int = WebPage;
|
messages.getWebPage#32ca8f91 url:string hash:int = WebPage;
|
||||||
|
messages.toggleDialogPin#3289be6a flags:# pinned:flags.0?true peer:InputPeer = Bool;
|
||||||
|
messages.reorderPinnedDialogs#959ff644 flags:# force:flags.0?true order:Vector<InputPeer> = Bool;
|
||||||
|
messages.getPinnedDialogs#e254d64e = messages.PeerDialogs;
|
||||||
|
phone.requestCall#a41aa5e4 user_id:InputUser random_id:int g_a:bytes protocol:PhoneCallProtocol = phone.PhoneCall;
|
||||||
|
phone.acceptCall#220f0b20 peer:InputPhoneCall g_b:bytes key_fingerprint:long protocol:PhoneCallProtocol = phone.PhoneCall;
|
||||||
|
phone.discardCall#5dfbcddc peer:InputPhoneCall duration:int reason:PhoneCallDiscardReason connection_id:long = Bool;
|
||||||
|
phone.receivedCall#17d54f61 peer:InputPhoneCall = Bool;
|
||||||
|
Loading…
Reference in New Issue
Block a user