Search code examples
pythonpython-3.xtelegramtelegram-botpy-telegram-bot-api

Telegram bot нow add bot to group?


Telegram bot on python using the pyTelegramBotAPI library. Want to add a bot to a group when calling the command /start@BotName how does it work with bot @TrueMafiaBot How i can do this?


Solution

  • You can use the following link and send it to the user:

    t.me/BotUsername?startgroup=botstart

    Replace BotUsername with your bots username and when the User clicks the link their client will prompt to select a group the bot should be added to.