Last updated on October 14, 2025
Lobby Presence Events 0.1.0 documentation
- Protobuf File Spec: lobby.proto
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
| Name | Type | Description |
|---|---|---|
| presence | statusPayload | - |
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
| Name | Type | Description |
|---|---|---|
| presence | statusPayload | - |
Schemas
statusPayload
| Name | Type | Description |
|---|---|---|
| userId | string | - |
| availability | integer | - |
| activity | string | - |
event
| Name | Type | Description |
|---|---|---|
| id | string | - |
| version | integer | - |
| name | string | - |
| namespace | string | - |
| parentNamespace | string | - |
| timestamp | string (date-time) | - |
| clientId | string | - |
| userId | string | UserId of the operator for this event (optional) |
| traceId | string | - |
| sessionId | string | - |
| spanContext | string | - |