diff --git a/compiler/docs/compiler.py b/compiler/docs/compiler.py index 69108feef..923c3303c 100644 --- a/compiler/docs/compiler.py +++ b/compiler/docs/compiler.py @@ -231,6 +231,7 @@ def get_title_list(s: str) -> list: delete_supergroup delete_user_history set_slow_mode + set_chat_ttl mark_chat_unread get_chat_event_log get_chat_online_count diff --git a/pyrogram/methods/chats/__init__.py b/pyrogram/methods/chats/__init__.py index a2bdde08a..79588bf60 100644 --- a/pyrogram/methods/chats/__init__.py +++ b/pyrogram/methods/chats/__init__.py @@ -48,6 +48,7 @@ from .set_chat_photo import SetChatPhoto from .set_chat_protected_content import SetChatProtectedContent from .set_chat_title import SetChatTitle +from .set_chat_ttl import SetChatTTL from .set_chat_username import SetChatUsername from .set_send_as_chat import SetSendAsChat from .set_slow_mode import SetSlowMode @@ -71,6 +72,7 @@ class Chats( DeleteChatPhoto, SetChatTitle, SetChatDescription, + SetChatTTL, PinChatMessage, UnpinChatMessage, GetDialogs,