changeGroupName method
Implementation
Future<void> changeGroupName({
required String groupId,
required String name,
}) {
return checkResult(ChatSDKEvent.changeGroupName, () async {
await Client.getInstance.groupManager.changeGroupName(
groupId,
name,
);
Group? group = await Client.getInstance.groupManager.getGroupWithId(
groupId,
);
onGroupNameChangedByMeSelf(group!);
});
}