igpapi — Instagram private API Simulator for Node.js (API reference) 4.14.0
    Preparing search index...

    Interface MediaCommentInput

    interface MediaCommentInput {
        carouselIndex?: string | number;
        chainingPosition?: string | number;
        chainingSeedMediaId?: string;
        chainingSessionId?: string;
        clientPosition?: string | number;
        commentCreationKey?: string;
        feedPosition?: string | number;
        fullyVisibleMediaNoteIds?: readonly string[];
        isCarouselBumpedPost?: boolean;
        mediaId: string;
        numVisibleMediaNotes?: string | number;
        rankingSessionId?: string;
        recsIx?: string | number;
        replyToCommentId?: string;
        storyRankingToken?: string;
        surface?: "feed" | "reels";
        text: string;
    }
    Index

    Properties

    carouselIndex?: string | number

    Carousel child index; a media with no carousel child names -1.

    chainingPosition?: string | number

    Reels: zero-based chaining position; defaults to 0.

    chainingSeedMediaId?: string

    Seed media id of the chaining session, sent as both starting_clips_media_id and chaining_seed_media_id; the string "null" when the caller has none (the short-url comment of the 451 app has no chaining seed).

    chainingSessionId?: string

    Reels: opaque chaining-session id.

    clientPosition?: string | number

    Reels: client position in the viewer; defaults to 0.

    commentCreationKey?: string

    UUID sent as both comment_creation_key and idempotence_token; generated when absent. Retrying with the same key deduplicates the comment.

    feedPosition?: string | number

    Feed: position of the acted-on item; defaults to 0.

    fullyVisibleMediaNoteIds?: readonly string[]

    Feed: media-note ids visible in the composer (chained from a create-note response).

    isCarouselBumpedPost?: boolean
    mediaId: string

    Container media id (<pk>_<authorPk>).

    numVisibleMediaNotes?: string | number

    Feed: number of media notes visible in the composer; defaults to 0.

    rankingSessionId?: string

    Ranking session id; empty when the surface does not rank (feed).

    recsIx?: string | number

    Feed recommendation index; defaults to -1.

    replyToCommentId?: string

    Comment being replied to; omitted for a top-level comment.

    storyRankingToken?: string

    Reels: story ranking token of the reel.

    surface?: "feed" | "reels"

    Surface the comment is composed on; defaults to feed. Selects the field set: the comment has the contextual feed's and the reels viewer's layouts, so the timeline's like surface ('timeline') cannot be named here.

    text: string

    The comment text.