From acc2c72d6de913e6899fabea35950dd5401cb12f Mon Sep 17 00:00:00 2001 From: Shohih Abdul <50512936+DoellBarr@users.noreply.github.com> Date: Fri, 15 Apr 2022 01:34:55 +0700 Subject: [PATCH] Improve type hinting for join_chat method (#957) --- pyrogram/methods/chats/join_chat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyrogram/methods/chats/join_chat.py b/pyrogram/methods/chats/join_chat.py index ca720d6d..3f1a09f9 100644 --- a/pyrogram/methods/chats/join_chat.py +++ b/pyrogram/methods/chats/join_chat.py @@ -27,7 +27,7 @@ class JoinChat(Scaffold): async def join_chat( self, chat_id: Union[int, str] - ): + ) -> "types.Chat": """Join a group chat or channel. Parameters: