Example #1
0
 public PubResMsgMusic(PubRecMsgBase instanse)
 {
     this.MsgType      = "music";
     this.CreateTime   = instanse.CreateTime;
     this.FromUserName = instanse.ToUserName;
     this.ToUserName   = instanse.FromUserName;
 }
Example #2
0
 public PubResMsgImage(PubRecMsgBase instanse)
 {
     this.MsgType      = "image";
     this.CreateTime   = instanse.CreateTime;
     this.FromUserName = instanse.ToUserName;
     this.ToUserName   = instanse.FromUserName;
 }
Example #3
0
 public PubResMsgVideo(PubRecMsgBase instanse)
 {
     this.MsgType      = "video";
     this.CreateTime   = instanse.CreateTime;
     this.FromUserName = instanse.ToUserName;
     this.ToUserName   = instanse.FromUserName;
 }
Example #4
0
 public PubResMsgNews(PubRecMsgBase instanse)
 {
     this.MsgType      = "news";
     Articles          = new ArticlesMain();
     this.CreateTime   = instanse.CreateTime;
     this.FromUserName = instanse.ToUserName;
     this.ToUserName   = instanse.FromUserName;
 }