Sha256: 5ed301172cdb83f60f660f767b68c61e89fd4c564004d3925bb54779062d5906
Contents?: true
Size: 555 Bytes
Versions: 1
Compression:
Stored size: 555 Bytes
Contents
module Slack module RealTime module EventHandlers module ChannelCreated # A team channel was created. # @see https://api.slack.com/events/channel_created # @see https://github.com/dblock/slack-api-ref/blob/master/events/channel_created.json def self.call(client, data) channel = Models::Channel.new(data.channel) client.channels[channel.id] = channel end end end end end Slack::RealTime::Client.events['channel_created'] = Slack::RealTime::EventHandlers::ChannelCreated
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_created.rb |