Answer the question
In order to leave comments, you need to log in
PyTelegramBotAPI, how to pass an additional argument to the called function in register_next_step_handler?
When using the register_next_step_handler(message, func) function, how can I pass an additional argument to the called function?
For the func(message) function to accept additional parameters in addition to message. For example func(message, par2, par3)
Only use of global variables came to mind.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question