Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MSTeams ¶
type MSTeams struct {
// contains filtered or unexported fields
}
MSTeams struct holds necessary data to communicate with the MSTeams API.
func New ¶
func New() *MSTeams
New returns a new instance of a MSTeams notification service. For more information about telegram api token:
-> https://github.com/atc0005/go-teams-notify#example-basic
func (*MSTeams) AddReceivers ¶
AddReceivers takes MSTeams channel web-hooks and adds them to the internal web-hook list. The Send method will send a given message to all those chats.
func (*MSTeams) DisableWebhookValidation ¶
func (m *MSTeams) DisableWebhookValidation()
DisableWebhookValidation disables the validation of webhook URLs, including the validation of known prefixes so that custom/private webhook URL endpoints can be used (e.g., testing purposes). For more information about telegram api token:
-> https://github.com/atc0005/go-teams-notify#example-disable-webhook-url-prefix-validation
Click to show internal directories.
Click to hide internal directories.