This method is used to create a Message object with the specified properties.
The created Message object.