From d734fbb180f4e8d080ef008cdd575b150c893891 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Tue, 6 Dec 2022 18:08:38 +0100 Subject: [PATCH] Fix User.emoji_status type hint --- 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 2c9b58f8..e9813578 100644 --- a/pyrogram/types/user_and_chats/user.py +++ b/pyrogram/types/user_and_chats/user.py @@ -170,7 +170,7 @@ class User(Object, Update): next_offline_date: datetime = None, username: str = None, language_code: str = None, - emoji_status: Optional[str] = None, + emoji_status: Optional["types.EmojiStatus"] = None, dc_id: int = None, phone_number: str = None, photo: "types.ChatPhoto" = None,