fetchGroupFileList method

Future<List<GroupSharedFile>> fetchGroupFileList({
  1. required String groupId,
  2. int pageSize = 200,
  3. int pageNum = 1,
})

Implementation

Future<List<GroupSharedFile>> fetchGroupFileList({
  required String groupId,
  int pageSize = 200,
  int pageNum = 1,
}) {
  return checkResult(ChatSDKEvent.fetchGroupFileList, () {
    return Client.getInstance.groupManager.fetchGroupFileListFromServer(
      groupId,
      pageSize: pageSize,
      pageNum: pageNum,
    );
  });
}