Platform API
After a user comes online
Synchronize presence after a user establishes an online connection.
HTTP request
POST {WEBHOOK_ADDRESS}/callbackAfterUserOnlineCommandRequest body
| Property | Type | Description |
|---|---|---|
| callbackCommand | string | callbackAfterUserOnlineCommand. |
| 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. |
| isAppBackground | boolean | Whether the client application is in the background. |
| connID | string | Connection ID. |
Response
Return HTTP success promptly. The connection is already online and cannot be changed by this response.
Processing rules
- Configuration key:
afterUserOnline. - Process idempotently using
userID,platformID, andconnID.
Was this page helpful?