class_docstr: A Starcraft II environment.
  
  The implementation details of the action and observation specs are in
  lib/features.py
docstr: Useful for logging messages into the replay.
docstr_tok: ["Useful","for","logging","messages","into","the","replay","."]
code: def send_chat_messages(self, messages, broadcast=True):
      """Useful for logging messages into the replay."""
      self._parallel.run(
          (
              c.chat,
              message,
              sc_pb.ActionChat.Broadcast
              if broadcast
              else sc_pb.ActionChat.Team,
          )
          for c, message in zip(self._controllers, messages)
      )
  
imports: import collections
  import copy
  import random
  import time
  from absl import logging
  from pysc2 import maps
  from pysc2 import run_configs
  from pysc2.env import enums
  from pysc2.env import environment
  from pysc2.lib import actions
  from pysc2.lib import features
  from pysc2.lib import metrics
  from pysc2.lib import portspicker
  from pysc2.lib import renderer_human
  from pysc2.lib import run_parallel
  from pysc2.lib import stopwatch
  from s2clientprotocol import sc2api_pb2
label_desc: Use image node_id 21 for calling the SC2Env obj's underlying member method code with example usage: obj.send_chat_messages(messages, broadcast) without return types