@mtcute/tl 0.1.0 → 0.18.0-rc.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
1
+ { "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 clients should show an option for managing\n * <a href=\"https://corefork.telegram.org/api/folders\">dialog\n * filters AKA folders</a> (boolean)\n */" }, "dialog_filters_tooltip": { "type": "boolean", "description": "/**\n * Whether clients should actively show a tooltip, inviting the\n * user to configure\n * <a href=\"https://corefork.telegram.org/api/folders\">dialog\n * filters AKA folders</a>; typically this happens when the\n * chat list is long enough to start getting cluttered.\n * (boolean)\n */" }, "autoarchive_setting_available": { "type": "boolean", "description": "/**\n * Whether clients <em>can</em> invoke\n * {@link account.RawSetGlobalPrivacySettingsRequest} with\n * {@link RawGlobalPrivacySettings}, to automatically archive\n * and mute new incoming chats from non-contacts. (boolean)\n */" }, "pending_suggestions": { "type": "string[]", "description": "/**\n * Contains a list of suggestions that should be actively shown\n * as a tooltip to the user. (Array of strings, possible values\n * shown <a href=\"#suggestions\">in the suggestions section\n * »</a>. \n */" }, "topics_pinned_limit": { "type": "number", "description": "/**\n * Maximum number of\n * <a href=\"https://corefork.telegram.org/api/forum#forum-topics\">topics</a>\n * that can be pinned in a single\n * <a href=\"https://corefork.telegram.org/api/forum\">forum</a>.\n * (integer)\n */" }, "telegram_antispam_user_id": { "type": "string", "description": "/**\n * The ID of the official\n * <a href=\"https://corefork.telegram.org/api/antispam\">native\n * antispam bot</a>, that will automatically delete spam\n * messages if enabled as specified in the\n * <a href=\"https://corefork.telegram.org/api/antispam\">native\n * antispam documentation »</a>.\n * \n * \n * When fetching the admin list of a supergroup using\n * {@link channels.RawGetParticipantsRequest}, if native\n * antispam functionality in the specified supergroup, the bot\n * should be manually added to the admin list displayed to the\n * user. (numeric string that represents a Telegram user/bot\n * ID, should be casted to an int64)\n */" }, "telegram_antispam_group_size_min": { "type": "number", "description": "/**\n * Minimum number of group members required to enable\n * <a href=\"https://corefork.telegram.org/api/antispam\">native\n * antispam functionality</a>. (integer)\n */" }, "fragment_prefixes": { "type": "string[]", "description": "/**\n * List of phone number prefixes for anonymous\n * <a href=\"https://fragment.com/\">Fragment</a> phone numbers.\n * (array of strings).\n */" }, "hidden_members_group_size_min": { "type": "number", "description": "/**\n * Minimum number of participants required to hide the\n * participants list of a supergroup using\n * {@link channels.RawToggleParticipantsHiddenRequest}.\n * (integer)\n */" }, "url_auth_domains": { "type": "string[]", "description": "/**\n * A list of domains that support automatic login with manual\n * user confirmation,\n * <a href=\"https://corefork.telegram.org/api/url-authorization#link-url-authorization\">click\n * here for more info on URL authorization »</a>. (array of\n * strings)\n */" }, "autologin_domains": { "type": "string[]", "description": "/**\n * A list of Telegram domains that support automatic login with\n * no user confirmation,\n * <a href=\"https://corefork.telegram.org/api/url-authorization#link-url-authorization\">click\n * here for more info on URL authorization »</a>. (array of\n * strings)\n */" }, "whitelisted_domains": { "type": "string[]", "description": "/**\n * A list of Telegram domains that can always be opened without\n * additional user confirmation, when clicking on in-app links\n * where the URL is not fully displayed (i.e.\n * {@link RawMessageEntityTextUrl} entities). (array of\n * strings)Note that when opening\n * <a href=\"https://corefork.telegram.org/api/links#named-mini-app-links\">named\n * Mini App links</a> for the first time, confirmation should\n * still be requested from the user, even if the domain of the\n * containing deep link is whitelisted (i.e.\n * <code>t.me/&lt;bot_username&gt;/&lt;short_name&gt;?startapp=&lt;start_parameter&gt;</code>,\n * where <code>t.me</code> is whitelisted). Confirmation\n * should <strong>always</strong> be asked, even if we already\n * opened the\n * <a href=\"https://corefork.telegram.org/api/links#named-mini-app-links\">named\n * Mini App</a> before, if the link is not visible (i.e.\n * {@link RawMessageEntityTextUrl} text links, inline buttons\n * etc.). \n */" }, "round_video_encoding": { "type": "{\n diameter: number\n video_bitrate: number\n audio_bitrate: number\n max_size: number\n}", "description": "/**\n * Contains a set of recommended codec parameters for round\n * videos. (object, as described in the example)\n */" }, "chat_read_mark_size_threshold": { "type": "number", "description": "/**\n * Per-user read receipts, fetchable using\n * {@link messages.RawGetMessageReadParticipantsRequest}, will\n * be available in groups with an amount of participants less\n * or equal to <code>chat_read_mark_size_threshold</code>.\n * (integer)\n */" }, "chat_read_mark_expire_period": { "type": "number", "description": "/**\n * To protect user privacy, read receipts for chats are only\n * stored for <code>chat_read_mark_expire_period</code> seconds\n * after the message was sent. (integer)\n */" }, "pm_read_date_expire_period": { "type": "number", "description": "/**\n * To protect user privacy, read receipts for private chats are\n * only stored for <code>pm_read_date_expire_period</code>\n * seconds after the message was sent. (integer)\n */" }, "groupcall_video_participants_max": { "type": "number", "description": "/**\n * Maximum number of participants in a group call (livestreams\n * allow ∞ participants) (integer)\n */" }, "reactions_uniq_max": { "type": "number", "description": "/**\n * Maximum number of unique reactions for any given message:\n * for example, if there are 2000 <img class=\"emoji\"\n * src=\"//telegram.org/img/emoji/40/F09F918D.png\" width=\"20\"\n * height=\"20\" alt=\"👍\"> and 1000 custom emoji <img\n * class=\"emoji\" src=\"//telegram.org/img/emoji/40/F09F9881.png\"\n * width=\"20\" height=\"20\" alt=\"😁\"> reactions and\n * reactions_uniq_max = 2, you can't add a <img class=\"emoji\"\n * src=\"//telegram.org/img/emoji/40/F09F918E.png\" width=\"20\"\n * height=\"20\" alt=\"👎\"> reaction, because that would raise the\n * number of unique reactions to 3 &gt; 2. (integer)\n */" }, "reactions_in_chat_max": { "type": "number", "description": "/**\n * Maximum number of reactions that can be marked as allowed in\n * a chat using {@link RawChatReactionsSome}. (integer)\n */" }, "reactions_user_max_default": { "type": "number", "description": "/**\n * Maximum number of reactions that can be added to a single\n * message by a non-Premium user. (integer)\n */" }, "reactions_user_max_premium": { "type": "number", "description": "/**\n * Maximum number of reactions that can be added to a single\n * message by a Premium user. (integer)\n */" }, "default_emoji_statuses_stickerset_id": { "type": "number", "description": "/**\n * Default emoji status stickerset ID. (integer)\n * \n * \n * Note that the stickerset can be fetched using\n * {@link RawInputStickerSetEmojiDefaultStatuses}. \n */" }, "ringtone_duration_max": { "type": "number", "description": "/**\n * The maximum duration in seconds of\n * <a href=\"https://corefork.telegram.org/api/ringtones\">uploadable\n * notification sounds »</a> (integer)\n */" }, "ringtone_size_max": { "type": "number", "description": "/**\n * The maximum post-conversion size in bytes of\n * <a href=\"https://corefork.telegram.org/api/ringtones\">uploadable\n * notification sounds »</a>\n */" }, "ringtone_saved_count_max": { "type": "number", "description": "/**\n * The maximum number of\n * <a href=\"https://corefork.telegram.org/api/ringtones\">saveable\n * notification sounds »</a>\n */" }, "message_animated_emoji_max": { "type": "number", "description": "/**\n * The maximum number of\n * <a href=\"https://corefork.telegram.org/api/custom-emoji\">custom\n * emojis</a> that may be present in a message. (integer)\n */" }, "stickers_premium_by_emoji_num": { "type": "number", "description": "/**\n * Defines how many\n * <a href=\"https://corefork.telegram.org/api/premium\">Premium\n * stickers</a> to show in the sticker suggestion popup when\n * entering an emoji into the text field, see the\n * <a href=\"https://corefork.telegram.org/api/stickers#sticker-suggestions\">sticker\n * docs for more info</a> (integer, defaults to 0)\n */" }, "stickers_normal_by_emoji_per_premium_num": { "type": "number", "description": "/**\n * For\n * <a href=\"https://corefork.telegram.org/api/premium\">Premium\n * users</a>, used to define the suggested sticker list, see\n * the\n * <a href=\"https://corefork.telegram.org/api/stickers#sticker-suggestions\">sticker\n * docs for more info</a> (integer, defaults to 2)\n */" }, "premium_purchase_blocked": { "type": "boolean", "description": "/**\n * The user can't purchase\n * <a href=\"https://corefork.telegram.org/api/premium\">Telegram\n * Premium</a>. The app must also hide all Premium features,\n * including stars for other users, et cetera. (boolean)\n */" }, "channels_limit_default": { "type": "number", "description": "/**\n * The maximum number of\n * <a href=\"https://corefork.telegram.org/api/channel\">channels\n * and supergroups</a> a\n * non-<a href=\"https://corefork.telegram.org/api/premium\">Premium</a>\n * user may join (integer)\n */" }, "channels_limit_premium": { "type": "number", "description": "/**\n * The maximum number of\n * <a href=\"https://corefork.telegram.org/api/channel\">channels\n * and supergroups</a> a\n * <a href=\"https://corefork.telegram.org/api/premium\">Premium</a>\n * user may join (integer)\n */" }, "saved_gifs_limit_default": { "type": "number", "description": "/**\n * The maximum number of GIFs a\n * non-<a href=\"https://corefork.telegram.org/api/premium\">Premium</a>\n * user may save (integer)\n */" }, "saved_gifs_limit_premium": { "type": "number", "description": "/**\n * The maximum number of GIFs a\n * <a href=\"https://corefork.telegram.org/api/premium\">Premium</a>\n * user may save (integer)\n */" }, "stickers_faved_limit_default": { "type": "number", "description": "/**\n * The maximum number of stickers a\n * non-<a href=\"https://corefork.telegram.org/api/premium\">Premium</a>\n * user may\n * <a href=\"https://corefork.telegram.org/api/stickers#favorite-stickersets\">add\n * to Favorites »</a> (integer)\n */" }, "stickers_faved_limit_premium": { "type": "number", "description": "/**\n * The maximum number of stickers a\n * <a href=\"https://corefork.telegram.org/api/premium\">Premium</a>\n * user may\n * <a href=\"https://corefork.telegram.org/api/stickers#favorite-stickersets\">add\n * to Favorites »</a> (integer)\n */" }, "dialog_filters_limit_default": { "type": "number", "description": "/**\n * The maximum number of\n * <a href=\"https://corefork.telegram.org/api/folders\">folders</a>\n * a\n * non-<a href=\"https://corefork.telegram.org/api/premium\">Premium</a>\n * user may create (integer)\n */" }, "dialog_filters_limit_premium": { "type": "number", "description": "/**\n * The maximum number of\n * <a href=\"https://corefork.telegram.org/api/folders\">folders</a>\n * a\n * <a href=\"https://corefork.telegram.org/api/premium\">Premium</a>\n * user may create (integer)\n */" }, "dialog_filters_chats_limit_default": { "type": "number", "description": "/**\n * The maximum number of chats a\n * non-<a href=\"https://corefork.telegram.org/api/premium\">Premium</a>\n * user may add to a\n * <a href=\"https://corefork.telegram.org/api/folders\">folder</a>\n * (integer)\n */" }, "dialog_filters_chats_limit_premium": { "type": "number", "description": "/**\n * The maximum number of chats a\n * <a href=\"https://corefork.telegram.org/api/premium\">Premium</a>\n * user may add to a\n * <a href=\"https://corefork.telegram.org/api/folders\">folder</a>\n * (integer)\n */" }, "dialogs_pinned_limit_default": { "type": "number", "description": "/**\n * The maximum number of chats a\n * non-<a href=\"https://corefork.telegram.org/api/premium\">Premium</a>\n * user may pin (integer)\n */" }, "dialogs_pinned_limit_premium": { "type": "number", "description": "/**\n * The maximum number of chats a\n * <a href=\"https://corefork.telegram.org/api/premium\">Premium</a>\n * user may pin (integer)\n */" }, "dialogs_folder_pinned_limit_default": { "type": "number", "description": "/**\n * The maximum number of chats a\n * non-<a href=\"https://corefork.telegram.org/api/premium\">Premium</a>\n * user may pin in a folder (integer)\n */" }, "dialogs_folder_pinned_limit_premium": { "type": "number", "description": "/**\n * The maximum number of chats a\n * <a href=\"https://corefork.telegram.org/api/premium\">Premium</a>\n * user may pin in a folder (integer)\n */" }, "channels_public_limit_default": { "type": "number", "description": "/**\n * The maximum number of public\n * <a href=\"https://corefork.telegram.org/api/channel\">channels\n * or supergroups</a> a\n * non-<a href=\"https://corefork.telegram.org/api/premium\">Premium</a>\n * user may create (integer)\n */" }, "channels_public_limit_premium": { "type": "number", "description": "/**\n * The maximum number of public\n * <a href=\"https://corefork.telegram.org/api/channel\">channels\n * or supergroups</a> a\n * <a href=\"https://corefork.telegram.org/api/premium\">Premium</a>\n * user may create (integer)\n */" }, "caption_length_limit_default": { "type": "number", "description": "/**\n * The maximum UTF-8 length of media captions sendable by\n * non-<a href=\"https://corefork.telegram.org/api/premium\">Premium</a>\n * users (integer)\n */" }, "caption_length_limit_premium": { "type": "number", "description": "/**\n * The maximum UTF-8 length of media captions sendable by\n * <a href=\"https://corefork.telegram.org/api/premium\">Premium</a>\n * users (integer)\n */" }, "upload_max_fileparts_default": { "type": "number", "description": "/**\n * The maximum number of file parts uploadable by\n * non-<a href=\"https://corefork.telegram.org/api/premium\">Premium</a>\n * users (integer, the maximum file size can be extrapolated by\n * multiplying this value by <code>524288</code>, the biggest\n * possible chunk size)\n */" }, "upload_max_fileparts_premium": { "type": "number", "description": "/**\n * The maximum number of file parts uploadable by\n * <a href=\"https://corefork.telegram.org/api/premium\">Premium</a>\n * users (integer, the maximum file size can be extrapolated by\n * multiplying this value by <code>524288</code>, the biggest\n * possible chunk size)\n */" }, "about_length_limit_default": { "type": "number", "description": "/**\n * The maximum UTF-8 length of bios of\n * non-<a href=\"https://corefork.telegram.org/api/premium\">Premium</a>\n * users (integer)\n */" }, "about_length_limit_premium": { "type": "number", "description": "/**\n * The maximum UTF-8 length of bios of\n * <a href=\"https://corefork.telegram.org/api/premium\">Premium</a>\n * users (integer)\n */" }, "premium_promo_order": { "type": "string[]", "description": "/**\n * Array of string identifiers, indicating the order of\n * <a href=\"https://corefork.telegram.org/api/premium\">Telegram\n * Premium</a> features in the Telegram Premium promotion\n * popup,\n * <a href=\"https://corefork.telegram.org/api/premium#telegram-premium-features\">see\n * here for the possible values »</a>\n */" }, "premium_bot_username": { "type": "string", "description": "/**\n * Contains the username of the official\n * <a href=\"https://corefork.telegram.org/api/premium\">Telegram\n * Premium</a> bot that may be used to buy a\n * <a href=\"https://corefork.telegram.org/api/premium\">Telegram\n * Premium</a> subscription, see\n * <a href=\"https://corefork.telegram.org/api/premium\">here for\n * detailed instructions »</a> (string)\n */" }, "premium_invoice_slug": { "type": "string", "description": "/**\n * Contains an\n * <a href=\"https://corefork.telegram.org/api/payments\">invoice\n * slug</a> that may be used to buy a\n * <a href=\"https://corefork.telegram.org/api/premium\">Telegram\n * Premium</a> subscription, see\n * <a href=\"https://corefork.telegram.org/api/premium\">here for\n * detailed instructions »</a> (string)\n */" }, "premium_gift_attach_menu_icon": { "type": "boolean", "description": "/**\n * Whether a gift icon should be shown in the attachment menu\n * in private chats with users, offering the current user to\n * gift a\n * <a href=\"https://corefork.telegram.org/api/premium\">Telegram\n * Premium</a> subscription to the other user in the chat.\n * (boolean)\n */" }, "premium_gift_text_field_icon": { "type": "boolean", "description": "/**\n * Whether a gift icon should be shown in the text bar in\n * private chats with users (ie like the <code>/</code> icon in\n * chats with bots), offering the current user to gift a\n * <a href=\"https://corefork.telegram.org/api/premium\">Telegram\n * Premium</a> subscription to the other user in the chat. Can\n * only be true if <code>premium_gift_attach_menu_icon</code>\n * is also true. (boolean)\n */" }, "chatlist_update_period": { "type": "number", "description": "/**\n * Users that import a folder using a\n * <a href=\"https://corefork.telegram.org/api/links#chat-folder-links\">chat\n * folder deep link »</a> should retrieve additions made to the\n * folder by invoking\n * {@link chatlists.RawGetChatlistUpdatesRequest} at most every\n * <code>chatlist_update_period</code> seconds. (integer)\n */" }, "chatlist_invites_limit_default": { "type": "number", "description": "/**\n * Maximum number of per-folder\n * <a href=\"https://corefork.telegram.org/api/links#chat-folder-links\">chat\n * folder deep links »</a> that can be created by\n * non-<a href=\"https://corefork.telegram.org/api/premium\">Premium</a>\n * users. (integer)\n */" }, "chatlist_invites_limit_premium": { "type": "number", "description": "/**\n * Maximum number of per-folder\n * <a href=\"https://corefork.telegram.org/api/links#chat-folder-links\">chat\n * folder deep links »</a> that can be created by\n * <a href=\"https://corefork.telegram.org/api/premium\">Premium</a>\n * users. (integer)\n */" }, "chatlists_joined_limit_default": { "type": "number", "description": "/**\n * Maximum number of\n * <a href=\"https://corefork.telegram.org/api/links#chat-folder-links\">shareable\n * folders</a>\n * non-<a href=\"https://corefork.telegram.org/api/premium\">Premium</a>\n * users may have. (integer)\n */" }, "chatlists_joined_limit_premium": { "type": "number", "description": "/**\n * Maximum number of\n * <a href=\"https://corefork.telegram.org/api/links#chat-folder-links\">shareable\n * folders</a>\n * <a href=\"https://corefork.telegram.org/api/premium\">Premium</a>\n * users may have. (integer)\n */" }, "small_queue_max_active_operations_count": { "type": "number", "description": "/**\n * A soft limit, specifying the maximum number of files that\n * should be downloaded in parallel from the same DC, for files\n * smaller than 20MB. (integer)\n */" }, "large_queue_max_active_operations_count": { "type": "number", "description": "/**\n * A soft limit, specifying the maximum number of files that\n * should be downloaded in parallel from the same DC, for files\n * bigger than 20MB. (integer)\n */" }, "authorization_autoconfirm_period": { "type": "number", "description": "/**\n * An\n * <a href=\"https://corefork.telegram.org/api/auth#confirming-login\">unconfirmed\n * session »</a> will be autoconfirmed this many seconds after\n * login. (integer)\n */" }, "story_viewers_expire_period": { "type": "number", "description": "/**\n * The exact list of users that viewed the story will be hidden\n * from the poster this many seconds after the story expires.\n * (integer)This limit applies <strong>only</strong> to\n * non-<a href=\"https://corefork.telegram.org/api/premium\">Premium</a>\n * users,\n * <a href=\"https://corefork.telegram.org/api/premium\">Premium</a>\n * users can <strong>always</strong> access the viewer list.\n */" }, "story_expiring_limit_default": { "type": "number", "description": "/**\n * The maximum number of active\n * <a href=\"https://corefork.telegram.org/api/stories\">stories</a>\n * for\n * non-<a href=\"https://corefork.telegram.org/api/premium\">Premium</a>\n * users (integer).\n */" }, "story_expiring_limit_premium": { "type": "number", "description": "/**\n * The maximum number of active\n * <a href=\"https://corefork.telegram.org/api/stories\">stories</a>\n * for\n * <a href=\"https://corefork.telegram.org/api/premium\">Premium</a>\n * users (integer).\n */" }, "story_caption_length_limit_premium": { "type": "number", "description": "/**\n * The maximum UTF-8 length of story captions for\n * <a href=\"https://corefork.telegram.org/api/premium\">Premium</a>\n * users. (integer)\n */" }, "story_caption_length_limit_default": { "type": "number", "description": "/**\n * The maximum UTF-8 length of story captions for\n * non-<a href=\"https://corefork.telegram.org/api/premium\">Premium</a>\n * users. (integer)\n */" }, "stories_posting": { "type": "string", "description": "/**\n * Indicates whether users can post stories. (string)One of:\n * <li><code>enabled</code> - Any user can post stories.</li>\n * <li><code>premium</code> - Only users with a\n * <a href=\"https://corefork.telegram.org/api/premium\">Premium</a>\n * subscription can post stories.</li>\n * <li><code>disabled</code> - Users can't post stories.</li>\n * \n */" }, "stories_stealth_past_period": { "type": "number", "description": "/**\n * Enabling\n * <a href=\"https://corefork.telegram.org/api/stories#stealth-mode\">stories\n * stealth mode</a> with the <code>past</code> flag will erase\n * views of any story opened in the past\n * <code>stories_stealth_past_period</code> seconds. (integer)\n */" }, "stories_stealth_future_period": { "type": "number", "description": "/**\n * Enabling\n * <a href=\"https://corefork.telegram.org/api/stories#stealth-mode\">stories\n * stealth mode</a> with the <code>future</code> flag will hide\n * views of any story opened in the next\n * <code>stories_stealth_future_period</code> seconds.\n * (integer)\n */" }, "stories_stealth_cooldown_period": { "type": "number", "description": "/**\n * After enabling\n * <a href=\"https://corefork.telegram.org/api/stories#stealth-mode\">stories\n * stealth mode</a>, this many seconds must elapse before the\n * user is allowed to enable it again. (integer)\n */" }, "stories_sent_weekly_limit_default": { "type": "number", "description": "/**\n * Maximum number of stories that can be sent in a week by\n * non-<a href=\"https://corefork.telegram.org/api/premium\">Premium</a>\n * users. (integer)\n */" }, "stories_sent_weekly_limit_premium": { "type": "number", "description": "/**\n * Maximum number of stories that can be sent in a week by\n * <a href=\"https://corefork.telegram.org/api/premium\">Premium</a>\n * users. (integer)\n */" }, "stories_sent_monthly_limit_default": { "type": "number", "description": "/**\n * Maximum number of stories that can be sent in a month by\n * non-<a href=\"https://corefork.telegram.org/api/premium\">Premium</a>\n * users. (integer)\n */" }, "stories_sent_monthly_limit_premium": { "type": "number", "description": "/**\n * Maximum number of stories that can be sent in a month by\n * <a href=\"https://corefork.telegram.org/api/premium\">Premium</a>\n * users. (integer)\n */" }, "stories_suggested_reactions_limit_default": { "type": "number", "description": "/**\n * Maximum number of\n * <a href=\"https://corefork.telegram.org/api/stories#media-areas\">story\n * reaction media areas »</a> that can be added to a story by\n * non-<a href=\"https://corefork.telegram.org/api/premium\">Premium</a>\n * users. (integer)\n */" }, "stories_suggested_reactions_limit_premium": { "type": "number", "description": "/**\n * Maximum number of\n * <a href=\"https://corefork.telegram.org/api/stories#media-areas\">story\n * reaction media areas »</a> that can be added to a story by\n * <a href=\"https://corefork.telegram.org/api/premium\">Premium</a>\n * users. (integer)\n */" }, "stories_venue_search_username": { "type": "string", "description": "/**\n * Username of the inline bot to use to generate venue location\n * tags for stories, see\n * <a href=\"https://corefork.telegram.org/api/stories#location-tags\">here\n * »</a> for more info. (string)\n */" }, "stories_changelog_user_id": { "type": "number", "description": "/**\n * ID of the official Telegram user that will post stories\n * about new Telegram features: stories posted by this user\n * should be shown on the\n * <a href=\"https://corefork.telegram.org/api/stories#watching-stories\">active\n * or active and hidden stories bar</a> just like for contacts,\n * even if the user was removed from the contact list.\n * (integer, defaults to <code>777000</code>)\n */" }, "stories_entities": { "type": "string", "description": "/**\n * Whether\n * <a href=\"https://corefork.telegram.org/api/entities\">styled\n * text entities</a> and links in story text captions can be\n * used by all users (<code>enabled</code>), only\n * [Premium](/api/premium users) (<code>premium</code>), or no\n * one (<code>disabled</code>). (string)This field is used both\n * when posting stories, to indicate to the user whether they\n * can use entities, and when viewing stories, to hide entities\n * (client-side) on stories posted by users whose\n * <a href=\"https://corefork.telegram.org/api/premium\">Premium</a>\n * subscription has expired (if <code>stories_entities ==\n * \"premium\"</code> and {@link RawUser}.<code>premium</code> is\n * not set, or if <code>stories_entities == \"disabled\"</code>).\n * \n */" }, "giveaway_gifts_purchase_available": { "type": "boolean", "description": "/**\n * Whether\n * <a href=\"https://corefork.telegram.org/api/giveaways\">giveaways</a>\n * can be started by the current user. (boolean)\n */" }, "giveaway_add_peers_max": { "type": "number", "description": "/**\n * The maximum number of users that can be specified when\n * making a\n * <a href=\"https://corefork.telegram.org/api/giveaways\">direct\n * giveaway</a>. (integer)\n */" }, "giveaway_countries_max": { "type": "number", "description": "/**\n * The maximum number of countries that can be specified when\n * restricting the set of participating countries in a\n * <a href=\"https://corefork.telegram.org/api/giveaways\">giveaway</a>.\n * (itneger)\n */" }, "giveaway_boosts_per_premium": { "type": "number", "description": "/**\n * The number of\n * <a href=\"https://corefork.telegram.org/api/boost\">boosts</a>\n * that will be gained by a channel for each winner of a\n * <a href=\"https://corefork.telegram.org/api/giveaways\">giveaway</a>.\n * (integer)\n */" }, "giveaway_period_max": { "type": "number", "description": "/**\n * The maximum duration in seconds of a\n * <a href=\"https://corefork.telegram.org/api/giveaways\">giveaway</a>.\n * (integer)\n */" }, "boosts_channel_level_max": { "type": "number", "description": "/**\n * Maximum\n * <a href=\"https://corefork.telegram.org/api/boost\">boost\n * level</a> for channels. (integer)\n */" }, "boosts_per_sent_gift": { "type": "number", "description": "/**\n * The number of additional\n * <a href=\"https://corefork.telegram.org/api/boost\">boost\n * slots</a> that the current user will receive when\n * <a href=\"https://corefork.telegram.org/api/premium#gifting-telegram-premium\">gifting\n * a Telegram Premium subscription</a>. \n */" }, "transcribe_audio_trial_weekly_number": { "type": "number", "description": "/**\n * The maximum number of\n * <a href=\"https://corefork.telegram.org/api/transcribe\">speech\n * recognition »</a> calls per week for\n * non-<a href=\"https://corefork.telegram.org/api/premium\">Premium</a>\n * users. (integer)\n */" }, "transcribe_audio_trial_duration_max": { "type": "number", "description": "/**\n * The maximum allowed duration of media in seconds for\n * <a href=\"https://corefork.telegram.org/api/transcribe\">speech\n * recognition »</a> for\n * non-<a href=\"https://corefork.telegram.org/api/premium\">Premium</a>\n * users. (integer)\n */" }, "recommended_channels_limit_default": { "type": "number", "description": "/**\n * The maximum number of similar channels that can be\n * recommended by\n * {@link channels.RawGetChannelRecommendationsRequest} to\n * non-<a href=\"https://corefork.telegram.org/api/premium\">Premium</a>\n * users. (integer)\n */" }, "recommended_channels_limit_premium": { "type": "number", "description": "/**\n * The maximum number of similar channels that can be\n * recommended by\n * {@link channels.RawGetChannelRecommendationsRequest} to\n * <a href=\"https://corefork.telegram.org/api/premium\">Premium</a>\n * users. (integer)\n */" }, "quote_length_max": { "type": "number", "description": "/**\n * Maximum UTF-8 length of {@link RawInputReplyToMessage}.\n * (integer)\n */" }, "channel_bg_icon_level_min": { "type": "number", "description": "/**\n * After reaching at least this\n * <a href=\"https://corefork.telegram.org/api/boost\">boost\n * level »</a>, channels gain the ability to change their\n * <a href=\"https://corefork.telegram.org/api/colors\">message\n * accent palette emoji »</a>. (integer)\n */" }, "channel_profile_bg_icon_level_min": { "type": "number", "description": "/**\n * After reaching at least this\n * <a href=\"https://corefork.telegram.org/api/boost\">boost\n * level »</a>, channels gain the ability to change their\n * <a href=\"https://corefork.telegram.org/api/colors\">profile\n * accent palette emoji »</a>. (integer)\n */" }, "channel_emoji_status_level_min": { "type": "number", "description": "/**\n * After reaching at least this\n * <a href=\"https://corefork.telegram.org/api/boost\">boost\n * level »</a>, channels gain the ability to change their\n * <a href=\"https://corefork.telegram.org/api/emoji-status\">status\n * emoji »</a>. (integer)\n */" }, "channel_wallpaper_level_min": { "type": "number", "description": "/**\n * After reaching at least this\n * <a href=\"https://corefork.telegram.org/api/boost\">boost\n * level »</a>, channels gain the ability to set a\n * <a href=\"https://corefork.telegram.org/api/wallpapers#channel-wallpapers\">fill\n * channel wallpaper, see here » for more info</a>. (integer)\n */" }, "channel_custom_wallpaper_level_min": { "type": "number", "description": "/**\n * After reaching at least this\n * <a href=\"https://corefork.telegram.org/api/boost\">boost\n * level »</a>, channels gain the ability to set any custom\n * <a href=\"https://corefork.telegram.org/api/wallpapers\">wallpaper</a>,\n * not just\n * <a href=\"https://corefork.telegram.org/api/wallpapers\">fill\n * channel wallpapers, see here » for more info</a>. (integer)\n */" }, "saved_dialogs_pinned_limit_default": { "type": "number", "description": "/**\n * Maximum number of pinned dialogs in\n * <a href=\"https://corefork.telegram.org/api/saved-messages\">saved\n * messages</a> for\n * non-<a href=\"https://corefork.telegram.org/api/premium\">Premium</a>\n * users. (integer)\n */" }, "saved_dialogs_pinned_limit_premium": { "type": "number", "description": "/**\n * Maximum number of pinned dialogs in\n * <a href=\"https://corefork.telegram.org/api/saved-messages\">saved\n * messages</a> for\n * <a href=\"https://corefork.telegram.org/api/premium\">Premium</a>\n * users. (integer)\n */" } }