UNPKG

@types/facebook-nodejs-business-sdk

Version:
34 lines (33 loc) 1.56 kB
import { AbstractCrudObject } from "./../abstract-crud-object"; import AbstractObject from "./../abstract-object"; import Cursor from "./../cursor"; /** * IGMediaForIGOnlyAPI * @see {@link https://developers.facebook.com/docs/marketing-api/} */ export default class IGMediaForIGOnlyAPI extends AbstractCrudObject { static get Fields(): Readonly<{ alt_text: "alt_text"; caption: "caption"; comments_count: "comments_count"; id: "id"; is_comment_enabled: "is_comment_enabled"; is_shared_to_feed: "is_shared_to_feed"; like_count: "like_count"; media_product_type: "media_product_type"; media_type: "media_type"; media_url: "media_url"; owner: "owner"; permalink: "permalink"; shortcode: "shortcode"; thumbnail_url: "thumbnail_url"; timestamp: "timestamp"; username: "username"; }>; getChildren(fields: string[], params?: Record<string, any>, fetchFirstPage?: boolean): Cursor | Promise<Cursor>; getComments(fields: string[], params?: Record<string, any>, fetchFirstPage?: boolean): Cursor | Promise<Cursor>; createComment(fields: string[], params?: Record<string, any>, pathOverride?: string | null): Promise<AbstractObject>; getInsights(fields: string[], params?: Record<string, any>, fetchFirstPage?: boolean): Cursor | Promise<Cursor>; get(fields: string[], params?: Record<string, any>): Promise<IGMediaForIGOnlyAPI>; update(fields: string[], params?: Record<string, any>): Promise<AbstractObject>; }