app.didpic.chat.markRead

lexicons.didpic.app

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Mark a conversation as read by the caller up to its most recent message.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "conversationId": {
              "type": "string"
            },
            "token": {
              "description": "Caller's push token. When supplied and bound to the viewer, the response carries the post-update device badge.",
              "type": "string"
            }
          },
          "required": [
            "conversationId"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "badge": {
              "description": "Device-wide unread sum (notifications + chat) across every DID bound to the supplied token.",
              "minimum": 0,
              "type": "integer"
            }
          },
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "app.didpic.chat.markRead",
  "lexicon": 1
}

Validate Record

Validate a record against app.didpic.chat.markRead

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:an2jtp4jgkkbtmwfzhpbxawd
CID
bafyreicqc3pmvypfv4y4ogtibhwsy6e6gsukgjz4sdgiwalkvspah2sjmi
Indexed At
2026-10-10 10:28 UTC
AT-URI
at://did:plc:an2jtp4jgkkbtmwfzhpbxawd/com.atproto.lexicon.schema/app.didpic.chat.markRead

Version History (2 versions)

Similar Lexicons

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

Lexicon Garden

@