added "is_forum" field to "Chat"

This commit is contained in:
ZeN 2022-11-05 16:52:26 +03:00
parent 188ebb70e9
commit 51b6e37d1a
No known key found for this signature in database
GPG key ID: ED6378D93306FB20

View file

@ -31,6 +31,8 @@ class Chat(TelegramObject):
"""*Optional*. First name of the other party in a private chat"""
last_name: Optional[str] = None
"""*Optional*. Last name of the other party in a private chat"""
is_forum: Optional[bool] = None
"""*Optional*. :code:`True`, if the supergroup chat is a forum (has topics enabled)"""
photo: Optional[ChatPhoto] = None
"""*Optional*. Chat photo. Returned only in :class:`aiogram.methods.get_chat.GetChat`."""
bio: Optional[str] = None