DirectMessagesTopic#
- class pyrogram.types.DirectMessagesTopic#
Describes a topic of a direct messages chat administered by the current user.
- Parameters:
topic_id (
int
) – Unique identifier of the topic inside the chat.user (
User
, optional) – Information about the user that created the topic. Currently, it is always present.can_send_unpaid_messages (
bool
, optional) – True, if the other party can send unpaid messages even if the chat has paid messages enabled.is_marked_as_unread (
bool
, optional) – True, if the forum topic is marked as unread.unread_count (
int
, optional) – Number of unread messages in the chat.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_reactions_count (
int
, optional) – Number of messages with unread reactions in the chat.last_message (
Message
, optional) – Last message in the topic.