module Slack::Web::Api::Endpoints::Im
def im_close(options = {})
- See: https://github.com/slackhq/slack-api-docs/blob/master/methods/im.close.json -
See: https://github.com/slackhq/slack-api-docs/blob/master/methods/im.close.md -
See: https://api.slack.com/methods/im.close -
Options Hash:
(**options)-
:channel(im) --
def im_close(options = {}) throw ArgumentError.new('Required arguments :channel missing') if options[:channel].nil? post('im.close', options) end
def im_history(options = {})
- See: https://github.com/slackhq/slack-api-docs/blob/master/methods/im.history.json -
See: https://github.com/slackhq/slack-api-docs/blob/master/methods/im.history.md -
See: https://api.slack.com/methods/im.history -
Options Hash:
(**options)-
:count(Object) -- -
:oldest(timestamp) -- -
:latest(timestamp) -- -
:channel(im) --
def im_history(options = {}) throw ArgumentError.new('Required arguments :channel missing') if options[:channel].nil? post('im.history', options) end
def im_list(options = {})
- See: https://github.com/slackhq/slack-api-docs/blob/master/methods/im.list.json -
See: https://github.com/slackhq/slack-api-docs/blob/master/methods/im.list.md -
See: https://api.slack.com/methods/im.list -
def im_list(options = {}) post('im.list', options) end
def im_mark(options = {})
- See: https://github.com/slackhq/slack-api-docs/blob/master/methods/im.mark.json -
See: https://github.com/slackhq/slack-api-docs/blob/master/methods/im.mark.md -
See: https://api.slack.com/methods/im.mark -
Options Hash:
(**options)-
:ts(timestamp) -- -
:channel(im) --
def im_mark(options = {}) throw ArgumentError.new('Required arguments :channel missing') if options[:channel].nil? throw ArgumentError.new('Required arguments :ts missing') if options[:ts].nil? post('im.mark', options) end
def im_open(options = {})
- See: https://github.com/slackhq/slack-api-docs/blob/master/methods/im.open.json -
See: https://github.com/slackhq/slack-api-docs/blob/master/methods/im.open.md -
See: https://api.slack.com/methods/im.open -
Options Hash:
(**options)-
:user(user) --
def im_open(options = {}) throw ArgumentError.new('Required arguments :user missing') if options[:user].nil? post('im.open', options) end