feat: message forwarding score (#716)

This commit is contained in:
Giancarlo Rocha 2021-07-11 21:52:54 -03:00 • committed by GitHub
commit 9d715735ed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

5
index.d.ts vendored
View file

@ -517,6 +517,11 @@ declare namespace WAWebJS {
id: MessageId,
/** Indicates if the message was forwarded */
isForwarded: boolean,
/**
* Indicates how many times the message was forwarded.
* The maximum value is 127.
*/
forwardingScore: number,
/** Indicates if the message was starred */
isStarred: boolean,
/** Location information contained in the message, if the message is type "location" */