social.colibri.beta.channel.read
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.
Details · record, key any
| Kind | record |
|---|---|
| Record key | any |
| Authority | channel.beta.colibri.social |
| Indexed |
Record
record · key any#cursor
objectThe last message read in one channel.
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
social.colibri.channel.read
recordA read cursor for a Colibri channel, indicating the last read message by a user.
-
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.
-
Returns the authenticated user's read cursor for a channel.
-
Gets the latest message of every text channel in a community that the requesting user may read, for channel list previews. Channels with no message the user may see are absent.
-
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.