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

    Interface AntiTagAllOptions

    Anti-tagall guard — catch mass mentions and hidetag spam in groups.

    interface AntiTagAllOptions {
        autoDelete?: boolean;
        exemptUsers?: string[];
        includeFromMe?: boolean;
        isExempt?: (
            info: { chat: string; msg: unknown; sender: string },
        ) => boolean | Promise<boolean>;
        threshold?: number;
    }
    Index
    autoDelete?: boolean

    Delete the offending message for everyone. Default false.

    exemptUsers?: string[]

    Jids never flagged (admins, your own bots).

    includeFromMe?: boolean

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

    isExempt?: (
        info: { chat: string; msg: unknown; sender: string },
    ) => boolean | Promise<boolean>

    Dynamic exemption check (e.g. live group-admin lookup).

    threshold?: number

    Mentions needed to trigger. Default 5.