From 44323c68d262e78e8c73630ff0fc09f60933fe34 Mon Sep 17 00:00:00 2001 From: Viktor Oreshkin Date: Sun, 2 Jul 2017 01:14:27 +0300 Subject: [PATCH] Add layer 061 --- l061/README.md | 4 + l061/schema.json | 1008 ++++++++++++++++++++++++++++++++++++++++++++++ l061/schema.tl | 61 +++ schema.json | 689 +++++++++++++++++++++++++++---- schema.tl | 59 ++- 5 files changed, 1715 insertions(+), 106 deletions(-) create mode 100644 l061/README.md create mode 100644 l061/schema.json create mode 100644 l061/schema.tl diff --git a/l061/README.md b/l061/README.md new file mode 100644 index 0000000..c385ff2 --- /dev/null +++ b/l061/README.md @@ -0,0 +1,4 @@ +### Version info +App|Version/Hash|Date +---|---|--- +TDesktop|85b434bee4758ada2c9ba095faaba82bf06036db|13.12.16 diff --git a/l061/schema.json b/l061/schema.json new file mode 100644 index 0000000..19f4c0d --- /dev/null +++ b/l061/schema.json @@ -0,0 +1,1008 @@ +{ + "constructors": [ + { + "id": "1728035348", + "predicate": "dialog", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "pinned", + "type": "flags.2?true" + }, + { + "name": "peer", + "type": "Peer" + }, + { + "name": "top_message", + "type": "int" + }, + { + "name": "read_inbox_max_id", + "type": "int" + }, + { + "name": "read_outbox_max_id", + "type": "int" + }, + { + "name": "unread_count", + "type": "int" + }, + { + "name": "notify_settings", + "type": "PeerNotifySettings" + }, + { + "name": "pts", + "type": "flags.0?int" + }, + { + "name": "draft", + "type": "flags.1?DraftMessage" + } + ], + "type": "Dialog" + }, + { + "id": "253890367", + "predicate": "userFull", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "blocked", + "type": "flags.0?true" + }, + { + "name": "phone_calls_available", + "type": "flags.4?true" + }, + { + "name": "user", + "type": "User" + }, + { + "name": "about", + "type": "flags.1?string" + }, + { + "name": "link", + "type": "contacts.Link" + }, + { + "name": "profile_photo", + "type": "flags.2?Photo" + }, + { + "name": "notify_settings", + "type": "PeerNotifySettings" + }, + { + "name": "bot_info", + "type": "flags.3?BotInfo" + }, + { + "name": "common_chats_count", + "type": "int" + } + ], + "type": "UserFull" + }, + { + "id": "989264735", + "predicate": "config", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "phonecalls_enabled", + "type": "flags.1?true" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "expires", + "type": "int" + }, + { + "name": "test_mode", + "type": "Bool" + }, + { + "name": "this_dc", + "type": "int" + }, + { + "name": "dc_options", + "type": "Vector" + }, + { + "name": "chat_size_max", + "type": "int" + }, + { + "name": "megagroup_size_max", + "type": "int" + }, + { + "name": "forwarded_count_max", + "type": "int" + }, + { + "name": "online_update_period_ms", + "type": "int" + }, + { + "name": "offline_blur_timeout_ms", + "type": "int" + }, + { + "name": "offline_idle_timeout_ms", + "type": "int" + }, + { + "name": "online_cloud_timeout_ms", + "type": "int" + }, + { + "name": "notify_cloud_delay_ms", + "type": "int" + }, + { + "name": "notify_default_delay_ms", + "type": "int" + }, + { + "name": "chat_big_size", + "type": "int" + }, + { + "name": "push_chat_period_ms", + "type": "int" + }, + { + "name": "push_chat_limit", + "type": "int" + }, + { + "name": "saved_gifs_limit", + "type": "int" + }, + { + "name": "edit_time_limit", + "type": "int" + }, + { + "name": "rating_e_decay", + "type": "int" + }, + { + "name": "stickers_recent_limit", + "type": "int" + }, + { + "name": "tmp_sessions", + "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", + "type": "Vector" + } + ], + "type": "Config" + }, + { + "id": "-337352679", + "predicate": "updateServiceNotification", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "popup", + "type": "flags.0?true" + }, + { + "name": "inbox_date", + "type": "flags.1?int" + }, + { + "name": "type", + "type": "string" + }, + { + "name": "message", + "type": "string" + }, + { + "name": "media", + "type": "MessageMedia" + }, + { + "name": "entities", + "type": "Vector" + } + ], + "type": "Update" + }, + { + "id": "705920636", + "predicate": "help.appChangelog", + "params": [ + { + "name": "message", + "type": "string" + }, + { + "name": "media", + "type": "MessageMedia" + }, + { + "name": "entities", + "type": "Vector" + } + ], + "type": "help.AppChangelog" + }, + { + "id": "-1663561404", + "predicate": "messages.chatsSlice", + "params": [ + { + "name": "count", + "type": "int" + }, + { + "name": "chats", + "type": "Vector" + } + ], + "type": "messages.Chats" + }, + { + "id": "-1162877472", + "predicate": "pageBlockAuthorDate", + "params": [ + { + "name": "author", + "type": "RichText" + }, + { + "name": "published_date", + "type": "int" + } + ], + "type": "PageBlock" + }, + { + "id": "-640214938", + "predicate": "pageBlockVideo", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "autoplay", + "type": "flags.0?true" + }, + { + "name": "loop", + "type": "flags.1?true" + }, + { + "name": "video_id", + "type": "long" + }, + { + "name": "caption", + "type": "RichText" + } + ], + "type": "PageBlock" + }, + { + "id": "-840826671", + "predicate": "pageBlockEmbed", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "full_width", + "type": "flags.0?true" + }, + { + "name": "allow_scrolling", + "type": "flags.3?true" + }, + { + "name": "url", + "type": "flags.1?string" + }, + { + "name": "html", + "type": "flags.2?string" + }, + { + "name": "poster_photo_id", + "type": "flags.4?long" + }, + { + "name": "w", + "type": "int" + }, + { + "name": "h", + "type": "int" + }, + { + "name": "caption", + "type": "RichText" + } + ], + "type": "PageBlock" + }, + { + "id": "690781161", + "predicate": "pageBlockEmbedPost", + "params": [ + { + "name": "url", + "type": "string" + }, + { + "name": "webpage_id", + "type": "long" + }, + { + "name": "author_photo_id", + "type": "long" + }, + { + "name": "author", + "type": "string" + }, + { + "name": "date", + "type": "int" + }, + { + "name": "blocks", + "type": "Vector" + }, + { + "name": "caption", + "type": "RichText" + } + ], + "type": "PageBlock" + }, + { + "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" + } + ], + "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" + }, + { + "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" + }, + { + "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" + } + ], + "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": [ + { + "id": "421243333", + "method": "messages.getDialogs", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "exclude_pinned", + "type": "flags.0?true" + }, + { + "name": "offset_date", + "type": "int" + }, + { + "name": "offset_id", + "type": "int" + }, + { + "name": "offset_peer", + "type": "InputPeer" + }, + { + "name": "limit", + "type": "int" + } + ], + "type": "messages.Dialogs" + }, + { + "id": "-1896289088", + "method": "messages.setGameScore", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "edit_message", + "type": "flags.0?true" + }, + { + "name": "force", + "type": "flags.1?true" + }, + { + "name": "peer", + "type": "InputPeer" + }, + { + "name": "id", + "type": "int" + }, + { + "name": "user_id", + "type": "InputUser" + }, + { + "name": "score", + "type": "int" + } + ], + "type": "Updates" + }, + { + "id": "363700068", + "method": "messages.setInlineGameScore", + "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "edit_message", + "type": "flags.0?true" + }, + { + "name": "force", + "type": "flags.1?true" + }, + { + "name": "id", + "type": "InputBotInlineMessageID" + }, + { + "name": "user_id", + "type": "InputUser" + }, + { + "name": "score", + "type": "int" + } + ], + "type": "Bool" + }, + { + "id": "852135825", + "method": "messages.getWebPage", + "params": [ + { + "name": "url", + "type": "string" + }, + { + "name": "hash", + "type": "int" + } + ], + "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" + } + ], + "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" + } + ] +} \ No newline at end of file diff --git a/l061/schema.tl b/l061/schema.tl new file mode 100644 index 0000000..1317ae5 --- /dev/null +++ b/l061/schema.tl @@ -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 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 = Config; +config#3af6fb5f flags:# phonecalls_enabled:flags.1?true date:int expires:int test_mode:Bool this_dc:int dc_options:Vector 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 = 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 = Update; +// help.appChangelog#4668e6bd text:string = help.AppChangelog; +help.appChangelog#2a137e7c message:string media:MessageMedia entities:Vector = help.AppChangelog; +// messages.chatsSlice#78f69146 count:int chats:Vector users:Vector = messages.Chats; +messages.chatsSlice#9cd81144 count:int chats:Vector = 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 author_photo_id:flags.3?long = PageBlock; +pageBlockEmbedPost#292c7be9 url:string webpage_id:long author_photo_id:long author:string date:int blocks:Vector 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 = Update; +inputPrivacyKeyPhoneCall#fabadc5f = InputPrivacyKey; +privacyKeyPhoneCall#3d662b7b = PrivacyKey; +pageBlockUnsupported#13567e8a = PageBlock; +pageBlockAnchor#ce0d37b0 name:string = PageBlock; +pageBlockCollage#8b31c4f items:Vector 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 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 = 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 = 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; diff --git a/schema.json b/schema.json index 71022a0..24d1da0 100644 --- a/schema.json +++ b/schema.json @@ -969,6 +969,10 @@ "name": "flags", "type": "#" }, + { + "name": "pinned", + "type": "flags.2?true" + }, { "name": "peer", "type": "Peer" @@ -1344,6 +1348,10 @@ "name": "blocked", "type": "flags.0?true" }, + { + "name": "phone_calls_available", + "type": "flags.4?true" + }, { "name": "user", "type": "User" @@ -1905,29 +1913,6 @@ ], "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", "predicate": "updates.state", @@ -2319,13 +2304,17 @@ "type": "DcOption" }, { - "id": "-1704251862", + "id": "989264735", "predicate": "config", "params": [ { "name": "flags", "type": "#" }, + { + "name": "phonecalls_enabled", + "type": "flags.1?true" + }, { "name": "date", "type": "int" @@ -2414,6 +2403,26 @@ "name": "tmp_sessions", "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", "type": "Vector" @@ -3399,9 +3408,21 @@ "type": "SendMessageAction" }, { - "id": "942527460", + "id": "-337352679", "predicate": "updateServiceNotification", "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "popup", + "type": "flags.0?true" + }, + { + "name": "inbox_date", + "type": "flags.1?int" + }, { "name": "type", "type": "string" @@ -3415,8 +3436,8 @@ "type": "MessageMedia" }, { - "name": "popup", - "type": "Bool" + "name": "entities", + "type": "Vector" } ], "type": "Update" @@ -4692,12 +4713,20 @@ "type": "help.AppChangelog" }, { - "id": "1181279933", + "id": "705920636", "predicate": "help.appChangelog", "params": [ { - "name": "text", + "name": "message", "type": "string" + }, + { + "name": "media", + "type": "MessageMedia" + }, + { + "name": "entities", + "type": "Vector" } ], "type": "help.AppChangelog" @@ -7589,7 +7618,7 @@ "type": "messages.HighScores" }, { - "id": "2029424966", + "id": "-1663561404", "predicate": "messages.chatsSlice", "params": [ { @@ -7599,10 +7628,6 @@ { "name": "chats", "type": "Vector" - }, - { - "name": "users", - "type": "Vector" } ], "type": "messages.Chats" @@ -7793,12 +7818,12 @@ "type": "PageBlock" }, { - "id": "1029399794", + "id": "-1162877472", "predicate": "pageBlockAuthorDate", "params": [ { "name": "author", - "type": "string" + "type": "RichText" }, { "name": "published_date", @@ -7942,11 +7967,11 @@ }, { "name": "autoplay", - "type": "flags.1?true" + "type": "flags.0?true" }, { "name": "loop", - "type": "flags.2?true" + "type": "flags.1?true" }, { "name": "video_id", @@ -7971,12 +7996,32 @@ "type": "PageBlock" }, { - "id": "57346070", + "id": "-840826671", "predicate": "pageBlockEmbed", "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "full_width", + "type": "flags.0?true" + }, + { + "name": "allow_scrolling", + "type": "flags.3?true" + }, { "name": "url", - "type": "string" + "type": "flags.1?string" + }, + { + "name": "html", + "type": "flags.2?string" + }, + { + "name": "poster_photo_id", + "type": "flags.4?long" }, { "name": "w", @@ -7994,12 +8039,20 @@ "type": "PageBlock" }, { - "id": "2146966967", + "id": "690781161", "predicate": "pageBlockEmbedPost", "params": [ { - "name": "flags", - "type": "#" + "name": "url", + "type": "string" + }, + { + "name": "webpage_id", + "type": "long" + }, + { + "name": "author_photo_id", + "type": "long" }, { "name": "author", @@ -8009,29 +8062,13 @@ "name": "date", "type": "int" }, + { + "name": "blocks", + "type": "Vector" + }, { "name": "caption", "type": "RichText" - }, - { - "name": "url", - "type": "string" - }, - { - "name": "webpage_id", - "type": "long" - }, - { - "name": "text", - "type": "flags.1?RichText" - }, - { - "name": "medias", - "type": "flags.2?Vector" - }, - { - "name": "author_photo_id", - "type": "flags.3?long" } ], "type": "PageBlock" @@ -8051,28 +8088,6 @@ ], "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", "predicate": "pagePart", @@ -8110,6 +8125,362 @@ } ], "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" + } + ], + "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" + }, + { + "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" + }, + { + "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" + } + ], + "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": [ @@ -8526,9 +8897,17 @@ "type": "messages.Messages" }, { - "id": "1799878989", + "id": "421243333", "method": "messages.getDialogs", "params": [ + { + "name": "flags", + "type": "#" + }, + { + "name": "exclude_pinned", + "type": "flags.0?true" + }, { "name": "offset_date", "type": "int" @@ -10998,6 +11377,10 @@ "name": "edit_message", "type": "flags.0?true" }, + { + "name": "force", + "type": "flags.1?true" + }, { "name": "peer", "type": "InputPeer" @@ -11029,6 +11412,10 @@ "name": "edit_message", "type": "flags.0?true" }, + { + "name": "force", + "type": "flags.1?true" + }, { "name": "id", "type": "InputBotInlineMessageID" @@ -11146,12 +11533,12 @@ "type": "Bool" }, { - "id": "101843938", + "id": "852135825", "method": "messages.getWebPage", "params": [ { - "name": "id", - "type": "long" + "name": "url", + "type": "string" }, { "name": "hash", @@ -11159,6 +11546,130 @@ } ], "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" + } + ], + "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" } ] } \ No newline at end of file diff --git a/schema.tl b/schema.tl index fbb3ea2..3ff90bb 100644 --- a/schema.tl +++ b/schema.tl @@ -67,7 +67,7 @@ messageActionChatEditPhoto#7fcb13a8 photo:Photo = MessageAction; messageActionChatDeletePhoto#95e3fbef = MessageAction; messageActionChatAddUser#488a7337 users:Vector = 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; photo#9288dd29 flags:# has_stickers:flags.0?true id:long access_hash:long date:int sizes:Vector = Photo; photoSizeEmpty#e17e23c type:string = PhotoSize; @@ -89,7 +89,7 @@ peerNotifyEventsAll#6d1ded88 = PeerNotifyEvents; peerNotifySettingsEmpty#70a68512 = PeerNotifySettings; peerNotifySettings#9acda4c0 flags:# show_previews:flags.0?true silent:flags.1?true mute_until:int sound:string = PeerNotifySettings; wallPaper#ccb03657 id:int title:string sizes:Vector color:int = WallPaper; -userFull#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; importedContact#d0028438 user_id:int client_id:long = ImportedContact; 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; updateContactRegistered#2575bbb9 user_id:int date:int = 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.differenceEmpty#5d75a138 date:int seq:int = updates.Difference; updates.difference#f49ca0 new_messages:Vector new_encrypted_messages:Vector other_updates:Vector chats:Vector users:Vector state:updates.State = updates.Difference; @@ -137,7 +136,7 @@ updates#74ae4240 updates:Vector users:Vector chats:Vector da photos.photo#20212ca8 photo:Photo users:Vector = photos.Photo; 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; -config#9a6b2e2a flags:# date:int expires:int test_mode:Bool this_dc:int dc_options:Vector 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 = Config; +config#3af6fb5f flags:# phonecalls_enabled:flags.1?true date:int expires:int test_mode:Bool this_dc:int dc_options:Vector 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 = Config; 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.noAppUpdate#c45a6536 = help.AppUpdate; @@ -203,7 +202,7 @@ sendMessageUploadPhotoAction#d1d34a26 progress:int = SendMessageAction; sendMessageUploadDocumentAction#aa0cd9e4 progress:int = SendMessageAction; sendMessageGeoLocationAction#176f8ba1 = 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 = Update; userStatusRecently#e26f42f1 = UserStatus; userStatusLastWeek#7bf09fc = UserStatus; userStatusLastMonth#77ebc742 = UserStatus; @@ -282,7 +281,7 @@ inputMessagesFilterUrl#7ef0dd87 = MessagesFilter; inputPeerUser#7b8e7de6 user_id:int access_hash:long = InputPeer; inputUser#d8292816 user_id:int access_hash:long = InputUser; help.appChangelogEmpty#af7e0394 = help.AppChangelog; -help.appChangelog#4668e6bd text:string = help.AppChangelog; +help.appChangelog#2a137e7c message:string media:MessageMedia entities:Vector = help.AppChangelog; messageEntityUnknown#bb92ba95 offset:int length:int = MessageEntity; messageEntityMention#fa04579d 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; highScore#58fffcd0 pos:int user_id:int score:int = HighScore; messages.highScores#9a3bfd99 scores:Vector users:Vector = messages.HighScores; -messages.chatsSlice#78f69146 count:int chats:Vector users:Vector = messages.Chats; +messages.chatsSlice#9cd81144 count:int chats:Vector = messages.Chats; updateChannelWebPage#40771900 channel_id:int webpage:WebPage pts:int pts_count:int = Update; updates.differenceTooLong#4afe8f6d pts:int = updates.Difference; sendMessageGamePlayAction#dd6a8f48 = SendMessageAction; @@ -468,7 +467,7 @@ textEmail#de5a0dd6 text:RichText email:string = RichText; textConcat#7e6260d7 texts:Vector = RichText; pageBlockTitle#70abc3fd 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; pageBlockSubheader#f12bb6e1 text:RichText = PageBlock; pageBlockParagraph#467a0766 text:RichText = PageBlock; @@ -479,15 +478,34 @@ pageBlockList#3a58c7f4 ordered:Bool items:Vector = PageBlock; pageBlockBlockquote#263d7c26 text:RichText caption:RichText = PageBlock; pageBlockPullquote#4f4456d3 text:RichText 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; -pageBlockEmbed#36b0816 url:string 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 author_photo_id:flags.3?long = 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#292c7be9 url:string webpage_id:long author_photo_id:long author:string date:int blocks:Vector caption:RichText = PageBlock; pageBlockSlideshow#130c8963 items:Vector caption:RichText = PageBlock; -embedPostPhoto#e31ee77 photo_id:long = EmbedPostMedia; -embedPostVideo#a07f2d66 video_id:long = EmbedPostMedia; pagePart#8dee6c44 blocks:Vector photos:Vector videos:Vector = Page; pageFull#d7a19d69 blocks:Vector photos:Vector videos:Vector = Page; +updatePhoneCall#ab0f6b1e phone_call:PhoneCall = Update; +updateDialogPinned#d711a2cc flags:# pinned:flags.0?true peer:Peer = Update; +updatePinnedDialogs#d8caf68d flags:# order:flags.0?Vector = Update; +inputPrivacyKeyPhoneCall#fabadc5f = InputPrivacyKey; +privacyKeyPhoneCall#3d662b7b = PrivacyKey; +pageBlockUnsupported#13567e8a = PageBlock; +pageBlockAnchor#ce0d37b0 name:string = PageBlock; +pageBlockCollage#8b31c4f items:Vector 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 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 = phone.PhoneCall; +phoneCallDiscardReasonMissed#85e42301 = PhoneCallDiscardReason; +phoneCallDiscardReasonDisconnect#e095c1a0 = PhoneCallDiscardReason; +phoneCallDiscardReasonHangup#57adc690 = PhoneCallDiscardReason; +phoneCallDiscardReasonBusy#faf7e8c9 = PhoneCallDiscardReason; ---functions--- invokeAfterMsg#cb9f372d msg_id:long query:!X = X; invokeAfterMsgs#3dc4b4f0 msg_ids:Vector query:!X = X; @@ -520,7 +538,7 @@ contacts.block#332b49fc id:InputUser = Bool; contacts.unblock#e54100bd id:InputUser = Bool; contacts.getBlocked#f57c350f offset:int limit:int = contacts.Blocked; messages.getMessages#4222fa74 id:Vector = 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.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; @@ -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; channels.getAdminedPublicChannels#8d8d82d7 = messages.Chats; auth.dropTempAuthKeys#8e48a188 except_auth_keys:Vector = Bool; -messages.setGameScore#8ef8ecc0 flags:# edit_message:flags.0?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.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 force:flags.1?true id:InputBotInlineMessageID user_id:InputUser score:int = Bool; messages.getMaskStickers#65b8c79f hash:int = messages.AllStickers; messages.getAttachedStickers#cc5b67cc media:InputStickeredMedia = Vector; 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.getAllChats#eba80ff0 except_ids:Vector = messages.Chats; 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 = 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;