From 37aac685d1a5a7a38e588dff6d0c08ce1257d04c Mon Sep 17 00:00:00 2001 From: Groosha Date: Sat, 8 Apr 2023 12:18:37 +0800 Subject: [PATCH] Added missing FORUM_TOPIC_EDITED value to content_type property --- aiogram/types/message.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/aiogram/types/message.py b/aiogram/types/message.py index c74ccb97..a057ef97 100644 --- a/aiogram/types/message.py +++ b/aiogram/types/message.py @@ -317,6 +317,8 @@ class Message(TelegramObject): return ContentType.MESSAGE_AUTO_DELETE_TIMER_CHANGED if self.forum_topic_created: return ContentType.FORUM_TOPIC_CREATED + if self.forum_topic_edited: + return ContentType.FORUM_TOPIC_EDITED if self.forum_topic_closed: return ContentType.FORUM_TOPIC_CLOSED if self.forum_topic_reopened: