get_chats


Description:

public async Chats get_chats (ChatList chat_list, int32 limit) throws TDLibError

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

Parameters:

chat_list

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

limit

The maximum number of chats to be returned