Module: Slack::RealTime::EventHandlers::ChannelDeleted

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

Class Method Summary collapse

Class Method Details

.call(client, data) ⇒ Object

A team channel was deleted.


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

def self.call(client, data)
  client.channels.delete(data.channel)
end