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.

Question - how to send the "typing.." message?

See original GitHub issue

I tried:

cient.emit('userTyping', userID, channel);

and:

channel.startedTyping(userID)

both didn’t work. Is there an example somewhere I can use?

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:16 (3 by maintainers)

github_iconTop GitHub Comments

4reactions
clavincommented, Nov 14, 2016

To answer the question about sending a message to indicate the bot is typing, use rtm.sendTyping:

rtm.sendTyping(channelId);

However, given that rtm._send didn’t work, you likely are running into an issue with your channel ID not being correct or the RTM client not being connected yet.


How can you access the underlying RTM mechanism to do things that aren’t officially supported by the SDK

Although this isn’t the current case, if you wanted to send an unsupported message type through the RTM client, I’d suggest using rtm.send and not rtm._send as rtm.send has some helpful error checks (and could have more stuff in the future).

2reactions
clavincommented, Nov 30, 2016

I answered how to do it earlier: rtm.sendTyping.

As noted in the botkit issue that references this issue, this only works with the RTM API currently. Why, I can’t tell you, and it doesn’t revolve around an issue with this repository.

If you’d like to question it then your best bet may be contacting Slack support and hoping to get to one of the super-cool Slack Engineers. They might already know about this, however.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using Typing.com — Support and Knowledge Base
Check out our knowledge base to find answers to all your questions about setting up and using Typing.com. If you still need help,...
Read more >
Turn on chat features in Messages - Google Support
On your device, open Messages . Tap More More and then Settings. Tap Chat features. Tap Send read receipts. To find out when...
Read more >
Why do I get a Snapchat notification saying someone is typing ...
The typing notification is sent to you when the other person types on the keyboard for a message that will be sent to...
Read more >
If Someone Is Typing, Then Stops … Can I Ask Why? - WIRED
Silence can express volumes, and in our age of endless chatter, the refusal to speak sends a powerful message. The aborted text is...
Read more >
how to send typing alert and message to users in a particular ...
To send the message to a specific room, you will have to create and join a room with roomId. Below is a basic...
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