From de0d075f5d61fe9acf2d70cecac1679a49604cef Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Thu, 24 Jun 2021 14:24:38 +0000 Subject: [PATCH] Update content of files --- data/core.telegram.org/bots.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/core.telegram.org/bots.html b/data/core.telegram.org/bots.html index 96e0a5d1fb..11a108e211 100644 --- a/data/core.telegram.org/bots.html +++ b/data/core.telegram.org/bots.html @@ -252,7 +252,7 @@

Telegram bots have a deep linking mechanism, that allows for passing additional parameters to the bot on startup. It could be a command that launches the bot — or an auth token to connect the user's Telegram account to their account on some external service.

Each bot has a link that opens a conversation with it in Telegram — https://t.me/<bot username>. You can add the parameters start or startgroup to this link, with values up to 64 characters long. For example:

https://t.me/triviabot?startgroup=test
-

A-Z, a-z, 0-9, _ and - are allowed. We recommend using base64url to encode parameters with binary and other types of content.

+

A-Z, a-z, 0-9, _ and - are allowed. We recommend using base64url to encode parameters with binary and other types of content.

Following a link with the start parameter will open a one-on-one conversation with the bot, showing a START button in the place of the input field. If the startgroup parameter is used, the user is prompted to select a group to add the bot to. As soon as a user confirms the action (presses the START button in their app or selects a group to add the bot to), your bot will receive a message from that user in this format:

/start PAYLOAD

PAYLOAD stands for the value of the start or startgroup parameter that was passed in the link.