ReactionV2Codec
Defined in: sdks/node/dist/runtime/public/codecs.d.ts:31
Extends
Section titled “Extends”StandardCodec<Variant<"reaction">,ReturnType<typeoflowerStandardContent>>
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new ReactionV2Codec():
ReactionV2Codec
Defined in: sdks/node/dist/runtime/public/codecs.d.ts:32
Returns
Section titled “Returns”ReactionV2Codec
Overrides
Section titled “Overrides”StandardCodec<Variant<"reaction">, 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
readonlykind:"reaction"
reaction
Section titled “reaction”
readonlyreaction:Reaction
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”"reaction"
reaction
Section titled “reaction”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”"reaction"
reaction
Section titled “reaction”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”"reaction"
reaction
Section titled “reaction”reference
Section titled “reference”string
referenceInboxId?
Section titled “referenceInboxId?”string
Returns
Section titled “Returns”boolean
Inherited from
Section titled “Inherited from”StandardCodec.shouldPush