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

View file

@ -87,6 +87,12 @@ class Message extends Base {
*/
this.isForwarded = data.isForwarded;
/**
* Indicates if the message is a status update
* @type {boolean}
*/
this.isStatus = data.isStatusV3;
/**
* Indicates if the message was a broadcast
* @type {boolean}