social.colibri.message
A message sent in a channel on Colibri
Details · record, key tid
| Kind | record |
|---|---|
| Record key | tid |
| Authority | colibri.social |
| Indexed |
Checks
Validfield-name-syntaxdefs.main.record.properties.$typeThe field name $type should be letters and digits, starting with a letter.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"attachment": {
"description": "A file attached to a message.",
"properties": {
"blob": {
"description": "The attached file.",
"type": "blob"
},
"name": {
"description": "The original filename.",
"maxLength": 256,
"type": "string"
}
},
"required": [
"blob"
],
"type": "object"
},
"main": {
"description": "A message sent in a channel on Colibri",
"key": "tid",
"record": {
"properties": {
"$type": {
"description": "The type of the record.",
"format": "nsid",
"type": "string"
},
"attachments": {
"description": "An array of attachment objects for this message.",
"items": {
"ref": "lex:social.colibri.message#attachment",
"type": "ref"
},
"type": "array"
},
"channel": {
"description": "The channel this message was sent in.",
"format": "at-uri",
"type": "string"
},
"createdAt": {
"description": "When the message was sent.",
"format": "datetime",
"type": "string"
},
"edited": {
"default": false,
"description": "Whether this message has been edited.",
"type": "boolean"
},
"facets": {
"description": "Annotations of sections of the text.",
"items": {
"ref": "lex:social.colibri.richtext.facet",
"type": "ref"
},
"type": "array"
},
"parent": {
"description": "The record key of a message this message is replying to.",
"format": "record-key",
"type": "string"
},
"suppressedEmbeds": {
"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.",
"items": {
"format": "uri",
"type": "string"
},
"type": "array"
},
"text": {
"description": "The message content.",
"maxLength": 2048,
"type": "string"
}
},
"required": [
"text",
"createdAt",
"channel"
],
"type": "object"
},
"type": "record"
}
},
"description": "A message sent in a channel on Colibri.",
"id": "social.colibri.message",
"lexicon": 1,
"revision": 3
}