How do you block texts in T-Mobile

How do you block texts in T-Mobile?
Sprint is 9999. Right

Read THIS.

Thanks but I wished they had 9999 block like. Sprint

One thing sprint does better

I guess it depends on the phone you're using. Some of them have the option (in settings) to block all incoming texts, incoming texts from specified numbers and/or texts that include specified phrases/words.