diffusion
Version:
Diffusion JavaScript client
25 lines (24 loc) • 772 B
JavaScript
;
/**
* @module Services.Control
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.MessagingFilterSendResponse = void 0;
/**
* Server result of from a ... request.
*/
var MessagingFilterSendResponse = /** @class */ (function () {
/**
* Create a new MessagingFilterSendResponse instance
*
* @param numberSent the number of sessions the request was sent to
* @param errors any errors that occurred
*/
function MessagingFilterSendResponse(numberSent, errors) {
this.numberSent = numberSent;
this.errors = errors;
this.isSuccess = (errors.length === 0);
}
return MessagingFilterSendResponse;
}());
exports.MessagingFilterSendResponse = MessagingFilterSendResponse;