fix: send messages properly when disappearing mode is on (#1174)

* fix: send messages properly when dissappearing mode is on

* add `isEphemeral` to message model
This commit is contained in:
Pedro S. Lopez 2022-02-06 21:48:55 -04:00 • committed by GitHub
commit 70ca073f38
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

2
index.d.ts vendored
View file

@ -547,6 +547,8 @@ declare namespace WAWebJS {
isStatus: boolean,
/** Indicates if the message is a Gif */
isGif: boolean,
/** Indicates if the message will disappear after it expires */
isEphemeral: 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 */