ai.newnal.trustsquare.getChatMessages

bezalel-newnal.bsky.social

Documentation

Page through chat messages of a live Square (newest first by default).

main query

Page through chat messages of a live Square (newest first by default).

Parameters

cursor string Optional

No description available.

direction string Optional

No description available.

limit integer Optional

No description available.

square string at-uri Required

An AT Protocol URI (e.g., at://did:plc:xyz/app.bsky.feed.post/abc).

Output

Encodingapplication/json
cursor string Optional

No description available.

messages array Required

No description available.

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://api.bsky.social)
Parameters
An AT Protocol URI (e.g., at://did:plc:xyz/app.bsky.feed.post/abc).
View raw schema
{
  "type": "query",
  "output": {
    "schema": {
      "type": "object",
      "required": [
        "messages"
      ],
      "properties": {
        "cursor": {
          "type": "string"
        },
        "messages": {
          "type": "array",
          "items": {
            "ref": "ai.newnal.trustsquare.defs#chatMessageView",
            "type": "ref"
          }
        }
      }
    },
    "encoding": "application/json"
  },
  "parameters": {
    "type": "params",
    "required": [
      "square"
    ],
    "properties": {
      "limit": {
        "type": "integer",
        "default": 50,
        "maximum": 200,
        "minimum": 1
      },
      "cursor": {
        "type": "string"
      },
      "square": {
        "type": "string",
        "format": "at-uri"
      },
      "direction": {
        "type": "string",
        "default": "backward",
        "knownValues": [
          "backward",
          "forward"
        ]
      }
    }
  },
  "description": "Page through chat messages of a live Square (newest first by default)."
}

Lexicon Garden

@