Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TrimFirstChar ¶
Microsoft Teams expects the hexidecimal formatted color to not have a "#" at the front Source: https://stackoverflow.com/a/48798875/2199949
Types ¶
type Config ¶
type Config struct {
Endpoint string
}
Config represents the configuration of a Teams Webhook Sender.
type SimpleTeamsMessageCard ¶
type SimpleTeamsMessageCard struct { AtContext string `json:"@context"` AtType string `json:"@type"` Sections []TeamsMessageSection `json:"sections"` Summary string `json:"summary"` ThemeColor string `json:"themeColor"` }
type TeamsMessageSection ¶
Click to show internal directories.
Click to hide internal directories.