mtcute/packages/tl/api-schema.json

2 lines
1.5 MiB
JSON
Raw Normal View History

{ "l": 185, "e": [{ "kind": "class", "name": "error", "type": "Error", "id": 3300522427, "comment": "Error.", "arguments": [{ "name": "code", "type": "int", "comment": "Error code" }, { "name": "text", "type": "string", "comment": "Message" }] }, { "kind": "class", "name": "ipPort", "id": 3560156531, "type": "IpPort", "arguments": [{ "name": "ipv4", "type": "int" }, { "name": "port", "type": "int" }] }, { "kind": "class", "name": "ipPortSecret", "id": 932718150, "type": "IpPort", "arguments": [{ "name": "ipv4", "type": "int" }, { "name": "port", "type": "int" }, { "name": "secret", "type": "bytes" }] }, { "kind": "class", "name": "accessPointRule", "id": 1182381663, "type": "AccessPointRule", "arguments": [{ "name": "phone_prefix_rules", "type": "string" }, { "name": "dc_id", "type": "int" }, { "name": "ips", "type": "IpPort", "typeModifiers": { "isBareVector": true } }] }, { "kind": "class", "name": "help.configSimple", "id": 1515793004, "type": "help.ConfigSimple", "arguments": [{ "name": "date", "type": "int" }, { "name": "expires", "type": "int" }, { "name": "rules", "type": "AccessPointRule", "typeModifiers": { "isBareVector": true } }] }, { "kind": "class", "name": "inputPeerPhotoFileLocationLegacy", "id": 668375447, "type": "InputFileLocation", "arguments": [{ "name": "flags", "type": "#" }, { "name": "big", "type": "true", "typeModifiers": { "predicate": "flags.0" } }, { "name": "peer", "type": "InputPeer" }, { "name": "volume_id", "type": "long" }, { "name": "local_id", "type": "int" }] }, { "kind": "class", "name": "inputStickerSetThumbLegacy", "id": 230353641, "type": "InputFileLocation", "arguments": [{ "name": "stickerset", "type": "InputStickerSet" }, { "name": "volume_id", "type": "long" }, { "name": "local_id", "type": "int" }] }, { "kind": "class", "name": "inputPeerEmpty", "type": "InputPeer", "id": 2134579434, "comment": "An empty constructor, no user or chat is defined.", "arguments": [] }, { "kind": "class", "name": "inputPeerSelf", "type": "InputPeer", "id": 2107670217, "comment": "Defines the current user.", "arguments": [] }, { "kind": "class", "name": "inputPeerChat", "type": "InputPeer", "id": 900291769, "comment": "Defines a chat for further interaction.", "arguments": [{ "name": "chat_id", "type": "int53", "comment": "Chat identifier" }] }, { "kind": "class", "name": "inputPeerUser", "type": "InputPeer", "id": 3723011404, "comment": "Defines a user for further interaction.", "arguments": [{ "name": "user_id", "type": "int53", "comment": "User identifier" }, { "name": "access_hash", "type": "long", "comment": "<strong>access_hash</strong> value from the {@link RawUser} constructor" }] }, { "kind": "class", "name": "inputPeerChannel", "type": "InputPeer", "id": 666680316, "comment": "Defines a channel for further interaction.", "arguments": [{ "name": "channel_id", "type": "int53", "comment": "Channel identifier" }, { "name": "access_hash", "type": "long", "comment": "<strong>access_hash</strong> value from the {@link RawChannel} constructor" }] }, { "kind": "class", "name": "inputPeerUserFromMessage", "type": "InputPeer", "id": 2826635804, "comment": "Defines a <a href=\"https://corefork.telegram.org/api/min\">min</a> user that was seen in a certain message of a certain chat.", "arguments": [{ "name": "peer", "type": "InputPeer", "comment": "The chat where the user was seen" }, { "name": "msg_id", "type": "int", "comment": "The message ID" }, { "name": "user_id", "type": "int53", "comment": "The identifier of the user that was seen" }] }, { "kind": "class", "name": "inputPeerChannelFromMessage", "type": "InputPeer", "id": 3173648448, "comment": "Defines a <a href=\"https://corefork.telegram.org/api/min\">min</a> channel that was seen in a certain message of a certain chat.", "arguments": [{ "name": "peer", "type": "InputPeer", "comment": "The chat where the channel's message was seen" }, { "name": "msg_id", "type": "int", "comment": "The message ID" }, { "name": "channel_id", "type": "int53", "comment": "The identifier of the channel that was seen" }] }, { "kind": "class", "name": "inputUserEm