class_docstr: This operator allows you to post messages to Slack using Incoming Webhooks.
  
  .. note::
      You cannot override the default channel (chosen by the user who installed your app),
      username, or icon when you're using Incoming Webhooks to post messages.
      Instead, these values will always inherit from the associated Slack App configuration
      (`link <https://api.slack.com/messaging/webhooks#advanced_message_formatting>`_).
      It is possible to change this values only in `Legacy Slack Integration Incoming Webhook
      <https://api.slack.com/legacy/custom-integrations/messaging/webhooks#legacy-customizations>`_.
  
  :param slack_webhook_conn_id: :ref:`Slack Incoming Webhook <howto/connection:slack>`
      connection id that has Incoming Webhook token in the password field.
  :param message: The formatted text of the message to be published.
      If ``blocks`` are included, this will become the fallback text used in notifications.
  :param attachments: The attachments to send on Slack. Should be a list of
      dictionaries representing Slack attachments.
  :param blocks: The blocks to send on Slack. Should be a list of
      dictionaries representing Slack blocks.
  :param channel: The channel the message should be posted to
  :param username: The username to post to slack with
  :param icon_emoji: The emoji to use as icon for the user posting to Slack
  :param icon_url: The icon image URL string to use in place of the default icon.
  :param proxy: Proxy to make the Slack Incoming Webhook call. Optional
  :param timeout: The maximum number of seconds the client will wait to connect
      and receive a response from Slack. Optional
  :param retry_handlers: List of handlers to customize retry logic in ``slack_sdk.WebhookClient``. Optional
docstr: Call the SlackWebhookHook to post the provided Slack message.
code: def execute(self, context: Context) -> None:
      """Call the SlackWebhookHook to post the provided Slack message."""
      self.hook.send(
          text=self.message,
          attachments=self.attachments,
          blocks=self.blocks,
          # Parameters below use for compatibility with previous version of Operator and warn user if it set
          # Legacy Integration Parameters
          channel=self.channel,
          username=self.username,
          icon_emoji=self.icon_emoji,
          icon_url=self.icon_url,
      )
  
file_path: airflow/airflow/providers/slack/operators/slack_webhook.py
imports: from __future__ import annotations
  from functools import cached_property
  from typing import TYPE_CHECKING, Sequence
  from airflow.models import BaseOperator
  from airflow.providers.slack.hooks.slack_webhook import SlackWebhookHook
label_desc: Use image node_id 3 for calling the SlackWebhookOperator obj's underlying member method code with example usage: obj.execute(context) without return types