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

    Interface EditInfo

    Report for one observed edit.

    interface EditInfo {
        after: any;
        afterText: string;
        before: any;
        beforeText: string;
        editCount: number;
        editedAt: number;
        editedBy?: string;
        history: any[];
        key: {
            fromMe?: boolean;
            id?: string;
            participant?: string;
            remoteJid?: string;
            [k: string]: any;
        };
    }
    Index
    after: any

    the new content the edit carries

    afterText: string
    before: any

    original content (null when the store never saw the message)

    beforeText: string
    editCount: number

    1 for the first observed edit, 2 for the second, ...

    editedAt: number
    editedBy?: string

    who performed the edit (participant in groups, chat jid in DMs)

    history: any[]

    every previous revision, oldest first

    key: {
        fromMe?: boolean;
        id?: string;
        participant?: string;
        remoteJid?: string;
        [k: string]: any;
    }

    key of the message that was edited