UNPKG

instagram-graph-api

Version:

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

20 lines (19 loc) 568 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CommentUpdateResponse = void 0; const AbstractResponse_1 = require("../AbstractResponse"); /** * A class to represent responses from any update to comments. * * @author Tiago Grosso <tiagogrosso99@gmail.com> * @since 0.6.0 */ class CommentUpdateResponse extends AbstractResponse_1.AbstractResponse { /** * Whether the request was successful. */ wasSuccessful() { return this.data.success; } } exports.CommentUpdateResponse = CommentUpdateResponse;