diff --git a/data/web/corefork.telegram.org/api/config.html b/data/web/corefork.telegram.org/api/config.html index 0b5d917165..13c91ad1f2 100644 --- a/data/web/corefork.telegram.org/api/config.html +++ b/data/web/corefork.telegram.org/api/config.html @@ -310,57 +310,57 @@ While help.getConfig returns MTProto-specif
message_animated_emoji_max
Maximum number of custom animated emojis that may be present in a message. (integer)
stickers_premium_by_emoji_num
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)
+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)
stickers_normal_by_emoji_per_premium_num
For Premium users, used to define the suggested sticker list, see the sticker docs for more info (integer, defaults to 2)
+For Premium users, used to define the suggested sticker list, see the sticker docs for more info (integer, defaults to 2)
premium_purchase_blocked
The user can't purchase premium. The app must also hide all Premium features, including stars for other users, et cetera. (boolean)
+The user can't purchase Telegram Premium. The app must also hide all Premium features, including stars for other users, et cetera. (boolean)
channels_limit_default
The maximum number of channels and supergroups a non-Premium user may join (integer)
+The maximum number of channels and supergroups a non-Premium user may join (integer)
channels_limit_premium
The maximum number of channels and supergroups a Premium user may join (integer)
+The maximum number of channels and supergroups a Premium user may join (integer)
saved_gifs_limit_default
The maximum number of GIFs a non-Premium user may save (integer)
+The maximum number of GIFs a non-Premium user may save (integer)
saved_gifs_limit_premium
The maximum number of GIFs a Premium user may save (integer)
+The maximum number of GIFs a Premium user may save (integer)
stickers_faved_limit_default
The maximum number of stickers a non-Premium user may add to Favorites » (integer)
+The maximum number of stickers a non-Premium user may add to Favorites » (integer)
stickers_faved_limit_premium
The maximum number of stickers a Premium user may add to Favorites » (integer)
+The maximum number of stickers a Premium user may add to Favorites » (integer)
dialog_filters_limit_default
The maximum number of folders a non-Premium user may create (integer)
+The maximum number of folders a non-Premium user may create (integer)
dialog_filters_limit_premium
The maximum number of folders a Premium user may create (integer)
+The maximum number of folders a Premium user may create (integer)
dialog_filters_chats_limit_default
The maximum number of chats a non-Premium user may add to a folder (integer)
+The maximum number of chats a non-Premium user may add to a folder (integer)
dialog_filters_chats_limit_premium
The maximum number of chats a Premium user may add to a folder (integer)
+The maximum number of chats a Premium user may add to a folder (integer)
dialogs_pinned_limit_default
The maximum number of chats a non-Premium user may pin (integer)
+The maximum number of chats a non-Premium user may pin (integer)
dialogs_pinned_limit_premium
The maximum number of chats a Premium user may pin (integer)
+The maximum number of chats a Premium user may pin (integer)
dialogs_folder_pinned_limit_default
The maximum number of chats a non-Premium user may pin in a folder (integer)
+The maximum number of chats a non-Premium user may pin in a folder (integer)
dialogs_folder_pinned_limit_premium
The maximum number of chats a Premium user may pin in a folder (integer)
+The maximum number of chats a Premium user may pin in a folder (integer)
channels_public_limit_default
The maximum number of public channels or supergroups a non-Premium user may create (integer)
+The maximum number of public channels or supergroups a non-Premium user may create (integer)
channels_public_limit_premium
The maximum number of public channels or supergroups a Premium user may create (integer)
+The maximum number of public channels or supergroups a Premium user may create (integer)
caption_length_limit_default
The maximum UTF-8 length of media captions sendable by non-Premium users (integer)
+The maximum UTF-8 length of media captions sendable by non-Premium users (integer)
caption_length_limit_premium
The maximum UTF-8 length of media captions sendable by non-Premium users (integer)
+The maximum UTF-8 length of media captions sendable by non-Premium users (integer)
upload_max_fileparts_default
The maximum size of files uploadable by non-Premium users (integer, indicates the number of 512kb file parts, so the size in bytes is determined by multiplying by 524288
)
The maximum size of files uploadable by non-Premium users (integer, indicates the number of 512kb file parts, so the size in bytes is determined by multiplying by 524288
)
upload_max_fileparts_premium
The maximum size of files uploadable by Premium users (integer, indicates the number of 512kb file parts, so the size in bytes is determined by multiplying by 524288
)
The maximum size of files uploadable by Premium users (integer, indicates the number of 512kb file parts, so the size in bytes is determined by multiplying by 524288
)
about_length_limit_default
The maximum UTF-8 length of bios of non-Premium users (integer)
+The maximum UTF-8 length of bios of non-Premium users (integer)
about_length_limit_premium
The maximum UTF-8 length of bios of Premium users (integer)
+The maximum UTF-8 length of bios of Premium users (integer)
premium_promo_order
Array of string identifiers, indicating the order of Telegram Premium features in the Telegram Premimum promotion popup, possible values:
+Array of string identifiers, indicating the order of Telegram Premium features in the Telegram Premimum promotion popup, possible values:
double_limits
- Should open a secondary popup with a list of the default/premium limits mentioned abovemore_upload
- Premium users can upload bigger files, as specified by the upload_max_fileparts_*
config keysapp_icons
- Premium users can change the default icon of the Telegram apppremium_bot_username
Contains the username of the official Telegram Premium bot that may be used to buy a Telegram Premium subscription (string)
+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)
premium_invoice_slug
Contains an invoice slug that may be used to buy a Telegram Premium subscription (string)
+Contains an invoice slug that may be used to buy a Telegram Premium subscription, see here for detailed instructions » (string)
The API can return a set of useful suggestions for users of graphical clients.
On startup, clients should fetch app configuration using help.getAppConfig.
-Then, for each dice emoji contained in the emojies_send_dice
field, clients should fetch the dice emoji stickerset by calling the messages.getStickerSet method, providing the properly populated inputStickerSetDice to the stickerset
field.
+Then, for each dice emoji contained in the emojies_send_dice
field, clients should fetch the dice emoji stickerset by calling the messages.getStickerSet method, providing the properly populated inputStickerSetDice to the stickerset
field.
The returned stickerset will contain a set of animated stickers, one for each of the dice outcomes, plus a first looping sticker that should be shown as preview to the user before actually sending the dice.
If a user attempts to send a single emoji from the ones specified in emojies_send_dice
, the dice should be sent using messages.sendMedia, providing the dice emoji to the emoticon
field.
Incoming dice stickers will be received as a messageMediaDice constructor, along with a randomly generated server-side value, ranging from 1 to the maximum allowed value for this type of dice.
diff --git a/data/web/corefork.telegram.org/api/layers.html b/data/web/corefork.telegram.org/api/layers.html
index fb4afc5b2f..26ac43f071 100644
--- a/data/web/corefork.telegram.org/api/layers.html
+++ b/data/web/corefork.telegram.org/api/layers.html
@@ -170,7 +170,7 @@ Also, discussion group admins can now attachMenuPeerTypeBroadcast - The bot attachment menu entry is available in channels
premium_invoice_slug
app config parameter »premium_invoice_slug
app config parameter »reactions_default
field.reactions_default
field.slug
parameterpremium_invoice_slug
app config parameter »premium_invoice_slug
app config parameter »messages.setDefaultReaction can be used to change the default emoji reaction to use in the quick reaction menu.
-This value is synced across devices and can be fetched using help.getAppConfig, reactions_default
field.
reactions_default
field.
channelAdminLogEventActionChangeAvailableReactions#9cf7f76a prev_value:Vector<string> new_value:Vector<string> = ChannelAdminLogEventAction;
diff --git a/data/web/corefork.telegram.org/api/stickers.html b/data/web/corefork.telegram.org/api/stickers.html
index b410b26e2d..4398740dd8 100644
--- a/data/web/corefork.telegram.org/api/stickers.html
+++ b/data/web/corefork.telegram.org/api/stickers.html
@@ -277,8 +277,8 @@ This method will also emit an
Favorited stickers can be fetched using messages.getFavedStickers: note that this method returns a set of stickerset previews ».
Users can fave only a certain number of stickersets, as specified by the following configuration parameters:
-- Premium users can fave a total of
stickers_faved_limit_premium
stickersets.
-- Non-Premium users can fave a total of
stickers_faved_limit_default
stickersets.
+- Premium users can fave a total of
stickers_faved_limit_premium
stickersets.
+- Non-Premium users can fave a total of
stickers_faved_limit_default
stickersets.
An updateFavedStickers update will be emitted to the other logged-in sessions when faving or unfaving stickersets.
This update should trigger a call to messages.getFavedStickers.
diff --git a/data/web/corefork.telegram.org/api/url-authorization.html b/data/web/corefork.telegram.org/api/url-authorization.html
index eb9fa52698..faa243dcbc 100644
--- a/data/web/corefork.telegram.org/api/url-authorization.html
+++ b/data/web/corefork.telegram.org/api/url-authorization.html
@@ -64,13 +64,13 @@ The same must be done if the user opens the link while refusing the authorizatio
Link URL authorization
Telegram supports automatic authorization on certain websites upon opening an HTTP URL in-app, upon clicking a link in a message or clicking on a keyboardButtonUrl.
Automatic authorization
-Clients should automatically authenticate users when opening official Telegram websites, listed in the autologin_domains
key of the client configuration object ».
-Upon clicking a link, the URL must be modified by appending the autologin_token
from the client configuration object » to the query string, like so:
+Clients should automatically authenticate users when opening official Telegram websites, listed in the autologin_domains
key of the client configuration object ».
+Upon clicking a link, the URL must be modified by appending the autologin_token
» from the client configuration object » to the query string, like so:
Original URL: https://somedomain.telegram.org/path?query=string#fragment=value
Modified URL: https://somedomain.telegram.org/path?query=string&autologin_token=$autologin_token#fragment=value
-Make sure that the used autologin_token
is no more than 10000
seconds old, if it is older it must be refetched before use as described in the client configuration section ».
+Make sure that the used autologin_token
is no more than 10000
seconds old, if it is older it must be refetched before use as described in the client configuration section ».
Manual authorization
-Clients should show a confirmation prompt similar to the one used for bots, to authenticate users when opening certain Telegram websites, listed in the url_auth_domains
key of the client configuration object ».
+Clients should show a confirmation prompt similar to the one used for bots, to authenticate users when opening certain Telegram websites, listed in the url_auth_domains
key of the client configuration object ».
messages.requestUrlAuth should be called, providing only the original url
.
The returned urlAuthResultRequest object will contain more details about the authorization request:
diff --git a/data/web/corefork.telegram.org/constructor/inputInvoiceSlug.html b/data/web/corefork.telegram.org/constructor/inputInvoiceSlug.html
index a603df9b62..6a07cc4151 100644
--- a/data/web/corefork.telegram.org/constructor/inputInvoiceSlug.html
+++ b/data/web/corefork.telegram.org/constructor/inputInvoiceSlug.html
@@ -42,7 +42,7 @@
inputInvoiceSlug
- An invoice slug taken from an invoice deep link or from the premium_invoice_slug
app config parameter »
+ An invoice slug taken from an invoice deep link or from the premium_invoice_slug
app config parameter »
-
diff --git a/data/web/corefork.telegram.org/constructor/messageActionPaymentSent.html b/data/web/corefork.telegram.org/constructor/messageActionPaymentSent.html
index 7c65468506..f605bff7bb 100644
--- a/data/web/corefork.telegram.org/constructor/messageActionPaymentSent.html
+++ b/data/web/corefork.telegram.org/constructor/messageActionPaymentSent.html
@@ -94,7 +94,7 @@
invoice_slug
flags.0?string
-An invoice slug taken from an invoice deep link or from the premium_invoice_slug
app config parameter »
+An invoice slug taken from an invoice deep link or from the premium_invoice_slug
app config parameter »
diff --git a/data/web/corefork.telegram.org/method/messages.getMessageReadParticipants b/data/web/corefork.telegram.org/method/messages.getMessageReadParticipants
index ed4a0814d2..38d87ab6f2 100644
--- a/data/web/corefork.telegram.org/method/messages.getMessageReadParticipants
+++ b/data/web/corefork.telegram.org/method/messages.getMessageReadParticipants
@@ -42,7 +42,7 @@
messages.getMessageReadParticipants
- Get which users read a specific message: only available for groups and supergroups with less than chat_read_mark_size_threshold
members, read receipts will be stored for chat_read_mark_expire_period
seconds after the message was sent, see client configuration for more info ».
+ Get which users read a specific message: only available for groups and supergroups with less than chat_read_mark_size_threshold
members, read receipts will be stored for chat_read_mark_expire_period
seconds after the message was sent, see client configuration for more info ».
-
diff --git a/data/web/corefork.telegram.org/method/messages.setDefaultReaction b/data/web/corefork.telegram.org/method/messages.setDefaultReaction
index bd56c24d74..e7c2684c04 100644
--- a/data/web/corefork.telegram.org/method/messages.setDefaultReaction
+++ b/data/web/corefork.telegram.org/method/messages.setDefaultReaction
@@ -42,7 +42,7 @@
messages.setDefaultReaction
- Change default emoji reaction to use in the quick reaction menu: the value is synced across devices and can be fetched using help.getAppConfig, reactions_default
field.
+ Change default emoji reaction to use in the quick reaction menu: the value is synced across devices and can be fetched using help.getAppConfig, reactions_default
field.
-
diff --git a/data/web/corefork.telegram.org/methods.html b/data/web/corefork.telegram.org/methods.html
index 6b9c475691..f6fb53f30f 100644
--- a/data/web/corefork.telegram.org/methods.html
+++ b/data/web/corefork.telegram.org/methods.html
@@ -749,7 +749,7 @@
messages.getMessageReadParticipants
-Get which users read a specific message: only available for groups and supergroups with less than chat_read_mark_size_threshold
members, read receipts will be stored for chat_read_mark_expire_period
seconds after the message was sent, see client configuration for more info ».
+Get which users read a specific message: only available for groups and supergroups with less than chat_read_mark_size_threshold
members, read receipts will be stored for chat_read_mark_expire_period
seconds after the message was sent, see client configuration for more info ».
messages.addChatUser
@@ -972,7 +972,7 @@
messages.setDefaultReaction
-Change default emoji reaction to use in the quick reaction menu: the value is synced across devices and can be fetched using help.getAppConfig, reactions_default
field.
+Change default emoji reaction to use in the quick reaction menu: the value is synced across devices and can be fetched using help.getAppConfig, reactions_default
field.
messages.getMessagesReactions
diff --git a/data/web/corefork.telegram.org/type/Bool.html b/data/web/corefork.telegram.org/type/Bool.html
index ee67490a63..8e557b30f0 100644
--- a/data/web/corefork.telegram.org/type/Bool.html
+++ b/data/web/corefork.telegram.org/type/Bool.html
@@ -660,7 +660,7 @@
messages.setDefaultReaction
-Change default emoji reaction to use in the quick reaction menu: the value is synced across devices and can be fetched using help.getAppConfig, reactions_default
field.
+Change default emoji reaction to use in the quick reaction menu: the value is synced across devices and can be fetched using help.getAppConfig, reactions_default
field.
messages.toggleBotInAttachMenu
diff --git a/data/web/corefork.telegram.org/type/InputInvoice.html b/data/web/corefork.telegram.org/type/InputInvoice.html
index ec5bcbcf97..5a4c150b21 100644
--- a/data/web/corefork.telegram.org/type/InputInvoice.html
+++ b/data/web/corefork.telegram.org/type/InputInvoice.html
@@ -72,7 +72,7 @@
inputInvoiceSlug
-An invoice slug taken from an invoice deep link or from the premium_invoice_slug
app config parameter »
+An invoice slug taken from an invoice deep link or from the premium_invoice_slug
app config parameter »