@@ -234,15 +234,17 @@ type SlackConfig struct {
234
234
Username string `yaml:"username,omitempty" json:"username,omitempty"`
235
235
Color string `yaml:"color,omitempty" json:"color,omitempty"`
236
236
237
- Title string `yaml:"title,omitempty" json:"title,omitempty"`
238
- TitleLink string `yaml:"title_link,omitempty" json:"title_link,omitempty"`
239
- Pretext string `yaml:"pretext,omitempty" json:"pretext,omitempty"`
240
- Text string `yaml:"text,omitempty" json:"text,omitempty"`
241
- Footer string `yaml:"footer,omitempty" json:"footer,omitempty"`
242
- Fallback string `yaml:"fallback,omitempty" json:"fallback,omitempty"`
243
- IconEmoji string `yaml:"icon_emoji,omitempty" json:"icon_emoji,omitempty"`
244
- IconURL string `yaml:"icon_url,omitempty" json:"icon_url,omitempty"`
245
- LinkNames bool `yaml:"link_names,omitempty" json:"link_names,omitempty"`
237
+ Title string `yaml:"title,omitempty" json:"title,omitempty"`
238
+ TitleLink string `yaml:"title_link,omitempty" json:"title_link,omitempty"`
239
+ Pretext string `yaml:"pretext,omitempty" json:"pretext,omitempty"`
240
+ Text string `yaml:"text,omitempty" json:"text,omitempty"`
241
+ Fields []map [string ]string `yaml:"fields,omitempty" json:"fields,omitempty"`
242
+ ShortFields bool `yaml:"short_fields,omitempty" json:"short_fields,omitempty"`
243
+ Footer string `yaml:"footer,omitempty" json:"footer,omitempty"`
244
+ Fallback string `yaml:"fallback,omitempty" json:"fallback,omitempty"`
245
+ IconEmoji string `yaml:"icon_emoji,omitempty" json:"icon_emoji,omitempty"`
246
+ IconURL string `yaml:"icon_url,omitempty" json:"icon_url,omitempty"`
247
+ LinkNames bool `yaml:"link_names,omitempty" json:"link_names,omitempty"`
246
248
247
249
// Catches all undefined fields and must be empty after parsing.
248
250
XXX map [string ]interface {} `yaml:",inline" json:"-"`
0 commit comments