class_docstr: Base Slack Operator class.
  
  :param slack_conn_id: :ref:`Slack API Connection <howto/connection:slack>`
      which its password is Slack API token.
  :param method: The Slack API Method to Call (https://api.slack.com/methods). Optional
  :param api_params: API Method call parameters (https://api.slack.com/methods). Optional
  :param timeout: The maximum number of seconds the client will wait to connect
      and receive a response from Slack. Optional
  :param base_url: A string representing the Slack API base URL. Optional
  :param proxy: Proxy to make the Slack API call. Optional
  :param retry_handlers: List of handlers to customize retry logic in ``slack_sdk.WebClient``. Optional
docstr: Slack Hook.
docstr_tok: ["Slack","Hook","."]
code: def hook(self) -> SlackHook:
      """Slack Hook."""
      return SlackHook(
          slack_conn_id=self.slack_conn_id,
          base_url=self.base_url,
          timeout=self.timeout,
          proxy=self.proxy,
          retry_handlers=self.retry_handlers,
      )
  
imports: from __future__ import annotations
  import json
  import warnings
  from functools import cached_property
  from typing import TYPE_CHECKING, Any, Sequence
  from airflow.exceptions import AirflowProviderDeprecationWarning
  from airflow.models import BaseOperator
  from airflow.providers.slack.hooks.slack import SlackHook
label_desc: Use image node_id 2 for calling the SlackAPIOperator obj's underlying member method code with example usage: obj.hook() and returns: SlackHook