receive the message history on chat init