From 3333e8cd425ef9277c1200d052a0f9682699acad Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Fri, 19 Aug 2022 17:37:20 +0000 Subject: [PATCH] Update content of files --- data/web/corefork.telegram.org/api/links.html | 138 +++++++++++++++++- .../constructor/chatAdminRights.html | 8 +- .../method/messages.startBot | 6 +- data/web/corefork.telegram.org/methods.html | 2 +- 4 files changed, 140 insertions(+), 14 deletions(-) diff --git a/data/web/corefork.telegram.org/api/links.html b/data/web/corefork.telegram.org/api/links.html index 50297b06a1..fcdd8fcbaa 100644 --- a/data/web/corefork.telegram.org/api/links.html +++ b/data/web/corefork.telegram.org/api/links.html @@ -115,9 +115,9 @@

t.me syntax (private links):

t.me/c/<channel>/<id>?single&thread=<thread_id>&comment=<message_id>&t=<media_timestamp>

tg: syntax (public links):

-
tg://resolve?domain=<username>&post=<id>&single&thread=<thread_id>&comment=<message_id>&t=<media_timestamp>
+
tg://resolve?domain=<username>&post=<id>&single&thread=<thread>&comment=<comment>&t=<media_timestamp>

tg: syntax (private links):

-
tg://privatepost?channel=<channelid>&post=<id>&single&thread=<thread_id>&comment=<message_id>&t=<media_timestamp>
+
tg://privatepost?channel=<channelid>&post=<id>&single&thread=<thread>&comment=<comment>&t=<media_timestamp>

Parameters:

@@ -139,7 +139,7 @@ - + @@ -159,17 +159,48 @@ - +
Channel or supergroup ID.
postid Required Message ID.
For channel comments, username will contain the channel username, id will contain the message ID of the channel message that started the comment section and this field will contain the message ID of the comment in the discussion group.
tmedia_timestamp Optional Timestamp in seconds at which to start playing the media file present in the body or in the webpage preview of the message.
-

Active sessions link

+

Settings links

+

Settings link

+

Used to bring the user to the app settings.

+

tg: syntax:

+
tg://settings
+

No parameters.

+

Change phone number link

+

Used to bring the user to the phone number modification page, invoking account.sendChangePhoneCode and account.changePhone.

+

tg: syntax:

+
tg://settings/change_number
+

No parameters.

+

Active sessions link

Used to bring the user to the active sessions page, calling account.getAuthorizations.

tg: syntax:

tg://settings/devices

No parameters.

+

Folder settings link

+

Used to bring the user to the folder settings.

+

tg: syntax:

+
tg://settings/folders
+

No parameters.

+

Language settings link

+

Used to bring the user to the language settings.

+

tg: syntax:

+
tg://settings/language
+

No parameters.

+

Privacy and security settings link

+

Used to bring the user to the privacy and security settings.

+

tg: syntax:

+
tg://settings/privacy
+

No parameters.

+

Theme settings link

+

Used to bring the user to the theme settings section of the app.

+

tg: syntax:

+
tg://settings/theme
+

No parameters.

Login code link

Contains the phone number verification code to use during user authorization ».

t.me syntax:

@@ -187,7 +218,7 @@ -username +code Required Login code. @@ -219,7 +250,7 @@ mode Optional -blur, motion or blur+motion to enable blurring or parallax motion as specified in the docs ». +A combination of blur and motion (joined by +) to enable blurring and/or parallax motion as specified in the docs ». @@ -455,7 +486,98 @@ motion to enable parallax motion as specified in the docs. - + +

Bot links

+

Used to link to bots.

+

t.me syntax:

+
t.me/<bot_username>?start=<parameter>
+

tg: syntax:

+
tg://resolve?domain=<bot_username>&start=<parameter>
+

Parameters:

+ + + + + + + + + + + + + + + + + + + + +
NameOptionalDescription
bot_usernameRequiredBot username
parameterOptionalStart parameter, up to 64 base64url characters: if provided and the bot_username is indeed a bot, the text input bar should be replaced with a Start button (even if the user has already started the bot) that should invoke messages.startBot with the appropriate parameter once clicked.
+

