Constructor: monoForumDialog
Represents a monoforum topic ».
Attributes:
Name | Type | Required | Description |
---|---|---|---|
unread_mark | Bool | Optional | Whether this topic has a manually set (with messages.markDialogUnread) unread mark. |
nopaid_messages_exception | Bool | Optional | If set, an admin has exempted this peer from payment to send messages using account.toggleNoPaidMessagesException. |
peer | long | Yes | The peer associated to the topic, AKA the topic ID. |
top_message | int | Yes | The latest message ID |
read_inbox_max_id | int | Yes | Position up to which all incoming messages are read. |
read_outbox_max_id | int | Yes | Position up to which all outgoing messages are read. |
unread_count | int | Yes | Number of unread messages. |
unread_reactions_count | int | Yes | Number of unread reactions. |
draft | DraftMessage | Optional | A pending message draft. |
Type: SavedDialog
Example:
$monoForumDialog = ['_' => 'monoForumDialog', 'unread_mark' => Bool, 'nopaid_messages_exception' => Bool, 'peer' => long, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'unread_reactions_count' => int, 'draft' => DraftMessage];