45 lines
952 B
JSON
45 lines
952 B
JSON
{
|
|
"lexicon": 1,
|
|
"id": "chat.bsky.convo.sendMessage",
|
|
"defs": {
|
|
"main": {
|
|
"type": "procedure",
|
|
"description": "Sends a message to a conversation.",
|
|
"errors": [
|
|
{
|
|
"name": "ConvoLocked"
|
|
},
|
|
{
|
|
"name": "InvalidConvo"
|
|
},
|
|
{
|
|
"name": "ReplyTargetNotFound"
|
|
}
|
|
],
|
|
"input": {
|
|
"encoding": "application/json",
|
|
"schema": {
|
|
"type": "object",
|
|
"required": ["convoId", "message"],
|
|
"properties": {
|
|
"convoId": {
|
|
"type": "string"
|
|
},
|
|
"message": {
|
|
"type": "ref",
|
|
"ref": "chat.bsky.convo.defs#messageInput"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"encoding": "application/json",
|
|
"schema": {
|
|
"type": "ref",
|
|
"ref": "chat.bsky.convo.defs#messageView"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|