1
0
mirror of https://github.com/danog/tl-schema.git synced 2024-11-30 04:19:47 +01:00

Add layer 014

This commit is contained in:
Viktor Oreshkin 2017-07-03 02:27:59 +03:00
parent 80628c7d60
commit 135e0a2eed
5 changed files with 198 additions and 2 deletions

5
l014/README.md Normal file
View File

@ -0,0 +1,5 @@
### Version info
App|Version/Hash|Date
---|---|---
TDesktop|4221fe666f13f1d83c27c5f64e83d9bc8b3cfb51|30.05.14
Webogram|90b650ea526aa7bccc8c63ea7fd4cc2e5052da32|30.05.14

99
l014/schema.json Normal file
View File

@ -0,0 +1,99 @@
{
"constructors": [
{
"id": "-1422222932",
"predicate": "dialog",
"params": [
{
"name": "peer",
"type": "Peer"
},
{
"name": "top_message",
"type": "int"
},
{
"name": "unread_count",
"type": "int"
},
{
"name": "notify_settings",
"type": "PeerNotifySettings"
}
],
"type": "Dialog"
},
{
"id": "1959820384",
"predicate": "notifyAll",
"params": [],
"type": "NotifyPeer"
},
{
"id": "-1073230141",
"predicate": "notifyChats",
"params": [],
"type": "NotifyPeer"
},
{
"id": "-1613493288",
"predicate": "notifyPeer",
"params": [
{
"name": "peer",
"type": "Peer"
}
],
"type": "NotifyPeer"
},
{
"id": "-1261946036",
"predicate": "notifyUsers",
"params": [],
"type": "NotifyPeer"
},
{
"id": "-2131957734",
"predicate": "updateUserBlocked",
"params": [
{
"name": "user_id",
"type": "int"
},
{
"name": "blocked",
"type": "Bool"
}
],
"type": "Update"
},
{
"id": "-1094555409",
"predicate": "updateNotifySettings",
"params": [
{
"name": "peer",
"type": "NotifyPeer"
},
{
"name": "notify_settings",
"type": "PeerNotifySettings"
}
],
"type": "Update"
}
],
"methods": [
{
"id": "731580666",
"method": "invokeWithLayer14",
"params": [
{
"name": "query",
"type": "!X"
}
],
"type": "X"
}
]
}

11
l014/schema.tl Normal file
View File

@ -0,0 +1,11 @@
---types---
// dialog#214a8cdf peer:Peer top_message:int unread_count:int = Dialog;
dialog#ab3a99ac peer:Peer top_message:int unread_count:int notify_settings:PeerNotifySettings = Dialog;
notifyAll#74d07c60 = NotifyPeer;
notifyChats#c007cec3 = NotifyPeer;
notifyPeer#9fd40bd8 peer:Peer = NotifyPeer;
notifyUsers#b4c83b4c = NotifyPeer;
updateUserBlocked#80ece81a user_id:int blocked:Bool = Update;
updateNotifySettings#bec268ef peer:NotifyPeer notify_settings:PeerNotifySettings = Update;
---functions---
invokeWithLayer14#2b9b08fa query:!X = X;

View File

