MessageEnvelope
Wrapper around a message with streaming/sequencing metadata
- kindenumconst:messagerequired
Envelope type
values- message
- message
_snapshot requiredA full chat message as delivered by the server inside a
MessageEnvelope. Contains both client-provided and server-managed fields.- blocksType: array · MessageBlock[]required
Content blocks that make up the message
- channelType: string
_id _from deprecatedrequiredChannel identifier of the sender
- conversationType: string Format: uuid
_id deprecatedrequiredUUID of the conversation
- interactionType: string Format: uuid
_id requiredGroups related messages in a request/response interaction
- messageType: string Format: uuid
_id requiredUnique message identifier
- participantType: object · MessageParticipant
_from required - sentType: string Format: date-time
_at requiredISO 8601 timestamp
- statusType: string · MessageStatusenumrequired
Current processing state of the message
values- partial
- complete
- error
- traceType: string
_id requiredTrace ID for request correlation (server-managed)
- requestType: boolean
_user _feedback Whether the UI should prompt for user feedback (server-managed)
- userType: string nullable
_feedback _value User feedback value if provided
- operationType: string · EnvelopeOpenumrequired
Controls how the client should process the message
values- replace
- complete
- error
- protoenumconst:1required
Protocol version. Clients should ignore envelopes with an unrecognized version.
values- 1
- sequenceType: integerrequired
Monotonically increasing sequence number for ordering envelopes within a message
- timestampType: string Format: date-timerequired
ISO 8601 timestamp of when the envelope was created
- errorType: string
Error description (present when operation is
error)