Involved in the biological cycling of tellurium and selenium. Tellurium resistance (Ter) mechanism. S-adenosyl-L-methionine + a thiopurine = S-adenosyl-L-homocysteine + a thiopurine S-methylether. Belongs to the class I-like SAM-binding methyltransferase superfamily. TPMT family.