mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-11-26 09:07:43 +01:00
message.edit_reply_markup now correctly edits reply_markup (#473)
This commit is contained in:
parent
a2fddbe85c
commit
906a1b8d7d
1 changed files with 1 additions and 1 deletions
|
@ -494,7 +494,7 @@ class Message(TelegramObject):
|
|||
therefore this method can only be used on the
|
||||
return value of the ``bot.send_*`` family of methods.
|
||||
"""
|
||||
return self.bot.edit_message_caption(
|
||||
return self.bot.edit_message_reply_markup(
|
||||
chat_id=self.chat_id, message_id=self.message_id, *args, **kwargs)
|
||||
|
||||
def parse_entity(self, entity):
|
||||
|
|
Loading…
Reference in a new issue