@ -1250,7 +1250,7 @@
"type": "MessageAction" "type": "MessageAction"
}, },
{ {
"id": "558533855", "id": "-1422222932",
"predicate": "dialog", "predicate": "dialog",
"params": [ "params": [
{ {
@ -1264,6 +1264,10 @@
{ {
"name": "unread_count", "name": "unread_count",
"type": "int" "type": "int"
},
{
"name": "notify_settings",
"type": "PeerNotifySettings"
} }
], ],
"type": "Dialog" "type": "Dialog"
@ -4104,6 +4108,65 @@
} }
], ],
"type": "help.Support" "type": "help.Support"
},
{
"id": "1959820384",
"predicate": "notifyAll",
"params": [],
"type": "NotifyPeer"
},
{
"id": "-1073230141",
"predicate": "notifyChats",
"params": [],
"type": "NotifyPeer"
},
{
"id": "-1613493288",
"predicate": "notifyPeer",
"params": [
{
"name": "peer",
"type": "Peer"
}
],
"type": "NotifyPeer"
},
{
"id": "-1261946036",
"predicate": "notifyUsers",
"params": [],
"type": "NotifyPeer"
},
{
"id": "-2131957734",
"predicate": "updateUserBlocked",
"params": [
{
"name": "user_id",
"type": "int"
},
{
"name": "blocked",
"type": "Bool"
}
],
"type": "Update"
},
{
"id": "-1094555409",
"predicate": "updateNotifySettings",
"params": [
{
"name": "peer",
"type": "NotifyPeer"
},
{
"name": "notify_settings",
"type": "PeerNotifySettings"
}
],
"type": "Update"
} }
], ],
"methods": [ "methods": [
@ -5696,6 +5759,17 @@
} }
], ],
"type": "X" "type": "X"
},
{
"id": "731580666",
"method": "invokeWithLayer14",
"params": [
{
"name": "query",
"type": "!X"
}
],
"type": "X"
} }
] ]
} }

View File

@ -86,7 +86,7 @@ messageActionChatEditPhoto#7fcb13a8 photo:Photo = MessageAction;
messageActionChatDeletePhoto#95e3fbef = MessageAction; messageActionChatDeletePhoto#95e3fbef = MessageAction;
messageActionChatAddUser#5e3cfc4b user_id:int = MessageAction; messageActionChatAddUser#5e3cfc4b user_id:int = MessageAction;
messageActionChatDeleteUser#b2ae9b0c user_id:int = MessageAction; messageActionChatDeleteUser#b2ae9b0c user_id:int = MessageAction;
dialog#214a8cdf peer:Peer top_message:int unread_count:int = Dialog; dialog#ab3a99ac peer:Peer top_message:int unread_count:int notify_settings:PeerNotifySettings = Dialog;
photoEmpty#2331b22d id:long = Photo; photoEmpty#2331b22d id:long = Photo;
photo#22b56751 id:long access_hash:long user_id:int date:int caption:string geo:GeoPoint sizes:Vector<PhotoSize> = Photo; photo#22b56751 id:long access_hash:long user_id:int date:int caption:string geo:GeoPoint sizes:Vector<PhotoSize> = Photo;
photoSizeEmpty#e17e23c type:string = PhotoSize; photoSizeEmpty#e17e23c type:string = PhotoSize;
@ -252,6 +252,12 @@ audio#c7ac6496 id:long access_hash:long user_id:int date:int duration:int mime_t
documentEmpty#36f8c871 id:long = Document; documentEmpty#36f8c871 id:long = Document;
document#9efc6326 id:long access_hash:long user_id:int date:int file_name:string mime_type:string size:int thumb:PhotoSize dc_id:int = Document; document#9efc6326 id:long access_hash:long user_id:int date:int file_name:string mime_type:string size:int thumb:PhotoSize dc_id:int = Document;
help.support#17c6b5f6 phone_number:string user:User = help.Support; help.support#17c6b5f6 phone_number:string user:User = help.Support;
notifyAll#74d07c60 = NotifyPeer;
notifyChats#c007cec3 = NotifyPeer;
notifyPeer#9fd40bd8 peer:Peer = NotifyPeer;
notifyUsers#b4c83b4c = NotifyPeer;
updateUserBlocked#80ece81a user_id:int blocked:Bool = Update;
updateNotifySettings#bec268ef peer:NotifyPeer notify_settings:PeerNotifySettings = Update;
---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;
@ -358,3 +364,4 @@ invokeWithLayer11#a6b88fdf query:!X = X;
help.getSupport#9cdf08cd = help.Support; help.getSupport#9cdf08cd = help.Support;
invokeWithLayer12#dda60d3c query:!X = X; invokeWithLayer12#dda60d3c query:!X = X;
invokeWithLayer13#427c8ea2 query:!X = X; invokeWithLayer13#427c8ea2 query:!X = X;
invokeWithLayer14#2b9b08fa query:!X = X;