class_docstr: The Microsoft Teams Chat Messages Table implementation.
class_docstr_tok: ["The","Microsoft","Teams","Chat","Messages","Table","implementation","."]
docstr: Inserts data into the "POST /chats/{chat_id}/messages" Microsoft Graph API endpoint.
  
  Parameters
  ----------
  query : ast.Insert
     Given SQL INSERT query.
  
  Returns
  -------
  None
  
  Raises
  ------
  UnsupportedColumnException
      If the query contains an unsupported column.
  
  MandatoryColumnException
      If the query is missing a mandatory column.
  
  ColumnCountMismatchException
      If the number of columns does not match the number of values.
docstr_tok: ["Inserts","data","into","the","``","POST","\/chats\/","{","chat_id","}","\/messages","''","Microsoft","Graph","API","endpoint",".","Parameters","--","--","--","--","--","query",":","ast.Insert","Given","SQL","INSERT","query",".","Returns","--","--","--","-","None","Raises","--","--","--","UnsupportedColumnException","If","the","query","contains","an","unsupported","column",".","MandatoryColumnException","If","the","query","is","missing","a","mandatory","column",".","ColumnCountMismatchException","If","the","number","of","columns","does","not","match","the","number","of","values","."]
code: def insert(self, query: ast.Insert) -> None:
      """
      Inserts data into the "POST /chats/{chat_id}/messages" Microsoft Graph API endpoint.
  
      Parameters
      ----------
      query : ast.Insert
         Given SQL INSERT query.
  
      Returns
      -------
      None
  
      Raises
      ------
      UnsupportedColumnException
          If the query contains an unsupported column.
  
      MandatoryColumnException
          If the query is missing a mandatory column.
  
      ColumnCountMismatchException
          If the number of columns does not match the number of values.
      """
  
      # only the chatId, subject and body_content columns are supported
      # chatId and body_content are mandatory
      insert_statement_parser = INSERTQueryParser(
          query,
          supported_columns=["chatId", "subject", "body_content"],
          mandatory_columns=["chatId", "body_content"],
      )
  
      messages_to_send = insert_statement_parser.parse_query()
  
      self.send_messages(messages_to_send)
  
imports: import pandas
  from typing import Text, List, Dict, Any
  from mindsdb.utilities import log
  from mindsdb_sql.parser import ast
  from mindsdb.integrations.libs.api_handler import APITable
  from mindsdb.integrations.handlers.ms_teams_handler.settings import ms_teams_handler_config
  from mindsdb.integrations.handlers.utilities.query_utilities.insert_query_utilities import INSERTQueryParser
  from mindsdb.integrations.handlers.utilities.query_utilities.select_query_utilities import SELECTQueryParser, SELECTQueryExecutor
label_desc: Use image node_id 3 for calling the ChatMessagesTable obj's underlying member method code with example usage: obj.insert(query) without return types