[shitou] - add buildFromXml method in TextMessageModel and relate test