new api to addIncomingMessageToChat done