UNPKG

instagram-graph-api

Version:

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

29 lines (28 loc) 908 B
import { AxiosResponse } from 'axios'; import { CreatedObjectIdResponse } from '../../common/CreatedObjectIdResponse'; import { Method } from '../../RequestConfig'; import { AbstractRepliesRequest } from './AbstractRepliesRequest'; /** * Request that creates a reply to a comment. * * @author Tiago Grosso <tiagogrosso99@gmail.com> * @since `next.release` */ export declare class PostReplyRequest extends AbstractRepliesRequest<CreatedObjectIdResponse> { /** * The constructor. * * @param accessToken The access token. * @param commentId the id of the comment object. * @param text the text of the reply. */ constructor(accessToken: string, commentId: string, text: string); /** * @inheritdoc */ protected parseResponse(response: AxiosResponse<never>): CreatedObjectIdResponse; /** * @inheritdoc */ protected method(): Method; }