Function removeAllListeners
removeAllListeners< Name extends | "blocklist.sync" | "call.incoming_call" | (keyof ChatEventTypes)
| "config.update" | (keyof ConnEventTypes)
| "group.participant_changed" | "order.payment_status" | "status.sync" | (keyof WebpackEvents)
| "alfa" | "beta",>( event?: Name,): this Type Parameters
- Name extends
| "blocklist.sync"
| "call.incoming_call"
| (keyof ChatEventTypes)
| "config.update"
| (keyof ConnEventTypes)
| "group.participant_changed"
| "order.payment_status"
| "status.sync"
| (keyof WebpackEvents)
| "alfa"
| "beta"
Returns this
Removes all listeners, or those of the specified event.