ReadonlyatReadonlydirectionOptional ReadonlyerrorWhat failed, when the envelope reports a failure; see appletMessageFailure.
ReadonlymessageThe message itself. It can hold private messages, signed events and stored values: keep it in memory only.
ReadonlytypeThe envelope's type, or unknown for anything that is not an envelope.
ReadonlyviaReadonlywindow
One message between an applet and the shell.
viais the channel:windowfor a window-level message (NIP-5D allows one,napplet.hello),portfor everything on the bound port.