lib/slack/web/api/endpoints/im.rb in slack-ruby-client-0.15.1 vs lib/slack/web/api/endpoints/im.rb in slack-ruby-client-0.16.0

- old
+ new

@@ -73,10 +73,10 @@ # @see https://github.com/slack-ruby/slack-api-ref/blob/master/methods/im/im.mark.json 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? options = options.merge(channel: conversations_id(options)['channel']['id']) if options[:channel] - logger.warn('im.mark: This method is deprecated. It will stop functioning in February 2021 and will not work with newly created apps after June 10th, 2020. Alternative methods: .') + logger.warn('im.mark: This method is deprecated. It will stop functioning in February 2021 and will not work with newly created apps after June 10th, 2020. Alternative methods: conversations.mark.') post('im.mark', options) end # # Opens a direct message channel.