monoForumDialog #

Represents a monoforum topic ».

Layer 223

monoForumDialog#64407ea7 flags:# unread_mark:flags.3?true nopaid_messages_exception:flags.4?true peer:Peer top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int unread_reactions_count:int draft:flags.1?DraftMessage = SavedDialog;

Parameters #

NameTypeDescription
flags#Flags, see TL conditional fields
unread_markflags.3?trueWhether this topic has a manually set (with messages.markDialogUnread) unread mark.
nopaid_messages_exceptionflags.4?trueIf set, an admin has exempted this peer from payment to send messages using account.toggleNoPaidMessagesException.
peerPeerThe peer associated to the topic, AKA the topic ID.
top_messageintThe latest message ID
read_inbox_max_idintPosition up to which all incoming messages are read.
read_outbox_max_idintPosition up to which all outgoing messages are read.
unread_countintNumber of unread messages.
unread_reactions_countintNumber of unread reactions.
draftflags.1?DraftMessageA pending message draft.

Type #

SavedDialog

messages.markDialogUnread #

Manually mark dialog as unread

account.toggleNoPaidMessagesException #

Allow a user to send us messages without paying if paid messages » are enabled.

Message drafts #

How to handle message drafts

Direct messages to channels #

Telegram supports direct messages to channels, which can also be used to suggest (even paid) channel posts.