1
0
mirror of https://github.com/danog/tl-schema.git synced 2025-01-10 06:58:18 +01:00
tl-schema/l067/schema.json
Viktor Oreshkin b60d94a7b2 Add layer 067
2017-08-20 15:58:08 +03:00

442 lines
8.7 KiB
JSON

{
"constructors": [
{
"id": "2146355336",
"predicate": "config",
"params": [
{
"name": "flags",
"type": "#"
},
{
"name": "phonecalls_enabled",
"type": "flags.1?true"
},
{
"name": "date",
"type": "int"
},
{
"name": "expires",
"type": "int"
},
{
"name": "test_mode",
"type": "Bool"
},
{
"name": "this_dc",
"type": "int"
},
{
"name": "dc_options",
"type": "Vector<DcOption>"
},
{
"name": "chat_size_max",
"type": "int"
},
{
"name": "megagroup_size_max",
"type": "int"
},
{
"name": "forwarded_count_max",
"type": "int"
},
{
"name": "online_update_period_ms",
"type": "int"
},
{
"name": "offline_blur_timeout_ms",
"type": "int"
},
{
"name": "offline_idle_timeout_ms",
"type": "int"
},
{
"name": "online_cloud_timeout_ms",
"type": "int"
},
{
"name": "notify_cloud_delay_ms",
"type": "int"
},
{
"name": "notify_default_delay_ms",
"type": "int"
},
{
"name": "chat_big_size",
"type": "int"
},
{
"name": "push_chat_period_ms",
"type": "int"
},
{
"name": "push_chat_limit",
"type": "int"
},
{
"name": "saved_gifs_limit",
"type": "int"
},
{
"name": "edit_time_limit",
"type": "int"
},
{
"name": "rating_e_decay",
"type": "int"
},
{
"name": "stickers_recent_limit",
"type": "int"
},
{
"name": "tmp_sessions",
"type": "flags.0?int"
},
{
"name": "pinned_dialogs_count_max",
"type": "int"
},
{
"name": "call_receive_timeout_ms",
"type": "int"
},
{
"name": "call_ring_timeout_ms",
"type": "int"
},
{
"name": "call_connect_timeout_ms",
"type": "int"
},
{
"name": "call_packet_timeout_ms",
"type": "int"
},
{
"name": "me_url_prefix",
"type": "string"
},
{
"name": "suggested_lang_code",
"type": "flags.2?string"
},
{
"name": "lang_pack_version",
"type": "flags.2?int"
},
{
"name": "disabled_features",
"type": "Vector<DisabledFeature>"
}
],
"type": "Config"
},
{
"id": "608050278",
"predicate": "sendMessageUploadRoundAction",
"params": [
{
"name": "progress",
"type": "int"
}
],
"type": "SendMessageAction"
},
{
"id": "281165899",
"predicate": "updateLangPackTooLong",
"params": [],
"type": "Update"
},
{
"id": "1442983757",
"predicate": "updateLangPack",
"params": [
{
"name": "difference",
"type": "LangPackDifference"
}
],
"type": "Update"
},
{
"id": "-283684427",
"predicate": "pageBlockChannel",
"params": [
{
"name": "channel",
"type": "Chat"
}
],
"type": "PageBlock"
},
{
"id": "-6249322",
"predicate": "inputStickerSetItem",
"params": [
{
"name": "flags",
"type": "#"
},
{
"name": "document",
"type": "InputDocument"
},
{
"name": "emoji",
"type": "string"
},
{
"name": "mask_coords",
"type": "flags.0?MaskCoords"
}
],
"type": "InputStickerSetItem"
},
{
"id": "-892239370",
"predicate": "langPackString",
"params": [
{
"name": "key",
"type": "string"
},
{
"name": "value",
"type": "string"
}
],
"type": "LangPackString"
},
{
"id": "1816636575",
"predicate": "langPackStringPluralized",
"params": [
{
"name": "flags",
"type": "#"
},
{
"name": "key",
"type": "string"
},
{
"name": "zero_value",
"type": "flags.0?string"
},
{
"name": "one_value",
"type": "flags.1?string"
},
{
"name": "two_value",
"type": "flags.2?string"
},
{
"name": "few_value",
"type": "flags.3?string"
},
{
"name": "many_value",
"type": "flags.4?string"
},
{
"name": "other_value",
"type": "string"
}
],
"type": "LangPackString"
},
{
"id": "695856818",
"predicate": "langPackStringDeleted",
"params": [
{
"name": "key",
"type": "string"
}
],
"type": "LangPackString"
},
{
"id": "-209337866",
"predicate": "langPackDifference",
"params": [
{
"name": "lang_code",
"type": "string"
},
{
"name": "from_version",
"type": "int"
},
{
"name": "version",
"type": "int"
},
{
"name": "strings",
"type": "Vector<LangPackString>"
}
],
"type": "LangPackDifference"
},
{
"id": "292985073",
"predicate": "langPackLanguage",
"params": [
{
"name": "name",
"type": "string"
},
{
"name": "native_name",
"type": "string"
},
{
"name": "lang_code",
"type": "string"
}
],
"type": "LangPackLanguage"
}
],
"methods": [
{
"id": "-951575130",
"method": "initConnection",
"params": [
{
"name": "api_id",
"type": "int"
},
{
"name": "device_model",
"type": "string"
},
{
"name": "system_version",
"type": "string"
},
{
"name": "app_version",
"type": "string"
},
{
"name": "system_lang_code",
"type": "string"
},
{
"name": "lang_pack",
"type": "string"
},
{
"name": "lang_code",
"type": "string"
},
{
"name": "query",
"type": "!X"
}
],
"type": "X"
},
{
"id": "1369162417",
"method": "messages.uploadMedia",
"params": [
{
"name": "peer",
"type": "InputPeer"
},
{
"name": "media",
"type": "InputMedia"
}
],
"type": "MessageMedia"
},
{
"id": "1302491916",
"method": "stickers.createStickerSet",
"params": [
{
"name": "flags",
"type": "#"
},
{
"name": "masks",
"type": "flags.0?true"
},
{
"name": "user_id",
"type": "InputUser"
},
{
"name": "title",
"type": "string"
},
{
"name": "short_name",
"type": "string"
},
{
"name": "stickers",
"type": "Vector<InputStickerSetItem>"
}
],
"type": "Bool"
},
{
"id": "-1699363442",
"method": "langpack.getLangPack",
"params": [
{
"name": "lang_code",
"type": "string"
}
],
"type": "LangPackDifference"
},
{
"id": "773776152",
"method": "langpack.getStrings",
"params": [
{
"name": "lang_code",
"type": "string"
},
{
"name": "keys",
"type": "Vector<string>"
}
],
"type": "Vector<LangPackString>"
},
{
"id": "187583869",
"method": "langpack.getDifference",
"params": [
{
"name": "from_version",
"type": "int"
}
],
"type": "LangPackDifference"
},
{
"id": "-2146445955",
"method": "langpack.getLanguages",
"params": [],
"type": "Vector<LangPackLanguage>"
}
]
}