# File lib/twitter/api.rb, line 485 def direct_messages(*args) options = args.extract_options! if args.empty? direct_messages_received(options) else args.flatten.threaded_map do |id| object_from_response(Twitter::DirectMessage, :get, "/1/direct_messages/show/#{id}.json", options) end end end