Add quote filter

This commit is contained in:
KurimuzonAkuma 2023-10-30 15:27:24 +03:00
parent 353a00deda
commit eb601d5743

View File

@ -425,6 +425,17 @@ dice = create(dice_filter)
"""Filter messages that contain :obj:`~pyrogram.types.Dice` objects."""
# endregion
# region quote_filter
async def quote_filter(_, __, m: Message):
return bool(m.quote)
text = create(quote_filter)
"""Filter quote messages."""
# endregion
# region media_spoiler