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

    Interface FloodGuardOptions

    Flood guard — per-user burst detection in chats.

    interface FloodGuardOptions {
        autoMuteMs?: number;
        groupsOnly?: boolean;
        includeFromMe?: boolean;
        maxMessages?: number;
        maxTracked?: number;
        windowMs?: number;
    }
    Index
    autoMuteMs?: number

    Suppress further alerts from a flooder for this long. Default 0.

    groupsOnly?: boolean

    Only watch group chats. Default true.

    includeFromMe?: boolean

    Also count the bot's own messages. Default false.

    maxMessages?: number

    Messages within the window that count as flooding. Default 10.

    maxTracked?: number

    Max (chat,user) buckets tracked (LRU). Default 2000.

    windowMs?: number

    Sliding window size in ms. Default 10000.