mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Update text filter description
This commit is contained in:
parent
40b6a61e70
commit
4e380e424e
2 changed files with 9 additions and 1 deletions
|
|
@ -7,6 +7,11 @@ from aiogram.dispatcher.filters import BaseFilter
|
|||
|
||||
|
||||
class Text(BaseFilter):
|
||||
"""
|
||||
Is useful for filtering text Message, any CallbackQuery with `data`,
|
||||
InlineQuery or Poll question.
|
||||
"""
|
||||
|
||||
text: Optional[Union[str, List[str], Set[str], Tuple[str]]] = None
|
||||
text_contains: Optional[Union[str, List[str], Set[str], Tuple[str]]] = None
|
||||
text_startswith: Optional[Union[str, List[str], Set[str], Tuple[str]]] = None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue