mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-08 04:52:30 +00:00
Inline the old _load_entities code
This commit is contained in:
@@ -87,9 +87,9 @@ class InlineQuery(EventBuilder):
|
||||
self._input_sender = None
|
||||
self._sender = None
|
||||
|
||||
def _load_entities(self):
|
||||
def _set_client(self, client):
|
||||
super()._set_client(client)
|
||||
self._sender, self._input_sender = self._get_entity_pair(self.sender_id)
|
||||
return super()._load_entities() and self._input_sender is not None
|
||||
|
||||
@property
|
||||
def id(self):
|
||||
|
Reference in New Issue
Block a user