diff --git a/data/web/corefork.telegram.org/api/layers.html b/data/web/corefork.telegram.org/api/layers.html index 2ca9c22ae7..50689c11f3 100644 --- a/data/web/corefork.telegram.org/api/layers.html +++ b/data/web/corefork.telegram.org/api/layers.html @@ -127,7 +127,7 @@ Also introducing new Layer 143
Telegram Premium, voice message transcription, invoices, bot description photos/animations, and attachment menu improvements.
Also, discussion group admins can now require users to join before commenting.
The main and E2E schemes were also modified to eventually support uploading and downloading files bigger than 4GB: the current supported maximum filesize is dynamically specified, and can be fetched from the new upload_max_fileparts_default
/upload_max_fileparts_premium
app configuration fields.
The main and E2E schemes were also modified to eventually support uploading and downloading files bigger than 4GB: the current supported maximum filesize is dynamically specified, and can be fetched from the new upload_max_fileparts_default » and upload_max_fileparts_premium » app configuration fields.
If after calling users.getFullUser the resulting userFull constructor has one or more premiumGiftOptions in the premium_gifts
field, we can gift a Telegram Premium subscription to this user.
The premiumGiftOption constructors contain an ordered list of Premium gift offers with discounts over the base price: to process the gift payment open the deep link contained in the bot_url
field.
Once the payment is successfully processed, the user to which the gift was sent will automatically receive a messageService from the user that sent the gift, containing a messageActionGiftPremium constructor with further info about the price and duration of the gifted Telegram Premium subscription.
+Clients should display this message, along with a sticker from the inputStickerSetPremiumGifts stickerset: here's an example.
If the premium_purchase_blocked
app configuration parameter is set, the user can't purchase a Premium account, and all Telegram Premium features must be hidden (like the badges of Premium users, Telegram Premium purchase buttons, and so on).