We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I implemented a command that takes few seconds to respond to the user. How can I simulate the keyboard typing "..." ?
Thanks in advance.
The text was updated successfully, but these errors were encountered:
You can do this with client.typing(channel: '#channel'), it sends something like { type: 'typing', id: 42, channel: 'channel' } to the web socket. See https://github.com/dblock/slack-ruby-client/blob/fcdc4b1c90df51ce14cf85480e0de47f9a2bc1a9/lib/slack/real_time/api/typing.rb#L10. There's an example here.
client.typing(channel: '#channel')
{ type: 'typing', id: 42, channel: 'channel' }
Note, if you're going to take some time to respond to user messages, you probably want to do the operation async.
Sorry, something went wrong.
No branches or pull requests
I implemented a command that takes few seconds to respond to the user.
How can I simulate the keyboard typing "..." ?
Thanks in advance.
The text was updated successfully, but these errors were encountered: