app.didpic.chat.markRead

lexicons.didpic.app

Documentation

Mark a conversation as read by the caller up to its most recent message.

main procedure

Mark a conversation as read by the caller up to its most recent message.

Input

Encodingapplication/json
conversationId string Required

No description available.

token string Optional

Caller's push token. When supplied and bound to the viewer, the response carries the post-update device badge.

Output

Encodingapplication/json
badge integer Optional

Device-wide unread sum (notifications + chat) across every DID bound to the supplied token.

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
{
  "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"
}

Lexicon Garden

@