org.4906.temp.message

4906.org

Documentation

A message sent in a channel.

main record

A message sent in a channel.

Record Key tid Timestamp-based ID

Properties

channel string at-uri Required

Channel that the message was sent in.

createdAt string datetime Required

An RFC 3339 formatted timestamp.

facets array of ref org.4906.temp.facet Optional

Annotations of text (mentions, URLs, emoji, etc)

nickname string Optional

A nickname, replaces the author's display name if present.

maxLength: 640 bytesminLength: 1 bytesmaxGraphemes: 64 graphemes
text string Required

The contents of the message.

maxLength: 16384 bytesminLength: 1 bytesmaxGraphemes: 2000 graphemes
View raw schema
{
  "description": "A message sent in a channel.",
  "key": "tid",
  "record": {
    "properties": {
      "channel": {
        "description": "Channel that the message was sent in.",
        "format": "at-uri",
        "type": "string"
      },
      "createdAt": {
        "format": "datetime",
        "type": "string"
      },
      "facets": {
        "description": "Annotations of text (mentions, URLs, emoji, etc)",
        "items": {
          "ref": "org.4906.temp.facet",
          "type": "ref"
        },
        "type": "array"
      },
      "nickname": {
        "description": "A nickname, replaces the author's display name if present.",
        "maxGraphemes": 64,
        "maxLength": 640,
        "minLength": 1,
        "type": "string"
      },
      "text": {
        "description": "The contents of the message.",
        "maxGraphemes": 2000,
        "maxLength": 16384,
        "minLength": 1,
        "type": "string"
      }
    },
    "required": [
      "text",
      "channel",
      "createdAt"
    ],
    "type": "object"
  },
  "type": "record"
}

Lexicon Garden

@