mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-28 21:07:59 +00:00
Update Filters.reply to check for Message.reply_to_message_id
This commit is contained in:
parent
bca7e6461e
commit
bf233e3b5b
@ -218,7 +218,7 @@ text = create(text_filter)
|
||||
|
||||
# region reply_filter
|
||||
async def reply_filter(_, __, m: Message):
|
||||
return bool(m.reply_to_message)
|
||||
return bool(m.reply_to_message_id)
|
||||
|
||||
|
||||
reply = create(reply_filter)
|
||||
|
Loading…
x
Reference in New Issue
Block a user