{ "emojies_animated_zoom": { "type": "number", "description": "/**\n * Animated\n * emojis and\n * animated\n * dice 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 * animated\n * dice stickers (array of strings).\n */" }, "emojies_send_dice_success": { "type": "Record", "description": "/**\n * For\n * animated\n * dice emojis other than the basic , indicates the winning dice value and\n * the final frame of the animated sticker, at which to show\n * the fireworks (object with emoji keys and object\n * values, containing value
and\n * frame_start
float values)\n */" }, "emojies_sounds": { "type": "Record", "description": "/**\n * A map of soundbites to be played when the user clicks on the\n * specified\n * animated\n * emoji; the\n * file\n * reference field should be base64-decoded before\n * downloading\n * the file (map of\n * file\n * IDs ({@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 * gif_search_username\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 * local\n * sticker suggestions » 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 * pagination\n * hash when invoking the method. (integer)\n */" }, "qr_login_camera": { "type": "boolean", "description": "/**\n * Whether the Settings->Devices menu should show an option\n * to scan a\n * QR\n * login code (boolean)\n */" }, "qr_login_code": { "type": "\"disabled\" | \"primary\" | \"secondary\"", "description": "/**\n * Whether the login screen should show a\n * QR code\n * login option, 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 * dialog\n * filters AKA folders (boolean)\n */" }, "dialog_filters_tooltip": { "type": "boolean", "description": "/**\n * Whether clients should actively show a tooltip, inviting the\n * user to configure\n * dialog\n * filters AKA folders; 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 can 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 in the suggestions section\n * ». \n */" }, "topics_pinned_limit": { "type": "number", "description": "/**\n * Maximum number of\n * topics\n * that can be pinned in a single\n * forum.\n * (integer)\n */" }, "telegram_antispam_user_id": { "type": "string", "description": "/**\n * The ID of the official\n * native\n * antispam bot, that will automatically delete spam\n * messages if enabled as specified in the\n * native\n * antispam documentation ».\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 * native\n * antispam functionality. (integer)\n */" }, "fragment_prefixes": { "type": "string[]", "description": "/**\n * List of phone number prefixes for anonymous\n * Fragment 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 * click\n * here for more info on URL authorization ». (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 * click\n * here for more info on URL authorization ». (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 * named\n * Mini App links 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 * t.me/<bot_username>/<short_name>?startapp=<start_parameter>
,\n * where t.me
is whitelisted). Confirmation\n * should always be asked, even if we already\n * opened the\n * named\n * Mini App 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 chat_read_mark_size_threshold
.\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 chat_read_mark_expire_period
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 pm_read_date_expire_period
\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 and 1000 custom emoji reactions and\n * reactions_uniq_max = 2, you can't add a reaction, because that would raise the\n * number of unique reactions to 3 > 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 * uploadable\n * notification sounds » (integer)\n */" }, "ringtone_size_max": { "type": "number", "description": "/**\n * The maximum post-conversion size in bytes of\n * uploadable\n * notification sounds »\n */" }, "ringtone_saved_count_max": { "type": "number", "description": "/**\n * The maximum number of\n * saveable\n * notification sounds »\n */" }, "message_animated_emoji_max": { "type": "number", "description": "/**\n * The maximum number of\n * custom\n * emojis that may be present in a message. (integer)\n */" }, "stickers_premium_by_emoji_num": { "type": "number", "description": "/**\n * Defines how many\n * Premium\n * stickers to show in the sticker suggestion popup when\n * entering an emoji into the text field, see the\n * sticker\n * docs for more info (integer, defaults to 0)\n */" }, "stickers_normal_by_emoji_per_premium_num": { "type": "number", "description": "/**\n * For\n * Premium\n * users, used to define the suggested sticker list, see\n * the\n * sticker\n * docs for more info (integer, defaults to 2)\n */" }, "premium_purchase_blocked": { "type": "boolean", "description": "/**\n * The user can't purchase\n * Telegram\n * Premium. 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 * channels\n * and supergroups a\n * non-Premium\n * user may join (integer)\n */" }, "channels_limit_premium": { "type": "number", "description": "/**\n * The maximum number of\n * channels\n * and supergroups a\n * Premium\n * user may join (integer)\n */" }, "saved_gifs_limit_default": { "type": "number", "description": "/**\n * The maximum number of GIFs a\n * non-Premium\n * user may save (integer)\n */" }, "saved_gifs_limit_premium": { "type": "number", "description": "/**\n * The maximum number of GIFs a\n * Premium\n * user may save (integer)\n */" }, "stickers_faved_limit_default": { "type": "number", "description": "/**\n * The maximum number of stickers a\n * non-Premium\n * user may\n * add\n * to Favorites » (integer)\n */" }, "stickers_faved_limit_premium": { "type": "number", "description": "/**\n * The maximum number of stickers a\n * Premium\n * user may\n * add\n * to Favorites » (integer)\n */" }, "dialog_filters_limit_default": { "type": "number", "description": "/**\n * The maximum number of\n * folders\n * a\n * non-Premium\n * user may create (integer)\n */" }, "dialog_filters_limit_premium": { "type": "number", "description": "/**\n * The maximum number of\n * folders\n * a\n * Premium\n * user may create (integer)\n */" }, "dialog_filters_chats_limit_default": { "type": "number", "description": "/**\n * The maximum number of chats a\n * non-Premium\n * user may add to a\n * folder\n * (integer)\n */" }, "dialog_filters_chats_limit_premium": { "type": "number", "description": "/**\n * The maximum number of chats a\n * Premium\n * user may add to a\n * folder\n * (integer)\n */" }, "dialogs_pinned_limit_default": { "type": "number", "description": "/**\n * The maximum number of chats a\n * non-Premium\n * user may pin (integer)\n */" }, "dialogs_pinned_limit_premium": { "type": "number", "description": "/**\n * The maximum number of chats a\n * Premium\n * user may pin (integer)\n */" }, "dialogs_folder_pinned_limit_default": { "type": "number", "description": "/**\n * The maximum number of chats a\n * non-Premium\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 * Premium\n * user may pin in a folder (integer)\n */" }, "channels_public_limit_default": { "type": "number", "description": "/**\n * The maximum number of public\n * channels\n * or supergroups a\n * non-Premium\n * user may create (integer)\n */" }, "channels_public_limit_premium": { "type": "number", "description": "/**\n * The maximum number of public\n * channels\n * or supergroups a\n * Premium\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-Premium\n * users (integer)\n */" }, "caption_length_limit_premium": { "type": "number", "description": "/**\n * The maximum UTF-8 length of media captions sendable by\n * Premium\n * users (integer)\n */" }, "upload_max_fileparts_default": { "type": "number", "description": "/**\n * The maximum number of file parts uploadable by\n * non-Premium\n * users (integer, the maximum file size can be extrapolated by\n * multiplying this value by 524288
, the biggest\n * possible chunk size)\n */" }, "upload_max_fileparts_premium": { "type": "number", "description": "/**\n * The maximum number of file parts uploadable by\n * Premium\n * users (integer, the maximum file size can be extrapolated by\n * multiplying this value by 524288
, 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-Premium\n * users (integer)\n */" }, "about_length_limit_premium": { "type": "number", "description": "/**\n * The maximum UTF-8 length of bios of\n * Premium\n * users (integer)\n */" }, "premium_promo_order": { "type": "string[]", "description": "/**\n * Array of string identifiers, indicating the order of\n * Telegram\n * Premium features in the Telegram Premium promotion\n * popup,\n * see\n * here for the possible values »\n */" }, "premium_bot_username": { "type": "string", "description": "/**\n * Contains the username of the official\n * Telegram\n * Premium bot that may be used to buy a\n * Telegram\n * Premium subscription, see\n * here for\n * detailed instructions » (string)\n */" }, "premium_invoice_slug": { "type": "string", "description": "/**\n * Contains an\n * invoice\n * slug that may be used to buy a\n * Telegram\n * Premium subscription, see\n * here for\n * detailed instructions » (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 * Telegram\n * Premium 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 /
icon in\n * chats with bots), offering the current user to gift a\n * Telegram\n * Premium subscription to the other user in the chat. Can\n * only be true if premium_gift_attach_menu_icon
\n * is also true. (boolean)\n */" }, "chatlist_update_period": { "type": "number", "description": "/**\n * Users that import a folder using a\n * chat\n * folder deep link » should retrieve additions made to the\n * folder by invoking\n * {@link chatlists.RawGetChatlistUpdatesRequest} at most every\n * chatlist_update_period
seconds. (integer)\n */" }, "chatlist_invites_limit_default": { "type": "number", "description": "/**\n * Maximum number of per-folder\n * chat\n * folder deep links » that can be created by\n * non-Premium\n * users. (integer)\n */" }, "chatlist_invites_limit_premium": { "type": "number", "description": "/**\n * Maximum number of per-folder\n * chat\n * folder deep links » that can be created by\n * Premium\n * users. (integer)\n */" }, "chatlists_joined_limit_default": { "type": "number", "description": "/**\n * Maximum number of\n * shareable\n * folders\n * non-Premium\n * users may have. (integer)\n */" }, "chatlists_joined_limit_premium": { "type": "number", "description": "/**\n * Maximum number of\n * shareable\n * folders\n * Premium\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 * unconfirmed\n * session » 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 only to\n * non-Premium\n * users,\n * Premium\n * users can always access the viewer list.\n */" }, "story_expiring_limit_default": { "type": "number", "description": "/**\n * The maximum number of active\n * stories\n * for\n * non-Premium\n * users (integer).\n */" }, "story_expiring_limit_premium": { "type": "number", "description": "/**\n * The maximum number of active\n * stories\n * for\n * Premium\n * users (integer).\n */" }, "story_caption_length_limit_premium": { "type": "number", "description": "/**\n * The maximum UTF-8 length of story captions for\n * Premium\n * users. (integer)\n */" }, "story_caption_length_limit_default": { "type": "number", "description": "/**\n * The maximum UTF-8 length of story captions for\n * non-Premium\n * users. (integer)\n */" }, "stories_posting": { "type": "string", "description": "/**\n * Indicates whether users can post stories. (string)One of:\n * enabled
- Any user can post stories.\n * premium
- Only users with a\n * Premium\n * subscription can post stories.\n * disabled
- Users can't post stories.\n * \n */" }, "stories_stealth_past_period": { "type": "number", "description": "/**\n * Enabling\n * stories\n * stealth mode with the past
flag will erase\n * views of any story opened in the past\n * stories_stealth_past_period
seconds. (integer)\n */" }, "stories_stealth_future_period": { "type": "number", "description": "/**\n * Enabling\n * stories\n * stealth mode with the future
flag will hide\n * views of any story opened in the next\n * stories_stealth_future_period
seconds.\n * (integer)\n */" }, "stories_stealth_cooldown_period": { "type": "number", "description": "/**\n * After enabling\n * stories\n * stealth mode, 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-Premium\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 * Premium\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-Premium\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 * Premium\n * users. (integer)\n */" }, "stories_suggested_reactions_limit_default": { "type": "number", "description": "/**\n * Maximum number of\n * story\n * reaction media areas » that can be added to a story by\n * non-Premium\n * users. (integer)\n */" }, "stories_suggested_reactions_limit_premium": { "type": "number", "description": "/**\n * Maximum number of\n * story\n * reaction media areas » that can be added to a story by\n * Premium\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 * here\n * » 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 * active\n * or active and hidden stories bar just like for contacts,\n * even if the user was removed from the contact list.\n * (integer, defaults to 777000
)\n */" }, "stories_entities": { "type": "string", "description": "/**\n * Whether\n * styled\n * text entities and links in story text captions can be\n * used by all users (enabled
), only\n * [Premium](/api/premium users) (premium
), or no\n * one (disabled
). (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 * Premium\n * subscription has expired (if stories_entities ==\n * \"premium\"
and {@link RawUser}.premium
is\n * not set, or if stories_entities == \"disabled\"
).\n * \n */" }, "giveaway_gifts_purchase_available": { "type": "boolean", "description": "/**\n * Whether\n * giveaways\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 * direct\n * giveaway. (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 * giveaway.\n * (itneger)\n */" }, "giveaway_boosts_per_premium": { "type": "number", "description": "/**\n * The number of\n * boosts\n * that will be gained by a channel for each winner of a\n * giveaway.\n * (integer)\n */" }, "giveaway_period_max": { "type": "number", "description": "/**\n * The maximum duration in seconds of a\n * giveaway.\n * (integer)\n */" }, "boosts_channel_level_max": { "type": "number", "description": "/**\n * Maximum\n * boost\n * level for channels. (integer)\n */" }, "boosts_per_sent_gift": { "type": "number", "description": "/**\n * The number of additional\n * boost\n * slots that the current user will receive when\n * gifting\n * a Telegram Premium subscription. \n */" }, "transcribe_audio_trial_weekly_number": { "type": "number", "description": "/**\n * The maximum number of\n * speech\n * recognition » calls per week for\n * non-Premium\n * users. (integer)\n */" }, "transcribe_audio_trial_duration_max": { "type": "number", "description": "/**\n * The maximum allowed duration of media in seconds for\n * speech\n * recognition » for\n * non-Premium\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-Premium\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 * Premium\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 * boost\n * level », channels gain the ability to change their\n * message\n * accent palette emoji ». (integer)\n */" }, "channel_profile_bg_icon_level_min": { "type": "number", "description": "/**\n * After reaching at least this\n * boost\n * level », channels gain the ability to change their\n * profile\n * accent palette emoji ». (integer)\n */" }, "channel_emoji_status_level_min": { "type": "number", "description": "/**\n * After reaching at least this\n * boost\n * level », channels gain the ability to change their\n * status\n * emoji ». (integer)\n */" }, "channel_wallpaper_level_min": { "type": "number", "description": "/**\n * After reaching at least this\n * boost\n * level », channels gain the ability to set a\n * fill\n * channel wallpaper, see here » for more info. (integer)\n */" }, "channel_custom_wallpaper_level_min": { "type": "number", "description": "/**\n * After reaching at least this\n * boost\n * level », channels gain the ability to set any custom\n * wallpaper,\n * not just\n * fill\n * channel wallpapers, see here » for more info. (integer)\n */" }, "saved_dialogs_pinned_limit_default": { "type": "number", "description": "/**\n * Maximum number of pinned dialogs in\n * saved\n * messages for\n * non-Premium\n * users. (integer)\n */" }, "saved_dialogs_pinned_limit_premium": { "type": "number", "description": "/**\n * Maximum number of pinned dialogs in\n * saved\n * messages for\n * Premium\n * users. (integer)\n */" } }