1
0
mirror of https://github.com/danog/tl-schema.git synced 2025-01-10 06:58:18 +01:00
tl-schema/l031/schema.json

421 lines
8.0 KiB
JSON
Raw Normal View History

2017-07-02 18:24:40 +02:00
{
"constructors": [
{
"id": "771925524",
"predicate": "chatFull",
"params": [
{
"name": "id",
"type": "int"
},
{
"name": "participants",
"type": "ChatParticipants"
},
{
"name": "chat_photo",
"type": "Photo"
},
{
"name": "notify_settings",
"type": "PeerNotifySettings"
},
{
"name": "exported_invite",
"type": "ExportedChatInvite"
},
{
"name": "bot_info",
"type": "Vector<BotInfo>"
}
],
"type": "ChatFull"
},
{
"id": "-1023016155",
"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"
}
],
"type": "Message"
},
{
"id": "-16553231",
"predicate": "auth.authorization",
"params": [
{
"name": "user",
"type": "User"
}
],
"type": "auth.Authorization"
},
{
"id": "1518971995",
"predicate": "userFull",
"params": [
{
"name": "user",
"type": "User"
},
{
"name": "link",
"type": "contacts.Link"
},
{
"name": "profile_photo",
"type": "Photo"
},
{
"name": "notify_settings",
"type": "PeerNotifySettings"
},
{
"name": "blocked",
"type": "Bool"
},
{
"name": "bot_info",
"type": "BotInfo"
}
],
"type": "UserFull"
},
{
"id": "98092748",
"predicate": "dcOption",
"params": [
{
"name": "flags",
"type": "#"
},
{
"name": "id",
"type": "int"
},
{
"name": "ip_address",
"type": "string"
},
{
"name": "port",
"type": "int"
}
],
"type": "DcOption"
},
{
"id": "1526462308",
"predicate": "inputMessagesFilterAudioDocuments",
"params": [],
"type": "MessagesFilter"
},
{
"id": "585404530",
"predicate": "user",
"params": [
{
"name": "flags",
"type": "#"
},
{
"name": "id",
"type": "int"
},
{
"name": "access_hash",
"type": "flags.0?long"
},
{
"name": "first_name",
"type": "flags.1?string"
},
{
"name": "last_name",
"type": "flags.2?string"
},
{
"name": "username",
"type": "flags.3?string"
},
{
"name": "phone",
"type": "flags.4?string"
},
{
"name": "photo",
"type": "flags.5?UserProfilePhoto"
},
{
"name": "status",
"type": "flags.6?UserStatus"
},
{
"name": "bot_info_version",
"type": "flags.14?int"
}
],
"type": "User"
},
{
"id": "-1032140601",
"predicate": "botCommand",
"params": [
{
"name": "command",
"type": "string"
},
{
"name": "description",
"type": "string"
}
],
"type": "BotCommand"
},
{
"id": "-1154598962",
"predicate": "botInfoEmpty",
"params": [],
"type": "BotInfo"
},
{
"id": "164583517",
"predicate": "botInfo",
"params": [
{
"name": "user_id",
"type": "int"
},
{
"name": "version",
"type": "int"
},
{
"name": "share_text",
"type": "string"
},
{
"name": "description",
"type": "string"
},
{
"name": "commands",
"type": "Vector<BotCommand>"
}
],
"type": "BotInfo"
},
{
"id": "-1560655744",
"predicate": "keyboardButton",
"params": [
{
"name": "text",
"type": "string"
}
],
"type": "KeyboardButton"
},
{
"id": "2002815875",
"predicate": "keyboardButtonRow",
"params": [
{
"name": "buttons",
"type": "Vector<KeyboardButton>"
}
],
"type": "KeyboardButtonRow"
},
{
"id": "-1606526075",
"predicate": "replyKeyboardHide",
"params": [
{
"name": "flags",
"type": "#"
}
],
"type": "ReplyMarkup"
},
{
"id": "-200242528",
"predicate": "replyKeyboardForceReply",
"params": [
{
"name": "flags",
"type": "#"
}
],
"type": "ReplyMarkup"
},
{
"id": "889353612",
"predicate": "replyKeyboardMarkup",
"params": [
{
"name": "flags",
"type": "#"
},
{
"name": "rows",
"type": "Vector<KeyboardButtonRow>"
}
],
"type": "ReplyMarkup"
}
],
"methods": [
{
"id": "-61479243",
"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"
}
],
"type": "messages.SentMessage"
},
{
"id": "-923703407",
"method": "messages.sendMedia",
"params": [
{
"name": "flags",
"type": "#"
},
{
"name": "peer",
"type": "InputPeer"
},
{
"name": "reply_to_msg_id",
"type": "flags.0?int"
},
{
"name": "media",
"type": "InputMedia"
},
{
"name": "random_id",
"type": "long"
},
{
"name": "reply_markup",
"type": "flags.2?ReplyMarkup"
}
],
"type": "Updates"
},
{
"id": "1738800940",
"method": "auth.importBotAuthorization",
"params": [
{
"name": "flags",
"type": "int"
},
{
"name": "api_id",
"type": "int"
},
{
"name": "api_hash",
"type": "string"
},
{
"name": "bot_auth_token",
"type": "string"
}
],
"type": "auth.Authorization"
},
{
"id": "457052156",
"method": "messages.startBot",
"params": [
{
"name": "bot",
"type": "InputUser"
},
{
"name": "chat_id",
"type": "int"
},
{
"name": "random_id",
"type": "long"
},
{
"name": "start_param",
"type": "string"
}
],
"type": "Updates"
}
]
}