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

    Interface PostingPostEditActions

    The actions of PostingPostEditScreen: the methods you call on its handle while the screen is open.

    interface PostingPostEditActions {
        next: (
            ...args: [],
        ) => Effect<
            AssembledHandle<
                "PostingNewPost",
                "screen",
                | {
                    creationSessionId: string;
                    kind: "single";
                    media: {
                        byteLength: number;
                        height: number;
                        id: string;
                        kind: "photo";
                        mimeType: "image/jpeg"
                        | "image/png"
                        | "image/webp";
                        width: number;
                    };
                    origin: "feed"
                    | "reels-tab";
                }
                | {
                    creationSessionId: string;
                    kind: "carousel";
                    media: readonly [
                        | {
                            byteLength: number;
                            height: number;
                            id: string;
                            kind: "photo";
                            mimeType: "image/jpeg"
                            | "image/png"
                            | "image/webp";
                            width: number;
                        }
                        | {
                            byteLength: number;
                            durationMs: number;
                            height: number;
                            id: string;
                            kind: "video";
                            mimeType: "video/mp4";
                            width: number;
                        },
                        | {
                            byteLength: number;
                            height: number;
                            id: string;
                            kind: "photo";
                            mimeType: "image/jpeg"
                            | "image/png"
                            | "image/webp";
                            width: number;
                        }
                        | {
                            byteLength: number;
                            durationMs: number;
                            height: number;
                            id: string;
                            kind: "video";
                            mimeType: "video/mp4";
                            width: number;
                        },
                    ];
                    origin: "feed"
                    | "reels-tab";
                    uploads: {
                        items: readonly {
                            mediaId: string;
                            navChain?: string;
                            uploadId: string;
                        }[];
                        sidecarId: string;
                        waterfallId: string;
                    };
                },
                PostingNewPostActions,
                Record<never, never>,
                ScreenHandle,
                "required",
                true,
                never,
                AndroidScreens,
            >,

                | IgApiError
                | RequestError
                | ParseError
                | TransportError
                | PostingPhotoEncodeError
                | PostingVideoEncodeError
                | ScreenEnterConcurrentError
                | ScreenDataError
                | ScreenEdgeInputError
                | PostingMediaNotInProcessError,
            never,
        >;
    }
    Index

    Properties

    Properties

    next: (
        ...args: [],
    ) => Effect<
        AssembledHandle<
            "PostingNewPost",
            "screen",
            | {
                creationSessionId: string;
                kind: "single";
                media: {
                    byteLength: number;
                    height: number;
                    id: string;
                    kind: "photo";
                    mimeType: "image/jpeg"
                    | "image/png"
                    | "image/webp";
                    width: number;
                };
                origin: "feed"
                | "reels-tab";
            }
            | {
                creationSessionId: string;
                kind: "carousel";
                media: readonly [
                    | {
                        byteLength: number;
                        height: number;
                        id: string;
                        kind: "photo";
                        mimeType: "image/jpeg"
                        | "image/png"
                        | "image/webp";
                        width: number;
                    }
                    | {
                        byteLength: number;
                        durationMs: number;
                        height: number;
                        id: string;
                        kind: "video";
                        mimeType: "video/mp4";
                        width: number;
                    },
                    | {
                        byteLength: number;
                        height: number;
                        id: string;
                        kind: "photo";
                        mimeType: "image/jpeg"
                        | "image/png"
                        | "image/webp";
                        width: number;
                    }
                    | {
                        byteLength: number;
                        durationMs: number;
                        height: number;
                        id: string;
                        kind: "video";
                        mimeType: "video/mp4";
                        width: number;
                    },
                ];
                origin: "feed"
                | "reels-tab";
                uploads: {
                    items: readonly {
                        mediaId: string;
                        navChain?: string;
                        uploadId: string;
                    }[];
                    sidecarId: string;
                    waterfallId: string;
                };
            },
            PostingNewPostActions,
            Record<never, never>,
            ScreenHandle,
            "required",
            true,
            never,
            AndroidScreens,
        >,

            | IgApiError
            | RequestError
            | ParseError
            | TransportError
            | PostingPhotoEncodeError
            | PostingVideoEncodeError
            | ScreenEnterConcurrentError
            | ScreenDataError
            | ScreenEdgeInputError
            | PostingMediaNotInProcessError,
        never,
    >

    Taps Next in the post editor. A carousel's children start uploading in the background from this tap. Answers the New post screen's handle.