class_docstr: Slack Incoming Webhooks Notifier.
  
  .. note::
      ``SlackWebhookNotifier`` provide integration with Slack Incoming Webhooks,
      and may not function accurately within Legacy Slack Integration Incoming Webhook.
  
  :param slack_webhook_conn_id: :ref:`Slack Incoming Webhook <howto/connection:slack>`
      connection id that has Incoming Webhook token in the password field.
  :param text: The content of the message
  :param blocks: A list of blocks to send with the message. Optional
  :param unfurl_links: Option to indicate whether text url should unfurl. Optional
  :param unfurl_media: Option to indicate whether media url should unfurl. Optional
  :param timeout: The maximum number of seconds the client will wait to connect. Optional
      and receive a response from Slack. Optional
  :param proxy: Proxy to make the Slack Incoming Webhook call. Optional
  :param attachments: (legacy) A list of attachments to send with the message. Optional
  :param retry_handlers: List of handlers to customize retry logic in ``slack_sdk.WebhookClient``. Optional
code: def __init__(
      self,
      *,
      slack_webhook_conn_id: str = SlackWebhookHook.default_conn_name,
      text: str,
      blocks: list | None = None,
      unfurl_links: bool | None = None,
      unfurl_media: bool | None = None,
      proxy: str | None = None,
      timeout: int | None = None,
      attachments: list | None = None,
      retry_handlers: list[RetryHandler] | None = None,
  ):
      super().__init__()
      self.slack_webhook_conn_id = slack_webhook_conn_id
      self.text = text
      self.attachments = attachments
      self.blocks = blocks
      self.unfurl_links = unfurl_links
      self.unfurl_media = unfurl_media
      self.timeout = timeout
      self.proxy = proxy
      self.retry_handlers = retry_handlers
  
file_path: airflow/airflow/providers/slack/notifications/slack_webhook.py
imports: from __future__ import annotations
  from functools import cached_property
  from typing import TYPE_CHECKING
  from airflow.notifications.basenotifier import BaseNotifier
  from airflow.providers.slack.hooks.slack_webhook import SlackWebhookHook
label_desc: Use image node_id 1 to create a new SlackWebhookNotifier object from inherited base classes: BaseNotifier with example: obj = SlackWebhookNotifier()