MessageEnvelope

Wrapper around a message with streaming/sequencing metadata

  • Envelope type

  • A full chat message as delivered by the server inside a MessageEnvelope. Contains both client-provided and server-managed fields.

    Properties: 12
  • Controls how the client should process the message

    values
    replacecompleteerror
  • Protocol version. Clients should ignore envelopes with an unrecognized version.

  • Monotonically increasing sequence number for ordering envelopes within a message

  • ISO 8601 timestamp of when the envelope was created

  • Error description (present when operation is error)