ktgbotapi
Toggle table of contents
common
Platform filter
common
Switch theme
Search in API
ktgbotapi
tgbotapi.core
/
dev.inmo.tgbotapi.utils.serializers
/
CallbackCustomizableDeserializationStrategy
/
CallbackCustomizableDeserializationStrategy
Callback
Customizable
Deserialization
Strategy
constructor
(
descriptor
:
SerialDescriptor
,
defaultDeserializeCallback
:
(
decoder
:
Decoder
,
jsonElement
:
JsonElement
?
)
->
T
,
fallbackDeserialization
:
(
initialException
:
Throwable
,
decoder
:
Decoder
,
jsonElement
:
JsonElement
?
)
->
T
=
{ initialException, _, _ -> throw initialException }
)