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?
Question posted in Telegram API
A comprehensive official documentation can be found here.
A comprehensive official documentation can be found here.
2
Answers
My final code for add bot to group by button
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.