Original: A play for television is known as a teleplay.
Simplified: A screenplay for television is called a teleplay.