UNPKG

instagram-graph-api

Version:

A library to help perform requests to the Instagram Graph API.

31 lines (30 loc) 896 B
import { AxiosResponse } from 'axios'; import { AbstractRequest } from '../../AbstractRequest'; import { GetMediaChildrenResponse } from './GetMediaChildrenResponse'; /** * A request that gets the children of an album media object. * * @author Tiago Grosso <tiagogrosso99@gmail.com> * @since 0.5.0 */ export declare class GetMediaChildrenRequest extends AbstractRequest<GetMediaChildrenResponse> { /** * The id of the media object (must be an album). */ private mediaId; /** * The constructor * * @param accessToken the access token. * @param mediaId the id of the media object (must be an album). */ constructor(accessToken: string, mediaId: string); /** * @inheritdoc */ protected parseResponse(response: AxiosResponse<never>): GetMediaChildrenResponse; /** * @inheritdoc */ protected url(): string; }