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

    Interface PostingNewPostOptions

    What the person decides on the "New post" screen besides the caption: the screen's own options, kept whole from the posting bricks the screens replace so no action of the library is dropped. Only the caption is modelled on the 451 build; the rest carry the wire the removed TimelinePhotoPost/AlbumPost sent (tagging a person, coauthors, product tags, a location and the advanced settings are not modelled on 451 yet).

    A carousel's tags and product tags belong to its children (AlbumPhotoUpload put them there); a single photo carries them at the top level.

    interface PostingNewPostOptions {
        altText?: string;
        caption?: string;
        coauthors?: readonly string[];
        disableComments?: boolean;
        hideLikeAndViewCounts?: boolean;
        location?: Record<string, unknown>;
        productTags?: readonly PostingProductTag[];
        usertags?: readonly PostingUsertag[];
    }
    Index

    Properties

    altText?: string

    The alt text of the media (custom_accessibility_caption).

    caption?: string
    coauthors?: readonly string[]

    The accounts invited to co-author the post (invite_coauthor_user_ids, with internal_features: 'coauthor_post').

    disableComments?: boolean
    hideLikeAndViewCounts?: boolean
    location?: Record<string, unknown>
    productTags?: readonly PostingProductTag[]

    Products tagged in a media (product_tags, { in: [...] }), placed like usertags.

    usertags?: readonly PostingUsertag[]

    People tagged in a media (usertags, { in: [...] }): on a single photo the post's, in a carousel each child's.