I already have telegram bot, but there don’t have flow for /start.
And now I try to add flow for launch a chat bot, only under a few conditions.
- If user exist in db
- if select /start, and user don’t exist, then we reply message 'Enter invite code" and after receive correct code we save user in db
- if select /start and user exist, just reply message like we can’t do that
I almost create that, but I’m stuck on fragment with reply message, I don’t understand, how to check like that reply message is code and handle it