diff --git a/telethon/client/users.py b/telethon/client/users.py index 71c72db3..49f532cf 100644 --- a/telethon/client/users.py +++ b/telethon/client/users.py @@ -222,7 +222,7 @@ class UserMethods: async def get_entity( self: 'TelegramClient', - entity: 'hints.EntitiesLike') -> 'hints.Entity': + entity: 'hints.EntitiesLike') -> typing.Union['hints.Entity', typing.List['hints.Entity']]: """ Turns the given entity into a valid Telegram :tl:`User`, :tl:`Chat` or :tl:`Channel`. You can also pass a list or iterable of entities,