From dc7100a72617ebcd4834e7559ba7aacac51682ad Mon Sep 17 00:00:00 2001 From: Viktor Oreshkin Date: Mon, 3 Jul 2017 03:08:34 +0300 Subject: [PATCH] Add layer 021 --- l021/README.md | 17 ++ l021/schema.json | 69 +++++ l021/schema.tl | 43 +++ schema.json | 688 +++-------------------------------------------- schema.tl | 41 +-- 5 files changed, 162 insertions(+), 696 deletions(-) create mode 100644 l021/README.md create mode 100644 l021/schema.json create mode 100644 l021/schema.tl diff --git a/l021/README.md b/l021/README.md new file mode 100644 index 0000000..4fb2586 --- /dev/null +++ b/l021/README.md @@ -0,0 +1,17 @@ +### Version info +None, huh + +### Notes +This layer doesn't seem to be used in any app, however bunch of stuff gets removed in layer 22 +So I decieded to make a layer just for sake of removing geochats, broadcasts, restoring messages and suggested contacts + +Oh, and replacing +``` +messageMediaUnsupported#29632a36 bytes:bytes = MessageMedia; +``` +with +``` +messageMediaUnsupported#9f84f49e = MessageMedia; +``` + +And adding disabledFeatures + expires to config diff --git a/l021/schema.json b/l021/schema.json new file mode 100644 index 0000000..819ccd0 --- /dev/null +++ b/l021/schema.json @@ -0,0 +1,69 @@ +{ + "constructors": [ + { + "id": "-1618676578", + "predicate": "messageMediaUnsupported", + "params": [], + "type": "MessageMedia" + }, + { + "id": "2108568544", + "predicate": "config", + "params": [ + { + "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_big_size", + "type": "int" + }, + { + "name": "chat_size_max", + "type": "int" + }, + { + "name": "broadcast_size_max", + "type": "int" + }, + { + "name": "disabled_features", + "type": "Vector" + } + ], + "type": "Config" + }, + { + "id": "-1369215196", + "predicate": "disabledFeature", + "params": [ + { + "name": "feature", + "type": "string" + }, + { + "name": "description", + "type": "string" + } + ], + "type": "DisabledFeature" + } + ], + "methods": [] +} \ No newline at end of file diff --git a/l021/schema.tl b/l021/schema.tl new file mode 100644 index 0000000..62d7e1e --- /dev/null +++ b/l021/schema.tl @@ -0,0 +1,43 @@ +---types--- +// contactSuggested#3de191a1 user_id:int mutual_contacts:int = ContactSuggested; +// contacts.suggested#5649dcc5 results:Vector users:Vector = contacts.Suggested; +// messages.messageEmpty#3f4e0648 = messages.Message; +// messages.message#ff90c417 message:Message chats:Vector users:Vector = messages.Message; +// messages.chat#40e9002a chat:Chat users:Vector = messages.Chat; +// updateRestoreMessages#d15de04d messages:Vector pts:int = Update; +// updateActivation#6f690963 user_id:int = Update; +// chatLocated#3631cf4c chat_id:int distance:int = ChatLocated; +// inputGeoChat#74d456fa chat_id:int access_hash:long = InputGeoChat; +// inputNotifyGeoChatPeer#4d8ddec8 peer:InputGeoChat = InputNotifyPeer; +// geoChat#75eaea5a id:int access_hash:long title:string address:string venue:string geo:GeoPoint photo:ChatPhoto participants_count:int date:int checked_in:Bool version:int = Chat; +// geoChatMessageEmpty#60311a9b chat_id:int id:int = GeoChatMessage; +// geoChatMessage#4505f8e1 chat_id:int id:int from_id:int date:int message:string media:MessageMedia = GeoChatMessage; +// geoChatMessageService#d34fa24e chat_id:int id:int from_id:int date:int action:MessageAction = GeoChatMessage; +// geochats.statedMessage#17b1578b message:GeoChatMessage chats:Vector users:Vector seq:int = geochats.StatedMessage; +// geochats.located#48feb267 results:Vector messages:Vector chats:Vector users:Vector = geochats.Located; +// geochats.messages#d1526db1 messages:Vector chats:Vector users:Vector = geochats.Messages; +// geochats.messagesSlice#bc5863e8 count:int messages:Vector chats:Vector users:Vector = geochats.Messages; +// messageActionGeoChatCreate#6f038ebc title:string address:string = MessageAction; +// messageActionGeoChatCheckin#c7d53de = MessageAction; +// updateNewGeoChatMessage#5a68e3f7 message:GeoChatMessage = Update; +// messageMediaUnsupported#29632a36 bytes:bytes = MessageMedia; +messageMediaUnsupported#9f84f49e = MessageMedia; +// config#2e54dd74 date:int test_mode:Bool this_dc:int dc_options:Vector chat_size_max:int broadcast_size_max:int = Config; +config#7dae33e0 date:int expires:int test_mode:Bool this_dc:int dc_options:Vector chat_big_size:int chat_size_max:int broadcast_size_max:int disabled_features:Vector = Config; +disabledFeature#ae636f24 feature:string description:string = DisabledFeature; +---functions--- +// contacts.getSuggested#cd773428 limit:int = contacts.Suggested; +// messages.restoreMessages#395f9d7e id:Vector = Vector; +// messages.sendBroadcast#41bb0972 contacts:Vector message:string media:InputMedia = messages.StatedMessages; +// geochats.getLocated#7f192d8f geo_point:InputGeoPoint radius:int limit:int = geochats.Located; +// geochats.getRecents#e1427e6f offset:int limit:int = geochats.Messages; +// geochats.checkin#55b3e8fb peer:InputGeoChat = geochats.StatedMessage; +// geochats.getFullChat#6722dd6f peer:InputGeoChat = messages.ChatFull; +// geochats.editChatTitle#4c8e2273 peer:InputGeoChat title:string address:string = geochats.StatedMessage; +// geochats.editChatPhoto#35d81a95 peer:InputGeoChat photo:InputChatPhoto = geochats.StatedMessage; +// geochats.search#cfcdc44d peer:InputGeoChat q:string filter:MessagesFilter min_date:int max_date:int offset:int max_id:int limit:int = geochats.Messages; +// geochats.getHistory#b53f7a68 peer:InputGeoChat offset:int max_id:int limit:int = geochats.Messages; +// geochats.setTyping#8b8a729 peer:InputGeoChat typing:Bool = Bool; +// geochats.sendMessage#61b0044 peer:InputGeoChat message:string random_id:long = geochats.StatedMessage; +// geochats.sendMedia#b8f0deff peer:InputGeoChat media:InputMedia random_id:long = geochats.StatedMessage; +// geochats.createGeoChat#e092e16 title:string geo_point:InputGeoPoint address:string venue:string = geochats.StatedMessage; diff --git a/schema.json b/schema.json index 415dc13..a61b464 100644 --- a/schema.json +++ b/schema.json @@ -1176,14 +1176,9 @@ "type": "MessageMedia" }, { - "id": "694364726", + "id": "-1618676578", "predicate": "messageMediaUnsupported", - "params": [ - { - "name": "bytes", - "type": "bytes" - } - ], + "params": [], "type": "MessageMedia" }, { @@ -1753,21 +1748,6 @@ ], "type": "ContactFound" }, - { - "id": "1038193057", - "predicate": "contactSuggested", - "params": [ - { - "name": "user_id", - "type": "int" - }, - { - "name": "mutual_contacts", - "type": "int" - } - ], - "type": "ContactSuggested" - }, { "id": "-748155807", "predicate": "contactStatus", @@ -1937,21 +1917,6 @@ ], "type": "contacts.Found" }, - { - "id": "1447681221", - "predicate": "contacts.suggested", - "params": [ - { - "name": "results", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "contacts.Suggested" - }, { "id": "364538944", "predicate": "messages.dialogs", @@ -2044,31 +2009,6 @@ ], "type": "messages.Messages" }, - { - "id": "1062078024", - "predicate": "messages.messageEmpty", - "params": [], - "type": "messages.Message" - }, - { - "id": "-7289833", - "predicate": "messages.message", - "params": [ - { - "name": "message", - "type": "Message" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.Message" - }, { "id": "-1768654661", "predicate": "messages.statedMessages", @@ -2146,21 +2086,6 @@ ], "type": "messages.SentMessage" }, - { - "id": "1089011754", - "predicate": "messages.chat", - "params": [ - { - "name": "chat", - "type": "Chat" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "messages.Chat" - }, { "id": "-2125411368", "predicate": "messages.chats", @@ -2298,21 +2223,6 @@ ], "type": "Update" }, - { - "id": "-782376883", - "predicate": "updateRestoreMessages", - "params": [ - { - "name": "messages", - "type": "Vector" - }, - { - "name": "pts", - "type": "int" - } - ], - "type": "Update" - }, { "id": "1548249383", "predicate": "updateUserTyping", @@ -2453,17 +2363,6 @@ ], "type": "Update" }, - { - "id": "1869154659", - "predicate": "updateActivation", - "params": [ - { - "name": "user_id", - "type": "int" - } - ], - "type": "Update" - }, { "id": "-1895411046", "predicate": "updateNewAuthorization", @@ -2794,13 +2693,17 @@ "type": "DcOption" }, { - "id": "777313652", + "id": "2108568544", "predicate": "config", "params": [ { "name": "date", "type": "int" }, + { + "name": "expires", + "type": "int" + }, { "name": "test_mode", "type": "Bool" @@ -2813,6 +2716,10 @@ "name": "dc_options", "type": "Vector" }, + { + "name": "chat_big_size", + "type": "int" + }, { "name": "chat_size_max", "type": "int" @@ -2820,6 +2727,10 @@ { "name": "broadcast_size_max", "type": "int" + }, + { + "name": "disabled_features", + "type": "Vector" } ], "type": "Config" @@ -3018,291 +2929,6 @@ ], "type": "messages.SentMessage" }, - { - "id": "909233996", - "predicate": "chatLocated", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "distance", - "type": "int" - } - ], - "type": "ChatLocated" - }, - { - "id": "1960072954", - "predicate": "inputGeoChat", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - } - ], - "type": "InputGeoChat" - }, - { - "id": "1301143240", - "predicate": "inputNotifyGeoChatPeer", - "params": [ - { - "name": "peer", - "type": "InputGeoChat" - } - ], - "type": "InputNotifyPeer" - }, - { - "id": "1978329690", - "predicate": "geoChat", - "params": [ - { - "name": "id", - "type": "int" - }, - { - "name": "access_hash", - "type": "long" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "address", - "type": "string" - }, - { - "name": "venue", - "type": "string" - }, - { - "name": "geo", - "type": "GeoPoint" - }, - { - "name": "photo", - "type": "ChatPhoto" - }, - { - "name": "participants_count", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "checked_in", - "type": "Bool" - }, - { - "name": "version", - "type": "int" - } - ], - "type": "Chat" - }, - { - "id": "1613830811", - "predicate": "geoChatMessageEmpty", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "id", - "type": "int" - } - ], - "type": "GeoChatMessage" - }, - { - "id": "1158019297", - "predicate": "geoChatMessage", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "from_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "media", - "type": "MessageMedia" - } - ], - "type": "GeoChatMessage" - }, - { - "id": "-749755826", - "predicate": "geoChatMessageService", - "params": [ - { - "name": "chat_id", - "type": "int" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "from_id", - "type": "int" - }, - { - "name": "date", - "type": "int" - }, - { - "name": "action", - "type": "MessageAction" - } - ], - "type": "GeoChatMessage" - }, - { - "id": "397498251", - "predicate": "geochats.statedMessage", - "params": [ - { - "name": "message", - "type": "GeoChatMessage" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - }, - { - "name": "seq", - "type": "int" - } - ], - "type": "geochats.StatedMessage" - }, - { - "id": "1224651367", - "predicate": "geochats.located", - "params": [ - { - "name": "results", - "type": "Vector" - }, - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "geochats.Located" - }, - { - "id": "-783127119", - "predicate": "geochats.messages", - "params": [ - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "geochats.Messages" - }, - { - "id": "-1135057944", - "predicate": "geochats.messagesSlice", - "params": [ - { - "name": "count", - "type": "int" - }, - { - "name": "messages", - "type": "Vector" - }, - { - "name": "chats", - "type": "Vector" - }, - { - "name": "users", - "type": "Vector" - } - ], - "type": "geochats.Messages" - }, - { - "id": "1862504124", - "predicate": "messageActionGeoChatCreate", - "params": [ - { - "name": "title", - "type": "string" - }, - { - "name": "address", - "type": "string" - } - ], - "type": "MessageAction" - }, - { - "id": "209540062", - "predicate": "messageActionGeoChatCheckin", - "params": [], - "type": "MessageAction" - }, - { - "id": "1516823543", - "predicate": "updateNewGeoChatMessage", - "params": [ - { - "name": "message", - "type": "GeoChatMessage" - } - ], - "type": "Update" - }, { "id": "1662091044", "predicate": "wallPaperSolid", @@ -4486,6 +4112,21 @@ } ], "type": "Update" + }, + { + "id": "-1369215196", + "predicate": "disabledFeature", + "params": [ + { + "name": "feature", + "type": "string" + }, + { + "name": "description", + "type": "string" + } + ], + "type": "DisabledFeature" } ], "methods": [ @@ -4854,17 +4495,6 @@ ], "type": "contacts.Found" }, - { - "id": "-847825880", - "method": "contacts.getSuggested", - "params": [ - { - "name": "limit", - "type": "int" - } - ], - "type": "contacts.Suggested" - }, { "id": "-1902823612", "method": "contacts.deleteContact", @@ -5065,17 +4695,6 @@ ], "type": "Vector" }, - { - "id": "962567550", - "method": "messages.restoreMessages", - "params": [ - { - "name": "id", - "type": "Vector" - } - ], - "type": "Vector" - }, { "id": "682347368", "method": "messages.receivedMessages", @@ -5467,253 +5086,6 @@ ], "type": "messages.StatedMessage" }, - { - "id": "1102776690", - "method": "messages.sendBroadcast", - "params": [ - { - "name": "contacts", - "type": "Vector" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "media", - "type": "InputMedia" - } - ], - "type": "messages.StatedMessages" - }, - { - "id": "2132356495", - "method": "geochats.getLocated", - "params": [ - { - "name": "geo_point", - "type": "InputGeoPoint" - }, - { - "name": "radius", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "geochats.Located" - }, - { - "id": "-515735953", - "method": "geochats.getRecents", - "params": [ - { - "name": "offset", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "geochats.Messages" - }, - { - "id": "1437853947", - "method": "geochats.checkin", - "params": [ - { - "name": "peer", - "type": "InputGeoChat" - } - ], - "type": "geochats.StatedMessage" - }, - { - "id": "1730338159", - "method": "geochats.getFullChat", - "params": [ - { - "name": "peer", - "type": "InputGeoChat" - } - ], - "type": "messages.ChatFull" - }, - { - "id": "1284383347", - "method": "geochats.editChatTitle", - "params": [ - { - "name": "peer", - "type": "InputGeoChat" - }, - { - "name": "title", - "type": "string" - }, - { - "name": "address", - "type": "string" - } - ], - "type": "geochats.StatedMessage" - }, - { - "id": "903355029", - "method": "geochats.editChatPhoto", - "params": [ - { - "name": "peer", - "type": "InputGeoChat" - }, - { - "name": "photo", - "type": "InputChatPhoto" - } - ], - "type": "geochats.StatedMessage" - }, - { - "id": "-808598451", - "method": "geochats.search", - "params": [ - { - "name": "peer", - "type": "InputGeoChat" - }, - { - "name": "q", - "type": "string" - }, - { - "name": "filter", - "type": "MessagesFilter" - }, - { - "name": "min_date", - "type": "int" - }, - { - "name": "max_date", - "type": "int" - }, - { - "name": "offset", - "type": "int" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "geochats.Messages" - }, - { - "id": "-1254131096", - "method": "geochats.getHistory", - "params": [ - { - "name": "peer", - "type": "InputGeoChat" - }, - { - "name": "offset", - "type": "int" - }, - { - "name": "max_id", - "type": "int" - }, - { - "name": "limit", - "type": "int" - } - ], - "type": "geochats.Messages" - }, - { - "id": "146319145", - "method": "geochats.setTyping", - "params": [ - { - "name": "peer", - "type": "InputGeoChat" - }, - { - "name": "typing", - "type": "Bool" - } - ], - "type": "Bool" - }, - { - "id": "102432836", - "method": "geochats.sendMessage", - "params": [ - { - "name": "peer", - "type": "InputGeoChat" - }, - { - "name": "message", - "type": "string" - }, - { - "name": "random_id", - "type": "long" - } - ], - "type": "geochats.StatedMessage" - }, - { - "id": "-1192173825", - "method": "geochats.sendMedia", - "params": [ - { - "name": "peer", - "type": "InputGeoChat" - }, - { - "name": "media", - "type": "InputMedia" - }, - { - "name": "random_id", - "type": "long" - } - ], - "type": "geochats.StatedMessage" - }, - { - "id": "235482646", - "method": "geochats.createGeoChat", - "params": [ - { - "name": "title", - "type": "string" - }, - { - "name": "geo_point", - "type": "InputGeoPoint" - }, - { - "name": "address", - "type": "string" - }, - { - "name": "venue", - "type": "string" - } - ], - "type": "geochats.StatedMessage" - }, { "id": "651135312", "method": "messages.getDhConfig", diff --git a/schema.tl b/schema.tl index 9406a86..72762a6 100644 --- a/schema.tl +++ b/schema.tl @@ -78,7 +78,7 @@ messageMediaPhoto#c8c45a2a photo:Photo = MessageMedia; messageMediaVideo#a2d24290 video:Video = MessageMedia; messageMediaGeo#56e0d474 geo:GeoPoint = MessageMedia; messageMediaContact#5e7d2f39 phone_number:string first_name:string last_name:string user_id:int = MessageMedia; -messageMediaUnsupported#29632a36 bytes:bytes = MessageMedia; +messageMediaUnsupported#9f84f49e = MessageMedia; messageActionEmpty#b6aef7b0 = MessageAction; messageActionChatCreate#a6638b9a title:string users:Vector = MessageAction; messageActionChatEditTitle#b5a1ce5a title:string = MessageAction; @@ -115,7 +115,6 @@ 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; contactFound#ea879f95 user_id:int = ContactFound; -contactSuggested#3de191a1 user_id:int mutual_contacts:int = ContactSuggested; contactStatus#d3680c61 user_id:int status:UserStatus = ContactStatus; contacts.foreignLinkUnknown#133421f8 = contacts.ForeignLink; contacts.foreignLinkRequested#a7801f47 has_phone:Bool = contacts.ForeignLink; @@ -130,17 +129,13 @@ contacts.importedContacts#ad524315 imported:Vector retry_contac contacts.blocked#1c138d15 blocked:Vector users:Vector = contacts.Blocked; contacts.blockedSlice#900802a1 count:int blocked:Vector users:Vector = contacts.Blocked; contacts.found#566000e results:Vector users:Vector = contacts.Found; -contacts.suggested#5649dcc5 results:Vector users:Vector = contacts.Suggested; messages.dialogs#15ba6c40 dialogs:Vector messages:Vector chats:Vector users:Vector = messages.Dialogs; messages.dialogsSlice#71e094f3 count:int dialogs:Vector messages:Vector chats:Vector users:Vector = messages.Dialogs; messages.messages#8c718e87 messages:Vector chats:Vector users:Vector = messages.Messages; messages.messagesSlice#b446ae3 count:int messages:Vector chats:Vector users:Vector = messages.Messages; -messages.messageEmpty#3f4e0648 = messages.Message; -messages.message#ff90c417 message:Message chats:Vector users:Vector = messages.Message; messages.statedMessages#969478bb messages:Vector chats:Vector users:Vector pts:int seq:int = messages.StatedMessages; messages.statedMessage#d07ae726 message:Message chats:Vector users:Vector pts:int seq:int = messages.StatedMessage; messages.sentMessage#d1f4d35c id:int date:int pts:int seq:int = messages.SentMessage; -messages.chat#40e9002a chat:Chat users:Vector = messages.Chat; messages.chats#8150cbd8 chats:Vector users:Vector = messages.Chats; messages.chatFull#e5d7d19c full_chat:ChatFull chats:Vector users:Vector = messages.ChatFull; messages.affectedHistory#b7de36f2 pts:int seq:int offset:int = messages.AffectedHistory; @@ -152,7 +147,6 @@ updateNewMessage#13abdb3 message:Message pts:int = Update; updateMessageID#4e90bfd6 id:int random_id:long = Update; updateReadMessages#c6649e31 messages:Vector pts:int = Update; updateDeleteMessages#a92bfe26 messages:Vector pts:int = Update; -updateRestoreMessages#d15de04d messages:Vector pts:int = Update; updateUserTyping#5c486927 user_id:int action:SendMessageAction = Update; updateChatUserTyping#9a65ea1f chat_id:int user_id:int action:SendMessageAction = Update; updateChatParticipants#7761198 participants:ChatParticipants = Update; @@ -161,7 +155,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#51a48a9a user_id:int my_link:contacts.MyLink foreign_link:contacts.ForeignLink = Update; -updateActivation#6f690963 user_id:int = 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; @@ -176,7 +169,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#2ec2a43c id:int hostname:string ip_address:string port:int = DcOption; -config#2e54dd74 date:int test_mode:Bool this_dc:int dc_options:Vector chat_size_max:int broadcast_size_max:int = Config; +config#7dae33e0 date:int expires:int test_mode:Bool this_dc:int dc_options:Vector chat_big_size:int chat_size_max:int broadcast_size_max: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; @@ -188,20 +181,6 @@ photos.photosSlice#15051f54 count:int photos:Vector users:Vector = messages.statedMessagesLinks#3e74f5c6 messages:Vector chats:Vector users:Vector links:Vector pts:int seq:int = messages.StatedMessages; messages.statedMessageLink#a9af2881 message:Message chats:Vector users:Vector links:Vector pts:int seq:int = messages.StatedMessage; messages.sentMessageLink#e9db4a3f id:int date:int pts:int seq:int links:Vector = messages.SentMessage; -chatLocated#3631cf4c chat_id:int distance:int = ChatLocated; -inputGeoChat#74d456fa chat_id:int access_hash:long = InputGeoChat; -inputNotifyGeoChatPeer#4d8ddec8 peer:InputGeoChat = InputNotifyPeer; -geoChat#75eaea5a id:int access_hash:long title:string address:string venue:string geo:GeoPoint photo:ChatPhoto participants_count:int date:int checked_in:Bool version:int = Chat; -geoChatMessageEmpty#60311a9b chat_id:int id:int = GeoChatMessage; -geoChatMessage#4505f8e1 chat_id:int id:int from_id:int date:int message:string media:MessageMedia = GeoChatMessage; -geoChatMessageService#d34fa24e chat_id:int id:int from_id:int date:int action:MessageAction = GeoChatMessage; -geochats.statedMessage#17b1578b message:GeoChatMessage chats:Vector users:Vector seq:int = geochats.StatedMessage; -geochats.located#48feb267 results:Vector messages:Vector chats:Vector users:Vector = geochats.Located; -geochats.messages#d1526db1 messages:Vector chats:Vector users:Vector = geochats.Messages; -geochats.messagesSlice#bc5863e8 count:int messages:Vector chats:Vector users:Vector = geochats.Messages; -messageActionGeoChatCreate#6f038ebc title:string address:string = MessageAction; -messageActionGeoChatCheckin#c7d53de = MessageAction; -updateNewGeoChatMessage#5a68e3f7 message:GeoChatMessage = Update; wallPaperSolid#63117f24 id:int title:string bg_color:int color:int = WallPaper; updateNewEncryptedMessage#12bcbd9a message:EncryptedMessage qts:int = Update; updateEncryptedChatTyping#1710f156 chat_id:int = Update; @@ -292,6 +271,7 @@ account.privacyRules#554abb6f rules:Vector users:Vector = acc accountDaysTTL#b8d0afdf days:int = AccountDaysTTL; account.sentChangePhoneCode#a4f58c4c phone_code_hash:string send_call_timeout:int = account.SentChangePhoneCode; updateUserPhone#12b9417b user_id:int phone:string = Update; +disabledFeature#ae636f24 feature:string description:string = DisabledFeature; ---functions--- invokeAfterMsg#cb9f372d msg_id:long query:!X = X; invokeAfterMsgs#3dc4b4f0 msg_ids:Vector query:!X = X; @@ -319,7 +299,6 @@ contacts.getStatuses#c4a353ee = Vector; contacts.getContacts#22c6aa08 hash:string = contacts.Contacts; contacts.importContacts#da30b32d contacts:Vector replace:Bool = contacts.ImportedContacts; contacts.search#11f812d8 q:string limit:int = contacts.Found; -contacts.getSuggested#cd773428 limit:int = contacts.Suggested; contacts.deleteContact#8e953744 id:InputUser = contacts.Link; contacts.deleteContacts#59ab389e id:Vector = Bool; contacts.block#332b49fc id:InputUser = Bool; @@ -332,7 +311,6 @@ messages.search#7e9f2ab peer:InputPeer q:string filter:MessagesFilter min_date:i messages.readHistory#eed884c6 peer:InputPeer max_id:int offset:int read_contents:Bool = messages.AffectedHistory; messages.deleteHistory#f4f8fb61 peer:InputPeer offset:int = messages.AffectedHistory; messages.deleteMessages#14f2dd0a id:Vector = Vector; -messages.restoreMessages#395f9d7e id:Vector = Vector; messages.receivedMessages#28abcb68 max_id:int = Vector; messages.setTyping#a3825e50 peer:InputPeer action:SendMessageAction = Bool; messages.sendMessage#4cde0aab peer:InputPeer message:string random_id:long = messages.SentMessage; @@ -359,19 +337,6 @@ help.getInviteText#a4a95186 lang_code:string = help.InviteText; photos.deletePhotos#87cf7f2f id:Vector = Vector; photos.getUserPhotos#b7ee553c user_id:InputUser offset:int max_id:int limit:int = photos.Photos; messages.forwardMessage#3f3f4f2 peer:InputPeer id:int random_id:long = messages.StatedMessage; -messages.sendBroadcast#41bb0972 contacts:Vector message:string media:InputMedia = messages.StatedMessages; -geochats.getLocated#7f192d8f geo_point:InputGeoPoint radius:int limit:int = geochats.Located; -geochats.getRecents#e1427e6f offset:int limit:int = geochats.Messages; -geochats.checkin#55b3e8fb peer:InputGeoChat = geochats.StatedMessage; -geochats.getFullChat#6722dd6f peer:InputGeoChat = messages.ChatFull; -geochats.editChatTitle#4c8e2273 peer:InputGeoChat title:string address:string = geochats.StatedMessage; -geochats.editChatPhoto#35d81a95 peer:InputGeoChat photo:InputChatPhoto = geochats.StatedMessage; -geochats.search#cfcdc44d peer:InputGeoChat q:string filter:MessagesFilter min_date:int max_date:int offset:int max_id:int limit:int = geochats.Messages; -geochats.getHistory#b53f7a68 peer:InputGeoChat offset:int max_id:int limit:int = geochats.Messages; -geochats.setTyping#8b8a729 peer:InputGeoChat typing:Bool = Bool; -geochats.sendMessage#61b0044 peer:InputGeoChat message:string random_id:long = geochats.StatedMessage; -geochats.sendMedia#b8f0deff peer:InputGeoChat media:InputMedia random_id:long = geochats.StatedMessage; -geochats.createGeoChat#e092e16 title:string geo_point:InputGeoPoint address:string venue:string = geochats.StatedMessage; messages.getDhConfig#26cf8950 version:int random_length:int = messages.DhConfig; messages.requestEncryption#f64daf43 user_id:InputUser random_id:int g_a:bytes = EncryptedChat; messages.acceptEncryption#3dbc0415 peer:InputEncryptedChat g_b:bytes key_fingerprint:long = EncryptedChat;