app.didpic.chat.uploadMessageImage
Upload raw image bytes for a chat message.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | chat.didpic.app |
| Indexed |
Checks
Validunlimited-stringdefs.main.output.schema.properties.keyNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.output.schema.properties.publicUrlNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Upload raw image bytes for a chat message.",
"errors": [
{
"name": "InvalidRequest"
},
{
"name": "PayloadTooLarge"
}
],
"input": {
"encoding": "*/*"
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"height": {
"type": "integer"
},
"key": {
"type": "string"
},
"publicUrl": {
"type": "string"
},
"width": {
"type": "integer"
}
},
"required": [
"key",
"publicUrl",
"width",
"height"
],
"type": "object"
}
},
"parameters": {
"properties": {
"height": {
"minimum": 1,
"type": "integer"
},
"width": {
"minimum": 1,
"type": "integer"
}
},
"required": [
"width",
"height"
],
"type": "params"
},
"type": "procedure"
}
},
"id": "app.didpic.chat.uploadMessageImage",
"lexicon": 1
}