From 596b53adbd376eacd2978d32404014dc59f5432e Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Fri, 14 Oct 2022 11:50:52 +0000 Subject: [PATCH] Update content of files --- data/web/corefork.telegram.org/api/premium.html | 1 + data/web/corefork.telegram.org/api/web-events.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/data/web/corefork.telegram.org/api/premium.html b/data/web/corefork.telegram.org/api/premium.html index efce5af82e..d990e23c61 100644 --- a/data/web/corefork.telegram.org/api/premium.html +++ b/data/web/corefork.telegram.org/api/premium.html @@ -132,6 +132,7 @@ Then, when the user clicks on the subscribe button in the sent invoice, follow t
  • Otherwise, if the premium_invoice_slug field is set, handle the payment as you would handle a t.me/$premium_invoice_slug invoice deep link.
  • +

    There is also a store-based subscription flow based on payments.assignAppStoreTransaction/payments.assignPlayMarketTransaction, but it's currently not available to third-party apps (unlike the flow described above, which can be used by all clients).

    Gifting Telegram Premium

    userFull#c4b1fc3f flags:# blocked:flags.0?true phone_calls_available:flags.4?true phone_calls_private:flags.5?true can_pin_message:flags.7?true has_scheduled:flags.12?true video_calls_available:flags.13?true voice_messages_forbidden:flags.20?true id:long about:flags.1?string settings:PeerSettings profile_photo:flags.2?Photo notify_settings:PeerNotifySettings bot_info:flags.3?BotInfo pinned_msg_id:flags.6?int common_chats_count:int folder_id:flags.11?int ttl_period:flags.14?int theme_emoticon:flags.15?string private_forward_name:flags.16?string bot_group_admin_rights:flags.17?ChatAdminRights bot_broadcast_admin_rights:flags.18?ChatAdminRights premium_gifts:flags.19?Vector<PremiumGiftOption> = UserFull;
     
    diff --git a/data/web/corefork.telegram.org/api/web-events.html b/data/web/corefork.telegram.org/api/web-events.html
    index f2681e7b49..9cbc0dde8e 100644
    --- a/data/web/corefork.telegram.org/api/web-events.html
    +++ b/data/web/corefork.telegram.org/api/web-events.html
    @@ -44,7 +44,7 @@
       
       
    -

    When interacting with HTML5 games and the websites of payment gateways, Telegram apps should expose APIs to allow receiving data and events from the websites.

    +

    When interacting with HTML5 games, websites of payment gateways and bot web apps, Telegram apps should expose APIs to allow receiving data and events from the websites.

    Event APIs

    Games and payment gateways can generate events that are meant to be received by the Telegram apps. Typically events are generated by using the postEvent method of the GamingCommunication library, or by the bot web apps library.