LoadChats constructor

const LoadChats({
  1. ChatList? chatList,
  2. required int limit,
})

Loads more chats from a chat list. The loaded chats and their positions in the chat list will be sent through updates. Chats are sorted by the pair (chatPosition.order, chat.id) in descending order. Returns a 404 error if all chats have been loaded

Implementation

const LoadChats({this.chatList, required this.limit});