From c3b618f1c255e3d1b628c06ad6c84839557038ac Mon Sep 17 00:00:00 2001 From: Viktor Oreshkin Date: Mon, 3 Jul 2017 01:17:15 +0300 Subject: [PATCH] Add layer 007 --- l007/README.md | 2 ++ l007/schema.json | 40 ++++++++++++++++++++++++++++++++++++++++ l007/schema.tl | 4 ++++ schema.json | 34 ++++++++++++++++++++++++++++++++++ schema.tl | 2 ++ 5 files changed, 82 insertions(+) create mode 100644 l007/README.md create mode 100644 l007/schema.json create mode 100644 l007/schema.tl diff --git a/l007/README.md b/l007/README.md new file mode 100644 index 0000000..3684f26 --- /dev/null +++ b/l007/README.md @@ -0,0 +1,2 @@ +### Version info +None, huh. diff --git a/l007/schema.json b/l007/schema.json new file mode 100644 index 0000000..404719d --- /dev/null +++ b/l007/schema.json @@ -0,0 +1,40 @@ +{ + "constructors": [ + { + "id": "1662091044", + "predicate": "wallPaperSolid", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "bg_color", + "type": "int" + }, + { + "name": "color", + "type": "int" + } + ], + "type": "WallPaper" + } + ], + "methods": [ + { + "id": "-1514252589", + "method": "invokeWithLayer7", + "params": [ + { + "name": "query", + "type": "!X" + } + ], + "type": "X" + } + ] +} \ No newline at end of file diff --git a/l007/schema.tl b/l007/schema.tl new file mode 100644 index 0000000..0874196 --- /dev/null +++ b/l007/schema.tl @@ -0,0 +1,4 @@ +---types--- +wallPaperSolid#63117f24 id:int title:string bg_color:int color:int = WallPaper; +---functions--- +invokeWithLayer7#a5be56d3 query:!X = X; diff --git a/schema.json b/schema.json index 3cc3315..f025e13 100644 --- a/schema.json +++ b/schema.json @@ -3242,6 +3242,29 @@ } ], "type": "Update" + }, + { + "id": "1662091044", + "predicate": "wallPaperSolid", + "params": [ + { + "name": "id", + "type": "int" + }, + { + "name": "title", + "type": "string" + }, + { + "name": "bg_color", + "type": "int" + }, + { + "name": "color", + "type": "int" + } + ], + "type": "WallPaper" } ], "methods": [ @@ -4527,6 +4550,17 @@ } ], "type": "X" + }, + { + "id": "-1514252589", + "method": "invokeWithLayer7", + "params": [ + { + "name": "query", + "type": "!X" + } + ], + "type": "X" } ] } \ No newline at end of file diff --git a/schema.tl b/schema.tl index 3479671..4469c01 100644 --- a/schema.tl +++ b/schema.tl @@ -202,6 +202,7 @@ geochats.messagesSlice#bc5863e8 count:int messages:Vector chats: 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; ---functions--- invokeAfterMsg#cb9f372d msg_id:long query:!X = X; invokeAfterMsgs#3dc4b4f0 msg_ids:Vector query:!X = X; @@ -288,3 +289,4 @@ geochats.createGeoChat#e092e16 title:string geo_point:InputGeoPoint address:stri invokeWithLayer4#dea0d430 query:!X = X; invokeWithLayer5#417a57ae query:!X = X; invokeWithLayer6#3a64d54d query:!X = X; +invokeWithLayer7#a5be56d3 query:!X = X;