class_docstr: A class for handling connections and interactions with Twilio WhatsApp API.
  Args:
      account_sid(str): Accound ID of the twilio account.
      auth_token(str): Authentication Token obtained from the twilio account.
class_docstr_tok: ["A","class","for","handling","connections","and","interactions","with","Twilio","WhatsApp","API",".","Args",":","account_sid","(","str",")",":","Accound","ID","of","the","twilio","account",".","auth_token","(","str",")",":","Authentication","Token","obtained","from","the","twilio","account","."]
docstr: Initializes the connection by checking all the params are provided by the user.
docstr_tok: ["Initializes","the","connection","by","checking","all","the","params","are","provided","by","the","user","."]
code: def __init__(self, name=None, **kwargs):
      """
      Initializes the connection by checking all the params are provided by the user.
      """
      super().__init__(name)
  
      args = kwargs.get("connection_data", {})
      self.connection_args = {}
      handler_config = Config().get("whatsapp_handler", {})
      for k in ["account_sid", "auth_token"]:
          if k in args:
              self.connection_args[k] = args[k]
          elif f"TWILIO_{k.upper()}" in os.environ:
              self.connection_args[k] = os.environ[
                  f"TWILIO_{k.upper()}"
              ]
          elif k in handler_config:
              self.connection_args[k] = handler_config[k]
      self.client = None
      self.is_connected = False
  
      messages = WhatsAppMessagesTable(self)
      self._register_table("messages", messages)
  
imports: import os
  from twilio.rest import Client
  import re
  from datetime import datetime
  from typing import List
  import pandas
  from mindsdb.utilities import log
  from mindsdb.utilities.config import Config
  from mindsdb_sql.parser import ast
  from mindsdb.integrations.utilities.date_utils import parse_local_date
  from mindsdb.integrations.libs.api_handler import APIHandler, APITable
  from mindsdb.integrations.utilities.sql_utils import extract_comparison_conditions, project_dataframe, filter_dataframe
  from mindsdb.integrations.libs.response import HandlerStatusResponse, HandlerResponse, RESPONSE_TYPE
label_desc: Use image node_id 1 to create a new WhatsAppHandler object from inherited base classes: APIHandler with example: obj = WhatsAppHandler(name)