mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-08 12:59:46 +00:00
Fix send_message with buttons not always returning ReplyMarkup
This commit is contained in:
@@ -648,7 +648,7 @@ class Message(ChatGetter, SenderGetter, TLObject, abc.ABC):
|
||||
kwargs['link_preview'] = bool(self.web_preview)
|
||||
|
||||
if 'buttons' not in kwargs:
|
||||
kwargs['buttons'] = self.buttons
|
||||
kwargs['buttons'] = self.reply_markup
|
||||
|
||||
return await self._client.edit_message(
|
||||
await self.get_input_chat(), self.id,
|
||||
|
Reference in New Issue
Block a user