Sha256: cdf8f3ed78f810d3ff851394fcc8f990b0c87e0ce87f8335a2baa4e679066747
Contents?: true
Size: 590 Bytes
Versions: 39
Compression:
Stored size: 590 Bytes
Contents
module Slack module RealTime module Api module Typing # # Send a typing indicator to indicate that the user is currently writing a message. # # @option options [channel] :channel # Channel to send message to. Can be a public channel, private group or IM channel. Can be an encoded ID, or a name. def typing(options = {}) throw ArgumentError.new('Required arguments :channel missing') if options[:channel].nil? send_json({ type: 'typing', id: next_id }.merge(options)) end end end end end
Version data entries
39 entries across 39 versions & 2 rubygems