message.edit_reply_markup now correctly edits reply_markup (#473)

This commit is contained in:
Jacob Bom 2016-12-08 13:23:51 +01:00 committed by Rahiel Kasim
parent a2fddbe85c
commit 906a1b8d7d

View file

@ -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):