mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-08 04:52:30 +00:00
Fix typos and add the URL_INVALID error
This commit is contained in:
@@ -78,7 +78,7 @@ class Draft:
|
||||
if not self.entity and await self.get_input_entity():
|
||||
try:
|
||||
self._entity =\
|
||||
self._client.get_entity(self._input_entity)
|
||||
await self._client.get_entity(self._input_entity)
|
||||
except ValueError:
|
||||
pass
|
||||
|
||||
|
Reference in New Issue
Block a user