mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-08 09:11:34 +00:00
Update migration_1_to_2.rst
This commit is contained in:
parent
6d4f283338
commit
26082825e5
1 changed files with 1 additions and 1 deletions
|
|
@ -69,7 +69,7 @@ Also you can bind your own filters for using as keyword arguments:
|
|||
key = 'is_admin'
|
||||
|
||||
def __init__(self, is_admin):
|
||||
pass
|
||||
self.is_admin = is_admin
|
||||
|
||||
async def check(self, message: types.Message):
|
||||
member = await bot.get_chat_member(message.chat.id, message.from_user.id)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue