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

Add layer 007

This commit is contained in:
Viktor Oreshkin 2017-07-03 01:17:15 +03:00
parent 2e953b8417
commit c3b618f1c2
5 changed files with 82 additions and 0 deletions

2
l007/README.md Normal file
View File

@ -0,0 +1,2 @@
### Version info
None, huh.

40
l007/schema.json Normal file
View File

@ -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"
}
]
}

4
l007/schema.tl Normal file
View File

@ -0,0 +1,4 @@
---types---
wallPaperSolid#63117f24 id:int title:string bg_color:int color:int = WallPaper;
---functions---
invokeWithLayer7#a5be56d3 query:!X = X;

View File

@ -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"
}
]
}

View File

@ -202,6 +202,7 @@ geochats.messagesSlice#bc5863e8 count:int messages:Vector<GeoChatMessage> 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<long> 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;