P
P
PosikGG2022-01-10 16:39:13
Python
PosikGG, 2022-01-10 16:39:13

Is it possible to somehow do something similar to input in telebot?

When using the telebot library, to process the message, I use the function:

@bot.message_handler(content_types = ["text"])
def mainloop(message):
    #Место для "инпута"

Is there a way to make the function wait for an action from the user? But not in this way:
bot.register_next_step_handler(message, function)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Kadabrov, 2022-01-10
@Kadabrov

Try to use the search
How to make an input in telebot?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question