New Chat property isLocked (#5798)

* New property isLocked

* New property isLocked
This commit is contained in:
BenyFilho 2026-02-06 21:42:51 -03:00 • committed by GitHub
commit 9e0fe29218
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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}