From d2f47d7e5976da9d10de0447d85219be6984b28a Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Sun, 14 Oct 2018 17:11:01 +0200 Subject: [PATCH] Add last_seen field to User parse_last_seen --- pyrogram/client/types/user_and_chats/user.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pyrogram/client/types/user_and_chats/user.py b/pyrogram/client/types/user_and_chats/user.py index 9ae5dab2..fd4730c3 100644 --- a/pyrogram/client/types/user_and_chats/user.py +++ b/pyrogram/client/types/user_and_chats/user.py @@ -70,6 +70,7 @@ class User(Object): is_mutual_contact: bool, is_deleted: bool, is_bot: bool, + last_seen, first_name: str, last_name: str = None, username: str = None, @@ -83,6 +84,7 @@ class User(Object): self.is_mutual_contact = is_mutual_contact self.is_deleted = is_deleted self.is_bot = is_bot + self.last_seen = last_seen self.first_name = first_name self.last_name = last_name self.username = username