Class GetPageMediaResponse

Class that represents a response from a Page Media request.

Author

Tiago Grosso tiagogrosso99@gmail.com

Since

0.1.0

Hierarchy

Constructors

Properties

data: MediaData[]

The response data.

paging: Paging

The paging of the response.

Methods

  • Gets a map from the id of the media objects to whether they have comments enabled. If a media object does have not a the 'is_comment_enabled' field, 'undefined' is returned for that object.

    Returns

    a map from the id of the media objects to whether they have comments enabled.

    Returns Map<string, undefined | boolean>

  • Gets a map from the id of the media objects to their media owner. If a media object does have not a the 'owner' field, 'undefined' is returned for that object.

    Returns

    a map from the id of the media objects to their 'owner'.

    Returns Map<string, undefined | {
        id: string;
    }>

  • Gets an array with the video titles of the all the media objects. If a media object does not have the 'video_title' field, 'undefined' is returned for that object.

    Returns

    an array with the video titles of the all the media objects.

    Deprecated

    this is no longer returned when using the latest versions of the API.

    Returns (undefined | string)[]

  • Gets a map from the id of the media objects to their video title. If a media object does have not a the 'video_title' field, 'undefined' is returned for that object.

    Returns

    a map from the id of the media objects to their 'video_title'.

    Deprecated

    this is no longer returned when using the latest versions of the API.

    Returns Map<string, undefined | string>

Generated using TypeDoc