fix: change mentionedIds type from ChatId[] to string[] in Message (#3581)

* fix: change mentionedIds type from ChatId[] to string[] in Message interface

* fix: correct types for mentionedIds and groupMentions

---------

Co-authored-by: alechkos <93551621+alechkos@users.noreply.github.com>
This commit is contained in:
Yusif Aliyev 2025-06-02 22:05:18 +04:00 • committed by GitHub
commit 94ce20b4a5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

8
index.d.ts vendored
View file

@ -991,15 +991,11 @@ declare namespace WAWebJS {
/** MediaKey that represents the sticker 'ID' */
mediaKey?: string,
/** Indicates the mentions in the message body. */
mentionedIds: ChatId[],
mentionedIds: string[],
/** Indicates whether there are group mentions in the message body */
groupMentions: {
groupSubject: string;
groupJid: {
server: string;
user: string;
_serialized: string;
};
groupJid: string;
}[],
/** Unix timestamp for when the message was created */
timestamp: number,