app.lovesky.chat.getMessages
Messages in one of the caller's conversations, newest first.
Details · query
| Kind | query |
|---|---|
| Authority | chat.lovesky.app |
| Indexed |
Checks
Validunlimited-stringdefs.main.parameters.properties.convoIdNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.parameters.properties.cursorNo 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": "Messages in one of the caller's conversations, newest first.",
"errors": [
{
"description": "No such conversation, or the caller is not part of it.",
"name": "ConvoNotFound"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"cursor": {
"type": "string"
},
"messages": {
"items": {
"ref": "app.lovesky.chat.defs#messageView",
"type": "ref"
},
"type": "array"
}
},
"required": [
"messages"
],
"type": "object"
}
},
"parameters": {
"properties": {
"convoId": {
"type": "string"
},
"cursor": {
"type": "string"
},
"limit": {
"default": 50,
"maximum": 100,
"minimum": 1,
"type": "integer"
}
},
"required": [
"convoId"
],
"type": "params"
},
"type": "query"
}
},
"id": "app.lovesky.chat.getMessages",
"lexicon": 1
}