From 386a1586e068211d3b7df672aea6bea12123c6e7 Mon Sep 17 00:00:00 2001 From: uburuntu Date: Sun, 10 Nov 2019 00:46:29 +0300 Subject: [PATCH] enh: unify default as_html argument --- aiogram/types/chat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aiogram/types/chat.py b/aiogram/types/chat.py index 66b8fe4d..d56ee0fa 100644 --- a/aiogram/types/chat.py +++ b/aiogram/types/chat.py @@ -63,7 +63,7 @@ class Chat(base.TelegramObject): return f"tg://user?id={self.id}" - def get_mention(self, name=None, as_html=False): + def get_mention(self, name=None, as_html=True): if name is None: name = self.mention if as_html: