Record Media
POST/media/record
Record Media
Request
- multipart/form-data
Body
required
attachment binaryrequired
mediaType stringrequired
Possible values: [image
, video
, document
, sticker
, audio
]
Responses
- 201
- application/json
- Schema
- Example (from schema)
Schema
mediaId stringrequired
type stringrequired
Default value: image | video | document | sticker | audio
fileName stringrequired
mimetype stringrequired
size stringrequired
url stringrequired
message stringrequired
Default value: This object's url expires in 60 seconds.
{
"mediaId": "string",
"type": "image | video | document | sticker | audio",
"fileName": "string",
"mimetype": "string",
"size": "string",
"url": "string",
"message": "This object's url expires in 60 seconds."
}
Loading...