chat.yakka.markRead

yakka.chat

Documentation

Advance the viewer's read marker for a channel. The marker is a `chat.yakka.readMarker` record in the viewer's own settings space (ADR 0017), so it follows them to any client rather than living in this appview's idea of them. Monotonic: a marker never moves backwards, so an out-of-order call from a second tab cannot un-read a channel.

main procedure

Advance the viewer's read marker for a channel. The marker is a `chat.yakka.readMarker` record in the viewer's own settings space (ADR 0017), so it follows them to any client rather than living in this appview's idea of them. Monotonic: a marker never moves backwards, so an out-of-order call from a second tab cannot un-read a channel.

Input

Encodingapplication/json
Schema#input

Errors

ChannelNotFound
Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://bsky.social)
Enter valid JSON for the request body
View raw schema
{
  "type": "procedure",
  "input": {
    "schema": {
      "ref": "#input",
      "type": "ref"
    },
    "encoding": "application/json"
  },
  "errors": [
    {
      "name": "ChannelNotFound"
    }
  ],
  "description": "Advance the viewer's read marker for a channel. The marker is a `chat.yakka.readMarker` record in the viewer's own settings space (ADR 0017), so it follows them to any client rather than living in this appview's idea of them.\n\nMonotonic: a marker never moves backwards, so an out-of-order call from a second tab cannot un-read a channel."
}
input object

No description available.

Properties

channel string Required

No description available.

seq integer Required

The highest sequence the viewer has seen.

minimum: 1
View raw schema
{
  "type": "object",
  "required": [
    "channel",
    "seq"
  ],
  "properties": {
    "seq": {
      "type": "integer",
      "minimum": 1,
      "description": "The highest sequence the viewer has seen."
    },
    "channel": {
      "type": "string"
    }
  }
}

Lexicon Garden

@