From f0bddf63415efaf2ad1792bc071ed89825e3744a Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Thu, 1 Sep 2022 18:40:38 +0000 Subject: [PATCH] Update content of files --- data/web/corefork.telegram.org/api/links.html | 21 +++++++++++++++++++ .../corefork.telegram.org/api/wallpapers.html | 3 ++- 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/data/web/corefork.telegram.org/api/links.html b/data/web/corefork.telegram.org/api/links.html index 09f5cb193b..7115ff0067 100644 --- a/data/web/corefork.telegram.org/api/links.html +++ b/data/web/corefork.telegram.org/api/links.html @@ -1018,6 +1018,27 @@ tg://resolve?phone=<phone_number>&attach=<bot_username>&star +

ID links

+

ID links are merely an abstraction offered by the bot API to simplify construction of inputMessageEntityMentionName and inputKeyboardButtonUserProfile constructors, and should be ignored by normal clients.

+

tg: syntax:

+
tg://user?id=<id>
+

Parameters:

+ + + + + + + + + + + + + + + +
NameOptionalDescription
idRequiredUser ID

Unsupported links

If a client encounters a tg: link type not listed on this page, help.getDeepLinkInfo should be invoked with just the path component of the link.

Schema:

diff --git a/data/web/corefork.telegram.org/api/wallpapers.html b/data/web/corefork.telegram.org/api/wallpapers.html index 8a75b583ee..6157b91e86 100644 --- a/data/web/corefork.telegram.org/api/wallpapers.html +++ b/data/web/corefork.telegram.org/api/wallpapers.html @@ -161,7 +161,8 @@ To fetch the list use account.getWallPap To save a wallpaper to the list use account.saveWallPaper with unsave=false.
To remove a wallpaper (including preinstalled wallpapers) from the list use account.saveWallPaper with unsave=true.
To restore the default list, removing all installed wallpapers and reinstalling previously removed preinstalled wallpapers use account.resetWallPapers.

-

When a client sets a wallpaper as the default chat background, call account.installWallPaper to signal this installation to the server.

+

When a client sets a wallpaper as the default chat background, call account.installWallPaper to signal this installation to the server.
+Note that calling this method will also automatically save the wallpaper, if it's not present in the saved wallpapers list.

In all cases where an InputWallPaper constructor is required, pass: