This is part of the Fake.Api.Slack module.

Slack

Contains a task to send notification messages to a Slack webhook

Nested types and modules

TypeDescription
NotificationAttachmentFieldParams

The Slack notification attachment field parameter type

NotificationAttachmentParams

The Slack notification attachment parameter type

NotificationParams

The Slack notification parameter type

Functions and values

Function or valueDescription
Slack.NotificationAttachmentDefaults
Signature: NotificationAttachmentParams

The default parameters for Slack notification attachments

Slack.NotificationAttachmentFieldDefaults(...)
Signature: NotificationAttachmentFieldParams

The default parameters for Slack notification attachment fields

Slack.NotificationDefaults
Signature: NotificationParams

The default Slack notification parameters

Slack.sendNotification(...)
Signature: webhookURL:string -> setParams:(NotificationParams -> NotificationParams) -> string

Sends a notification to a Slack Channel

Parameters

  • webhookURL - The Slack webhook URL
  • setParams - Function used to override the default notification parameters