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:
parent
57cdc88b6a
commit
94ce20b4a5
1 changed files with 4 additions and 18 deletions
8
index.d.ts
vendored
8
index.d.ts
vendored
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue