If I'm depressed while pregnant will my child be depressed too?

Possibly. There have been some studies that show an increased predisposition to mood disorders in offspring of depressed women. It is difficult to separate the influence of "nature" (genes) from "nurture" (upbringing). We also do not know much about effects of lower levels of neurotransmitters, etc on the fetus later in life. There are many ways to overcome the risk, however. Ask pediatric or family doctor.
No. Depression in pregnancy and in the postpartum period should be addressed with your doctor. In general, a healthy mom equals a healthy pregnancy and baby! don't put off seeking help/treatment for depression in pregnancy. It is more common than you would think and there is help.