Interface SavedMessagesTopic

Contains information about a Saved Messages topic.

interface SavedMessagesTopic {
    @type: "savedMessagesTopic";
    draft_message: DraftMessage;
    id: number;
    is_pinned?: boolean;
    last_message: Message;
    order: string;
    type: SavedMessagesTopicType;
}

Properties

@type: "savedMessagesTopic"
draft_message: DraftMessage

A draft of a message in the topic; may be null if none.

id: number

Unique topic identifier.

is_pinned?: boolean

True, if the topic is pinned.

last_message: Message

Last message in the topic; may be null if none or unknown.

order: string

A parameter used to determine order of the topic in the topic list. Topics must be sorted by the order in descending order.

Type of the topic.