Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MessageParams ¶
type MessageParams struct {
Text string `yaml:"text" json:"text"`
Title *string `yaml:"title,omitempty" json:"title,omitempty"`
TitleLink *string `yaml:"titleLink,omitempty" json:"title_link,omitempty"`
ImageUrl *string `yaml:"imageUrl,omitempty" json:"image_url,omitempty"`
Color *string `yaml:"color,omitempty" json:"color,omitempty"`
}
type Option ¶
type Option struct {
types.BaseOption `yaml:",inline"`
Webhook string `yaml:"webhook"`
MessageParams `yaml:",inline"`
}
func (*Option) ToNotifier ¶
Click to show internal directories.
Click to hide internal directories.