-
Notifications
You must be signed in to change notification settings - Fork 6k
New inline keyboard example #884
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New inline keyboard example #884
Conversation
jsmnbom
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Few comments, I have yet to actually run the example to see how i runs, but it mostly looks good! :D
|
@bomjacob. I've made all the changes as requested. |
|
is it possible to return different routes? |
|
It might be possible, but I'm not sure yet. |
|
It looks okay to me. But I have some questions/additions I would like to see. Secondly I do agree with @vr2xiq that it would be nice if the example would show a keyboard with a choice. So for example on start you have a choice of two buttons ( You think it's possible for you to adjust the example that way? |
…n-telegram-bot into new-example Merge branch 'master' of https://github.com/python-telegram-bot/python-telegram-bot into new-example
|
@Eldinnie I have added the ConversationHandler.END at the end of second. |
This is an example of a bot with an inline keyboard that can handle user's response with a dedicated callback query handler. The bot implements a Conversation Handlers to handle the response of the user, which is sent by the inline keyboard.