getGroupMuteListFromServer method

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

获取禁言列表

Implementation

Future<List<String>?> getGroupMuteListFromServer(
  String groupId, {
  int pageSize = 200,
  int pageNum = 1,
}) async {
  Map req = {'groupId': groupId, 'pageNum': pageNum, 'pageSize': pageSize};
  Map result = await _channel.invokeMethod(
      EMSDKMethod.getGroupMuteListFromServer, req);
  EMError.hasErrorFromResult(result);
  return result[EMSDKMethod.getGroupMuteListFromServer]?.cast<String>();
}