Cancel tooltip or dialog after a certain time - Bot Framework

I have a question about canceling an invitation or dialogue if there is no user for a certain period of time. I need a way to get into the tips somehow.

Example: The
bot asks the user: "How old are you?".
Now the bot is waiting for a response from the user, but the user never responds, and the bot is still waiting.

In my case, the bot should wait only 20 seconds, and then close the dialog. Is cancellation tokeneither a timeout implementation HandleSystemMessageAsync Methoduseful for this purpose and how can I implement this for a hint?
Thanks for any ideas!

+4
source share
1

.UserData, , , , > 20 .

0

Source: https://habr.com/ru/post/1667633/


All Articles