How to get the received message''s body?

Hello everyone

I download XIFF API .When I text a example ,if I received a message from my contractor,how can I get the message’’ s body.Is have a function?