Hey! What is the diff between "register_next_step_handler" and "register_next_step_handler_by_chat_id"? From the existence

of the second one, the first one "should" block previous handlers for all users, but it doesn't.

And question2: on "message_handler" method I can set rules for handler to work. regexpr="Main menu" or smth.

How do I set rules for next_step_handler? And why do I give it 'message' param, if it gets it's own message from user?

4 ответов

7 просмотров

that's a method specific to the lib you're using, I suggest you asking on their own support chat :)

Yegor- Автор вопроса
dotvhs
that's a method specific to the lib you're using, ...

Isn't 'telebot' the most basic lib? I've seen it being discussed here often.

Yegor
Isn't 'telebot' the most basic lib? I've seen it b...

i think most popular is Python Telegram Bot

Yegor- Автор вопроса
dotvhs
i think most popular is Python Telegram Bot

This one is less basic, albeit more popular, as far as I know.

Похожие вопросы

Карта сайта