Type Alias CallEventHandlerEventHandlerMap

CallEventHandlerEventHandlerMap: {
    Call.incoming: ((call: MatrixCall) => void);
}

Type declaration

  • Call.incoming: ((call: MatrixCall) => void)

    Fires whenever an incoming call arrives.

    matrixClient.on("Call.incoming", function(call){
    call.answer(); // auto-answer
    });
      • (call): void
      • Parameters

        Returns void