Skip to content

place.stream.chat.pinnedRecord

Lexicon Version: 1

Type: record

Record pinning a chat message for prominent display.

Record Key: tid

Record Properties:

NameTypeReq’dDescriptionConstraints
pinnedMessagestringAT-URI of the pinned chat message.Format: at-uri
pinnedBystringDID of the user who pinned the message.Format: did
createdAtstringWhen this pin was created.Format: datetime
expiresAtstringOptional expiration time. If set, the pin is considered inactive after this time.Format: datetime

{
"lexicon": 1,
"id": "place.stream.chat.pinnedRecord",
"defs": {
"main": {
"type": "record",
"key": "tid",
"description": "Record pinning a chat message for prominent display.",
"record": {
"type": "object",
"required": ["pinnedMessage", "createdAt"],
"properties": {
"pinnedMessage": {
"type": "string",
"format": "at-uri",
"description": "AT-URI of the pinned chat message."
},
"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."
}
}
}
}
}
}