Interface ChatPosition

Describes a position of a chat in a chat list.

interface ChatPosition {
    @type: "chatPosition";
    is_pinned?: boolean;
    list: ChatList;
    order: string;
    source: ChatSource;
}

Properties

@type: "chatPosition"
is_pinned?: boolean

True, if the chat is pinned in the chat list.

list: ChatList

The chat list.

order: string

A parameter used to determine order of the chat in the chat list. Chats must be sorted by the pair (order, chat.id) in descending order.

source: ChatSource

Source of the chat in the chat list; may be null.