A file attached to a message.
Properties
height
integer
Optional
Intrinsic pixel height, when the file is a decodable image or video.
mimeType
string
Required
The sniffed content type.
name
string
Optional
The original filename.
maxLength: 256 bytessize
integer
Optional
Size in bytes.
url
string
uri
Required
URL served by this AppView's blob proxy.
width
integer
Optional
Intrinsic pixel width, when the file is a decodable image or video.
View raw schema
{
"type": "object",
"required": [
"url",
"mimeType"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"description": "URL served by this AppView's blob proxy."
},
"name": {
"type": "string",
"maxLength": 256,
"description": "The original filename."
},
"size": {
"type": "integer",
"description": "Size in bytes."
},
"width": {
"type": "integer",
"description": "Intrinsic pixel width, when the file is a decodable image or video."
},
"height": {
"type": "integer",
"description": "Intrinsic pixel height, when the file is a decodable image or video."
},
"mimeType": {
"type": "string",
"description": "The sniffed content type."
}
},
"description": "A file attached to a message."
}