From 024f89d3fa8e19bd95d61cdb836c8a86af23980e Mon Sep 17 00:00:00 2001 From: CyanBook Date: Sun, 30 Aug 2020 23:29:33 +0200 Subject: [PATCH] Update update_chat_notifications bound methods to only accept unix time --- pyrogram/types/user_and_chats/chat.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyrogram/types/user_and_chats/chat.py b/pyrogram/types/user_and_chats/chat.py index 0f3a552a..48792dfb 100644 --- a/pyrogram/types/user_and_chats/chat.py +++ b/pyrogram/types/user_and_chats/chat.py @@ -994,7 +994,7 @@ class Chat(Object): If the text of the message shall be displayed in notification. mute_until (``int``, *optional*): - Unix date until which all notifications shall be switched off. + When notifications shall be switched off. Unix time. Default to forever. Returns: @@ -1034,7 +1034,7 @@ class Chat(Object): If the text of the message shall be displayed in notification. mute_until (``int``, *optional*): - Unix date until which all notifications shall be switched off. + When notifications shall be switched off. Unix time. Default to forever. Returns: