Does thyroid medication treat the depression symptoms that come with hypothyroidism?

Or do you need to take an antidepressant and thyroid medicine?