コード例 #1
0
 /// <summary>
 /// 带参构造
 /// </summary>
 /// <param name="content">消息内容</param>
 /// <param name="touser">发送对象,成员ID
 public PubSendMsgText(string content, string touser)
 {
     this.text         = new TextMain();
     this.msgtype      = "text";
     this.text.content = content;
     this.touser       = touser;
 }
コード例 #2
0
 public PubSendMsgText()
 {
     this.text    = new TextMain();
     this.msgtype = "text";
 }