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)); }
public string ClickEventHandler(ClickEvtMessage message) { return("success"); }
public string Handle(ClickEvtMessage message) { return(Consts.Success); }