mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-12-22 22:45:09 +01:00
Faulty example was faulty.
This commit is contained in:
parent
7ab007d8d4
commit
97bb04cd38
1 changed files with 2 additions and 2 deletions
|
@ -95,8 +95,8 @@ class Filters(object):
|
|||
If you want AND filtering instead, you have to specify multiple of this filter in the
|
||||
`filters` attribute. Example:
|
||||
|
||||
>>> MessageHandler([Filters.entities(TEXT_MENTION, MENTION),
|
||||
... Filters.entities(HASHTAG)], callback)
|
||||
>>> MessageHandler([Filters.entities([TEXT_MENTION, MENTION]),
|
||||
... Filters.entities([HASHTAG])], callback)
|
||||
|
||||
Will require either a one type of mention AND a hashtag in the message.
|
||||
|
||||
|
|
Loading…
Reference in a new issue