1
0
mirror of https://github.com/danog/tl-schema.git synced 2024-11-26 20:04:52 +01:00
tl-schema/l034/schema.json
Viktor Oreshkin 312d6b7b2d Add layer 034
2017-08-16 15:16:26 +03:00

406 lines
7.6 KiB
JSON

{
"constructors": [
{
"id": "-260565816",
"predicate": "message",
"params": [
{
"name": "flags",
"type": "#"
},
{
"name": "id",
"type": "int"
},
{
"name": "from_id",
"type": "int"
},
{
"name": "to_id",
"type": "Peer"
},
{
"name": "fwd_from_id",
"type": "flags.2?int"
},
{
"name": "fwd_date",
"type": "flags.2?int"
},
{
"name": "reply_to_msg_id",
"type": "flags.3?int"
},
{
"name": "date",
"type": "int"
},
{
"name": "message",
"type": "string"
},
{
"name": "media",
"type": "MessageMedia"
},
{
"name": "reply_markup",
"type": "flags.6?ReplyMarkup"
},
{
"name": "entities",
"type": "flags.7?Vector<MessageEntity>"
}
],
"type": "Message"
},
{
"id": "-1969628960",
"predicate": "messages.sentMessage",
"params": [
{
"name": "id",
"type": "int"
},
{
"name": "date",
"type": "int"
},
{
"name": "media",
"type": "MessageMedia"
},
{
"name": "entities",
"type": "Vector<MessageEntity>"
},
{
"name": "pts",
"type": "int"
},
{
"name": "pts_count",
"type": "int"
}
],
"type": "messages.SentMessage"
},
{
"id": "1060296792",
"predicate": "updateShortMessage",
"params": [
{
"name": "flags",
"type": "#"
},
{
"name": "id",
"type": "int"
},
{
"name": "user_id",
"type": "int"
},
{
"name": "message",
"type": "string"
},
{
"name": "pts",
"type": "int"
},
{
"name": "pts_count",
"type": "int"
},
{
"name": "date",
"type": "int"
},
{
"name": "fwd_from_id",
"type": "flags.2?int"
},
{
"name": "fwd_date",
"type": "flags.2?int"
},
{
"name": "reply_to_msg_id",
"type": "flags.3?int"
},
{
"name": "entities",
"type": "flags.7?Vector<MessageEntity>"
}
],
"type": "Updates"
},
{
"id": "-113206467",
"predicate": "updateShortChatMessage",
"params": [
{
"name": "flags",
"type": "#"
},
{
"name": "id",
"type": "int"
},
{
"name": "from_id",
"type": "int"
},
{
"name": "chat_id",
"type": "int"
},
{
"name": "message",
"type": "string"
},
{
"name": "pts",
"type": "int"
},
{
"name": "pts_count",
"type": "int"
},
{
"name": "date",
"type": "int"
},
{
"name": "fwd_from_id",
"type": "flags.2?int"
},
{
"name": "fwd_date",
"type": "flags.2?int"
},
{
"name": "reply_to_msg_id",
"type": "flags.3?int"
},
{
"name": "entities",
"type": "flags.7?Vector<MessageEntity>"
}
],
"type": "Updates"
},
{
"id": "-1148011883",
"predicate": "messageEntityUnknown",
"params": [
{
"name": "offset",
"type": "int"
},
{
"name": "length",
"type": "int"
}
],
"type": "MessageEntity"
},
{
"id": "-100378723",
"predicate": "messageEntityMention",
"params": [
{
"name": "offset",
"type": "int"
},
{
"name": "length",
"type": "int"
}
],
"type": "MessageEntity"
},
{
"id": "1868782349",
"predicate": "messageEntityHashtag",
"params": [
{
"name": "offset",
"type": "int"
},
{
"name": "length",
"type": "int"
}
],
"type": "MessageEntity"
},
{
"id": "1827637959",
"predicate": "messageEntityBotCommand",
"params": [
{
"name": "offset",
"type": "int"
},
{
"name": "length",
"type": "int"
}
],
"type": "MessageEntity"
},
{
"id": "1859134776",
"predicate": "messageEntityUrl",
"params": [
{
"name": "offset",
"type": "int"
},
{
"name": "length",
"type": "int"
}
],
"type": "MessageEntity"
},
{
"id": "1692693954",
"predicate": "messageEntityEmail",
"params": [
{
"name": "offset",
"type": "int"
},
{
"name": "length",
"type": "int"
}
],
"type": "MessageEntity"
},
{
"id": "-1117713463",
"predicate": "messageEntityBold",
"params": [
{
"name": "offset",
"type": "int"
},
{
"name": "length",
"type": "int"
}
],
"type": "MessageEntity"
},
{
"id": "-2106619040",
"predicate": "messageEntityItalic",
"params": [
{
"name": "offset",
"type": "int"
},
{
"name": "length",
"type": "int"
}
],
"type": "MessageEntity"
},
{
"id": "681706865",
"predicate": "messageEntityCode",
"params": [
{
"name": "offset",
"type": "int"
},
{
"name": "length",
"type": "int"
}
],
"type": "MessageEntity"
},
{
"id": "1938967520",
"predicate": "messageEntityPre",
"params": [
{
"name": "offset",
"type": "int"
},
{
"name": "length",
"type": "int"
},
{
"name": "language",
"type": "string"
}
],
"type": "MessageEntity"
},
{
"id": "1990644519",
"predicate": "messageEntityTextUrl",
"params": [
{
"name": "offset",
"type": "int"
},
{
"name": "length",
"type": "int"
},
{
"name": "url",
"type": "string"
}
],
"type": "MessageEntity"
}
],
"methods": [
{
"id": "233907088",
"method": "messages.sendMessage",
"params": [
{
"name": "flags",
"type": "#"
},
{
"name": "peer",
"type": "InputPeer"
},
{
"name": "reply_to_msg_id",
"type": "flags.0?int"
},
{
"name": "message",
"type": "string"
},
{
"name": "random_id",
"type": "long"
},
{
"name": "reply_markup",
"type": "flags.2?ReplyMarkup"
},
{
"name": "entities",
"type": "flags.3?Vector<MessageEntity>"
}
],
"type": "messages.SentMessage"
}
]
}