New Chat property isLocked (#5798)
* New property isLocked * New property isLocked
This commit is contained in:
parent
9b53bebfd2
commit
9e0fe29218
1 changed files with 8 additions and 0 deletions
|
|
@ -63,6 +63,12 @@ class Chat extends Base {
|
|||
*/
|
||||
this.pinned = !!data.pin;
|
||||
|
||||
/**
|
||||
* Indicates if the Chat is locked
|
||||
* @type {boolean}
|
||||
*/
|
||||
this.isLocked = data.isLocked;
|
||||
|
||||
/**
|
||||
* Indicates if the chat is muted or not
|
||||
* @type {boolean}
|
||||
|
|
|
|||
Loading…
Reference in a new issue