Module: Slack::RealTime::EventHandlers::ImCreated

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

Class Method Summary collapse

Class Method Details

.call(client, data) ⇒ Object

A direct message channel was created.


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

def self.call(client, data)
  client.ims[data.channel.id] = Models::Im.new(data.channel)
end