Fix _get_peer was relying on old utils.resolve_id

This commit is contained in:
Lonami Exo
2021-09-19 17:21:11 +02:00
parent 9479e215fb
commit d60ebbe6ea
3 changed files with 10 additions and 9 deletions

View File

@@ -3573,9 +3573,6 @@ class TelegramClient:
ttl=None):
return await uploads._file_to_media(**locals())
async def _get_peer(self: 'TelegramClient', peer: 'hints.EntityLike'):
return await users._get_peer(**locals())
def _get_response_message(self: 'TelegramClient', request, result, input_chat):
return messageparse._get_response_message(**locals())