fetchChatroomMembersByAccount method

Future<NIMResult<List<NIMChatroomMember>>> fetchChatroomMembersByAccount(
  1. {required String roomId,
  2. required List<String> accountList}
)

获取当前聊天室成员

roomId 聊天室id

accountList 成员账号列表

Implementation

Future<NIMResult<List<NIMChatroomMember>>> fetchChatroomMembersByAccount({
  required String roomId,
  required List<String> accountList,
}) async {
  return _platform.fetchChatroomMembersByAccount(
      roomId: roomId, accountList: accountList);
}