PinnedRecord

constructor(pinnedBy: Did? = null, createdAt: Timestamp, expiresAt: Timestamp? = null, pinnedMessage: AtUri)

Parameters

pinnedBy

DID of the user who pinned the message.

createdAt

When this pin was created.

expiresAt

Optional expiration time. If set, the pin is considered inactive after this time.

pinnedMessage

AT-URI of the pinned chat message.