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.
12 13 14 15 |
# File 'lib/slack/real_time/api/typing.rb', line 12 def typing( = {}) throw ArgumentError.new('Required arguments :channel missing') if [:channel].nil? send_json({ type: 'typing', id: next_id }.merge()) end |