1
0
mirror of https://github.com/danog/tl-schema.git synced 2024-12-02 09:18:01 +01:00
tl-schema/l042/schema.json
Viktor Oreshkin 2ae8d97229 Add layer 042
2017-08-16 15:17:00 +03:00

71 lines
1.3 KiB
JSON

{
"constructors": [
{
"id": "-847783593",
"predicate": "channelMessagesFilter",
"params": [
{
"name": "flags",
"type": "#"
},
{
"name": "important_only",
"type": "flags.0?true"
},
{
"name": "exclude_new_messages",
"type": "flags.1?true"
},
{
"name": "ranges",
"type": "Vector<MessageRange>"
}
],
"type": "ChannelMessagesFilter"
}
],
"methods": [
{
"id": "1799878989",
"method": "messages.getDialogs",
"params": [
{
"name": "offset_date",
"type": "int"
},
{
"name": "offset_id",
"type": "int"
},
{
"name": "offset_peer",
"type": "InputPeer"
},
{
"name": "limit",
"type": "int"
}
],
"type": "messages.Dialogs"
},
{
"id": "-344583728",
"method": "channels.editAdmin",
"params": [
{
"name": "channel",
"type": "InputChannel"
},
{
"name": "user_id",
"type": "InputUser"
},
{
"name": "role",
"type": "ChannelParticipantRole"
}
],
"type": "Updates"
}
]
}