Class: Media

Media

Represents a media object

Constructor

new Media()

Properties:
Name Type Description
id Number The unique id used by plug
cid String The id used by the source. This is only unique if used together with 'format'
format Number The format of the media. 1 is YouTube, 2 is SoundCloud
author String The media author
title String The media title
duration Number The media duration
image String A link to a cover image.
name String The concatenated name of the media
uniqueId String An unique id for the media
Source: