I agree with pretty much all of the above. If your preamp accommodates both mic and instrument level signals it probably won't make a difference. I say probably, because since you are playing a tele we are all thinking single coil pickups and that's usually where the noise sneaks in. Do you get the buzzing when playing through both the neck and pridge pickup (center position)? If so, I would take a moment and diagnose that first. Try a guitar with a humbucker and see what you get.
Also, if you play out at all, it can come in handy to have a DI in your gig bag for those occasions that it's needed.
There are plenty of quality inexpensive ones available these days. I just picked up a Radial Stage Bug that is phantom powered for times that I use a Piezo pickup.
Also, a DI can get rid of hum from a ground loop, if that is an issue.