From 19878ae633c81b803fb114f0878d8c0559fc23ad Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Wed, 23 Dec 2020 16:26:02 +0100 Subject: [PATCH] Specify that dates are in unix time --- pyrogram/types/user_and_chats/user.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyrogram/types/user_and_chats/user.py b/pyrogram/types/user_and_chats/user.py index 59282f8e..f0f3f7d5 100644 --- a/pyrogram/types/user_and_chats/user.py +++ b/pyrogram/types/user_and_chats/user.py @@ -112,10 +112,10 @@ class User(Object, Update): *None*, for bots. last_online_date (``int``, *optional*): - Last online date of a user. Only available in case status is "*offline*". + Last online date of a user, unix time. Only available in case status is "*offline*". next_offline_date (``int``, *optional*): - Date when a user will automatically go offline. Only available in case status is "*online*". + Date when a user will automatically go offline, unix time. Only available in case status is "*online*". username (``str``, *optional*): User's or bot's username.