ReplyCodec
Defined in: sdks/node/dist/runtime/public/codecs.d.ts:34
Extends
Section titled “Extends”StandardCodec<Variant<"reply">,ReturnType<typeoflowerStandardContent>>
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new ReplyCodec():
ReplyCodec
Defined in: sdks/node/dist/runtime/public/codecs.d.ts:35
Returns
Section titled “Returns”ReplyCodec
Overrides
Section titled “Overrides”StandardCodec<Variant<"reply">, ReturnType<typeof lowerStandardContent>>.constructor
Properties
Section titled “Properties”
readonlytype:ContentTypeId
Defined in: sdks/node/dist/runtime/public/codecs.d.ts:10
Inherited from
Section titled “Inherited from”StandardCodec.type
Methods
Section titled “Methods”decode()
Section titled “decode()”decode(
encoded):object
Defined in: sdks/node/dist/runtime/public/codecs.d.ts:17
Parameters
Section titled “Parameters”encoded
Section titled “encoded”Returns
Section titled “Returns”object
content
Section titled “content”
readonlycontent:EncodedContent
readonlykind:"reply"
reference
Section titled “reference”
readonlyreference:string
referenceInboxId?
Section titled “referenceInboxId?”
readonlyoptionalreferenceInboxId?:string
Inherited from
Section titled “Inherited from”StandardCodec.decode
encode()
Section titled “encode()”encode(
value):EncodedContent
Defined in: sdks/node/dist/runtime/public/codecs.d.ts:14
Parameters
Section titled “Parameters”content
Section titled “content”"reply"
reference
Section titled “reference”string
referenceInboxId?
Section titled “referenceInboxId?”string
Returns
Section titled “Returns”Inherited from
Section titled “Inherited from”StandardCodec.encode
fallback()
Section titled “fallback()”fallback(
value):string|undefined
Defined in: sdks/node/dist/runtime/public/codecs.d.ts:15
Text for recipients without this codec. Absent: no fallback.
Parameters
Section titled “Parameters”content
Section titled “content”"reply"
reference
Section titled “reference”string
referenceInboxId?
Section titled “referenceInboxId?”string
Returns
Section titled “Returns”string | undefined
Inherited from
Section titled “Inherited from”StandardCodec.fallback
shouldPush()
Section titled “shouldPush()”shouldPush(
value):boolean
Defined in: sdks/node/dist/runtime/public/codecs.d.ts:16
Whether sending this value notifies recipients. Absent: it does.
Parameters
Section titled “Parameters”content
Section titled “content”"reply"
reference
Section titled “reference”string
referenceInboxId?
Section titled “referenceInboxId?”string
Returns
Section titled “Returns”boolean
Inherited from
Section titled “Inherited from”StandardCodec.shouldPush