Optionalabout_Optionalabout_The maximum UTF-8 length of bios of Premium users (integer)
Optionalauthorization_An unconfirmed session » will be autoconfirmed this many seconds after login. (integer)
Optionalautoarchive_Whether clients can invoke account.RawSetGlobalPrivacySettingsRequest with RawGlobalPrivacySettings, to automatically archive and mute new incoming chats from non-contacts. (boolean)
Optionalautologin_A list of Telegram domains that support automatic login with no user confirmation, click here for more info on URL authorization ». (array of strings)
Optionalbackground_Whether app clients should start a background TCP connection for MTProto update fetching (boolean)
Optionalboosts_Maximum boost level for channels. (integer)
Optionalboosts_The number of additional boost slots that the current user will receive when gifting a Telegram Premium subscription.
Optionalcaption_The maximum UTF-8 length of media captions sendable by non-Premium users (integer)
Optionalcaption_The maximum UTF-8 length of media captions sendable by Premium users (integer)
Optionalchannel_After reaching at least this boost level », channels gain the ability to change their message accent palette emoji ». (integer)
Optionalchannel_After reaching at least this boost level », channels gain the ability to set any custom wallpaper, not just fill channel wallpapers, see here » for more info. (integer)
Optionalchannel_After reaching at least this boost level », channels gain the ability to change their status emoji ». (integer)
Optionalchannel_After reaching at least this boost level », channels gain the ability to change their profile accent palette emoji ». (integer)
Optionalchannel_After reaching at least this boost level », channels gain the ability to set a fill channel wallpaper, see here » for more info. (integer)
Optionalchannels_The maximum number of channels and supergroups a non-Premium user may join (integer)
Optionalchannels_The maximum number of channels and supergroups a Premium user may join (integer)
Optionalchannels_The maximum number of public channels or supergroups a non-Premium user may create (integer)
Optionalchannels_The maximum number of public channels or supergroups a Premium user may create (integer)
Optionalchat_To protect user privacy, read receipts for chats are only
stored for chat_read_mark_expire_period seconds
after the message was sent. (integer)
Optionalchat_Per-user read receipts, fetchable using
messages.RawGetMessageReadParticipantsRequest, will
be available in groups with an amount of participants less
or equal to chat_read_mark_size_threshold.
(integer)
Optionalchatlist_Maximum number of per-folder chat folder deep links » that can be created by non-Premium users. (integer)
Optionalchatlist_Maximum number of per-folder chat folder deep links » that can be created by Premium users. (integer)
Optionalchatlist_Users that import a folder using a
chat
folder deep link » should retrieve additions made to the
folder by invoking
chatlists.RawGetChatlistUpdatesRequest at most every
chatlist_update_period seconds. (integer)
Optionalchatlists_Maximum number of shareable folders non-Premium users may have. (integer)
Optionalchatlists_Maximum number of shareable folders Premium users may have. (integer)
Optionaldefault_Default emoji status stickerset ID. (integer)
Note that the stickerset can be fetched using RawInputStickerSetEmojiDefaultStatuses.
Optionaldialog_Optionaldialog_Optionaldialog_Whether clients should show an option for managing dialog filters AKA folders (boolean)
Optionaldialog_Optionaldialog_Optionaldialog_Whether clients should actively show a tooltip, inviting the user to configure dialog filters AKA folders; typically this happens when the chat list is long enough to start getting cluttered. (boolean)
Optionaldialogs_The maximum number of chats a non-Premium user may pin in a folder (integer)
Optionaldialogs_The maximum number of chats a Premium user may pin in a folder (integer)
Optionaldialogs_The maximum number of chats a non-Premium user may pin (integer)
Optionaldialogs_The maximum number of chats a Premium user may pin (integer)
Optionalemojies_Animated emojis and animated dice should be scaled by this factor before being shown to the user (float)
Optionalemojies_A list of supported animated dice stickers (array of strings).
Optionalemojies_For
animated
dice emojis other than the basic
, indicates the winning dice value and
the final frame of the animated sticker, at which to show
the fireworks
(object with emoji keys and object
values, containing value and
frame_start float values)
Optionalemojies_A map of soundbites to be played when the user clicks on the specified animated emoji; the file reference field should be base64-decoded before downloading the file (map of file IDs (RawInputDocument.id), with emoji string keys)
Optionalfragment_List of phone number prefixes for anonymous Fragment phone numbers. (array of strings).
Optionalgif_Specifies the name of the service providing GIF search through gif_search_username (string)
Optionalgif_Specifies a list of emojis that should be suggested as search term in a bar above the GIF search box (array of string emojis)
Optionalgiveaway_The maximum number of users that can be specified when making a direct giveaway. (integer)
Optionalgiveaway_Optionalgiveaway_The maximum number of countries that can be specified when restricting the set of participating countries in a giveaway. (itneger)
Optionalgiveaway_Whether giveaways can be started by the current user. (boolean)
Optionalgiveaway_The maximum duration in seconds of a giveaway. (integer)
Optionalgroupcall_Maximum number of participants in a group call (livestreams allow ∞ participants) (integer)
Optionalhidden_Minimum number of participants required to hide the participants list of a supergroup using channels.RawToggleParticipantsHiddenRequest. (integer)
Optionalkeep_Whether app clients should start a keepalive service to keep the app running and fetch updates even when the app is closed (boolean)
Optionallarge_A soft limit, specifying the maximum number of files that should be downloaded in parallel from the same DC, for files bigger than 20MB. (integer)
Optionalmessage_The maximum number of custom emojis that may be present in a message. (integer)
Optionalpending_Contains a list of suggestions that should be actively shown as a tooltip to the user. (Array of strings, possible values shown in the suggestions section ».
Optionalpm_To protect user privacy, read receipts for private chats are
only stored for pm_read_date_expire_period
seconds after the message was sent. (integer)
Optionalpremium_Contains the username of the official Telegram Premium bot that may be used to buy a Telegram Premium subscription, see here for detailed instructions » (string)
Optionalpremium_Whether a gift icon should be shown in the attachment menu in private chats with users, offering the current user to gift a Telegram Premium subscription to the other user in the chat. (boolean)
Optionalpremium_Whether a gift icon should be shown in the text bar in
private chats with users (ie like the / icon in
chats with bots), offering the current user to gift a
Telegram
Premium subscription to the other user in the chat. Can
only be true if premium_gift_attach_menu_icon
is also true. (boolean)
Optionalpremium_Contains an invoice slug that may be used to buy a Telegram Premium subscription, see here for detailed instructions » (string)
Optionalpremium_Array of string identifiers, indicating the order of Telegram Premium features in the Telegram Premium promotion popup, see here for the possible values »
Optionalpremium_The user can't purchase Telegram Premium. The app must also hide all Premium features, including stars for other users, et cetera. (boolean)
Optionalqr_Whether the Settings->Devices menu should show an option to scan a QR login code (boolean)
Optionalqr_Whether the login screen should show a QR code login option, possibly as default login method (string, "disabled", "primary" or "secondary")
Optionalquote_Maximum UTF-8 length of RawInputReplyToMessage. (integer)
Optionalreactions_Maximum number of reactions that can be marked as allowed in a chat using RawChatReactionsSome. (integer)
Optionalreactions_Maximum number of unique reactions for any given message:
for example, if there are 2000
and 1000 custom emoji
reactions and
reactions_uniq_max = 2, you can't add a
reaction, because that would raise the
number of unique reactions to 3 > 2. (integer)
Optionalreactions_Maximum number of reactions that can be added to a single message by a non-Premium user. (integer)
Optionalreactions_Maximum number of reactions that can be added to a single message by a Premium user. (integer)
Optionalrecommended_The maximum number of similar channels that can be recommended by channels.RawGetChannelRecommendationsRequest to non-Premium users. (integer)
Optionalrecommended_The maximum number of similar channels that can be recommended by channels.RawGetChannelRecommendationsRequest to Premium users. (integer)
Optionalringtone_The maximum duration in seconds of uploadable notification sounds » (integer)
Optionalringtone_The maximum number of saveable notification sounds »
Optionalringtone_The maximum post-conversion size in bytes of uploadable notification sounds »
Optionalround_Contains a set of recommended codec parameters for round videos. (object, as described in the example)
Optionalsaved_Maximum number of pinned dialogs in saved messages for non-Premium users. (integer)
Optionalsaved_Maximum number of pinned dialogs in saved messages for Premium users. (integer)
Optionalsaved_The maximum number of GIFs a non-Premium user may save (integer)
Optionalsaved_The maximum number of GIFs a Premium user may save (integer)
Optionalsmall_A soft limit, specifying the maximum number of files that should be downloaded in parallel from the same DC, for files smaller than 20MB. (integer)
Optionalstickers_Specifies the validity period of the local cache of messages.RawGetStickersRequest, also relevant when generating the pagination hash when invoking the method. (integer)
Optionalstickers_Specifies that the app should not display local sticker suggestions » for emojis at all and just use the result of messages.RawGetStickersRequest (bool)
Optionalstickers_The maximum number of stickers a non-Premium user may add to Favorites » (integer)
Optionalstickers_The maximum number of stickers a Premium user may add to Favorites » (integer)
Optionalstickers_For Premium users, used to define the suggested sticker list, see the sticker docs for more info (integer, defaults to 2)
Optionalstickers_Defines how many Premium stickers to show in the sticker suggestion popup when entering an emoji into the text field, see the sticker docs for more info (integer, defaults to 0)
Optionalstories_ID of the official Telegram user that will post stories
about new Telegram features: stories posted by this user
should be shown on the
active
or active and hidden stories bar just like for contacts,
even if the user was removed from the contact list.
(integer, defaults to 777000)
Optionalstories_Whether
styled
text entities and links in story text captions can be
used by all users (enabled), only
[Premium](/api/premium users) (premium), or no
one (disabled). (string)This field is used both
when posting stories, to indicate to the user whether they
can use entities, and when viewing stories, to hide entities
(client-side) on stories posted by users whose
Premium
subscription has expired (if stories_entities ==
"premium" and RawUser.premium is
not set, or if stories_entities == "disabled").
Optionalstories_Indicates whether users can post stories. (string)One of:
enabled - Any user can post stories.premium - Only users with a
Premium
subscription can post stories.disabled - Users can't post stories.Optionalstories_Maximum number of stories that can be sent in a month by non-Premium users. (integer)
Optionalstories_Maximum number of stories that can be sent in a month by Premium users. (integer)
Optionalstories_Maximum number of stories that can be sent in a week by non-Premium users. (integer)
Optionalstories_Maximum number of stories that can be sent in a week by Premium users. (integer)
Optionalstories_After enabling stories stealth mode, this many seconds must elapse before the user is allowed to enable it again. (integer)
Optionalstories_Enabling
stories
stealth mode with the future flag will hide
views of any story opened in the next
stories_stealth_future_period seconds.
(integer)
Optionalstories_Enabling
stories
stealth mode with the past flag will erase
views of any story opened in the past
stories_stealth_past_period seconds. (integer)
Optionalstories_Maximum number of story reaction media areas » that can be added to a story by non-Premium users. (integer)
Optionalstories_Maximum number of story reaction media areas » that can be added to a story by Premium users. (integer)
Optionalstories_Username of the inline bot to use to generate venue location tags for stories, see here » for more info. (string)
Optionalstory_The maximum UTF-8 length of story captions for non-Premium users. (integer)
Optionalstory_The maximum UTF-8 length of story captions for Premium users. (integer)
Optionalstory_Optionalstory_Optionalstory_Optionaltelegram_Minimum number of group members required to enable native antispam functionality. (integer)
Optionaltelegram_The ID of the official native antispam bot, that will automatically delete spam messages if enabled as specified in the native antispam documentation ».
When fetching the admin list of a supergroup using channels.RawGetParticipantsRequest, if native antispam functionality in the specified supergroup, the bot should be manually added to the admin list displayed to the user. (numeric string that represents a Telegram user/bot ID, should be casted to an int64)
Optionaltopics_Optionaltranscribe_The maximum allowed duration of media in seconds for speech recognition » for non-Premium users. (integer)
Optionaltranscribe_The maximum number of speech recognition » calls per week for non-Premium users. (integer)
Optionalupload_The maximum number of file parts uploadable by
non-Premium
users (integer, the maximum file size can be extrapolated by
multiplying this value by 524288, the biggest
possible chunk size)
Optionalupload_The maximum number of file parts uploadable by
Premium
users (integer, the maximum file size can be extrapolated by
multiplying this value by 524288, the biggest
possible chunk size)
Optionalurl_A list of domains that support automatic login with manual user confirmation, click here for more info on URL authorization ». (array of strings)
Optionalwhitelisted_A list of Telegram domains that can always be opened without
additional user confirmation, when clicking on in-app links
where the URL is not fully displayed (i.e.
RawMessageEntityTextUrl entities). (array of
strings)Note that when opening
named
Mini App links for the first time, confirmation should
still be requested from the user, even if the domain of the
containing deep link is whitelisted (i.e.
t.me/<bot_username>/<short_name>?startapp=<start_parameter>,
where t.me is whitelisted). Confirmation
should always be asked, even if we already
opened the
named
Mini App before, if the link is not visible (i.e.
RawMessageEntityTextUrl text links, inline buttons
etc.).
The maximum UTF-8 length of bios of non-Premium users (integer)