Record containing a chat message in a conversation.
Record Key
tid
Timestamp-based ID
Properties
author
string
did
Required
DID of the message author.
content
string
Required
The content of the message.
maxLength: 100000 bytesmaxGraphemes: 10000 graphemescreatedAt
string
datetime
Required
Client-declared timestamp when this message was created.
lang
string
Optional
Language code of the original content (e.g., 'ja', 'en').
maxLength: 10 bytesparent
string
at-uri
Optional
AT-URI of the parent message being replied to.
root
string
at-uri
Optional
AT-URI of the root message in the thread.
translations
ref
#translationMap
Optional
Translations of the message in other languages.
View raw schema
{
"key": "tid",
"type": "record",
"record": {
"type": "object",
"required": [
"content",
"author",
"createdAt"
],
"properties": {
"lang": {
"type": "string",
"maxLength": 10,
"description": "Language code of the original content (e.g., 'ja', 'en')."
},
"root": {
"type": "string",
"format": "at-uri",
"description": "AT-URI of the root message in the thread."
},
"author": {
"type": "string",
"format": "did",
"description": "DID of the message author."
},
"parent": {
"type": "string",
"format": "at-uri",
"description": "AT-URI of the parent message being replied to."
},
"content": {
"type": "string",
"maxLength": 100000,
"description": "The content of the message.",
"maxGraphemes": 10000
},
"createdAt": {
"type": "string",
"format": "datetime",
"description": "Client-declared timestamp when this message was created."
},
"translations": {
"ref": "#translationMap",
"type": "ref",
"description": "Translations of the message in other languages."
}
}
},
"description": "Record containing a chat message in a conversation."
}