module Slack::Web::Api::Mixins::Channels

def channels_id(options = {})

Options Hash: (**options)
  • :channel (channel) --
def channels_id(options = {})
  name = options[:channel]
  throw ArgumentError.new('Required arguments :channel missing') if name.nil?
  id_for(:channel, name, '#', :channels, 'channel_not_found') do
    channels_list
  end
end