示例#1
0
 public string ToQueryStringValue()
 {
     return(MessageUtil.SubstituteVariables(MessageFormatString, EventMessage, true));
 }
示例#2
0
 public string ToJSONStringValue()
 {
     return(MessageUtil.SubstituteVariables(MessageFormatString, EventMessage, false).Replace("\"", "\\\""));
 }
示例#3
0
 public WebhookMessage(string message, string eventMessage)
 {
     MessageFormatString = message;
     EventMessage        = MessageUtil.StripTags(eventMessage); // Remove tags like <Tell>
 }