From 13f7a949237aadcfb74310771be081cb44a2b2be Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Sun, 21 Aug 2022 15:02:39 +0000 Subject: [PATCH] Update content of files --- data/web/corefork.telegram.org/api/links.html | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/data/web/corefork.telegram.org/api/links.html b/data/web/corefork.telegram.org/api/links.html index 8bfe76989b..30db31d77b 100644 --- a/data/web/corefork.telegram.org/api/links.html +++ b/data/web/corefork.telegram.org/api/links.html @@ -107,6 +107,28 @@

Note that chat invite links have the same syntax, but <phone_number> is not a valid phone number.

+

User ID links

+

Used to link to users by their user ID: such links should only be parsed when encountered in inline or reply keyboard buttons.
+They are useful when linking to users without a username, but of course they will work only if the client has the user's access hash already stored in its database.

+

tg: syntax:

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

Parameters:

+ + + + + + + + + + + + + + + +
NameOptionalDescription
user_idRequiredUser ID

Chat invite links

Used to invite users to private groups and channels, see here for more info on how to generate such links ยป.

t.me syntax: