S
S
Sfirr0072022-02-25 01:20:11
Python
Sfirr007, 2022-02-25 01:20:11

Does aiogram have an analogue of "bot.register_next_step_handler" from telebot?

Recently started writing bots for telegram. Started with telebot but had to switch to aiogram. While working with the telebot, I discovered this wonderful function - "bot.register_next_step_handler", but could not find its analogue in the aiogram. Please tell me if there is one? By similar, I mean going to a function, getting a message from the handler first, and executing the function, or at least part of it.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
InternetMaster, 2022-02-25
@InternetMaster

No, there is no such thing. Although there is State, you can deal with it.
I am attaching the link: https://docs.aiogram.dev/en/latest/examples/finite...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question