GetChatMessageCount constructor

const GetChatMessageCount({
  1. required int chatId,
  2. required SearchMessagesFilter filter,
  3. required bool returnLocal,
})

Returns approximate number of messages of the specified type in the chat

Implementation

const GetChatMessageCount({
  required this.chatId,
  required this.filter,
  required this.returnLocal,
});