Group/channel bot links

+

Used to add bots to groups or channels.
+First of all, check that the <bot_username> indeed links to a bot.
+Then, for group links:

+ +

For channel links:

+ +

t.me syntax (groups):

+
t.me/<bot_username>?startgroup=<parameter>&admin=<permissions>
+t.me/<bot_username>?startgroup&admin=<permissions>
+

t.me syntax (channels):

+
t.me/<bot_username>?startchannel&admin=<permissions>
+

tg: syntax (groups):

+
tg://resolve?domain=<bot_username>&startgroup=<parameter>&admin=<permissions>
+tg://resolve?domain=<bot_username>&startgroup&admin=<permissions>
+

tg: syntax (channels):

+
tg://resolve?domain=<bot_username>&startchannel&admin=<permissions>
+

Parameters:

+ + + + + + + + + + + + + + + + + + + + + + + + + +
NameOptionalDescription
bot_usernameRequiredBot username
parameterOptionalStart parameter, only for group links, up to 64 base64url characters: if provided and the bot_username is indeed a bot, messages.startBot with the appropriate parameter should be invoked after adding the bot to the group.
adminOptional for group links, required for channel linksA combination of the following identifiers separated by +, each corresponding to the appropriate flag in the chatAdminRights » constructor:
- change_info - chatAdminRights.change_info
- post_messages - chatAdminRights.post_messages
- edit_messages - chatAdminRights.edit_messages
- delete_messages - chatAdminRights.delete_messages
- restrict_members - chatAdminRights.ban_users
- invite_users - chatAdminRights.invite_users
- pin_messages - chatAdminRights.pin_messages
- promote_members - chatAdminRights.add_admins
- manage_video_chats - chatAdminRights.manage_call
- anonymous - chatAdminRights.anonymous
- manage_chat - chatAdminRights.other
+

diff --git a/data/web/corefork.telegram.org/constructor/chatAdminRights.html b/data/web/corefork.telegram.org/constructor/chatAdminRights.html index 2d81b7dd9d..7bef8a03ae 100644 --- a/data/web/corefork.telegram.org/constructor/chatAdminRights.html +++ b/data/web/corefork.telegram.org/constructor/chatAdminRights.html @@ -124,7 +124,7 @@ other flags.12?true -Set this flag if none of the other flags are set, but you still want the user to be an admin. +Set this flag if none of the other flags are set, but you still want the user to be an admin: if this or any of the other flags are set, the admin can get the chat admin log, get chat statistics, get message statistics in channels, get channel members, see anonymous administrators in supergroups and ignore slow mode. @@ -132,7 +132,11 @@

ChatAdminRights

Related pages

Channels, supergroups, gigagroups and basic groups

-

How to handle channels, supergroups, gigagroups, basic groups, and what's the difference between them.

+

How to handle channels, supergroups, gigagroups, basic groups, and what's the difference between them.

+

Admin log

+

Both supergroups and channels offer a so-called admin log, a log of recent relevant supergroup and channel actions, like the modification of group/channel settings or information on behalf of an admin, user kicks and bans, and more.

+

Channel statistics

+

Telegram offers detailed channel statistics for channels and supergroups.

diff --git a/data/web/corefork.telegram.org/method/messages.startBot b/data/web/corefork.telegram.org/method/messages.startBot index 37818166eb..1f2db216ed 100644 --- a/data/web/corefork.telegram.org/method/messages.startBot +++ b/data/web/corefork.telegram.org/method/messages.startBot @@ -42,7 +42,7 @@

messages.startBot

-

Start a conversation with a bot using a deep linking parameter

+

Start a conversation with a bot using a deep linking parameter

+

Links

diff --git a/data/web/corefork.telegram.org/methods.html b/data/web/corefork.telegram.org/methods.html index a2501fee9e..19f3afa315 100644 --- a/data/web/corefork.telegram.org/methods.html +++ b/data/web/corefork.telegram.org/methods.html @@ -824,7 +824,7 @@ messages.startBot -Start a conversation with a bot using a deep linking parameter +Start a conversation with a bot using a deep linking parameter help.getDeepLinkInfo