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

    Interface DirectDoodleEditorActions

    The actions of DirectDoodleEditorScreen: the methods you call on its handle while the editor is open.

    interface DirectDoodleEditorActions {
        send: (
            ...args: [input: { file: Buffer }],
        ) => Effect<
            Bloks.BloksResponse & { raw: ActionRaw },

                | IgApiError
                | RequestError
                | ParseError
                | TransportError
                | MessengerMediaUploadMalformedError
                | MessengerMediaUploadHttpError
                | ScreenEnterConcurrentError,
            never,
        >;
    }
    Index

    Properties

    Properties

    send: (
        ...args: [input: { file: Buffer }],
    ) => Effect<
        Bloks.BloksResponse & { raw: ActionRaw },

            | IgApiError
            | RequestError
            | ParseError
            | TransportError
            | MessengerMediaUploadMalformedError
            | MessengerMediaUploadHttpError
            | ScreenEnterConcurrentError,
        never,
    >

    Sends the finished drawing over the message it was placed on: the upload of file (a PNG), then the placement mutation. Answers the mutation's answer.