Platform API
Before updating group information
Validate or adjust group fields before group information is updated.
HTTP request
POST {WEBHOOK_ADDRESS}/callbackBeforeSetGroupInfoCommandRequest body
The payload contains callbackCommand: callbackBeforeSetGroupInfoCommand, operationID, groupID, and the pending groupName, notification, introduction, faceURL, ex, needVerification, lookMemberInfo, and applyMemberFriend values.
Response
Return the common before-event fields from Webhooks overview. The response may return the pending group fields to replace the values OpenIM is about to store.
Processing rules
- Configuration key:
beforeSetGroupInfo. - OpenIM waits synchronously. Use
nextCode: 1to reject the update; timeout behavior followsfailedContinue.
Was this page helpful?