Layer 220
constructor
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

Name Type Description
Flags # Flags, see TL conditional fields
UnreadMark flags.3?true Whether this topic has a manually set (with messages. mark Dialog Unread ) unread mark.
NopaidMessagesException flags.4?true If set, an admin has exempted this peer from payment to send messages using account. toggle No Paid Messages Exception.
Peer Peer The peer associated to the topic, AKA the topic ID.
TopMessage int The latest message ID
ReadInboxMaxId int Position up to which all incoming messages are read.
ReadOutboxMaxId int Position up to which all outgoing messages are read.
UnreadCount int Number of unread messages.
UnreadReactionsCount int Number of unread reactions.
Draft flags.1?DraftMessage A pending message draft.

Returns

SavedDialog

Gogram Example

// Creating MonoForumDialog constructor
obj := &tg.MonoForumDialog{
    Peer: &tg.Peer{},
    TopMessage: 0,
    ReadInboxMaxId: 0,
    ReadOutboxMaxId: 0,
    UnreadCount: 0,
    UnreadReactionsCount: 0,

    // Optional fields:
    // UnreadMark: true,
    // NopaidMessagesException: true,
    // Draft: &tg.DraftMessage{},
}