We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ab007d commit 97bb04cCopy full SHA for 97bb04c
telegram/ext/messagehandler.py
@@ -95,8 +95,8 @@ def entities(entity_types):
95
If you want AND filtering instead, you have to specify multiple of this filter in the
96
`filters` attribute. Example:
97
98
- >>> MessageHandler([Filters.entities(TEXT_MENTION, MENTION),
99
- ... Filters.entities(HASHTAG)], callback)
+ >>> MessageHandler([Filters.entities([TEXT_MENTION, MENTION]),
+ ... Filters.entities([HASHTAG])], callback)
100
101
Will require either a one type of mention AND a hashtag in the message.
102
0 commit comments