diff --git a/telethon/client/users.py b/telethon/client/users.py index 6a5fc484..646914b2 100644 --- a/telethon/client/users.py +++ b/telethon/client/users.py @@ -459,10 +459,10 @@ class UserMethods: pass raise ValueError( - 'Could not find the input entity for {!r}. Please read https://' + 'Could not find the input entity for {} ({}). Please read https://' 'docs.telethon.dev/en/latest/concepts/entities.html to' ' find out more details.' - .format(peer) + .format(peer, type(peer).__name__) ) async def _get_peer(self: 'TelegramClient', peer: 'hints.EntityLike'):