GetTopChats constructor

const GetTopChats({
  1. required TopChatCategory category,
  2. required int limit,
})

Returns a list of frequently used chats. Supported only if the chat info database is enabled

Implementation

const GetTopChats({
  required this.category,
  required this.limit,
});