diff --git a/data/web/corefork.telegram.org/api/config.html b/data/web/corefork.telegram.org/api/config.html index 65c1282f09..fcd1d21dd0 100644 --- a/data/web/corefork.telegram.org/api/config.html +++ b/data/web/corefork.telegram.org/api/config.html @@ -684,6 +684,8 @@ Note that the stickerset can be fetched using main mini app previews » that can be added for a localization. (integer)

web_app_allowed_protocols

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

+

ton_proxy_address

+

Specifies the domain name to be used to securely open TON sites ». (string)

Suggestions

The API can return a set of useful suggestions for users of graphical clients.

Basic suggestions

diff --git a/data/web/corefork.telegram.org/api/layers.html b/data/web/corefork.telegram.org/api/layers.html index 67a2cecb25..916519c78b 100644 --- a/data/web/corefork.telegram.org/api/layers.html +++ b/data/web/corefork.telegram.org/api/layers.html @@ -83,6 +83,7 @@
  • Main Mini Apps »
  • Main Mini App previews »
  • Mini App Store »
  • +
  • TON sites »
  • Mini App deep links were removed and replaced with Main Mini App deep links »: (i.e. the syntax of Main Mini App links is equal to the one previously used for Mini App links, but the handling logic has changed).
  • Allow specifying the exact frame to use for video thumbnails/static previews through the new documentAttributeVideo.video_start_ts parameter (especially useful for stories).
    The video_start_ts attribute may also be edited using a new, special editing flow that does not require reuploading the entire story ».
  • diff --git a/data/web/corefork.telegram.org/api/links.html b/data/web/corefork.telegram.org/api/links.html index ca612e2934..d003987b58 100644 --- a/data/web/corefork.telegram.org/api/links.html +++ b/data/web/corefork.telegram.org/api/links.html @@ -90,6 +90,25 @@
  • AND is a valid username
  • ...it should be treated exactly as a t.me/<username>/ link (generate a t.me/<username>/ link and append the rest of the path (if present) and the query string (if present)).

    +

    TON Sites

    +

    Used to open TON Sites using the in-app Telegram Browser.

    +

    Syntax:

    +
    tonsite://somesite.domain/path?query#hash
    +

    Also available without the tonsite:// scheme for .ton domains:

    +
    getting-started.ton/path?query#hash
    +

    In both cases, the #hash part of the URL should not be ignored.

    +

    To open such URLs:

    + +

    The resulting URL should only be opened using the in-app Telegram Browser (i.e. no option should be given to open such links using third party browsers).

    Public username links

    Used to link to public users, groups and channels, see here for more info on how to handle them ».

    t.me syntax: