Sha256: 4b1c1de8dd999f73c37ca7a40fab628056794fae53f61f1be80b01c7e4c51a2c
Contents?: true
Size: 507 Bytes
Versions: 1
Compression:
Stored size: 507 Bytes
Contents
module Slack module RealTime module EventHandlers module ImCreated # A direct message channel was created. # @see https://api.slack.com/events/im_created # @see https://github.com/dblock/slack-api-ref/blob/master/events/im_created.json def self.call(client, data) client.ims[data.channel.id] = Models::Im.new(data.channel) end end end end end Slack::RealTime::Client.events['im_created'] = Slack::RealTime::EventHandlers::ImCreated
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
slack-ruby-client-0.6.0 | lib/slack/real_time/event_handlers/im_created.rb |