Skip to content

ChatPosition

Type · TDLib 1.8.67 · d1085f9c

Describes a position of a chat in a chat list

ChatPosition(
  list: ChatList,
  order: int64,
  is_pinned: Bool,
  source: ChatSource
) → ChatPosition

list

ChatList

The chat list

order

int64

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

is_pinned

Bool

True, if the chat is pinned in the chat list

source

ChatSource

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