Lobby Chat Events 0.1.0 documentation
- Protobuf File Spec: lobby.proto
Published Messages (personalChat)
The service publishes one of these messages below.
personalChatSent
Contains fields from event and the following payload.
Example value
{
"payload": {
"chat": {
"messageId": "8540d774-4863-4d2b-b788-4ecb19412e85",
"senderId": "6b2f63ba-164c-48c9-87b1-690cee2b3da3",
"targetId": "cbca1126-180e-4334-9df8-cf82289d378b",
"payload": "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 |
---|---|---|
chat | chatPayload | - |
Published Messages (partyChat)
The service publishes one of these messages below.
partyChatSent
Contains fields from event and the following payload.
Example value
{
"payload": {
"chat": {
"messageId": "8540d774-4863-4d2b-b788-4ecb19412e85",
"senderId": "6b2f63ba-164c-48c9-87b1-690cee2b3da3",
"targetId": "cbca1126-180e-4334-9df8-cf82289d378b",
"payload": "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 |
---|---|---|
chat | chatPayload | - |
Schemas
chatPayload
Name | Type | Description |
---|---|---|
messageId | string (uuid) | - |
senderId | string (uuid) | - |
targetId | string (uuid) | Can be partyId or userId |
payload | 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 | - |