social.colibri.channel.read
A read cursor for a Colibri channel, indicating the last read message by a user.
Details · record, key tid
| Kind | record |
|---|---|
| Record key | tid |
| Authority | channel.colibri.social |
| Indexed |
Record
record · key tidSimilar lexicons
semantic matchLexicons 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.