diff --git a/data/web/corefork.telegram.org/api/layers.html b/data/web/corefork.telegram.org/api/layers.html index 937ac1a3ca..df0b3c0270 100644 --- a/data/web/corefork.telegram.org/api/layers.html +++ b/data/web/corefork.telegram.org/api/layers.html @@ -47,6 +47,15 @@
Below you will find information on schema changes. For more details on the use of layers, see Invoking API methods.
Custom emoji statuses, custom emoji message reactions, login via email, Telegram Premium improvements.
+Added the following brand new documentation articles:
+Also added more details on entity length calculation and AUTH_KEY_DUPLICATED
errors.
The RPC error database » was also updated.
Users can now send custom emojis, gift Telegram Premium to other users, and download album covers for any music file.
Also introducing new voice message privacy settings and support for additional payment methods.
The E2E schema was updated to account for previous changes in the main schema (custom emojis+spoiler entities).
-Added the following brand new documentation articles:
-Also added more details on entity length calculation and AUTH_KEY_DUPLICATED
errors.
The RPC error database » was also updated.
infinite_reactions
- Premium users can use custom emojis when reacting to messages.emoji_status
- Premium users can set a status emoji.The help.premiumPromo constructor returned by help.getPremiumPromo also contains the following fields:
-status_text
+status_entities
- The current subscription status (with associated styled text entities), to be shown in the modal header. video_sections
+videos
- A list of videos, and the corresponding premium feature identifiers.video_section
and values from videos
.video_sections
correspond to a specific feature identifier, and the associated promotional video should be shown when the associated feature row is clicked.currency
- Three-letter ISO 4217 currency code.monthly_amount
- Monthly price of the subscription in the smallest units of the currency (integer, not float/double). For example, for a price of US$ 1.45
pass amount = 145
. See the exp parameter in currencies.json, it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).The help.premiumPromo constructor returned by help.getPremiumPromo contains various info about the subscription, as described in the constructor page.
What follows is a list of appConfig integer config parameters.
Note that whenever config keys end with a *
in the following list, the *
should be replaced with premium
or default
, to fetch the appropriate limit value for Premium and non-Premium users.
Telegram Premium promotion information
+Note that the video_sections
+videos
fields are a list of videos, and the corresponding premium feature identifiers.
+They're equivalent to a section => video dictionary, with keys from video_section
and values from videos
.
+The keys in video_sections
correspond to a specific feature identifier, and the associated promotional video should be shown when the associated feature row is clicked.