Module: Slack::RealTime::Api::Typing
- Included in:
- Client
- Defined in:
- lib/slack/real_time/api/typing.rb
Instance Method Summary collapse
-
#typing(options = {}) ⇒ Object
Send a typing indicator to indicate that the user is currently writing a message.
Instance Method Details
#typing(options = {}) ⇒ Object
Send a typing indicator to indicate that the user is currently writing a message.
10 11 12 13 |
# File 'lib/slack/real_time/api/typing.rb', line 10 def typing( = {}) throw ArgumentError.new('Required arguments :channel missing') if [:channel].nil? send_json({ type: 'typing', id: next_id }.merge()) end |