From c9b899930c8a40fc676cd8a18a1e4fb6a1190e81 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Tue, 30 Jul 2024 17:14:07 +0000 Subject: [PATCH] Update content of files --- .../corefork.telegram.org/api/business.html | 2 +- .../web/corefork.telegram.org/api/config.html | 8 +- .../corefork.telegram.org/api/revenue.html | 4 +- data/web/corefork.telegram.org/api/stars.html | 1 + ...ccount.getChannelDefaultEmojiStatuses.html | 4 +- ...ount.getChannelRestrictedStatusEmojis.html | 4 +- .../method/account.getChatThemes.html | 4 +- .../account.getDefaultBackgroundEmojis.html | 4 +- .../account.getDefaultEmojiStatuses.html | 4 +- .../account.getDefaultGroupPhotoEmojis.html | 4 +- .../account.getDefaultProfilePhotoEmojis.html | 4 +- .../account.getRecentEmojiStatuses.html | 4 +- .../method/account.getSavedRingtones.html | 6 +- .../method/account.getThemes.html | 6 +- .../method/account.getWallPapers.html | 4 +- .../method/account.sendVerifyEmailCode.html | 5 + .../method/account.verifyEmail.html | 5 + .../method/channels.editAdmin.html | 2 +- .../method/channels.leaveChannel.html | 2 +- .../method/help.getAppConfig.html | 4 +- .../method/help.getCountriesList.html | 6 +- .../method/help.getPassportConfig.html | 4 +- .../method/help.getPeerColors.html | 4 +- .../method/help.getPeerProfileColors.html | 4 +- .../method/help.getTimezonesList.html | 4 +- .../method/messages.getAllStickers.html | 6 +- .../method/messages.getAttachMenuBots.html | 4 +- .../method/messages.getAvailableEffects.html | 4 +- .../messages.getAvailableReactions.html | 4 +- .../messages.getDefaultTagReactions.html | 4 +- .../method/messages.getEmojiGroups.html | 4 +- .../messages.getEmojiProfilePhotoGroups.html | 4 +- .../method/messages.getEmojiStatusGroups.html | 4 +- .../messages.getEmojiStickerGroups.html | 4 +- .../method/messages.getEmojiStickers.html | 4 +- .../method/messages.getFavedStickers.html | 6 +- .../messages.getFeaturedEmojiStickers.html | 6 +- .../method/messages.getFeaturedStickers.html | 6 +- .../method/messages.getMaskStickers.html | 6 +- .../messages.getOldFeaturedStickers.html | 6 +- .../method/messages.getRecentReactions.html | 4 +- .../method/messages.getRecentStickers.html | 6 +- .../method/messages.getSavedGifs.html | 6 +- .../method/messages.getSavedReactionTags.html | 6 +- .../method/messages.getStickers.html | 6 +- .../method/messages.getTopReactions.html | 4 +- .../method/messages.searchCustomEmoji.html | 4 +- .../messages.searchEmojiStickerSets.html | 4 +- .../method/messages.searchStickerSets.html | 6 +- .../method/messages.sendMultiMedia.html | 9 +- .../method/phone.startScheduledGroupCall.html | 10 +- .../mtproto/samples-auth_key.html | 412 +++++++++--------- 52 files changed, 301 insertions(+), 351 deletions(-) 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: