Type alias CallEventHandlerEventHandlerMap

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

Type declaration

  • Call.incoming: ((call: MatrixCall) => void)
      • (call: MatrixCall): void
      • Fires whenever an incoming call arrives.

        Example

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

        Parameters

        Returns void

Generated using TypeDoc