Files
bsky-social-app/lexicons/chat/bsky/convo/sendMessageBatch.json
2026-08-13 12:26:12 -07:00

76 lines
1.6 KiB
JSON

{
"id": "chat.bsky.convo.sendMessageBatch",
"defs": {
"main": {
"type": "procedure",
"input": {
"schema": {
"type": "object",
"required": [
"items"
],
"properties": {
"items": {
"type": "array",
"items": {
"ref": "#batchItem",
"type": "ref"
},
"maxLength": 100
}
}
},
"encoding": "application/json"
},
"errors": [
{
"name": "ConvoLocked"
},
{
"name": "InvalidConvo"
},
{
"name": "ReplyTargetNotFound"
}
],
"output": {
"schema": {
"type": "object",
"required": [
"items"
],
"properties": {
"items": {
"type": "array",
"items": {
"ref": "chat.bsky.convo.defs#messageView",
"type": "ref"
}
}
}
},
"encoding": "application/json"
},
"description": "Sends a batch of messages to a conversation."
},
"batchItem": {
"type": "object",
"required": [
"convoId",
"message"
],
"properties": {
"convoId": {
"type": "string"
},
"message": {
"ref": "chat.bsky.convo.defs#messageInput",
"type": "ref"
}
}
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}