class_docstr: A class for handling connections and interactions with Slack API.
  Agrs:
      bot_token(str): The bot token for the Slack app.
docstr: Calls specific method specified.
  
  Args:
      method_name: to call specific method
      params: parameters to call the method
  
  Returns:
      List of dictionaries as a result of the method call
code: def call_slack_api(
      self, method_name: str = None, params: dict = None
  ):
      """
      Calls specific method specified.
  
      Args:
          method_name: to call specific method
          params: parameters to call the method
  
      Returns:
          List of dictionaries as a result of the method call
      """
      api = self.connect()
      method = getattr(api, method_name)
  
      try:
          result = method(**params)
  
      except SlackApiError as e:
          error = f"Error calling method '{method_name}' with params '{params}': {e.response['error']}"
          logger.error(error)
          raise e
  
      if "channels" in result:
          result["channels"] = self.convert_channel_data(
              result["channels"]
          )
  
      return [result]
  
imports: import os
  from datetime import datetime, timezone
  import ast
  from typing import List
  import pandas
  from slack_sdk import WebClient
  from slack_sdk.errors import SlackApiError
  from slack_sdk.web.slack_response import SlackResponse
  from slack_sdk.socket_mode import SocketModeClient
  from slack_sdk.socket_mode.request import SocketModeRequest
  from slack_sdk.socket_mode.response import SocketModeResponse
  from mindsdb.interfaces.chatbot.types import ChatBotMessage
  from mindsdb.utilities import log
  from mindsdb.utilities.config import Config
  from mindsdb_sql.parser import ast
  from mindsdb_sql.parser.ast import ASTNode, Update, Delete
  from mindsdb_sql.planner.utils import query_traversal
  from mindsdb.integrations.libs.api_handler import APIChatHandler, APITable, FuncParser
  from mindsdb.integrations.utilities.sql_utils import extract_comparison_conditions
  from mindsdb.integrations.libs.response import HandlerStatusResponse, HandlerResponse, RESPONSE_TYPE
label_desc: Use image node_id 9 for calling the SlackHandler obj's underlying member method code with example usage: obj.call_slack_api(method_name, params) and returns: list