Skip to content

getChats

Function · TDLib 1.8.67 · d1085f9c

Returns an ordered list of chats from the beginning of a chat list. For informational purposes only. Use loadChats and updates processing instead to maintain chat lists in a consistent state

getChats(
  chat_list: ChatList,
  limit: int32
) → Chats

chat_list

ChatList

The chat list in which to return chats; pass null to get chats from the main chat list

limit

int32

The maximum number of chats to be returned