UpdateGroupData
https://zim-api.zego.im/
By calling this API, you can modify group data information, including group avatar, group name, group notice, etc.
After successfully modifying the group data, group members can receive group data modification notifications through the following ZIM SDK callback interfaces:
| iOS | Android | macOS | Windows |
|---|---|---|---|
| groupNameUpdated | onGroupNameUpdated | groupNameUpdated | onGroupNameUpdated |
| Web | Mini Program | Flutter | React Native |
|---|---|---|---|
| groupNameUpdated | groupNameUpdated | onGroupNameUpdated | groupNameUpdated |
| Unity3D | uni-app | uni-app x | HarmonyOS |
|---|---|---|
| OnGroupNameUpdated | groupNameUpdated | groupNameUpdated |
GroupAvatar, GroupName, and GroupNotice support being set to empty strings, if you do not need to modify a certain field mentioned above, the JSON string cannot contain the field name (cannot pass empty), otherwise it will be considered as an empty string and the original content will be deleted.Request
Query Parameters
Possible values: [UpdateGroupData]
API prototype parameter
https://zim-api.zego.im/?Action=UpdateGroupData
💡Public parameter. Application ID, assigned by ZEGOCLOUD. Get it from the ZEGOCLOUD Admin Console.
💡Public parameter. A 16-character hexadecimal random string (hex encoding of 8-byte random number). Refer to Signature example for how to generate.
💡Public parameter. Current Unix timestamp, in seconds. Refer to Signature example for how to generate, with a maximum error of 10 minutes.
Possible values: [2.0]
Default value: 2.0
💡Public parameter. Signature version number.
💡Public parameter. Signature, used to verify the legitimacy of the request. Refer to Signing the requests for how to generate an API request signature.
- application/json
Responses
- 200
- application/json
