update Group Info
Update group information
The group information update mode, defined by , determines whether group information and permission details can be modified.
Note: The following attributes of the group information (GroupInfo) can be set: 1. Group ID (id), with a maximum length of 64 characters. Supports a combination of uppercase and lowercase letters and numbers. 2. Group name (name), with a maximum length of 64 characters. 3. Group avatar (portraitUri), with a maximum length of 128 characters. 4. Group introduction (introduction), with a maximum length of 512 characters. 5. Group notice (notice), with a maximum length of 1024 characters. 6. Group extended information (extProfile), which can be set up to 10 items by default. This must be configured via the developer backend or API; otherwise, the setting will fail. 7. Permission mode for actively joining the group (joinPermission). 8. Permission mode for removing members from the group (removeMemberPermission). 9. Permission mode for inviting others to join the group (invitePermission). 10. Permission mode for handling invitations to join the group (inviteHandlePermission). 11. Permission mode for updating group information (groupInfoEditPermission). 12. Permission mode for updating member information (memberInfoEditPermission). Note: The group ID (id) and group name (name) are mandatory fields; otherwise, the API call will fail. For more details, refer to GroupInfo.
Parameters
The group information to be updated.
The callback to return the result after the operation is completed.The onError parameter of the callback provides the following information:- If errorData is not empty, it indicates the specific key in GroupInfo that caused the error.