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

Lexicon Garden

@