updateAutoAcceptGroupInvitationSetting method
Future<void>
updateAutoAcceptGroupInvitationSetting( - bool autoAcceptGroupInvitation
)
Implementation
Future<void> updateAutoAcceptGroupInvitationSetting(
bool autoAcceptGroupInvitation) async {
Map req = {'autoAcceptGroupInvitation': autoAcceptGroupInvitation};
Map result = await ClientChannel.invokeMethod(
ChatMethodKeys.updateAutoAcceptGroupInvitationSetting, req);
try {
EMError.hasErrorFromResult(result);
_options = _options?.copyWith(
autoAcceptGroupInvitation: autoAcceptGroupInvitation);
} on EMError catch (e) {
throw e;
}
}