mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
fix: attr name
This commit is contained in:
parent
06a0764bf0
commit
56c3b8fd39
1 changed files with 1 additions and 1 deletions
|
|
@ -687,7 +687,7 @@ class ForwardedMessageFilter(BoundFilter):
|
|||
key = 'is_forwarded'
|
||||
|
||||
def __init__(self, is_forwarded: bool):
|
||||
self.is_forward = is_forwarded
|
||||
self.is_forwarded = is_forwarded
|
||||
|
||||
async def check(self, message: Message):
|
||||
return bool(getattr(message, "forward_date")) is self.is_forwarded
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue