The Media object

    The Media Object represents media in the system which has following attributes.

    Attributes

    content_type

    Indicates the content type of the media.

    * Valid content types accepted : Jpeg/JPG, png, Mp4, Gimp, PDF, Txt.

    file_name

    Indicates the name of the file which was uploaded to the system.

    media_id

    A unique identier for a media for a given auth.

    media_url

    Location of the media resource on Plivo's system.

    *Unused media have a Time To Live(TTL) of 6 hours. Media uploaded will be deleted from our system, if it remains unused for sending mms even after 6 hours from the time of upload. Once used media will be persisted forever.

    media_size

    Size of the media in bytes.

    *Media with size greater than 2 MB are not accepted.

    upload_time

    Time at which the media was uploaded to Plivo's system.