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
code: def __init__(
      self,
      *,
      slack_conn_id: str = SlackHook.default_conn_name,
      method: str | None = None,
      api_params: dict | None = None,
      base_url: str | None = None,
      proxy: str | None = None,
      timeout: int | None = None,
      retry_handlers: list[RetryHandler] | None = None,
      **kwargs,
  ) -> None:
      super().__init__(**kwargs)
      self.slack_conn_id = slack_conn_id
      self.method = method
      self.api_params = api_params
      self.base_url = base_url
      self.timeout = timeout
      self.proxy = proxy
      self.retry_handlers = 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 1 to create a new SlackAPIOperator object from inherited base classes: BaseOperator with example: obj = SlackAPIOperator()