mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-08 04:52:30 +00:00
Apply several lints
This commit is contained in:
@@ -11,6 +11,10 @@ class SenderGetter(abc.ABC):
|
||||
`_input_sender`, `_sender_id` and `_client`. As an end user, you
|
||||
should not worry about this.
|
||||
"""
|
||||
def __init__(self):
|
||||
self._sender = self._input_sender = self._sender_id = \
|
||||
self._client = None
|
||||
|
||||
@property
|
||||
def sender(self):
|
||||
"""
|
||||
@@ -79,3 +83,9 @@ class SenderGetter(abc.ABC):
|
||||
"""
|
||||
Re-fetches sender information through other means.
|
||||
"""
|
||||
|
||||
@abc.abstractmethod
|
||||
async def _reload_message(self):
|
||||
"""
|
||||
Subclasses should implement message reloading.
|
||||
"""
|
||||
|
Reference in New Issue
Block a user