Reputation: 3
Could you please tell me how I could have an additional (/) button in the input field ? As shown here in this image:
https://core.telegram.org/file/811140659/1/RRJyulbtLBY/ea6163411c7eb4f4dc
I have written a bot using this library: https://github.com/python-telegram-bot/python-telegram-bot.
And found out that:
"Show an additional (/) button in the input field in all chats with bots. Tapping it types a '/' and shows the list of commands."
in this page: https://core.telegram.org/bots#commands.
Unfortunately my bot does not have that, using the Telegram app on my iphone.
I also have tried to provide the list of commands using Botfather, but still no yield.
Upvotes: 0
Views: 2104
Reputation: 7060
If you have set the commands with Botfather, it should work. Alternatively, you can set the commands programmatically with the setMyCommands
method - in python-telegram-bot
, that's Bot.set_my_commands
.
Upvotes: 2