Improve type hinting for join_chat method (#957)

This commit is contained in:
Shohih Abdul 2022-04-15 01:34:55 +07:00 committed by GitHub
parent cb3d389b9d
commit acc2c72d6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: