How to make message handler in Aiogram Python, that will ignore underscores?

Viewed 27

i am making telegram bot with aiogram and I want to make commands like:

/accept_123

where 123 is argument. So it should do command /accept but with argument

Is it possible whith message handlers?

Thanks a lot

0 Answers
Related