place.stream.chat.message

did:web:iame.li

Documentation

Record containing a Streamplace chat message.

main record

Record containing a Streamplace chat message.

Record Key tid Timestamp-based ID

Properties

createdAt string datetime Required

Client-declared timestamp when this message was originally created.

reply ref #replyRef Optional

No description available.

streamer string did Required

The DID of the streamer whose chat this is.

text string Required

The primary message content. May be an empty string, if there are embeds.

maxLength: 3000 bytesmaxGraphemes: 300 graphemes
View raw schema
{
  "key": "tid",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "text",
      "createdAt",
      "streamer"
    ],
    "properties": {
      "text": {
        "type": "string",
        "maxLength": 3000,
        "description": "The primary message content. May be an empty string, if there are embeds.",
        "maxGraphemes": 300
      },
      "reply": {
        "ref": "#replyRef",
        "type": "ref"
      },
      "facets": {
        "type": "array",
        "items": {
          "ref": "place.stream.richtext.facet",
          "type": "ref"
        },
        "description": "Annotations of text (mentions, URLs, etc)"
      },
      "streamer": {
        "type": "string",
        "format": "did",
        "description": "The DID of the streamer whose chat this is."
      },
      "createdAt": {
        "type": "string",
        "format": "datetime",
        "description": "Client-declared timestamp when this message was originally created."
      }
    }
  },
  "description": "Record containing a Streamplace chat message."
}
replyRef object

No description available.

Properties

View raw schema
{
  "type": "object",
  "required": [
    "root",
    "parent"
  ],
  "properties": {
    "root": {
      "ref": "com.atproto.repo.strongRef",
      "type": "ref"
    },
    "parent": {
      "ref": "com.atproto.repo.strongRef",
      "type": "ref"
    }
  }
}

Lexicon Garden

@