mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-02 21:44:51 +00:00
Inject reply_markup
This commit is contained in:
parent
d6c0e61456
commit
59c3aa0589
1 changed files with 2 additions and 1 deletions
|
|
@ -28,8 +28,9 @@ class InputTextMessageContent:
|
|||
|
||||
self.style = HTML() if parse_mode.lower() == "html" else Markdown()
|
||||
|
||||
def write(self):
|
||||
def write(self, reply_markup):
|
||||
return types.InputBotInlineMessageText(
|
||||
no_webpage=self.disable_web_page_preview or None,
|
||||
reply_markup=reply_markup.write(),
|
||||
**self.style.parse(self.message_text)
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue