updateGroupName abstract method
Available since: 2.1.5 and above.
Description: After a group is created, users can call this method to change the group name.
Use cases: After creating a group, you need to change the group name.
When to call /Trigger: The ZIM instance can be invoked after being created by create and logged in.
Restrictions: Group members and group owners can change the group name. The maximum length of the name is 100 bytes.
Related APIs: Through the callback ZIMGroupNameUpdatedResult
can get the result of the change of name, through ZIMEventHandler.onGroupNoticeUpdated can get update group name information.
groupName
The updated group name.
groupID
The group ID whose group name will be updated.
Implementation
Future<ZIMGroupNameUpdatedResult> updateGroupName(
String groupName, String groupID);