Skip to content

Commit 024f89d

Browse files
CyanBookdelivrance
authored andcommitted
Update update_chat_notifications bound methods to only accept unix time
1 parent 1940c97 commit 024f89d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • pyrogram/types/user_and_chats

pyrogram/types/user_and_chats/chat.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -994,7 +994,7 @@ async def enable_notifications(
994994
If the text of the message shall be displayed in notification.
995995
996996
mute_until (``int``, *optional*):
997-
Unix date until which all notifications shall be switched off.
997+
When notifications shall be switched off. Unix time.
998998
Default to forever.
999999
10001000
Returns:
@@ -1034,7 +1034,7 @@ async def disable_notifications(
10341034
If the text of the message shall be displayed in notification.
10351035
10361036
mute_until (``int``, *optional*):
1037-
Unix date until which all notifications shall be switched off.
1037+
When notifications shall be switched off. Unix time.
10381038
Default to forever.
10391039
10401040
Returns:

0 commit comments

Comments
 (0)