lib/turntabler/user.rb
def messages
      data = api('pm.history', :receiverid => id)
      data['history'].map {|attrs| Message.new(client, attrs)}
    end
def messages
      data = api('pm.history', :receiverid => id)
      data['history'].map {|attrs| Message.new(client, attrs)}
    end
def messages data = api ( 'pm.history' , :receiverid => id ) data [ 'history' ] . map { | attrs | Message . new ( client , attrs ) } end
Gets the private conversation history with this user.

 @return [Array<Turntabler::Message>]
 @raise [Turntabler::Error] if the command fails
 @example
   user.messages   # => [#<Turntabler::Message ...>, ...]
Gets the private conversation history with this user .