module Slack::Web::Api::Endpoints::Groups
def groups_history(options = {})
- See: https://github.com/dblock/slack-api-ref/blob/master/methods/groups/groups.history.json -
See: https://api.slack.com/methods/groups.history -
Options Hash:
(**options)-
:unreads(Object) -- -
:inclusive(Object) -- -
:oldest(timestamp) -- -
:latest(timestamp) -- -
:channel(group) --
def groups_history(options = {}) throw ArgumentError.new('Required arguments :channel missing') if options[:channel].nil? options = options.merge(channel: groups_id(options)['group']['id']) if options[:channel] post('groups.history', options) end