When to tell child you're pregnant ?

I asked my six year old daughter if she wanted a sibling and she said yes and if wanted a sister or a brother and she requested both lol.....today she asked me if I was having a baby because I'm super bloated lol..... When and how did you tell your kid that they are going to have a sibling?