Module: Slack::Web::Api::Endpoints::Channels
- Included in:
- Slack::Web::Api::Endpoints
- Defined in:
- lib/slack/web/api/endpoints/channels.rb
Instance Method Summary collapse
-
#channels_delete(options = {}) ⇒ Object
Delete a channel (undocumented).
Instance Method Details
#channels_delete(options = {}) ⇒ Object
Delete a channel (undocumented)
15 16 17 18 19 20 |
# File 'lib/slack/web/api/endpoints/channels.rb', line 15 def channels_delete( = {}) throw ArgumentError.new('Required arguments :channel missing') if [:channel].nil? = .merge(channel: conversations_id()['channel']['id']) if [:channel] logger.warn('The channels.delete method is undocumented.') post('channels.delete', ) end |