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

    Interface PostingStoryVideoEditorActions

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

    interface PostingStoryVideoEditorActions {
        shareToYourStory: <Self extends ScreenHandle>(
            this: Self,
            ...args: [options: { caption?: string }],
        ) => Effect<
            { code?: string; mediaId: string; raw: ActionRaw },

                | IgApiError
                | RequestError
                | ParseError
                | TransportError
                | PostingVideoEncodeError
                | ScreenEnterConcurrentError
                | ScreenDataError
                | PostingMediaNotInProcessError
                | PostingMediaFormatError
                | PostingStoryNotPublishedError,
            never,
        >;
    }
    Index

    Properties

    Properties

    shareToYourStory: <Self extends ScreenHandle>(
        this: Self,
        ...args: [options: { caption?: string }],
    ) => Effect<
        { code?: string; mediaId: string; raw: ActionRaw },

            | IgApiError
            | RequestError
            | ParseError
            | TransportError
            | PostingVideoEncodeError
            | ScreenEnterConcurrentError
            | ScreenDataError
            | PostingMediaNotInProcessError
            | PostingMediaFormatError
            | PostingStoryNotPublishedError,
        never,
    >

    Taps Your story: shares the video at once. The caption is checked, the video is uploaded, the creation screens close and the story is configured; the action waits until the server has made it. Answers the story the server created.