mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
added "is_forum" field to "Chat"
This commit is contained in:
parent
188ebb70e9
commit
51b6e37d1a
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue