api!: remove public APIs to check if the chat is protected

This commit is contained in:
link2xt
2025-08-17 03:33:25 +00:00
parent 90f0d5c060
commit c6722d36de
7 changed files with 1 additions and 57 deletions

View File

@@ -142,13 +142,6 @@ class Chat:
"""
return bool(lib.dc_chat_can_send(self._dc_chat))
def is_protected(self) -> bool:
"""return True if this chat is a protected chat.
:returns: True if chat is protected, False otherwise.
"""
return bool(lib.dc_chat_is_protected(self._dc_chat))
def get_name(self) -> Optional[str]:
"""return name of this chat.