Platform API
Before updating group member information
Validate or adjust fields before a group member profile is updated.
HTTP request
POST {WEBHOOK_ADDRESS}/callbackBeforeSetGroupMemberInfoCommandRequest body
| Property | Type | Description |
|---|---|---|
| callbackCommand | string | callbackBeforeSetGroupMemberInfoCommand. |
| groupID | string | Group ID. |
| userID | string | Member user ID. |
| nickName | string | Group nickname, when changed. |
| faceURL | string | Avatar URL, when changed. |
| roleLevel | int | Group role level, when changed. |
| ex | string | Extension data, when changed. |
Response
Return the common before-event fields from Webhooks overview. The response may return nickName, faceURL, roleLevel, and ex to replace the pending values.
Processing rules
- Configuration key:
beforeSetGroupMemberInfo. - OpenIM waits synchronously. Use
nextCode: 1to reject the update; timeout behavior followsfailedContinue.
Was this page helpful?