Sidebar Menu

MediaMetadata

This type is returned by the CreateMediaFromContent and CreateMediaFromUrl methods. It is also included in the MediaReply type.

Type Properties

Property Name Description Data Type Sample
FileDate

UTC date/time when the media was created.

DateTime \/Date(1682439497785)\/
FileName

Name of the media file.

String MonkeyPic.jpg
FileSize

Size of the media file, in bytes.

Long 97465
MediaId

Unique ID of the media file.

Long 12345678
MimeType

Media type (MIME type) of the file.

String image/jpeg
Tags

Category of the media file.

Array of String values Monkey, Animal