Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Send ¶
func Send(incomingWebhookURL string, webhookMessage MessageCard) error
Send - will post a notification to MS Teams incomingWebhookURL
Types ¶
type MessageCard ¶
type MessageCard struct {
Title string `json:"title"`
Text string `json:"text"`
ThemeColor string `json:"themeColor,omitempty"`
}
MessageCard - struct of message card
func NewMessageCard ¶
func NewMessageCard() MessageCard
NewMessageCard - create new empty message card
Click to show internal directories.
Click to hide internal directories.