From 68ce9687ec4542a72bd427148decacb30e391273 Mon Sep 17 00:00:00 2001 From: Bunk100 <37146584+Bunk100@users.noreply.github.com> Date: Sat, 12 Oct 2019 18:38:13 +0300 Subject: [PATCH] Update message.py --- aiogram/types/message.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aiogram/types/message.py b/aiogram/types/message.py index 4b8baa02..5a67b180 100644 --- a/aiogram/types/message.py +++ b/aiogram/types/message.py @@ -1583,7 +1583,7 @@ class Message(base.TelegramObject): :return: """ 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: kwargs["disable_notification"] = disable_notification