feat: boolean for indicating Status update messages (#396)

This commit is contained in:
Pedro S. Lopez 2020-10-26 00:45:09 -04:00 • committed by GitHub
commit 42dd866a53
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 0 deletions

2
index.d.ts vendored
View file

@ -444,6 +444,8 @@ declare namespace WAWebJS {
body: string,
/** Indicates if the message was a broadcast */
broadcast: boolean,
/** Indicates if the message was a status update */
isStatus: boolean,
/** ID for the Chat that this message was sent to, except if the message was sent by the current user */
from: string,
/** Indicates if the message was sent by the current user */