mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2025-03-16 12:25:45 +01:00
update docs
This commit is contained in:
parent
628a4c4eac
commit
ef569b68c6
1 changed files with 4 additions and 4 deletions
|
@ -238,7 +238,7 @@ class Dispatcher:
|
|||
called if re.match(matcher, update.message.text) is True.
|
||||
|
||||
Args:
|
||||
matcher (__Regex): A regex string or compiled regex object that
|
||||
matcher (str/__Regex): A regex string or compiled regex object that
|
||||
matches on messages that handler should be listening to
|
||||
handler (function): A function that takes (Bot, Update, *args) as
|
||||
arguments.
|
||||
|
@ -271,7 +271,7 @@ class Dispatcher:
|
|||
called if re.match(matcher, string) is True.
|
||||
|
||||
Args:
|
||||
matcher (__Regex): A regex string or compiled regex object that
|
||||
matcher (str/__Regex): A regex string or compiled regex object that
|
||||
matches on the string input that handler should be listening to
|
||||
handler (function): A function that takes (Bot, Update, *args) as
|
||||
arguments.
|
||||
|
@ -363,7 +363,7 @@ class Dispatcher:
|
|||
De-registers a regex handler.
|
||||
|
||||
Args:
|
||||
matcher (str): The regex matcher object
|
||||
matcher (str/__Regex): The regex matcher object or string
|
||||
handler (any):
|
||||
"""
|
||||
|
||||
|
@ -389,7 +389,7 @@ class Dispatcher:
|
|||
De-registers a regex handler.
|
||||
|
||||
Args:
|
||||
matcher (str): The regex matcher object
|
||||
matcher (str/__Regex): The regex matcher object or string
|
||||
handler (any):
|
||||
"""
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue