diff --git a/data/web/corefork.telegram.org/api/premium.html b/data/web/corefork.telegram.org/api/premium.html index 7af6ef891f..4811360dff 100644 --- a/data/web/corefork.telegram.org/api/premium.html +++ b/data/web/corefork.telegram.org/api/premium.html @@ -55,11 +55,9 @@ ---functions--- -help.getAppConfig#98914110 = JSONValue; users.getUsers#d91a548 id:Vector<InputUser> = Vector<User>; -

Telegram Premium offers a set of additional features and raised limits: info about them can be fetched using ħelp.getAppConfig, as described in the client configuration page ».
-Use users.getUsers with inputUserSelf to fetch info about the current subscription status from the premium flag of the returned user constructor.

-

The following fields are related to Telegram Premium, and clients should be aware of the current subscription status to eventually modify their behavior accordingly.

+

Telegram Premium offers a set of additional features and raised limits: clients should be aware of the current subscription status to accordingly modify client behavior.

+

Use users.getUsers with inputUserSelf to fetch info about the current subscription status from the premium flag of the returned user constructor.

Promo page

help.premiumPromo#8a4f3c29 status_text:string status_entities:Vector<MessageEntity> video_sections:Vector<string> videos:Vector<Document> currency:string monthly_amount:long users:Vector<User> = help.PremiumPromo;
 
@@ -69,13 +67,16 @@ Use users.getUsers with badge of a Premium user or hitting one of the Premium limits listed below should open a Telegram Premium modal.  

-

This modal should list the Premium features contained in the premium_promo_order appConfig field, and presented in the order dynamically specified by the appConfig.
-help.getPremiumPromo must also be called, to fetch a list of promotional videos to show when clicking on a Premium feature row, and the current subscription status, to be shown in the header of the modal:

+

Call help.getPremiumPromo and help.getAppConfig to fetch info on how to build the premium modal.

+

help.getAppConfig will return a list of Premium features in the premium_promo_order appConfig field, and the modal should contain a row for each feature identifier.

+

The help.premiumPromo constructor returned by help.getPremiumPromo contains the following fields:

Feature identifiers

This list contains the feature identifiers returned in the premium_promo_order appConfig array field.