A message sent in a channel on Colibri
Record Key
tid
Timestamp-based ID
Properties
$type
string
nsid
Optional
The type of the record.
attachments
array
of
ref
lex:social.colibri.message#attachment
Optional
An array of attachment objects for this message.
channel
string
at-uri
Required
The channel this message was sent in.
createdAt
string
datetime
Required
When the message was sent.
edited
boolean
Optional
Whether this message has been edited.
Default:
falsefacets
array
of
ref
lex:social.colibri.richtext.facet
Optional
Annotations of sections of the text.
parent
string
record-key
Optional
The record key of a message this message is replying to.
suppressedEmbeds
array
of
string
uri
Optional
URLs from this message's link facets whose embed the author has chosen not to display. Only the author writes this; moderator suppression is recorded separately in the community's moderation log.
text
string
Required
The message content.
maxLength: 2048 bytesView raw schema
{
"key": "tid",
"type": "record",
"record": {
"type": "object",
"required": [
"text",
"createdAt",
"channel"
],
"properties": {
"text": {
"type": "string",
"maxLength": 2048,
"description": "The message content."
},
"$type": {
"type": "string",
"format": "nsid",
"description": "The type of the record."
},
"edited": {
"type": "boolean",
"default": false,
"description": "Whether this message has been edited."
},
"facets": {
"type": "array",
"items": {
"ref": "lex:social.colibri.richtext.facet",
"type": "ref"
},
"description": "Annotations of sections of the text."
},
"parent": {
"type": "string",
"format": "record-key",
"description": "The record key of a message this message is replying to."
},
"channel": {
"type": "string",
"format": "at-uri",
"description": "The channel this message was sent in."
},
"createdAt": {
"type": "string",
"format": "datetime",
"description": "When the message was sent."
},
"attachments": {
"type": "array",
"items": {
"ref": "lex:social.colibri.message#attachment",
"type": "ref"
},
"description": "An array of attachment objects for this message."
},
"suppressedEmbeds": {
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"description": "URLs from this message's link facets whose embed the author has chosen not to display. Only the author writes this; moderator suppression is recorded separately in the community's moderation log."
}
}
},
"description": "A message sent in a channel on Colibri"
}