2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-08-28 21:07:59 +00:00

Add edited filter

This commit is contained in:
Dan 2018-04-10 16:04:22 +02:00
parent 3b028698f7
commit a6b6b0dfd6

View File

@ -50,6 +50,7 @@ class Filters:
reply = build("Reply", lambda _, m: bool(m.reply_to_message))
forwarded = build("Forwarded", lambda _, m: bool(m.forward_date))
caption = build("Caption", lambda _, m: bool(m.caption))
edited = build("Edited", lambda _, m: bool(m.edit_date))
audio = build("Audio", lambda _, m: bool(m.audio))
document = build("Document", lambda _, m: bool(m.document))