Interface MediaData

Interface to represent the data regarding a Media Object.

Author

Tiago Grosso tiagogrosso99@gmail.com

Since

0.1.0

Hierarchy

  • MediaData

Properties

caption?: string

The caption of the media object.

children?: Children

The children of the media object. Only returned for Album IG Media.

comments_count?: number

The number of comments on the media object.

id: string

The id of the media object.

ig_id?: string

The instagram id of the media object.

is_comment_enabled?: boolean

Whether comments are enabled on the media object.

like_count?: number

The number of likes on the media object.

media_product_type?: MediaProductType

Surface where the media is published.

The type of the media object.

media_url?: string

The url of the media object.

owner?: {
    id: string;
}

The owner of the media object.

Type declaration

  • id: string
permalink?: string

The permalink of the media object.

shortcode?: string

The shortcode of the media object.

thumbnail_url?: string

The thumbnail of the media object.

timestamp?: string

The timestamp of the media object in ISO 8601.

username?: string

The username of the media object.

video_title?: string

IGTV media title.

Generated using TypeDoc