lib/slack/web/api/endpoints/im.rb in slack-ruby-client-0.3.1 vs lib/slack/web/api/endpoints/im.rb in slack-ruby-client-0.4.0
- old
+ new
@@ -28,9 +28,11 @@
# End of time range of messages to include in results.
# @option options [timestamp] :oldest
# Start of time range of messages to include in results.
# @option options [Object] :inclusive
# Include messages with latest or oldest timestamp in results.
+ # @option options [Object] :unreads
+ # Include unread_count_display in the output?.
# @see https://api.slack.com/methods/im.history
# @see https://github.com/dblock/slack-api-ref/blob/master/methods/im.history.json
def im_history(options = {})
throw ArgumentError.new('Required arguments :channel missing') if options[:channel].nil?
post('im.history', options)