Задать вопрос
InternetMaster
@InternetMaster
Интернет

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

Как обрабатывать запросы с параметром в start. Который в ссылке t.me/UsernameBot/start=6353673
Как отреагировать на этот start=6353673?
  • Вопрос задан
  • 5452 просмотра
Подписаться 1 Простой Комментировать
Помогут разобраться в теме Все курсы
  • Нетология
    Python-разработчик: расширенный курс + нейросети
    12 месяцев
    Далее
  • Skillbox
    Python-разработчик
    10 месяцев
    Далее
  • ProductStar
    Профессия: Python-разработчик
    8 месяцев
    Далее
Решения вопроса 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
Ответ написан
Комментировать
Пригласить эксперта
Ваш ответ на вопрос

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

Похожие вопросы