Note: This is the migration API reference for FAKE 5. The new (modularized) API documentation can be found here. If the API is already migrated you can check here if exists in a module. More information regarding the migration can be found here

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