Answer the question
In order to leave comments, you need to log in
Aiogram how to delete a message?
@dp.message_handler()
async def filter_messages(message: types.Message):
if mat in message.text:
await message.delete()
File "F:\ACLib\main.py", line 17
await message.delete()
^
IndentationError: expected an indented block
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question