Mattermost JSON Updates

pull/1081/head
Adam Boutcher 2021-09-14 12:46:32 +01:00
parent 70ced8f8bf
commit af361e5eaf
1 changed files with 2 additions and 2 deletions

View File

@ -36,8 +36,8 @@ var mattermoster = &mattermost{&notifications.Notification{
AuthorUrl: "https://github.com/adamboutcher",
Delay: time.Duration(10 * time.Second),
Icon: "far fa-comments",
SuccessData: null.NewNullString(`{"text": "The service {{.Service.Name}} is back online."}`),
FailureData: null.NewNullString(`{"text": "The service {{.Service.Name}} has gone offline."}`),
SuccessData: null.NewNullString(`{"icon_emoji":":white_check_mark:", "text": "The service {{.Service.Name}} is back online."}`),
FailureData: null.NewNullString(`{"icon_emoji":":x:", "text": "The service {{.Service.Name}} has gone offline."}`),
DataType: "json",
RequestInfo: "Mattermost allows you to customize your own messages with many complex components.",
Limits: 60,