mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-04-06 18:24:12 +03:00
Expose the client on events as a public property
This commit is contained in:
parent
393f505dc8
commit
4de811b8cb
|
@ -140,6 +140,10 @@ class _EventCommon(abc.ABC):
|
|||
)
|
||||
return self._input_chat
|
||||
|
||||
@property
|
||||
def client(self):
|
||||
return self._client
|
||||
|
||||
@property
|
||||
def chat(self):
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue
Block a user