Module: Slack::RealTime::EventHandlers::GroupUnarchive

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

Class Method Summary collapse

Class Method Details

.call(client, data) ⇒ Object

A private group was unarchived.


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

def self.call(client, data)
  channel = client.groups[data.channel]
  channel.is_archived = false if channel
end