ai.newnal.trustsquare.getChatMessages
Page through chat messages of a live Square (newest first by default).
Details · query
| Kind | query |
|---|---|
| Authority | trustsquare.newnal.ai |
| Indexed |
Checks
Validunlimited-stringdefs.main.parameters.properties.cursorNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.parameters.properties.directionNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.output.schema.properties.cursorNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Page through chat messages of a live Square (newest first by default).",
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"cursor": {
"type": "string"
},
"messages": {
"items": {
"ref": "ai.newnal.trustsquare.defs#chatMessageView",
"type": "ref"
},
"type": "array"
}
},
"required": [
"messages"
],
"type": "object"
}
},
"parameters": {
"properties": {
"cursor": {
"type": "string"
},
"direction": {
"default": "backward",
"knownValues": [
"backward",
"forward"
],
"type": "string"
},
"limit": {
"default": 50,
"maximum": 200,
"minimum": 1,
"type": "integer"
},
"square": {
"format": "at-uri",
"type": "string"
}
},
"required": [
"square"
],
"type": "params"
},
"type": "query"
}
},
"id": "ai.newnal.trustsquare.getChatMessages",
"lexicon": 1
}