From 6246432a0c6196974244b15bddea27733e1562fe Mon Sep 17 00:00:00 2001 From: birdi Date: Mon, 5 Aug 2019 10:12:48 +0300 Subject: [PATCH] Improve Text filter docs --- aiogram/dispatcher/filters/builtin.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/aiogram/dispatcher/filters/builtin.py b/aiogram/dispatcher/filters/builtin.py index af328a13..df72b9d0 100644 --- a/aiogram/dispatcher/filters/builtin.py +++ b/aiogram/dispatcher/filters/builtin.py @@ -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.