mirror of
https://github.com/cheveguerra/whatsapp-web.js.git
synced 2026-04-18 03:29:14 +00:00
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:
@@ -185,6 +185,12 @@ class Message extends Base {
|
||||
*/
|
||||
this.isGif = Boolean(data.isGif);
|
||||
|
||||
/**
|
||||
* Indicates if the message will disappear after it expires
|
||||
* @type {boolean}
|
||||
*/
|
||||
this.isEphemeral = data.isEphemeral;
|
||||
|
||||
/** Title */
|
||||
if (data.title) {
|
||||
this.title = data.title;
|
||||
|
||||
Reference in New Issue
Block a user