mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-06-22 04:56:38 +00: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
|
return self._input_chat
|
||||||
|
|
||||||
|
@property
|
||||||
|
def client(self):
|
||||||
|
return self._client
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def chat(self):
|
def chat(self):
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user