A
A
Alikhan2021-12-05 13:56:53
Python
Alikhan, 2021-12-05 13:56:53

How to track any interaction with aiogram bot?

How to track any interaction with aiogram bot? That is, any message and so on.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Sergeev, 2021-12-05
@Mr_Hold

If you take only messages, then you can do this:

@dp.message_handler()
async def name(message: types.Message):

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question