Type alias BufferedEventData

BufferedEventData: {
    chatDeletes: Set<string>;
    chatUpdates: {
        [jid: string]: ChatUpdate;
    };
    chatUpserts: {
        [jid: string]: Chat;
    };
    contactUpdates: {
        [jid: string]: Partial<Contact>;
    };
    contactUpserts: {
        [jid: string]: Contact;
    };
    groupUpdates: {
        [jid: string]: Partial<GroupMetadata>;
    };
    historySets: {
        chats: {
            [jid: string]: Chat;
        };
        contacts: {
            [jid: string]: Contact;
        };
        empty: boolean;
        isLatest: boolean;
        messages: {
            [uqId: string]: WAMessage;
        };
    };
    messageDeletes: {
        [key: string]: WAMessageKey;
    };
    messageReactions: {
        [key: string]: {
            key: WAMessageKey;
            reactions: IReaction[];
        };
    };
    messageReceipts: {
        [key: string]: {
            key: WAMessageKey;
            userReceipt: IUserReceipt[];
        };
    };
    messageUpdates: {
        [key: string]: WAMessageUpdate;
    };
    messageUpserts: {
        [key: string]: {
            message: WAMessage;
            type: MessageUpsertType;
        };
    };
}

Type declaration

Generated using TypeDoc