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

    Interface RepostNoteEditorActions

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

    interface RepostNoteEditorActions {
        post: (
            ...args: [text: string],
        ) => Effect<
            {
                data: {
                    xdt_update_media_note_repost_text: { id: string; text: string };
                };
            } & { raw: ActionRaw },

                | IgApiError
                | RequestError
                | ParseError
                | TransportError
                | SchemaError
                | GraphqlRootFieldMissingError
                | MediaRepostTextRejectedError
                | ScreenEnterConcurrentError,
            never,
        >;
    }
    Index

    Properties

    Properties

    Readonlypost

    post: (
        ...args: [text: string],
    ) => Effect<
        {
            data: {
                xdt_update_media_note_repost_text: { id: string; text: string };
            };
        } & { raw: ActionRaw },

            | IgApiError
            | RequestError
            | ParseError
            | TransportError
            | SchemaError
            | GraphqlRootFieldMissingError
            | MediaRepostTextRejectedError
            | ScreenEnterConcurrentError,
        never,
    >

    Types the note's text and taps Post; the text is sent as given, and the server decides. Answers the posted note.