Browse Platform API
Platform API

Before updating selected group fields

Copy

Validate or adjust the selected fields before a partial group update.

HTTP request

POST {WEBHOOK_ADDRESS}/callbackBeforeSetGroupInfoExCommand

Request body

The payload contains callbackCommand: callbackBeforeSetGroupInfoExCommand, operationID, groupID, and only the group fields selected for update: groupName, notification, introduction, faceURL, ex, needVerification, lookMemberInfo, or applyMemberFriend.

Response

Return the common before-event fields from Webhooks overview. The response may return selected group fields to replace the pending values.

Processing rules

  • Configuration key: beforeSetGroupInfoEx.
  • OpenIM waits synchronously. Use nextCode: 1 to reject the update; timeout behavior follows failedContinue.