diff --git a/data/web/corefork.telegram.org/api/business.html b/data/web/corefork.telegram.org/api/business.html index 44ddbb2b8e..2093cd1f56 100644 --- a/data/web/corefork.telegram.org/api/business.html +++ b/data/web/corefork.telegram.org/api/business.html @@ -421,7 +421,7 @@ Clicking on this button in the settings should open a Telegram Business modal.
  • business_bots - Business users can connect business bots to their account
  • emoji_status - Business users can set a custom emoji status.
  • folder_tags - Business users can enable folder tags.
  • -
  • stories - Business users have many additional story features.
  • +
  • stories - Business users can use stories to showcase products (i.e. no additional functionality neeeds to be implemented by clients, it's just another way to use stories).
  • diff --git a/data/web/corefork.telegram.org/api/config.html b/data/web/corefork.telegram.org/api/config.html index 19901f101e..ba7fdee665 100644 --- a/data/web/corefork.telegram.org/api/config.html +++ b/data/web/corefork.telegram.org/api/config.html @@ -373,6 +373,8 @@ While help.getConfig returns MTProto-specif "stories_pinned_to_top_count_max": 3, "can_edit_factcheck": false, "factcheck_length_limit": 1024, + "channel_revenue_withdrawal_enabled": true, + "stars_purchase_blocked": true, "web_app_allowed_protocols": [ "http", "https" @@ -656,7 +658,11 @@ Note that the stickerset can be fetched using upload_premium_speedup_notify_period

    The Premium modal shown when receiving FLOOD_WAIT_PREMIUM_X errors during file uploads/downloads should be shown at most every upload_premium_speedup_notify_period seconds. (integer)

    stories_pinned_to_top_count_max

    -

    The maximum number of stories that can be pinned on top of the profile ».

    +

    The maximum number of stories that can be pinned on top of the profile ». (integer)

    +

    channel_revenue_withdrawal_enabled

    +

    If true, indicates that channel ad revenue withdrawal is enabled in the current region; otherwise, all ad revenue-related UI options should be hidden from the user. (boolean)

    +

    stars_purchase_blocked

    +

    If false, indicates that Telegram Stars may be used in the current region; otherwise, all Star-related UI options should be hidden from the user. (boolean)

    web_app_allowed_protocols

    Specifies a list of allowed schemes for URLs received in web_app_open_link events. (array of strings)

    Suggestions

    diff --git a/data/web/corefork.telegram.org/api/revenue.html b/data/web/corefork.telegram.org/api/revenue.html index 2b185b0bb6..992daff4dd 100644 --- a/data/web/corefork.telegram.org/api/revenue.html +++ b/data/web/corefork.telegram.org/api/revenue.html @@ -68,7 +68,7 @@ stats.getBroadcastRevenueStats#75dfb671 flags:# dark:flags.0?true channel:InputChannel = stats.BroadcastRevenueStats; stats.getBroadcastRevenueTransactions#69280f channel:InputChannel offset:int limit:int = stats.BroadcastRevenueTransactions; -

    Channel ad revenue statistics may be fetched by channel admins if the channelFull.can_view_revenue flag is set.

    +

    Channel ad revenue statistics may be fetched by channel admins if the channelFull.can_view_revenue flag is set and the channel_revenue_withdrawal_enabled field is equal to true ».

    Use stats.getBroadcastRevenueStats to fetch statistics about the revenue earned from sponsored messages in a channel; the returned StatsGraph graphs can be rendered as described here ».

    Specifically: