Closed Jobians closed 1 year ago
I think you need to see to more progressive bot engine as like https://github.com/botman/botman
This library is basically a wrapper for the Telgram Bot Api in PHP. You can build your own logics or engines on top but it requires a bit of effort and it's outside the project scope.
You could hook up a database or something similar to save the state of the conversation or use some other framework ad suggested above ;)
Please how can I make wait for answer like
Bot -> What is your name (bot will wait for user message)
User -> I'm John
Bot -> Welcome
Full example of what I need https://github.com/eternnoir/pyTelegramBotAPI/blob/master/examples/step_example.py