Record pinning a chat message for prominent display.
Record Key
tid
Timestamp-based ID
Properties
createdAt
string
datetime
Required
When this pin was created.
expiresAt
string
datetime
Optional
Optional expiration time. If set, the pin is considered inactive after this time.
pinnedBy
string
did
Optional
DID of the user who pinned the message.
pinnedMessage
string
at-uri
Required
AT-URI of the pinned chat message.
View raw schema
{
"key": "tid",
"type": "record",
"record": {
"type": "object",
"required": [
"pinnedMessage",
"createdAt"
],
"properties": {
"pinnedBy": {
"type": "string",
"format": "did",
"description": "DID of the user who pinned the message."
},
"createdAt": {
"type": "string",
"format": "datetime",
"description": "When this pin was created."
},
"expiresAt": {
"type": "string",
"format": "datetime",
"description": "Optional expiration time. If set, the pin is considered inactive after this time."
},
"pinnedMessage": {
"type": "string",
"format": "at-uri",
"description": "AT-URI of the pinned chat message."
}
}
},
"description": "Record pinning a chat message for prominent display."
}