changeGroupName method
- @Deprecated('Use [updateGroupName] instead')
Implementation
@Deprecated('Use [updateGroupName] instead')
Future<void> changeGroupName(
String groupId,
String name,
) async {
try {
Map req = {'name': name, 'groupId': groupId};
Map result = await Client.instance.groupManager
.callNativeMethod(ChatMethodKeys.updateGroupSubject, req);
EMError.hasErrorFromResult(result);
} catch (e) {
rethrow;
}
}