mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
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.
This commit is contained in:
parent
2d7c2546fe
commit
c11db853bd
1 changed files with 1 additions and 0 deletions
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue