function newMessage => newMessageAction