Added the impossibility of sending a message if the message field is empty
Corrected a bug where the static factory for text message was creating an improperly initiated Message.