Audio API component

Hierarchy

Constructors

Properties

Accessors

Methods

Constructors

  • Create an Audio object for the API

    Parameters

    • audio: string

      The audio file's link or id

    • isItAnID: boolean = false

      Whether audio is an id (true) or a link (false)

    Returns Audio

Properties

id?: string

The id of the media

link?: string

The link of the media

Accessors

Methods

  • Internal

    The message built as a string. In most cases it's just JSON.stringify(this)

    Returns string

Generated using TypeDoc