of

fun of(kind: EnvelopeKind, id: String, type: String, payload: JsonNode, transport: Transport? = null, format: Int = FORMAT): Envelope

An Envelope of the given fields; parameters added later come last, with a default.