コード例 #1
0
 public CorpResMsgMusic(CorpRecMsgBase instanse)
 {
     this.MsgType      = "music";
     this.CreateTime   = instanse.CreateTime;
     this.FromUserName = instanse.ToUserName;
     this.ToUserName   = instanse.FromUserName;
 }
コード例 #2
0
ファイル: CorpResMsgVideo.cs プロジェクト: Alex-Yuen/WeChat
 public CorpResMsgVideo(CorpRecMsgBase instanse)
 {
     this.MsgType      = "video";
     this.CreateTime   = instanse.CreateTime;
     this.FromUserName = instanse.ToUserName;
     this.ToUserName   = instanse.FromUserName;
 }
コード例 #3
0
ファイル: CorpResMsgImage.cs プロジェクト: Alex-Yuen/WeChat
 public CorpResMsgImage(CorpRecMsgBase instanse)
 {
     this.MsgType      = "image";
     this.CreateTime   = instanse.CreateTime;
     this.FromUserName = instanse.ToUserName;
     this.ToUserName   = instanse.FromUserName;
 }
コード例 #4
0
ファイル: CorpResMsgText.cs プロジェクト: Alex-Yuen/WeChat
 public CorpResMsgText(CorpRecMsgBase instanse)
 {
     this.MsgType      = "text";
     this.CreateTime   = instanse.CreateTime;
     this.FromUserName = instanse.ToUserName;
     this.ToUserName   = instanse.FromUserName;
 }
コード例 #5
0
ファイル: CorpResMsgNews.cs プロジェクト: Alex-Yuen/WeChat
 public CorpResMsgNews(CorpRecMsgBase instanse)
 {
     this.MsgType      = "news";
     Articles          = new ArticlesMain();
     this.CreateTime   = instanse.CreateTime;
     this.FromUserName = instanse.ToUserName;
     this.ToUserName   = instanse.FromUserName;
 }