ignoreGroupPush method
设置群组免打扰,设置后,当您不在线时您不会收到群推送
Implementation
Future<EMGroup> ignoreGroupPush(
String groupId, [
bool enable = true,
]) async {
Map req = {'groupId': groupId, 'enable': enable};
Map result = await _channel.invokeMethod(EMSDKMethod.ignoreGroupPush, req);
EMError.hasErrorFromResult(result);
return EMGroup.fromJson(result[EMSDKMethod.ignoreGroupPush]);
}