Interface BaileysEventEmitter
Methods
emit
- emit<T>(event, arg): boolean
Returns boolean
off
- off<T>(event, listener): void
Parameters
event: T
listener: ((arg) => void)
Returns void
on
- on<T>(event, listener): void
Parameters
event: T
listener: ((arg) => void)
Returns void
removeAllListeners
- removeAllListeners<T>(event): void
Returns void