feat: added starred indicator to messages (#501)
Co-authored-by: Pedro S. Lopez <pedroslopez@me.com>
This commit is contained in:
parent
1b946940f4
commit
5a0ccc8b17
1 changed files with 8 additions and 0 deletions
|
|
@ -93,6 +93,12 @@ class Message extends Base {
|
|||
*/
|
||||
this.isStatus = data.isStatusV3;
|
||||
|
||||
/**
|
||||
* Indicates if the message was stared
|
||||
* @type {boolean}
|
||||
*/
|
||||
this.isStarred = data.star;
|
||||
|
||||
/**
|
||||
* Indicates if the message was a broadcast
|
||||
* @type {boolean}
|
||||
|
|
|
|||
Loading…
Reference in a new issue