A
A
Alexey2021-01-12 23:38:13
Python
Alexey, 2021-01-12 23:38:13

Python telebot how to pass into a function?

When working with the telebot library, I ran into a problem.
When the bot starts, it goes into a function

star
, from there it is required that it goes to the next function.
Usually done through bot.register_next_step_handler(val1, function name), but in order for the transition to occur, you need to write a message to the bot, is there an option in which this is not necessary?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
soremix, 2021-01-12
@resolut1123

Erm, just call the desired function?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question