getRecentChatListHistoryByTopic static method
Used as a getRecentChatListHistoryByTopic class for Mirrorfly
- @property
topicId
set topic id to get topic based chats - @required
firstSet
set true indicates the initial data otherwise next set of data - @property
limit
set the limit of the chat list, default value 15 - if ChatHistoryEnabled in init then synced from the server used to get Recent chat List by Topic from DB
Implementation
static Future<dynamic> getRecentChatListHistoryByTopic({String? topicId, required bool firstSet, int limit = 15}) {
return FlyChatFlutterPlatform.instance.getRecentChatListHistoryByTopic(topicId: topicId, firstSet: firstSet, limit: limit);
}