@tnwx/commons
Version:
TTNWX 微信系开发脚手架之公共模块
29 lines • 1.01 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const EventInMsg_1 = require("./EventInMsg");
class InTemplateMsgEvent extends EventInMsg_1.EventInMsg {
constructor(toUserName, fromUserName, createTime, event) {
super(toUserName, fromUserName, createTime, event);
}
get getMsgId() {
return this.msgId;
}
set setMsgId(msgId) {
this.msgId = msgId;
}
get getStatus() {
return this.status;
}
set setStatus(status) {
this.status = status;
}
}
exports.InTemplateMsgEvent = InTemplateMsgEvent;
InTemplateMsgEvent.EVENT = 'TEMPLATESENDJOBFINISH';
//"success": 成功
InTemplateMsgEvent.EVENT_INTEMPLATEMSG_STATUS_SUCCESS = 'success';
//"block": 用户拒绝接收
InTemplateMsgEvent.EVENT_INTEMPLATEMSG_STATUS_BLOCK = 'block';
//"failed: system failed": 发送失败(非用户拒绝)
InTemplateMsgEvent.EVENT_INTEMPLATEMSG_STATUS_FAILED = 'failed: system failed';
//# sourceMappingURL=InTemplateMsgEvent.js.map