fetchJoinedChatThreadsWithParentId method

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

Implementation

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