2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-08-29 13:27:47 +00:00

Update Filters.reply to check for Message.reply_to_message_id

This commit is contained in:
Dan 2022-02-17 11:42:42 +01:00
parent bca7e6461e
commit bf233e3b5b

View File

@ -218,7 +218,7 @@ text = create(text_filter)
# region reply_filter # region reply_filter
async def reply_filter(_, __, m: Message): async def reply_filter(_, __, m: Message):
return bool(m.reply_to_message) return bool(m.reply_to_message_id)
reply = create(reply_filter) reply = create(reply_filter)