Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Reply after a given delay

I would like to implement an simple timer within a communication.

My scenario is a small math trainer where you train 5 minutes, after the 5 minutes of normal interaction I would like to inform the user that the time is now up. I don't want to wait until the user has finished his next input/answer (optional just if there is currently no input).

Is there any way to "push" an answer time based?

like image 597
rekire Avatar asked Oct 29 '22 15:10

rekire


1 Answers

The Conversation API does not support a push model. When you get the users response, you can check the timer and respond appropriately.

like image 183
Leon Nicholls Avatar answered Nov 09 '22 15:11

Leon Nicholls