# Whether or not to notify about resolved alerts.[send_resolved:<boolean> | default = true]# The endpoint to send HTTP POST requests to.url:<string># The HTTP client's configuration.[http_config:<http_config> | default = global.http_config]
{"version":"4","groupKey":<string>,// key identifying the group of alerts (e.g. to deduplicate)"status":"<resolved|firing>","receiver":<string>,"groupLabels":<object>,"commonLabels":<object>,"commonAnnotations":<object>,"externalURL":<string>,// backlink to the Alertmanager."alerts":[{"labels":<object>,"annotations":<object>,"startsAt":"<rfc3339>","endsAt":"<rfc3339>"}]}
package model
type At struct {
AtMobiles []string `json:"atMobiles"`
IsAtAll bool `json:"isAtAll"`
}
type DingTalkMarkdown struct {
MsgType string `json:"msgtype"`
At *At `json:at`
Markdown *Markdown `json:"markdown"`
}
type Markdown struct {
Title string `json:"title"`
Text string `json:"text"`
}