class_docstr: Implements a python interface to interact with the SC2 binary.
  
  All of these are implemented as blocking calls, so wait for the response
  before returning.
  
  Many of these functions take a Request* object and respond with the
  corresponding Response* object as returned from SC2. The simpler functions
  take a value and construct the Request itself, or return something more useful
  than a Response* object.
docstr: Send chat message as a broadcast.
docstr_tok: ["Send","chat","message","as","a","broadcast","."]
code: def chat(self, message, channel=sc_pb.ActionChat.Broadcast):
      """Send chat message as a broadcast."""
      if message:
          action_chat = sc_pb.ActionChat(
              channel=channel, message=message
          )
          action = sc_pb.Action(action_chat=action_chat)
          return self.act(action)
  
imports: import copy
  import functools
  import socket
  import sys
  import time
  from absl import flags
  from absl import logging
  from pysc2.lib import protocol
  from pysc2.lib import static_data
  from pysc2.lib import stopwatch
  import websocket
  from s2clientprotocol import debug_pb2
  from s2clientprotocol import sc2api_pb2
label_desc: Use image node_id 20 for calling the RemoteController obj's underlying member method code with example usage: obj.chat(message, channel) and returns: self