From 6974d97fb4112a8662c9f311ba4cc281c1e27aa9 Mon Sep 17 00:00:00 2001 From: Gaung Ramadhan Date: Wed, 25 May 2022 15:56:55 +0700 Subject: [PATCH] Fix type hint of User.status (#998) --- pyrogram/types/user_and_chats/user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyrogram/types/user_and_chats/user.py b/pyrogram/types/user_and_chats/user.py index 666c7267..8860784d 100644 --- a/pyrogram/types/user_and_chats/user.py +++ b/pyrogram/types/user_and_chats/user.py @@ -158,7 +158,7 @@ class User(Object, Update): is_support: bool = None, first_name: str = None, last_name: str = None, - status: str = None, + status: "enums.UserStatus" = None, last_online_date: datetime = None, next_offline_date: datetime = None, username: str = None,