mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Doc fix
This commit is contained in:
parent
c7c27e9e1c
commit
de0f8d33f2
1 changed files with 2 additions and 2 deletions
|
|
@ -567,8 +567,8 @@ class IDFilter(Filter):
|
|||
class AdminFilter(Filter):
|
||||
"""
|
||||
Checks if user is admin in a chat.
|
||||
If chat_id is not set, the filter will check in the current chat (correct only for messages).
|
||||
chat_id is required for InlineQuery.
|
||||
If is_chat_admin is not set, the filter will check in the current chat (correct only for messages).
|
||||
is_chat_admin is required for InlineQuery.
|
||||
"""
|
||||
|
||||
def __init__(self, is_chat_admin: Optional[Union[Iterable[Union[int, str]], str, int, bool]] = None):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue