A message in a channel. Lives in the author's own permissioned repo for the channel's space.
Record Key
tid
Timestamp-based ID
Properties
attachments
array
of
ref
#attachment
Optional
Files attached to this message.
createdAt
string
datetime
Required
When the message was sent.
facets
array
of
ref
social.colibri.beta.richtext.facet
Optional
Annotations over ranges of the text.
parent
ref
social.colibri.beta.defs#recordRef
Optional
The message this one replies to.
suppressedEmbeds
array
of
string
uri
Optional
URLs from this message's link facets whose preview the author chose not to show. Moderator suppression is a label instead.
text
string
Required
The message body.
maxLength: 2048 bytesupdatedAt
string
datetime
Optional
When the message was last edited. Absent means never edited.
View raw schema
{
"key": "tid",
"type": "record",
"record": {
"type": "object",
"required": [
"text",
"createdAt"
],
"properties": {
"text": {
"type": "string",
"maxLength": 2048,
"description": "The message body."
},
"facets": {
"type": "array",
"items": {
"ref": "social.colibri.beta.richtext.facet",
"type": "ref"
},
"description": "Annotations over ranges of the text."
},
"parent": {
"ref": "social.colibri.beta.defs#recordRef",
"type": "ref",
"description": "The message this one replies to."
},
"createdAt": {
"type": "string",
"format": "datetime",
"description": "When the message was sent."
},
"updatedAt": {
"type": "string",
"format": "datetime",
"description": "When the message was last edited. Absent means never edited."
},
"attachments": {
"type": "array",
"items": {
"ref": "#attachment",
"type": "ref"
},
"description": "Files attached to this message."
},
"suppressedEmbeds": {
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"description": "URLs from this message's link facets whose preview the author chose not to show. Moderator suppression is a label instead."
}
}
},
"description": "A message in a channel. Lives in the author's own permissioned repo for the channel's space."
}