docs: function(params, callback) {
          /**
           * Callback for QB.chat.dialog.list().
           * @param {Object} error - The error object
           * @param {Object} resDialogs - the dialog list
           * @callback listDialogCallback
           * */
  
          if (typeof params === 'function' && typeof callback === 'undefined') {
              callback = params;
              params = {};
          }
  
          this.service.ajax({
              url: Utils.getUrl(DIALOGS_API_URL),
              data: params
          }, callback);
      }