Audio API component

Hierarchy

Constructors

Properties

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

Methods

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

    Returns string

Generated using TypeDoc