Set the StateMessage.type for the StateMessage.
The type of the message, typically representing the call state.