Sha256: 0877b82444b188f0086f175f3bc17d4a4803498c8f002ed791f5a0e190254cc6
Contents?: true
Size: 565 Bytes
Versions: 1
Compression:
Stored size: 565 Bytes
Contents
module Slack module RealTime module EventHandlers module ChannelUnarchive # A team channel was unarchived. # @see https://api.slack.com/events/channel_unarchive # @see https://github.com/dblock/slack-api-ref/blob/master/events/channel_unarchive.json def self.call(client, data) channel = client.channels[data.channel] channel.is_archived = false if channel end end end end end Slack::RealTime::Client.events['channel_unarchive'] = Slack::RealTime::EventHandlers::ChannelUnarchive
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
slack-ruby-client-0.6.0 | lib/slack/real_time/event_handlers/channel_unarchive.rb |