code: def on_message(ws, message):
      """
      Prints the incoming message from the server.
  
      :param ws: a WebSocketApp
      :param message: json with 'text' field to be printed
      """
      if not RUNNING:
          return
      incoming_message = json.loads(message)
      print("\033[0m\n")
      print("Bot: " + incoming_message["text"])
      quick_replies = incoming_message.get("quick_replies")
      if quick_replies is not None and len(quick_replies) > 0:
          print(f"\nOptions: [{'|'.join(quick_replies)}]")
      print("\033[44m\n")
  
file_path: ParlAI/parlai/chat_service/services/terminal_chat/client.py
imports: import json
  import uuid
  import websocket
  import time
  import threading
  from parlai.core.params import ParlaiParser
label_desc: Use image node_id 3 for calling a global function with example usage: on_message(ws, message) without return types