lib/resources/conversations.js
function(userId, params, callback) {
      if (!userId) return callback(new Error(utils.i18n.conversations.userId));
      utils.debug('Conversation getAllFromUser: ' + userId);

      var queryParams = '';
      if (typeof params === 'function') callback = params;
      else queryParams = '?' + querystring.stringify(params);

      request.get({
        path: '/users/' + querystring.escape(userId) + '/conversations' + queryParams
      }, callback);
    }
function(userId, params, callback) {
      if (!userId) return callback(new Error(utils.i18n.conversations.userId));
      utils.debug('Conversation getAllFromUser: ' + userId);

      var queryParams = '';
      if (typeof params === 'function') callback = params;
      else queryParams = '?' + querystring.stringify(params);

      request.get({
        path: '/users/' + querystring.escape(userId) + '/conversations' + queryParams
      }, callback);
    }
function ( userId , params , callback ) { if ( ! userId ) return callback ( new Error ( utils . i18n . conversations . userId ) ) ; utils . debug ( 'Conversation getAllFromUser: ' + userId ) ; var queryParams = '' ; if ( typeof params === 'function' ) callback = params ; else queryParams = '?' + querystring . stringify ( params ) ; request . get ( { path : '/users/' + querystring . escape ( userId ) + '/conversations' + queryParams } , callback ) ; }
Retrieve all conversations from user

@param  {String}   userId      User ID
@param  {String}   [params]    Query parameters
@param  {Function} callback    Callback function
Retrieve all conversations from user