ForumTopic#

class pyrogram.types.ForumTopic#

This object represents a forum topic.

Parameters:
  • message_thread_id (int) – Unique identifier of the forum topic

  • name (str) – Name of the topic

  • icon_color (int) – Color of the topic icon in RGB format

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

  • creation_date (datetime, optional) – Point in time (Unix timestamp) when the topic was created

  • creator (Chat, optional) – Identifier of the creator of the topic

  • outgoing (bool, optional) – True, if the topic was created by the current user

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

  • is_hidden (bool, optional) – True, if the topic is hidden above the topic list and closed; for General topic only

  • is_deleted (bool, optional) – True, if the topic is delete

  • last_message (Message, optional) – Last message in the topic; may be None if unknown

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

  • unread_count (int, optional) – Number of unread messages in the topic

  • last_read_inbox_message_id (int, optional) – Identifier of the last read incoming message

  • last_read_outbox_message_id (int, optional) – Identifier of the last read outgoing message

  • unread_mention_count (int, optional) – Number of unread messages with a mention/reply in the topic

  • unread_reaction_count (int, optional) – Number of messages with unread reactions in the topic

  • is_reduced_version (bool, optional) – True, if this is a reduced version of the full topic information. If needed, full information can be fetched using get_forum_topic().