WireMessage

The message envelope. Retracted messages come back with retracted: true and content: null (a tombstone). Ephemeral messages are not persisted and carry seq: null (they are not returned by history).

  • The message payload, opaque to the platform. Any JSON value, including null for retracted messages.

  • Whether the message is ephemeral (not persisted, no seq).

  • Platform-assigned message id. Unique within the channel.

  • Content class (text in v1).

  • Whether the message was retracted after publish.

  • Properties: 3
  • Per-channel sequence number, or null for ephemeral messages.

  • Epoch milliseconds.

  • Userland discriminator.

  • Properties: 1
  • Present on thread replies: the id of the message that started the thread — that id IS the thread id.

  • Present on thread replies: dense position within the thread's OWN sequence space, independent of the channel's seq and of sibling threads. Per-thread unread is derived from this, not from seq.

  • Present when the message was delivered to a single recipient (to:-send).