Added missing FORUM_TOPIC_EDITED value to content_type property

This commit is contained in:
Groosha 2023-04-08 12:18:37 +08:00
parent fea1b7b0a3
commit 37aac685d1

View file

@ -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: