InternetMaster
@InternetMaster
Интернет

Как реагировать на параметры start Telegram Bot?

Как обрабатывать запросы с параметром в start. Который в ссылке t.me/UsernameBot/start=6353673
Как отреагировать на этот start=6353673?
  • Вопрос задан
  • 2513 просмотров
Решения вопроса 1
SoreMix
@SoreMix Куратор тега Python
yellow
Равносильно отправке команды "/start 6353673"

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

https://core.telegram.org/bots#deep-linking
Ответ написан
Комментировать
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы