mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-09 13:29:47 +00:00
Rework methods to manage event handlers
This commit is contained in:
@@ -788,3 +788,4 @@ it's now
|
||||
this also means filters are unified, although not all have an effect on all events. from_users renamed to senders. messageread inbox is gone in favor of outgoing/incoming.
|
||||
events.register, unregister, is_handler and list are gone. now you can typehint instead.
|
||||
def handler(event: events.NewMessage)
|
||||
client.on, add, and remove have changed parameters/retval
|
Reference in New Issue
Block a user