AttachmentCodec
Defined in: sdks/node/dist/runtime/public/codecs.d.ts:40
Extends
Section titled “Extends”StandardCodec<Attachment,ReturnType<typeoflowerAttachment>>
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new AttachmentCodec():
AttachmentCodec
Defined in: sdks/node/dist/runtime/public/codecs.d.ts:41
Returns
Section titled “Returns”AttachmentCodec
Overrides
Section titled “Overrides”StandardCodec<Attachment, ReturnType<typeof lowerAttachment>>.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):Attachment
Defined in: sdks/node/dist/runtime/public/codecs.d.ts:17
Parameters
Section titled “Parameters”encoded
Section titled “encoded”Returns
Section titled “Returns”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”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”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”Returns
Section titled “Returns”boolean
Inherited from
Section titled “Inherited from”StandardCodec.shouldPush