rcs-data
Version:
RCS消息数据结构
57 lines • 1.49 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.RcsMsgDecorator = void 0;
const RcsMsgBase_1 = require("./RcsMsgBase");
class RcsMsgDecorator extends RcsMsgBase_1.RcsMsgBase {
constructor(rcsmsg, mime) {
super(mime);
this._rcsmsg = rcsmsg;
}
get rcsmsg() {
return this._rcsmsg;
}
get conversationId() {
return this._rcsmsg.conversationId;
}
get contributionId() {
return this._rcsmsg.contributionId;
}
get messageId() {
return null;
}
get from() {
return this._rcsmsg.from;
}
get to() {
return this._rcsmsg.to;
}
get dateTime() {
return this._rcsmsg.dateTime;
}
get initialContentType() {
return this._rcsmsg.initialContentType;
}
get content() {
throw new Error('Method not implemented.');
}
get suggestions() {
return null;
}
get processingNotification() {
return this._rcsmsg.processingNotification;
}
set processingNotification(status) {
this._rcsmsg.processingNotification = status;
}
get deliveryNotification() {
return this._rcsmsg.deliveryNotification;
}
get displayNotification() {
return this._rcsmsg.displayNotification;
}
get deliveryInfoList() {
return this._rcsmsg.deliveryInfoList;
}
}
exports.RcsMsgDecorator = RcsMsgDecorator;
//# sourceMappingURL=RcsMsgDecorator.js.map