fromString

fun fromString(type: String?): MessageType?