5

I want to write a simple bot for telegram with python-telegram-bot SDK. I want to show a "START" keyboard button instead of typing "/start" command to work with my bot. How to do this with python-telegram-bot?

1 Answer 1

3

As I know when you start using a bot for the first time telegram shows that start button itself but after the first message is sent you won't see that keyboard button anymore all you need to do is clearing the bot's history to see that again.

On the other hand if you want to have a keyboard button that can be shown anytime you want, all you should do is implementing a custom keyboard. You can find useful information about keyboards here.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.