get_chats

Function get_chats 

Source
pub async fn get_chats(
    chat_list: Option<ChatList>,
    limit: i32,
    client_id: i32,
) -> Result<Chats, Error>
Expand description

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

ยงArguments

  • 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
  • client_id - The client id to send the request to