Versions in this module Expand all Collapse all v0 v0.0.1 Oct 10, 2023 Changes in this version + func Send(webhookUrl string, proxy string, payload Payload) error + type Action struct + Style string + Text string + Type string + Url string + type Attachment struct + Actions []*Action + AuthorIcon *string + AuthorLink *string + AuthorName *string + CallbackID *string + Color *string + Fallback *string + Fields []*Field + Footer *string + FooterIcon *string + ImageUrl *string + MarkdownIn *[]string + PreText *string + Text *string + ThumbnailUrl *string + Timestamp *int64 + Title *string + TitleLink *string + func (attachment *Attachment) AddAction(action Action) *Attachment + func (attachment *Attachment) AddField(field Field) *Attachment + type Field struct + Short bool + Title string + Value string + type Payload struct + Attachments []Attachment + Channel string + IconEmoji string + IconUrl string + LinkNames string + Markdown bool + Parse string + Text string + UnfurlLinks bool + UnfurlMedia bool + Username string