mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
feat: add ChatType builtin filter (#356)
* feat: ChatTypesFilter * feat: add example of usage * feat: docs * fix: add import in filters/__init__ * fix: remove some of event_handlers * fix * fix imports * fix: rename to ChatTypeFilter * fix: rename argument to chat_type fix: rename example file name fix: str is container also lol. example fixed also * fix: respect type hints * fix: add warning with respect to type hint * fix: use warnings instead of logging
This commit is contained in:
parent
d179789ea7
commit
81b36bd192
6 changed files with 90 additions and 5 deletions
|
|
@ -149,6 +149,14 @@ ForwardedMessageFilter
|
|||
:show-inheritance:
|
||||
|
||||
|
||||
ChatTypeFilter
|
||||
-------------
|
||||
|
||||
.. autoclass:: aiogram.dispatcher.filters.filters.ChatTypeFilter
|
||||
:members:
|
||||
:show-inheritance:
|
||||
|
||||
|
||||
Making own filters (Custom filters)
|
||||
===================================
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue