mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-12-22 22:45:09 +01:00
Correct documentation of Dispatcher.add_handler (#1071)
This commit is contained in:
parent
b77b329dd6
commit
42497367c1
1 changed files with 1 additions and 1 deletions
|
@ -308,7 +308,7 @@ class Dispatcher(object):
|
||||||
A handler must be an instance of a subclass of :class:`telegram.ext.Handler`. All handlers
|
A handler must be an instance of a subclass of :class:`telegram.ext.Handler`. All handlers
|
||||||
are organized in groups with a numeric value. The default group is 0. All groups will be
|
are organized in groups with a numeric value. The default group is 0. All groups will be
|
||||||
evaluated for handling an update, but only 0 or 1 handler per group will be used. If
|
evaluated for handling an update, but only 0 or 1 handler per group will be used. If
|
||||||
:class:`telegram.DispatcherHandlerStop` is raised from one of the handlers, no further
|
:class:`telegram.ext.DispatcherHandlerStop` is raised from one of the handlers, no further
|
||||||
handlers (regardless of the group) will be called.
|
handlers (regardless of the group) will be called.
|
||||||
|
|
||||||
The priority/order of handlers is determined as follows:
|
The priority/order of handlers is determined as follows:
|
||||||
|
|
Loading…
Reference in a new issue