mtcute/packages/tl/app-config.json

2 lines
35 KiB
JSON
Raw Normal View History

{ "emojies_animated_zoom": { "type": "number", "description": "/**\n * <a href=\"https://corefork.telegram.org/api/animated-emojis\">Animated\n * emojis</a> and\n * <a href=\"https://corefork.telegram.org/api/dice\">animated\n * dice</a> should be scaled by this factor before being shown\n * to the user (float)\n */" }, "keep_alive_service": { "type": "boolean", "description": "/**\n * Whether app clients should start a keepalive service to keep\n * the app running and fetch updates even when the app is\n * closed (boolean)\n */" }, "background_connection": { "type": "boolean", "description": "/**\n * Whether app clients should start a background TCP connection\n * for MTProto update fetching (boolean)\n */" }, "emojies_send_dice": { "type": "string[]", "description": "/**\n * A list of supported\n * <a href=\"https://corefork.telegram.org/api/dice\">animated\n * dice</a> stickers (array of strings).\n */" }, "emojies_send_dice_success": { "type": "Record<string, {\n value: number\n frame_start: number\n}>", "description": "/**\n * For\n * <a href=\"https://corefork.telegram.org/api/dice\">animated\n * dice</a> emojis other than the basic <img class=\"emoji\"\n * src=\"//telegram.org/img/emoji/40/F09F8EB2.png\" width=\"20\"\n * height=\"20\" alt=\"🎲\">, indicates the winning dice value and\n * the final frame of the animated sticker, at which to show\n * the fireworks <img class=\"emoji\"\n * src=\"//telegram.org/img/emoji/40/F09F8E86.png\" width=\"20\"\n * height=\"20\" alt=\"🎆\"> (object with emoji keys and object\n * values, containing <code>value</code> and\n * <code>frame_start</code> float values)\n */" }, "emojies_sounds": { "type": "Record<string, {\n id: string\n access_hash: string\n file_reference_base64: string\n}>", "description": "/**\n * A map of soundbites to be played when the user clicks on the\n * specified\n * <a href=\"https://corefork.telegram.org/api/animated-emojis\">animated\n * emoji</a>; the\n * <a href=\"https://corefork.telegram.org/api/file_reference\">file\n * reference field</a> should be base64-decoded before\n * <a href=\"https://corefork.telegram.org/api/files\">downloading\n * the file</a> (map of\n * <a href=\"https://corefork.telegram.org/api/files\">file\n * IDs</a> ({@link RawInputDocument}.id), with emoji string\n * keys)\n */" }, "gif_search_branding": { "type": "string", "description": "/**\n * Specifies the name of the service providing GIF search\n * through\n * <a href=\"#mtproto-configuration\">gif_search_username</a>\n * (string)\n */" }, "gif_search_emojies": { "type": "string[]", "description": "/**\n * Specifies a list of emojis that should be suggested as\n * search term in a bar above the GIF search box (array of\n * string emojis)\n */" }, "stickers_emoji_suggest_only_api": { "type": "boolean", "description": "/**\n * Specifies that the app should not display\n * <a href=\"https://corefork.telegram.org/api/stickers#sticker-suggestions\">local\n * sticker suggestions »</a> for emojis at all and just use the\n * result of {@link messages.RawGetStickersRequest} (bool)\n */" }, "stickers_emoji_cache_time": { "type": "number", "description": "/**\n * Specifies the validity period of the local cache of\n * {@link messages.RawGetStickersRequest}, also relevant when\n * generating the\n * <a href=\"https://corefork.telegram.org/api/offsets#hash-generation\">pagination\n * hash</a> when invoking the method. (integer)\n */" }, "qr_login_camera": { "type": "boolean", "description": "/**\n * Whether the Settings-&gt;Devices menu should show an option\n * to scan a\n * <a href=\"https://corefork.telegram.org/api/qr-login\">QR\n * login code</a> (boolean)\n */" }, "qr_login_code": { "type": "\"disabled\" | \"primary\" | \"secondary\"", "description": "/**\n * Whether the login screen should show a\n * <a href=\"https://corefork.telegram.org/api/qr-login\">QR code\n * login option</a>, possibly as default login method (string,\n * \"disabled\", \"primary\" or \"secondary\")\n */" }, "dialog_filters_enabled": { "type": "boolean", "description": "/**\n * Whether