ForumTopic#

class pyrogram.types.ForumTopic#

A forum topic.

Parameters:
  • id (int) – Unique topic identifier inside this chat.

  • title (str) – The topic title.

  • date (datetime, optional) – Date when the topic was created.

  • icon_color (str, optional) – Color of the topic icon in HEX format

  • icon_emoji_id (int, optional) – Unique identifier of the custom emoji shown as the topic icon

  • creator (Chat, optional) – Topic creator.

  • top_message (Message, optional) – The last message sent in the topic at this time.

  • unread_count (int, optional) – Amount of unread messages in this topic.

  • unread_mentions_count (int, optional) – Amount of unread messages containing a mention in this topic.

  • unread_reactions_count (int, optional) – Amount of unread messages containing a reaction in this topic.

  • is_my (bool, optional) – True, if you are creator of topic.

  • is_closed (bool, optional) – True, if the topic is closed.

  • is_pinned (bool, optional) – True, if the topic is pinned.

  • is_short (bool, optional) – True, if the topic is short.

  • is_hidden (bool, optional) – True, if the topic is hidden.

  • is_deleted (bool, optional) – The forum topic is deleted.