mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-31 20:54:51 +00:00
Fix Filters.video_note wrong name
This commit is contained in:
parent
1e635f00ea
commit
d2179e2ede
1 changed files with 1 additions and 1 deletions
|
|
@ -115,7 +115,7 @@ class Filters:
|
|||
voice = create("Voice", lambda _, m: bool(m.voice))
|
||||
"""Filter messages that contain :obj:`Voice <pyrogram.Voice>` note objects."""
|
||||
|
||||
video_note = create("Voice", lambda _, m: bool(m.video_note))
|
||||
video_note = create("VideoNote", lambda _, m: bool(m.video_note))
|
||||
"""Filter messages that contain :obj:`VideoNote <pyrogram.VideoNote>` objects."""
|
||||
|
||||
contact = create("Contact", lambda _, m: bool(m.contact))
|
||||
|
|
|
|||
Loading…
Reference in a new issue