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

    Interface PostingReelEditorActions

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

    interface PostingReelEditorActions {
        next: (
            ...args: [options?: PostingReelEditorNextOptions],
        ) => Effect<
            AssembledHandle<
                "PostingNewReel",
                "screen",
                {
                    assetId: string;
                    creationSessionId: string;
                    draftId: string;
                    entry: "post-mode"
                    | "reel-mode";
                    media: {
                        byteLength: number;
                        durationMs: number;
                        height: number;
                        id: string;
                        kind: "video";
                        mimeType: "video/mp4";
                        width: number;
                    };
                    music?: {
                        alacornSessionId: string;
                        browseSessionId: string;
                        originalVolume: number;
                        songVolume: number;
                        startMs: number;
                        track: PostingMusicTrack;
                    };
                    origin: "feed"
                    | "reels-tab";
                },
                PostingNewReelActions,
                Record<never, never>,
                ScreenHandle,
                "required",
                true,
                never,
                AndroidScreens,
            >,

                | IgCheckpointError
                | IgAccountSuspendedError
                | IgAccountDisabledError
                | IgLoginRequiredError
                | IgUserLoggedOutError
                | ScreenEnterConcurrentError
                | ScreenDataError
                | ScreenEdgeInputError
                | PostingMediaNotInProcessError,
            never,
        >;
        openMusicBrowser: (
            ...args: [],
        ) => Effect<
            AssembledHandle<
                "PostingMusicBrowser",
                "screen",
                { browseSessionId: string },
                PostingMusicBrowserActions,
                Record<never, never>,
                ScreenHandle,
                "required",
                true,
                never,
                AndroidScreens,
            >,

                | IgCheckpointError
                | IgAccountSuspendedError
                | IgAccountDisabledError
                | IgLoginRequiredError
                | IgUserLoggedOutError
                | ScreenEnterConcurrentError
                | ScreenDataError
                | ScreenEdgeInputError,
            never,
        >;
    }
    Index

    Properties

    next: (
        ...args: [options?: PostingReelEditorNextOptions],
    ) => Effect<
        AssembledHandle<
            "PostingNewReel",
            "screen",
            {
                assetId: string;
                creationSessionId: string;
                draftId: string;
                entry: "post-mode"
                | "reel-mode";
                media: {
                    byteLength: number;
                    durationMs: number;
                    height: number;
                    id: string;
                    kind: "video";
                    mimeType: "video/mp4";
                    width: number;
                };
                music?: {
                    alacornSessionId: string;
                    browseSessionId: string;
                    originalVolume: number;
                    songVolume: number;
                    startMs: number;
                    track: PostingMusicTrack;
                };
                origin: "feed"
                | "reels-tab";
            },
            PostingNewReelActions,
            Record<never, never>,
            ScreenHandle,
            "required",
            true,
            never,
            AndroidScreens,
        >,

            | IgCheckpointError
            | IgAccountSuspendedError
            | IgAccountDisabledError
            | IgLoginRequiredError
            | IgUserLoggedOutError
            | ScreenEnterConcurrentError
            | ScreenDataError
            | ScreenEdgeInputError
            | PostingMediaNotInProcessError,
        never,
    >

    Taps Next in the Reel editor (options.music carries the song picked in the Audio tool). Answers the New reel screen's handle.

    openMusicBrowser: (
        ...args: [],
    ) => Effect<
        AssembledHandle<
            "PostingMusicBrowser",
            "screen",
            { browseSessionId: string },
            PostingMusicBrowserActions,
            Record<never, never>,
            ScreenHandle,
            "required",
            true,
            never,
            AndroidScreens,
        >,

            | IgCheckpointError
            | IgAccountSuspendedError
            | IgAccountDisabledError
            | IgLoginRequiredError
            | IgUserLoggedOutError
            | ScreenEnterConcurrentError
            | ScreenDataError
            | ScreenEdgeInputError,
        never,
    >

    Taps the Audio tool and opens the music browser. Answers its handle.