mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-08 17:13:56 +00:00
Update message.py
This commit is contained in:
parent
e32a45f4f8
commit
1f177360c4
1 changed files with 1 additions and 1 deletions
|
|
@ -1596,7 +1596,7 @@ class Message(base.TelegramObject):
|
|||
if parse_mode == 'markdown':
|
||||
text = self.md_text if (self.text or self.caption) else None
|
||||
if reply_markup:
|
||||
kwargs["reply_markup"] = self.reply_markup
|
||||
kwargs["reply_markup"] = reply_markup
|
||||
|
||||
if self.text:
|
||||
return await self.bot.send_message(text=text, **kwargs)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue