Skip to main content
This schema documents the of.websocket.event.received|chat_messages,count_priority_chat,unread_tips payload family.

A structured websocket payload with inbox and priority chat counters.

connection
object
required

Connection context for the source upstream websocket payload.

environment
enum<string>
required

OFAuth environment for the source connection.

Available options:
live,
test,
sandbox
receivedAt
string<date-time>
required

When OFAuth received the upstream websocket payload.

messageType
string
required

Transport-level websocket frame classification from the relay.

payloadKey
enum<string>
required

Stable OFAuth shape key for this payload.

Available options:
of.websocket.event.received|chat_messages,count_priority_chat,unread_tips
truncated
boolean
required

Whether OFAuth truncated the upstream payload before forwarding it.

json
object
required
Example:
{
"chat_messages": 25,
"count_priority_chat": 25,
"unread_tips": 0
}
shapeSubtype
enum<string> | null

Curated subtype label for this payload family.

Available options:
chat.inbox.counts_updated,
null
rawText
string | null

Raw upstream payload text, present when the frame was text-based.

rawBase64
string | null

Raw upstream payload bytes as base64 when the frame was binary.