A message in a channel. Lives in the author's own permissioned repo for the channel's space.
tid
Timestamp-based ID
Properties
attachments
array
of
ref
#attachment
Optional
Files attached to this message.
bridged
ref
social.colibri.beta.bridge.defs#attribution
Optional
Who sent this message on another service. Honoured only when the community itself wrote the record.
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.
forward
ref
#forward
Optional
Content copied here from another message. Present only on a forwarded message.
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
{
"description": "A message in a channel. Lives in the author's own permissioned repo for the channel's space.",
"key": "tid",
"record": {
"properties": {
"attachments": {
"description": "Files attached to this message.",
"items": {
"ref": "#attachment",
"type": "ref"
},
"type": "array"
},
"bridged": {
"description": "Who sent this message on another service. Honoured only when the community itself wrote the record.",
"ref": "social.colibri.beta.bridge.defs#attribution",
"type": "ref"
},
"createdAt": {
"description": "When the message was sent.",
"format": "datetime",
"type": "string"
},
"facets": {
"description": "Annotations over ranges of the text.",
"items": {
"ref": "social.colibri.beta.richtext.facet",
"type": "ref"
},
"type": "array"
},
"forward": {
"description": "Content copied here from another message. Present only on a forwarded message.",
"ref": "#forward",
"type": "ref"
},
"parent": {
"description": "The message this one replies to.",
"ref": "social.colibri.beta.defs#recordRef",
"type": "ref"
},
"suppressedEmbeds": {
"description": "URLs from this message's link facets whose preview the author chose not to show. Moderator suppression is a label instead.",
"items": {
"format": "uri",
"type": "string"
},
"type": "array"
},
"text": {
"description": "The message body.",
"maxLength": 2048,
"type": "string"
},
"updatedAt": {
"description": "When the message was last edited. Absent means never edited.",
"format": "datetime",
"type": "string"
}
},
"required": [
"text",
"createdAt"
],
"type": "object"
},
"type": "record"
}