social.colibri.channel.read

A read cursor for a Colibri channel, indicating the last read message by a user.

Repository @colibri.social did:plc:mprdjqjluoswa7awzggaggj3 namespace authority
Details · record, key tid
Kindrecord
Record keytid
Authoritychannel.colibri.social
Indexed

Record

record · key tid

Properties

$type

string · nsid

The type of the record.

channel

requiredstring · at-uri

The channel this message was sent in.

cursor

requiredstring · at-uri

The AT-URI of the last message the user read in the channel.

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • Read state for one community's channels. The record key is the community DID, which bounds each record to a community's channel count and makes leaving a community a single delete.

  • Returns the authenticated user's read cursor for a channel.

  • Returns the initial view of a channel: recent messages, the read cursor, and unseen notifications.

  • Pushes the requesting user's read cursors for one community to the AppView, so unread counts update immediately instead of waiting for a sync notification. The client writes its social.colibri.beta.channel.read record for the community to its own personal space first, then calls this. Clients should debounce this rather than calling it on every message. The user's other sessions receive the cursors that moved as a social.colibri.beta.sync.defs#readCursorEvent.

  • Lists messages in a channel or in a thread, newest first by default. Messages from the repo-backed channel this one was migrated from are included and marked legacy. Messages moved in from another space are included in their move order, and messages moved out are absent.