Video API component

Hierarchy

Constructors

Properties

Methods

Constructors

  • Create a Video object for the API

    Parameters

    • video: string

      The video file's link

    • isItAnID: boolean = false

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

    • Optional caption: string

      Describes the specified video media

    Returns Video

Properties

caption?: string

The file's caption

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