mirror of
https://github.com/danog/tl-schema.git
synced 2024-12-13 01:47:31 +01:00
99 lines
1.8 KiB
JSON
99 lines
1.8 KiB
JSON
{
|
|
"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"
|
|
}
|
|
]
|
|
} |