feat: chat mute expiration timestamp (#351)
add chat.muteExpiration to indicate when the mute expires Co-authored-by: Pedro S. Lopez <pedroslopez@me.com>
This commit is contained in:
parent
c7d5eb67ee
commit
cbf8fb7cf5
1 changed files with 6 additions and 0 deletions
|
|
@ -57,6 +57,12 @@ class Chat extends Base {
|
|||
*/
|
||||
this.archived = data.archive;
|
||||
|
||||
/**
|
||||
* Unix timestamp for when the mute expires
|
||||
* @type {number}
|
||||
*/
|
||||
this.muteExpiration = data.muteExpiration;
|
||||
|
||||
return super._patch(data);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue