Skip to main content

Lobby Chat Events 0.1.0 documentation

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

NameTypeDescription
chatchatPayload-

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

NameTypeDescription
chatchatPayload-

Schemas

chatPayload

NameTypeDescription
messageIdstring (uuid)-
senderIdstring (uuid)-
targetIdstring (uuid)Can be partyId or userId
payloadstring-

event

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