question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Typing indicator not going away in MS Teams channel

See original GitHub issue

Github issues should be used for bugs and feature requests. Use Stack Overflow for general “how-to” questions.

Version

v4.4.3

Describe the bug

I was using a typing indicator in my chatbot wich worked fine. However, since a few days the typing indicator in MS Teams just keeps showing for 5 seconds, even when a message has been send; normally this wasn’t the case. The typing indicator still works in skype for bussines and webchat.

I used following code to start the indicator.

private async Task TypingIndicatorAsync(WaterfallStepContext context) 
       {
            var typing = context.Context.Activity.CreateReply();
            typing.Type = ActivityTypes.Typing;
            typing.ReplyToId = context.Context.Activity.Recipient.Id;
            CancellationToken a = new CancellationToken();
            await context.Context.SendActivityAsync(typing, a);
        }

Expected behavior

I want the indicator to go away when a message has been send by the bot.

[bug]

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:19 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
dmvtechcommented, Jul 4, 2019

@VKAlwaysWin Not much. The fix is done, but not still yet in public release rings.

3reactions
rickhellenthalcommented, Jun 21, 2019

I’m also still experiencing this issue in Teams, other channels work fine. The typing indicator disappears after a while, but it does not when an Activity is sent by the bot.

I first noticed this a while ago when using the desktop and web client, however recently this bug appeared on the mobile app as well. This issue also appeared when I created a new project based on the EchoBot example and added the typing indicator. I’m sending a TypingActivity using the following code:

await turnContext.SendActivityAsync(Activity.CreateTypingActivity());

Again, this works fine in other channels, but not in Teams.

Furthermore, I’d also like more information about the fix as @VKAlwaysWin said.

Thanks.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I turn off Teams typing indicator?
To turn off the Teams typing indicator, open the Teams app, go to your profile, and click the “Privacy” tab. Then, uncheck the...
Read more >
can we disable typing indicator
Found a workaround, put teams in a non maximized window and then move the window so that the typing indicator is not visible....
Read more >
Typing Indicator isn't working in Teams Channel
I have a client that uses Teams on a regular basis. When they are just chatting individually, they get a typing indicator.
Read more >
We don't show typing status
We don't show typing status | Hacker News. i'll take it one further and say that having a messenger app that shows "online"...
Read more >
Typing indicator in Microsoft Teams through Graph API
Currently Graph API do not process Typing indicators. So it is not possible to know when a user is typing in an MS...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found