whatsapp-api-js - v6.1.1
    Preparing search index...

    Interface API

    interface API {
        acceptCall(
            phoneID: string,
            callID: `wacid.${string}`,
            sdp: string,
            biz_opaque_callback_data?: string,
        ): Promise<ServerAcceptCallResponse>;
        initiateCall(
            phoneID: string,
            to: string,
            sdp: string,
            biz_opaque_callback_data?: string,
        ): Promise<ServerInitiateCallResponse>;
        preacceptCall(
            phoneID: string,
            callID: `wacid.${string}`,
            sdp: string,
        ): Promise<ServerPreacceptCallResponse>;
        rejectCall(
            phoneID: string,
            callID: `wacid.${string}`,
        ): Promise<ServerRejectCallResponse>;
        terminateCall(
            phoneID: string,
            callID: `wacid.${string}`,
        ): Promise<ServerTerminateCallResponse>;
    }

    Implemented by

    Index

    Methods