instagram-graph-api
Version:
A library to help perform requests to the Instagram Graph API.
25 lines (24 loc) • 915 B
TypeScript
import { AxiosResponse } from 'axios';
import { CommentField } from '../../../Enums';
import { GetObjectCommentsResponse } from '../../common/GetObjectCommentsResponse';
import { AbstractRepliesRequest } from './AbstractRepliesRequest';
/**
* A request to get the replies to a comment.
*
* @author Tiago Grosso <tiagogrosso99@gmail.com>
* @since `next.release`
*/
export declare class GetRepliesRequest extends AbstractRepliesRequest<GetObjectCommentsResponse> {
/**
* The constructor.
*
* @param accessToken the access token.
* @param pageId the id of the comment.
* @param fields the fields to retrieve from the API. If no field is specified, all are retrieved.
*/
constructor(accessToken: string, commentId: string, ...fields: CommentField[]);
/**
* @inheritdoc
*/
protected parseResponse(response: AxiosResponse<never>): GetObjectCommentsResponse;
}