lessel - v0.1.0
    Preparing search index...

    Class IListenerAbstract

    Abstract base for all platform listeners. Each platform (Discord, WhatsApp, Slack) implements this.

    Hierarchy

    • EventEmitter
      • IListener
    Index
    • Parameters

      • Optionaloptions: EventEmitterOptions

      Returns IListener

    id: string

    Unique identifier for this listener instance

    platform: Platform

    Platform this listener connects to

    • Lifecycle hook called after construction to set up schemas.

      Parameters

      • config: Record<string, unknown>

      Returns void

    • Start the listener (connect to platform, begin ingesting). Emits 'message' (MessageEvent) for each matched message.

      Returns Promise<void>