Function captureEventStream

  • Captures events from a baileys event emitter & stores them in a file

    Parameters

    • ev: BaileysEventEmitter

      The event emitter to read events from

    • filename: string

      File to save to

    Returns void

Generated using TypeDoc