mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Merge branch 'dev-2.x' into private-chat-links
This commit is contained in:
commit
b8cfe386da
1 changed files with 1 additions and 1 deletions
|
|
@ -73,7 +73,7 @@ class Chat(base.TelegramObject):
|
|||
shift = -1000000000000
|
||||
return shift - 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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue