mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Improve Text filter docs
This commit is contained in:
parent
321aa404c3
commit
6246432a0c
1 changed files with 4 additions and 4 deletions
|
|
@ -215,10 +215,10 @@ class Text(Filter):
|
|||
Check text for one of pattern. Only one mode can be used in one filter.
|
||||
In every pattern, a single string is treated as a list with 1 element.
|
||||
|
||||
:param equals: True if object text in the list
|
||||
:param contains: True if object text contains all strings from the list
|
||||
:param startswith: True if object text startswith any of strings from the list
|
||||
:param endswith: True if object text endswith any of strings from the list
|
||||
:param equals: True if object's text in the list
|
||||
:param contains: True if object's text contains all strings from the list
|
||||
:param startswith: True if object's text starts with any of strings from the list
|
||||
:param endswith: True if object's text ends with any of strings from the list
|
||||
:param ignore_case: case insensitive
|
||||
"""
|
||||
# Only one mode can be used. check it.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue