From 51b6e37d1af7f53c7f7d3e139d03834a24998bb0 Mon Sep 17 00:00:00 2001 From: ZeN Date: Sat, 5 Nov 2022 16:52:26 +0300 Subject: [PATCH] added "is_forum" field to "Chat" --- aiogram/types/chat.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/aiogram/types/chat.py b/aiogram/types/chat.py index 875ef36c..2f5f4db4 100644 --- a/aiogram/types/chat.py +++ b/aiogram/types/chat.py @@ -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