from

fun from(code: Int): MessageType(source)

Returns an instance of MessageType with MessageType.code equal to the specified code.