Example #1
0
        public string Handle(ClickEvtMessage message)
        {
            var textMessage = new TextMessage(message)
            {
                CreateTime = UtilityHelper.GetTimeStamp(),
                Content    = $"你点击了{message.EventKey}按钮"
            };

            return(_messageReply.CreateXml(textMessage));
        }
        public string ClickEventHandler(ClickEvtMessage message)
        {
            var textMessage = new TextMessage()
            {
                ToUserName   = message.FromUserName,
                FromUserName = message.ToUserName,
                CreateTime   = UtilityHelper.GetTimeStamp(),
                Content      = $"你点击了{message.EventKey}按钮"
            };

            return(_messageReply.CreateXml(textMessage));
        }
Example #3
0
 public string ClickEventHandler(ClickEvtMessage message)
 {
     return("success");
 }
 public string Handle(ClickEvtMessage message)
 {
     return(Consts.Success);
 }