class_docstr: Interface to send and receive messages over a chat application (Slack, RocketChat, etc)
code: def __init__(
      self, name: str, on_message: Callable[[ChatBotMessage], None]
  ):
      self.name = name
      # Should be called every time a message is received.
      self.on_message = on_message
  
imports: from typing import Callable
  from mindsdb.interfaces.chatbot.chatbot_message import ChatBotMessage
  from mindsdb.interfaces.chatbot.chatbot_response import ChatBotResponse
label_desc: Use image node_id 1 to create a new RealtimeChatHandler object  with example: obj = RealtimeChatHandler(name, on_message)