Skip to content

Instantly share code, notes, and snippets.

@ikivanc
Last active July 30, 2019 13:42
Show Gist options
  • Save ikivanc/697d6c38871819b8b31e4bbc481f24c9 to your computer and use it in GitHub Desktop.
Save ikivanc/697d6c38871819b8b31e4bbc481f24c9 to your computer and use it in GitHub Desktop.
Send Typing Activity
//Send typing activity to User
var typing = turnContext.Activity.CreateReply();
typing.Type = ActivityTypes.Typing;
await turnContext.SendActivityAsync(typing);
@EkimoCode
Copy link

For those who don't know where to put it, the place is before doing things inside the bot class (the one that implements ActivityHandler ), inside the OnTurnAsync method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment