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

Type Properties

Property NameDescriptionData TypeSample
FileDateUTC date/time when the media was created.DateTime\/Date(1682439497785)\/
FileNameName of the media file.StringMonkeyPic.jpg
FileSizeSize of the media file, in bytes.Long97465
MediaIdUnique ID of the media file.Long12345678
MimeTypeMedia type (MIME type) of the file.Stringimage/jpeg
TagsCategory of the media file.Array of String valuesMonkey, Animal

Let’s start sending, together.