From c2f61a779d5c4237d7103e42801389d86614c75b Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Thu, 8 Sep 2022 14:31:06 +0000 Subject: [PATCH] Update content of files --- .../corefork.telegram.org/api/premium.html | 4 +- .../method/ħelp.getAppConfig | 118 ------------------ 2 files changed, 2 insertions(+), 120 deletions(-) delete mode 100644 data/web/corefork.telegram.org/method/ħelp.getAppConfig diff --git a/data/web/corefork.telegram.org/api/premium.html b/data/web/corefork.telegram.org/api/premium.html index 0169e909d3..29c7eff42c 100644 --- a/data/web/corefork.telegram.org/api/premium.html +++ b/data/web/corefork.telegram.org/api/premium.html @@ -57,12 +57,12 @@ 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 ».
+

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.

Promo page

Clients should show a Telegram Premium button in the settings.
-Clicking on this button in the settings, clicking on the star of a Premium user or hitting one of the Premium limits listed below should open a Telegram Premium modal.
+Clicking on this button in the settings, clicking on the 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 following Premium features contained in the premium_promo_order appConfig field, and presented in the order dynamically specified by the appConfig.

Note that whenever config keys end with a * in the following list, the * should be replaced with default or premium, to fetch the appropriate limit value for normal and Premium users.