Class: Media

Media

A Media represents a media information for Message in a Channel.

Properties:
Name Type Argument Description
contentType String content type of media
sid String The server-assigned unique identifier for Media
size Number Size of media, bytes
filename String <optional>
file name if present, null otherwise

Methods


getContentUrl()

Returns direct content URL for the media.
Returns:
Type
Promise.<String>