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:
Channel or supergroup ID. | |||
post |
+id |
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. |
t |
+media_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. |
Used to bring the user to the app settings.
+tg: syntax:
+tg://settings
+No parameters.
+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.
+Used to bring the user to the active sessions page, calling account.getAuthorizations.
tg: syntax:
tg://settings/devices
No parameters.
+Used to bring the user to the folder settings.
+tg: syntax:
+tg://settings/folders
+No parameters.
+Used to bring the user to the language settings.
+tg: syntax:
+tg://settings/language
+No parameters.
+Used to bring the user to the privacy and security settings.
+tg: syntax:
+tg://settings/privacy
+No parameters.
+Used to bring the user to the theme settings section of the app.
+tg: syntax:
+tg://settings/theme
+No parameters.
Contains the phone number verification code to use during user authorization ».
t.me syntax:
@@ -187,7 +218,7 @@username
code
mode
blur
, motion
or blur+motion
to enable blurring or parallax motion as specified in the docs ».blur
and motion
(joined by +
) to enable blurring and/or parallax motion as specified in the docs ».motion
to enable parallax motion as specified in the docs.Used to link to bots.
+t.me syntax:
+t.me/<bot_username>?start=<parameter>
+tg: syntax:
+tg://resolve?domain=<bot_username>&start=<parameter>
+Parameters:
+Name | +Optional | +Description | +
---|---|---|
bot_username |
+Required | +Bot username | +
parameter |
+Optional | +Start 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. |
+
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:
admin
parameter is not provided:parameter
is provided, invoke messages.startBot with the appropriate parameter
admin
parameter is provided:admin
parameter
is provided, invoke messages.startBot with the appropriate parameter
For channel links:
+admin
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:
+Name | +Optional | +Description | +
---|---|---|
bot_username |
+Required | +Bot username | +
parameter |
+Optional | +Start 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. |
+
admin |
+Optional for group links, required for channel links | +A 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 |
+
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.
+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.
+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 @@Start a conversation with a bot using a deep linking parameter
+Start a conversation with a bot using a deep linking parameter