class_docstr: This operator allows you to post messages to Discord using incoming webhooks.
  
  Takes a Discord connection ID with a default relative webhook endpoint. The
  default endpoint can be overridden using the webhook_endpoint parameter
  (https://discordapp.com/developers/docs/resources/webhook).
  
  Each Discord webhook can be pre-configured to use a specific username and
  avatar_url. You can override these defaults in this operator.
  
  :param http_conn_id: Http connection ID with host as "https://discord.com/api/" and
                       default webhook endpoint in the extra field in the form of
                       {"webhook_endpoint": "webhooks/{webhook.id}/{webhook.token}"}
  :param webhook_endpoint: Discord webhook endpoint in the form of
                           "webhooks/{webhook.id}/{webhook.token}" (templated)
  :param message: The message you want to send to your Discord channel
                  (max 2000 characters). (templated)
  :param username: Override the default username of the webhook. (templated)
  :param avatar_url: Override the default avatar of the webhook
  :param tts: Is a text-to-speech message
  :param proxy: Proxy to use to make the Discord webhook call
code: def hook(self) -> DiscordWebhookHook:
      hook = DiscordWebhookHook(
          self.http_conn_id,
          self.webhook_endpoint,
          self.message,
          self.username,
          self.avatar_url,
          self.tts,
          self.proxy,
      )
      return hook
  
file_path: airflow/airflow/providers/discord/operators/discord_webhook.py
imports: from __future__ import annotations
  from typing import TYPE_CHECKING, Sequence
  from airflow.exceptions import AirflowException
  from airflow.providers.discord.hooks.discord_webhook import DiscordWebhookHook
  from airflow.providers.http.operators.http import HttpOperator
label_desc: Use image node_id 2 for calling the DiscordWebhookOperator obj's underlying member method code with example usage: obj.hook() and returns: hook