Sha256: 19374b39c59565d56472085f30c96b5ac0ae75cefe73bea42692bc50feb52f1c
Contents?: true
Size: 632 Bytes
Versions: 8
Compression:
Stored size: 632 Bytes
Contents
# frozen_string_literal: true 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
8 entries across 8 versions & 1 rubygems