Platform API
After a user goes offline
Synchronize presence after a user connection closes.
HTTP request
POST {WEBHOOK_ADDRESS}/callbackAfterUserOfflineCommandRequest body
| Property | Type | Description |
|---|---|---|
| callbackCommand | string | callbackAfterUserOfflineCommand. |
| operationID | string | OpenIM operation trace ID. |
| platformID | int | Client platform ID. |
| platform | string | Client platform name. |
| userID | string | User ID. |
| seq | int | Connection sequence number. |
| connID | string | Connection ID. |
Response
Return HTTP success promptly. The connection is already offline and cannot be changed by this response.
Processing rules
- Configuration key:
afterUserOffline. - Process idempotently using
userID,platformID, andconnID.
Was this page helpful?