File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ Update Handlers
44Handlers are used to instruct Pyrogram about which kind of updates you'd like to handle with your callback functions.
55
66For a much more convenient way of registering callback functions have a look at `Decorators <Decorators.html >`_ instead.
7- In case you decided to manually create an handler, use :meth: `add_handler() <pyrogram.Client.add_handler> ` to register
7+ In case you decided to manually create a handler, use :meth: `add_handler() <pyrogram.Client.add_handler> ` to register
88it.
99
1010.. code-block :: python
Original file line number Diff line number Diff line change @@ -15,8 +15,8 @@ using `Handlers <../api/handlers>`_.
1515Each handler deals with a specific event and once a matching update arrives from Telegram, your registered callback
1616function will be called back by the framework and its body executed.
1717
18- Registering an Handler
19- ----------------------
18+ Registering a Handler
19+ ---------------------
2020
2121To explain how handlers work let's have a look at the most used one, the
2222:obj: `MessageHandler <pyrogram.MessageHandler> `, which will be in charge for handling :obj: `Message <pyrogram.Message> `
You can’t perform that action at this time.
0 commit comments