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

    Interface ReactionTracker

    interface ReactionTracker {
        bind: (sock: any) => () => void;
        clear: () => void;
        getReactions: (
            key: MsgKey,
        ) => { at: number; emoji: string; user: string }[];
        getSummary: (key: MsgKey) => Record<string, string[]>;
        handler: (events: { key: MsgKey; reaction: any }[]) => void;
        onReaction: (cb: (info: ReactionInfo) => void) => () => void;
        size: number;
    }
    Index
    bind: (sock: any) => () => void

    Attach to the socket events; returns unsubscribe.

    clear: () => void
    getReactions: (key: MsgKey) => { at: number; emoji: string; user: string }[]

    All current reactions on a message.

    getSummary: (key: MsgKey) => Record<string, string[]>

    Reactions grouped by emoji: { '👍': [jid, ...] }.

    handler: (events: { key: MsgKey; reaction: any }[]) => void

    Wire into sock.ev.on('messages.reaction', handler).

    onReaction: (cb: (info: ReactionInfo) => void) => () => void

    Fires per reaction event (adds AND removals). Returns unsubscribe.

    size: number