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
1cd4712eb4
commit
68ce9687ec
1 changed files with 1 additions and 1 deletions
|
|
@ -1583,7 +1583,7 @@ class Message(base.TelegramObject):
|
||||||
:return:
|
:return:
|
||||||
"""
|
"""
|
||||||
kwargs = {"chat_id": chat_id, "reply_markup": reply_markup or self.reply_markup, "parse_mode": parse_mode or ParseMode.HTML}
|
kwargs = {"chat_id": chat_id, "reply_markup": reply_markup or self.reply_markup, "parse_mode": parse_mode or ParseMode.HTML}
|
||||||
text = self.text or self.caption
|
text = self.html_text if (self.text or self.caption) else None
|
||||||
|
|
||||||
if disable_notification is not None:
|
if disable_notification is not None:
|
||||||
kwargs["disable_notification"] = disable_notification
|
kwargs["disable_notification"] = disable_notification
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue