Skip to main content

Record Media

POST 

/media/record

Record Media

Request

Body

required
    attachment binaryrequired
    mediaType stringrequired

    Possible values: [image, video, document, sticker, audio]

Responses

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.

Loading...