示例#1
0
 public CorpResMsgMusic(CorpRecMsgBase instanse)
 {
     this.MsgType      = "music";
     this.CreateTime   = instanse.CreateTime;
     this.FromUserName = instanse.ToUserName;
     this.ToUserName   = instanse.FromUserName;
 }
示例#2
0
 public CorpResMsgVideo(CorpRecMsgBase instanse)
 {
     this.MsgType      = "video";
     this.CreateTime   = instanse.CreateTime;
     this.FromUserName = instanse.ToUserName;
     this.ToUserName   = instanse.FromUserName;
 }
示例#3
0
 public CorpResMsgImage(CorpRecMsgBase instanse)
 {
     this.MsgType      = "image";
     this.CreateTime   = instanse.CreateTime;
     this.FromUserName = instanse.ToUserName;
     this.ToUserName   = instanse.FromUserName;
 }
示例#4
0
 public CorpResMsgText(CorpRecMsgBase instanse)
 {
     this.MsgType      = "text";
     this.CreateTime   = instanse.CreateTime;
     this.FromUserName = instanse.ToUserName;
     this.ToUserName   = instanse.FromUserName;
 }
示例#5
0
 public CorpResMsgNews(CorpRecMsgBase instanse)
 {
     this.MsgType      = "news";
     Articles          = new ArticlesMain();
     this.CreateTime   = instanse.CreateTime;
     this.FromUserName = instanse.ToUserName;
     this.ToUserName   = instanse.FromUserName;
 }