mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-06 05:00:23 +03:00
Merge remote-tracking branch 'origin/stop-propagation-of-updates' into stop-propagation-of-updates
This commit is contained in:
commit
e973d10bfd
|
@ -1873,7 +1873,6 @@ class TelegramClient(TelegramBareClient):
|
||||||
The event builder class or instance to be used,
|
The event builder class or instance to be used,
|
||||||
for instance ``events.NewMessage``.
|
for instance ``events.NewMessage``.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def decorator(f):
|
def decorator(f):
|
||||||
self.add_event_handler(f, event)
|
self.add_event_handler(f, event)
|
||||||
return f
|
return f
|
||||||
|
|
Loading…
Reference in New Issue
Block a user