Skip to content

RemoteAttachmentCodec

Defined in: sdks/node/dist/runtime/public/codecs.d.ts:43

new RemoteAttachmentCodec(): RemoteAttachmentCodec

Defined in: sdks/node/dist/runtime/public/codecs.d.ts:44

RemoteAttachmentCodec

StandardCodec<RemoteAttachment, ReturnType<typeof lowerRemoteAttachment>>.constructor

readonly type: ContentTypeId

Defined in: sdks/node/dist/runtime/public/codecs.d.ts:10

StandardCodec.type

decode(encoded): RemoteAttachment

Defined in: sdks/node/dist/runtime/public/codecs.d.ts:17

EncodedContent

RemoteAttachment

StandardCodec.decode


encode(value): EncodedContent

Defined in: sdks/node/dist/runtime/public/codecs.d.ts:14

RemoteAttachment

EncodedContent

StandardCodec.encode


fallback(value): string | undefined

Defined in: sdks/node/dist/runtime/public/codecs.d.ts:15

Text for recipients without this codec. Absent: no fallback.

RemoteAttachment

string | undefined

StandardCodec.fallback


shouldPush(value): boolean

Defined in: sdks/node/dist/runtime/public/codecs.d.ts:16

Whether sending this value notifies recipients. Absent: it does.

RemoteAttachment

boolean

StandardCodec.shouldPush