app.zeens.getMessages
Return the message history for one conversation, newest-first, paginated. Each item's body is base64-obfuscated (not encrypted); Zeens decodes it. The viewer must be a participant.
Details · query
| Kind | query |
|---|---|
| Authority | zeens.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.unlimited-stringdefs.main.output.schema.properties.messages.items.properties.bodyNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.output.schema.properties.messages.items.properties.convoIdNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.output.schema.properties.messages.items.properties.createdAtNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.output.schema.properties.messages.items.properties.uriNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Return the message history for one conversation, newest-first, paginated. Each item's body is base64-obfuscated (not encrypted); Zeens decodes it. The viewer must be a participant.",
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"cursor": {
"type": "string"
},
"messages": {
"items": {
"properties": {
"body": {
"type": "string"
},
"convoId": {
"type": "string"
},
"createdAt": {
"type": "string"
},
"recipient": {
"format": "did",
"type": "string"
},
"sender": {
"format": "did",
"type": "string"
},
"uri": {
"type": "string"
}
},
"required": [
"uri",
"sender",
"convoId",
"body",
"createdAt"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"messages"
],
"type": "object"
}
},
"parameters": {
"properties": {
"convoId": {
"type": "string"
},
"cursor": {
"type": "string"
},
"limit": {
"default": 36,
"maximum": 100,
"minimum": 1,
"type": "integer"
},
"viewer": {
"format": "did",
"type": "string"
}
},
"required": [
"viewer",
"convoId"
],
"type": "params"
},
"type": "query"
}
},
"id": "app.zeens.getMessages",
"lexicon": 1
}