Skip to content

LeaveRequestCodec

Defined in: sdks/react-native/dist/runtime/public/codecs.d.ts:63

  • StandardCodec<LeaveRequest, ReturnType<typeof lowerLeaveRequest>>

new LeaveRequestCodec(): LeaveRequestCodec

Defined in: sdks/react-native/dist/runtime/public/codecs.d.ts:64

LeaveRequestCodec

StandardCodec<LeaveRequest, ReturnType<typeof lowerLeaveRequest>>.constructor

readonly type: ContentTypeId

Defined in: sdks/react-native/dist/runtime/public/codecs.d.ts:9

StandardCodec.type

decode(encoded): LeaveRequest

Defined in: sdks/react-native/dist/runtime/public/codecs.d.ts:16

EncodedContent

LeaveRequest

StandardCodec.decode


encode(value): EncodedContent

Defined in: sdks/react-native/dist/runtime/public/codecs.d.ts:13

LeaveRequest

EncodedContent

StandardCodec.encode


fallback(value): string | undefined

Defined in: sdks/react-native/dist/runtime/public/codecs.d.ts:14

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

LeaveRequest

string | undefined

StandardCodec.fallback


shouldPush(value): boolean

Defined in: sdks/react-native/dist/runtime/public/codecs.d.ts:15

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

LeaveRequest

boolean

StandardCodec.shouldPush