botframework-sdk icon indicating copy to clipboard operation
botframework-sdk copied to clipboard

Feature request: Send a stop typing activity to stop the typing indicator

Open kitzeller opened this issue 4 years ago • 1 comments

At the beginning of the onMessage handler, I send a typing activity to the user to act as feedback. Often they click on a Card Action and then I use the updateActivity method to update the card with the result. The main issue is that updateActivity events do not stop the the typing indicator, so the typing indicator just continues until it times out, even though interaction with the bot has finished.

It would be great to have something like ActivityType.EndTyping, or alternatively allow for updateActivity events to stop the typing indicator.

I have tried saving the replyId of any ActivityType.Typing in the onSendActivities handler to then use deleteActivity in the onUpdateActivity handler, but the replyIds of typing activities are not returned so I am unable to delete them.

Any kind of support for this would be great!

Thank you.

kitzeller avatar Jul 23 '21 19:07 kitzeller

@kitzeller I'm going to transfer this over to the https://github.com/microsoft/botframework-sdk repo for tracking as it's an SDK-wide feature request. Thanks!

joshgummersall avatar Jul 29 '21 23:07 joshgummersall