-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Description
Please answer these questions before submitting your issue. Thanks!
- What version of pyTelegramBotAPI are you using?
latest - What OS are you using?
debian - What version of python are you using?
3.7
In a normal bot, I use the send_photo method to send a photo to the user with a set of reply keystrokes, called message_a. Afterwards I use the register_message_handler method to monitor bot.register_message_handler( callback = self.start_panel, content_types = ['text'],regexp = "Button_A"). I want to delete message_a when the user clicks on Button_A, but the only parameter passed to register_message_handler is the message for "Button_A". Is it not possible to pass the message of "message_A" into the callback function as well? How can I improve this?
Metadata
Metadata
Assignees
Labels
No labels