Sha256: ff9a70431d5cfadc6614170a872823f0f8f22b3cdc47f362f2cf8ec8ce2f6c88
Contents?: true
Size: 478 Bytes
Versions: 1
Compression:
Stored size: 478 Bytes
Contents
module Slack module RealTime module EventHandlers module ImClose # You closed a direct message channel. # @see https://api.slack.com/events/im_close # @see https://github.com/dblock/slack-api-ref/blob/master/events/im_close.json def self.call(client, data) client.ims[data.channel].is_open = false end end end end end Slack::RealTime::Client.events['im_close'] = Slack::RealTime::EventHandlers::ImClose
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_close.rb |