@japofc/baileys - v2.4.7
    Preparing search index...

    Interface StatusEvent

    Status watcher — receive-side stories with a download hook.

    interface StatusEvent {
        key: Record<string, unknown>;
        mediaType: string;
        msg: Record<string, unknown>;
        sender: string;
        download(
            type?: "buffer" | "stream",
            options?: Record<string, unknown>,
        ): Promise<unknown>;
    }
    Index
    key: Record<string, unknown>
    mediaType: string

    'image' | 'video' | 'audio' | … | 'text'

    msg: Record<string, unknown>
    sender: string
    • Download the status media as a Buffer/stream.

      Parameters

      • Optionaltype: "buffer" | "stream"
      • Optionaloptions: Record<string, unknown>

      Returns Promise<unknown>