Telling people that don't have kids

I have a few friends that are not able to have kids and for the longest time I was told I couldn't have kids either but I am 13 weeks tomorrow and we are announcing. I know how it hurts to know that a friend is pregnant. How do you tell someone that can't have kids that you are having a baby. 
Back story: I have been with my boyfriend for 13 years and was told 2 years ago that I had stage 4 endometriosis and was going to have to see a specialist to get pregnant. This baby is a true miracle and wasn't a plan but i want to be sensitive to those that are still struggling