fetchChatThreadsWithParentId method

Future<CursorResult<ChatThread>> fetchChatThreadsWithParentId({
  1. required String parentId,
  2. String? cursor,
  3. int limit = 20,
})

Implementation

Future<CursorResult<ChatThread>> fetchChatThreadsWithParentId({
  required String parentId,
  String? cursor,
  int limit = 20,
}) {
  return checkResult(ChatSDKEvent.fetchChatThreadsWithParentId, () {
    return Client.getInstance.chatThreadManager.fetchChatThreadsWithParentId(
        parentId: parentId, cursor: cursor, limit: limit);
  });
}