mirror of
https://github.com/stakater/Reloader.git
synced 2026-02-14 18:09:50 +00:00
add Microsoft Teams webhook support
This commit is contained in:
@@ -75,6 +75,7 @@ func sendSlackAlert(webhookUrl string, proxy string, msg string) []error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// function to send alert to Microsoft Teams webhook
|
||||
func sendTeamsAlert(webhookUrl string, proxy string, msg string) []error {
|
||||
attachment := Attachment{
|
||||
Text: msg,
|
||||
|
||||
Reference in New Issue
Block a user