From d2179e2ede4226ac7e2261140ac49b4e752b98e9 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Sun, 14 Apr 2019 12:25:31 +0200 Subject: [PATCH] Fix Filters.video_note wrong name --- pyrogram/client/filters/filters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyrogram/client/filters/filters.py b/pyrogram/client/filters/filters.py index 9aecb79a..4c6f0ce3 100644 --- a/pyrogram/client/filters/filters.py +++ b/pyrogram/client/filters/filters.py @@ -115,7 +115,7 @@ class Filters: voice = create("Voice", lambda _, m: bool(m.voice)) """Filter messages that contain :obj:`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 ` objects.""" contact = create("Contact", lambda _, m: bool(m.contact))