Added GetMessage API

When the chat now button is tapped, all messages will be get.