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