mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-08 12:59:46 +00:00
Inline the old _load_entities code
This commit is contained in:
@@ -103,9 +103,9 @@ class CallbackQuery(EventBuilder):
|
||||
self._message = None
|
||||
self._answered = False
|
||||
|
||||
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