Update UpdateHandling page

This commit is contained in:
Dan 2018-06-22 13:32:55 +02:00
parent 142a27f52a
commit dd156e0f7a

View File

@ -32,8 +32,7 @@ We shall examine the :obj:`MessageHandler <pyrogram.MessageHandler>`, which will
print(message)
app.start()
app.idle()
app.run()
- If you prefer not to use decorators, there is an alternative way for registering Handlers.
This is useful, for example, when you want to keep your callback functions in separate files.
@ -51,8 +50,7 @@ We shall examine the :obj:`MessageHandler <pyrogram.MessageHandler>`, which will
app.add_handler(MessageHandler(my_handler))
app.start()
app.idle()
app.run()
Using Filters
-------------