Wait user typing messages which are broken into many lines for chatbot's question

When my chatbot asks users a question on Facebook, they usually break their answers into many messages with many lines.

So, how can I wait for them until they type done (typing answers) or complete their answer?

Ex:

  • Bot: What items do you want to choose?
  • User: A
  • User: uhmmm… and B
  • Bot: Ok sir. I will pick A and B for you. Thank you.

@mai_bui I’m trying to understand your use case example but me confused or you want to input two inputs for the same query? Is that what you meant?

I mean that when my bot asks the user 1 question, the user doesn’t answer 1 answer for it. They divide and break their content into many small messages and send times.

Therefore, I want to wait for the user to type done all their means (or the bot will delay response 3s until the user stops sending the message).

Thank you.

Did you find how to solve this friend?