Skip to content

Commit

Permalink
Merge pull request #42 from iLert/add-microsoft-teams-webhook
Browse files Browse the repository at this point in the history
add microsoft_teams_webhook to alert actions
  • Loading branch information
yacut authored Jul 19, 2024
2 parents 382d4ff + 04ffe12 commit ec1c9d4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions alert_action.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,11 @@ type AlertActionParamsMicrosoftTeamsBot struct {
Type string `json:"type,omitempty"` // "chat" | "meeting"
}

// AlertActionParamsMicrosoftTeamsWebhook definition
type AlertActionParamsMicrosoftTeamsWebhook struct {
URL string `json:"url,omitempty"`
}

// AlertActionParamsServiceNow definition
type AlertActionParamsServiceNow struct {
CallerID string `json:"callerId,omitempty"` // user email
Expand Down
2 changes: 1 addition & 1 deletion version.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package ilert

// Version package version
const Version = "v3.8.2"
const Version = "v3.8.3"

0 comments on commit ec1c9d4

Please sign in to comment.