Platform API
Before setting a friend remark
Validate or replace a friend remark.
HTTP request
POST {WEBHOOK_ADDRESS}/callbackBeforeSetFriendRemarkCommandRequest body
| Property | Type | Description |
|---|---|---|
| callbackCommand | string | callbackBeforeSetFriendRemarkCommand. |
| ownerUserID | string | Relationship owner |
| friendUserID | string | Friend user ID |
| remark | string | Proposed remark |
Response
Return the common before-event response from Webhooks overview. Use nextCode: 1 to reject the operation.
Processing rules
- Configuration key:
beforeSetFriendRemark. - OpenIM waits synchronously; timeout behavior follows
failedContinue. - The response may return
remarkto replace the pending value.
Was this page helpful?