public PubResMsgMusic(PubRecMsgBase instanse) { this.MsgType = "music"; this.CreateTime = instanse.CreateTime; this.FromUserName = instanse.ToUserName; this.ToUserName = instanse.FromUserName; }
public PubResMsgImage(PubRecMsgBase instanse) { this.MsgType = "image"; this.CreateTime = instanse.CreateTime; this.FromUserName = instanse.ToUserName; this.ToUserName = instanse.FromUserName; }
public PubResMsgVideo(PubRecMsgBase instanse) { this.MsgType = "video"; this.CreateTime = instanse.CreateTime; this.FromUserName = instanse.ToUserName; this.ToUserName = instanse.FromUserName; }
public PubResMsgNews(PubRecMsgBase instanse) { this.MsgType = "news"; Articles = new ArticlesMain(); this.CreateTime = instanse.CreateTime; this.FromUserName = instanse.ToUserName; this.ToUserName = instanse.FromUserName; }