ForumTopic#
- class pyrogram.types.ForumTopic#
This object represents a forum topic.
- Parameters:
message_thread_id (
int
) – Unique identifier of the forum topicname (
str
) – Name of the topicicon_color (
int
) – Color of the topic icon in RGB formaticon_custom_emoji_id (
str
, optional) – Unique identifier of the custom emoji shown as the topic iconcreation_date (
datetime
, optional) – Point in time (Unix timestamp) when the topic was createdcreator (
Chat
, optional) – Identifier of the creator of the topicoutgoing (
bool
, optional) – True, if the topic was created by the current useris_closed (
bool
, optional) – True, if the topic is closedis_hidden (
bool
, optional) – True, if the topic is hidden above the topic list and closed; for General topic onlyis_deleted (
bool
, optional) – True, if the topic is deletelast_message (
Message
, optional) – Last message in the topic; may be None if unknownis_pinned (
bool
, optional) – True, if the topic is pinnedunread_count (
int
, optional) – Number of unread messages in the topiclast_read_inbox_message_id (
int
, optional) – Identifier of the last read incoming messagelast_read_outbox_message_id (
int
, optional) – Identifier of the last read outgoing messageunread_mention_count (
int
, optional) – Number of unread messages with a mention/reply in the topicunread_reaction_count (
int
, optional) – Number of messages with unread reactions in the topicis_reduced_version (
bool
, optional) – True, if this is a reduced version of the full topic information. If needed, full information can be fetched usingget_forum_topic()
.