app.didpic.chat.sendMessage
Send a message into a conversation the caller participates in.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | chat.didpic.app |
| Indexed |
Checks
Validunlimited-stringdefs.main.input.schema.properties.conversationIdNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.input.schema.properties.image.properties.keyNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.input.schema.properties.linkPreview.properties.imageKeyNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.input.schema.properties.replyToMessageIdNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.input.schema.properties.textNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Send a message into a conversation the caller participates in.",
"errors": [
{
"name": "Blocked"
},
{
"name": "InvalidRequest"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"conversationId": {
"type": "string"
},
"image": {
"properties": {
"height": {
"minimum": 1,
"type": "integer"
},
"key": {
"type": "string"
},
"width": {
"minimum": 1,
"type": "integer"
}
},
"required": [
"key",
"width",
"height"
],
"type": "object"
},
"linkPreview": {
"properties": {
"description": {
"maxLength": 500,
"type": "string"
},
"imageHeight": {
"minimum": 1,
"type": "integer"
},
"imageKey": {
"type": "string"
},
"imageWidth": {
"minimum": 1,
"type": "integer"
},
"title": {
"maxLength": 300,
"type": "string"
},
"url": {
"format": "uri",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
},
"replyToMessageId": {
"type": "string"
},
"sharedPostUri": {
"format": "at-uri",
"type": "string"
},
"text": {
"type": "string"
}
},
"required": [
"conversationId"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"message": {
"ref": "app.didpic.chat.defs#messageView",
"type": "ref"
}
},
"required": [
"message"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "app.didpic.chat.sendMessage",
"lexicon": 1
}