pyrofork/pyrogram/client/methods/decorators
Dan 0025489c86 Allow on_message to behave like a static decorator
This enabled usages like @Client.on_message(...).
To preserve positional arguments order and thus ease the static
decorator usage there's a not-so-elegant hack in place that shifts
values.
2018-10-12 14:12:29 +02:00
..
__init__.py Add Handler to deleted messages update 2018-06-19 11:18:12 -03:00
on_callback_query.py Cross reference Handler classes on decorators' docstrings 2018-06-22 12:46:58 +02:00
on_deleted_messages.py Cross reference Handler classes on decorators' docstrings 2018-06-22 12:46:58 +02:00
on_disconnect.py Cross reference Handler classes on decorators' docstrings 2018-06-22 12:46:58 +02:00
on_message.py Allow on_message to behave like a static decorator 2018-10-12 14:12:29 +02:00
on_raw_update.py Cross reference Handler classes on decorators' docstrings 2018-06-22 12:46:58 +02:00