instagram-graph-api
Version:
A library to help perform requests to the Instagram Graph API.
22 lines (21 loc) • 643 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.CreatedObjectIdResponse = void 0;
const AbstractResponse_1 = require("../AbstractResponse");
/**
* Class that represents a response from a Post Media Comment request.
*
* @author Tiago Grosso <tiagogrosso99@gmail.com>
* @since 0.5.0
*/
class CreatedObjectIdResponse extends AbstractResponse_1.AbstractResponse {
/**
* Gets the id of the comment that was created.
*
* @returns the id of the comment that was created.
*/
getId() {
return this.data.id;
}
}
exports.CreatedObjectIdResponse = CreatedObjectIdResponse;