メインコンテンツまでスキップ

Lobby Presence Events 0.1.0 documentation

Published Messages (presence)

The service publishes one of these messages below.

userSetStatus

Contains fields from event and the following payload.

Example value
{
"payload": {
"presence": {
"userId": "string",
"availability": 0,
"activity": "string"
}
},
"id": "string",
"version": 0,
"name": "string",
"namespace": "string",
"parentNamespace": "string",
"timestamp": "2019-08-24T14:15:22Z",
"clientId": "string",
"userId": "string",
"traceId": "string",
"sessionId": "string",
"spanContext": "string"
}

payload

NameTypeDescription
presencestatusPayload-

friendStatusUpdated

Contains fields from event and the following payload.

Example value
{
"payload": {
"presence": {
"userId": "string",
"availability": 0,
"activity": "string"
}
},
"id": "string",
"version": 0,
"name": "string",
"namespace": "string",
"parentNamespace": "string",
"timestamp": "2019-08-24T14:15:22Z",
"clientId": "string",
"userId": "string",
"traceId": "string",
"sessionId": "string",
"spanContext": "string"
}

payload

NameTypeDescription
presencestatusPayload-

Schemas

statusPayload

NameTypeDescription
userIdstring-
availabilityinteger-
activitystring-

event

NameTypeDescription
idstring-
versioninteger-
namestring-
namespacestring-
parentNamespacestring-
timestampstring (date-time)-
clientIdstring-
userIdstringUserId of the operator for this event (optional)
traceIdstring-
sessionIdstring-
spanContextstring-