docs: function(id, params_or_callback, callback) {
          /**
           * Callback for QB.chat.dialog.delete()
           * @param {Object} error - The error object
           * @callback deleteDialogCallback
           * */
  
          var ajaxParams = {
              url: Utils.getUrl(DIALOGS_API_URL, id),
              type: 'DELETE',
              dataType: 'text'
          };
  
          if (arguments.length === 2) {
              this.service.ajax(ajaxParams, params_or_callback);
          } else if (arguments.length === 3) {
              ajaxParams.data = params_or_callback;
  
              this.service.ajax(ajaxParams, callback);
          }
      }