From c11db853bd8d035982c42da464a91dbf6a6df3cf Mon Sep 17 00:00:00 2001 From: Oleg A Date: Tue, 7 Dec 2021 17:29:12 +0300 Subject: [PATCH] feat: add has_private_forwards Added the field has_private_forwards to the class Chat for private chats, which can be used to check the possibility of mentioning the user by their ID. --- aiogram/types/chat.py | 1 + 1 file changed, 1 insertion(+) diff --git a/aiogram/types/chat.py b/aiogram/types/chat.py index a2487b59..07f6b231 100644 --- a/aiogram/types/chat.py +++ b/aiogram/types/chat.py @@ -30,6 +30,7 @@ class Chat(base.TelegramObject): all_members_are_administrators: base.Boolean = fields.Field() photo: ChatPhoto = fields.Field(base=ChatPhoto) bio: base.String = fields.Field() + has_private_forwards: base.Boolean = fields.Field() description: base.String = fields.Field() invite_link: base.String = fields.Field() pinned_message: 'Message' = fields.Field(base='Message')