added doc for getFirstMessage