Module: Slack::RealTime::EventHandlers::ImClose

Defined in:
lib/slack/real_time/event_handlers/im_close.rb

Class Method Summary collapse

Class Method Details

.call(client, data) ⇒ Object

You closed a direct message channel.


8
9
10
# File 'lib/slack/real_time/event_handlers/im_close.rb', line 8

def self.call(client, data)
  client.ims[data.channel].is_open = false
end