Represents a monoforum topic ».
Constructor schema is available as of layer 205. Switch »
| Name | Type | Description |
|---|---|---|
| flags | # | Flags, see TL conditional fields |
| unread_mark | flags.3?true | Whether this topic has a manually set (with messages.markDialogUnread) unread mark. |
| nopaid_messages_exception | flags.4?true | If set, an admin has exempted this peer from payment to send messages using account.toggleNoPaidMessagesException. |
| peer | Peer | The peer associated to the topic, AKA the topic ID. |
| top_message | int | The latest message ID |
| read_inbox_max_id | int | Position up to which all incoming messages are read. |
| read_outbox_max_id | int | Position up to which all outgoing messages are read. |
| unread_count | int | Number of unread messages. |
| unread_reactions_count | int | Number of unread reactions. |
| draft | flags.1?DraftMessage | A pending message draft. |
Manually mark dialog as unread
Allow a user to send us messages without paying if paid messages » are enabled.
How to handle message drafts
Telegram supports direct messages to channels, which can also be used to suggest (even paid) channel posts.