Darse de baja de Oyentes
En unsubscribeEvents le permite darse de baja de los webhooks que haya creado utilizando los distintos proveedores. Al crear un receptor, se le devolverá un ID para ese receptor. Usando este ID, puedes detener los webhooks entrantes que lleguen a tu aplicación desde ese listener.
Firma del método
unsubscribeEvents(id: string)
Baja de oyentes
const voiceListenerId = await voice.onCall('onCall');
await vcr.unsubscribeEvents(voiceListenerId);
voiceListenerId = await voice.onCall('onCall')
await vcr.unsubscribeEvents(voiceListenerId)