diff --git a/telethon/tl/custom/sendergetter.py b/telethon/tl/custom/sendergetter.py index c81073a9..f283247a 100644 --- a/telethon/tl/custom/sendergetter.py +++ b/telethon/tl/custom/sendergetter.py @@ -42,7 +42,7 @@ class SenderGetter(abc.ABC): self._sender =\ await self._client.get_entity(self._input_sender) except ValueError: - await self._reload_message() + await self._refetch_sender() return self._sender @property @@ -83,9 +83,3 @@ class SenderGetter(abc.ABC): """ Re-fetches sender information through other means. """ - - @abc.abstractmethod - async def _reload_message(self): - """ - Subclasses should implement message reloading. - """