code: async def chat_send(self, message: str, team_only: bool):
          
          ch = ChatChannel.Team if team_only else ChatChannel.Broadcast
          await self._execute(
              action=sc_pb.RequestAction(
                  actions=[sc_pb.Action(action_chat=sc_pb.ActionChat(channel=ch.value, message=message))]
              )
          )
docs: Writes a message to the chat