Telegram: how to show welcome message for new connection bot
3 answers
You need to implement the command /start
in your bot implementation - set a welcome message.
And you must describe this command in the chat with @BotFather via /setcommands
for your bot.
After that, when the user adds your bot, the command /start
will run automatically and he will see the message you entered.
0
source to share