I am writing a new Bot for Telegram for the first time using PHP Telegram Bot.
Imagine I want to show What is your name?
for /start
command and wait for user's answer, wait for user's answer and then show Hello USER_NAME
to him.
I could implement /start
commands. But how can I get user's reply that is not in form of /command
? Actually I need a listener to a non-command message.
Is there anyone who can help me?