mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-22 16:23:48 +00:00
fix of formatter in ChatSerializers
This commit is contained in:
parent
0087d02b5f
commit
35bf5b9e9d
@ -13,7 +13,8 @@ import kotlinx.serialization.encoding.Decoder
|
|||||||
import kotlinx.serialization.encoding.Encoder
|
import kotlinx.serialization.encoding.Encoder
|
||||||
import kotlinx.serialization.json.*
|
import kotlinx.serialization.json.*
|
||||||
|
|
||||||
private val formatter = nonstrictJsonFormat
|
private val formatter
|
||||||
|
get() = nonstrictJsonFormat
|
||||||
|
|
||||||
internal object PreviewChatSerializer : KSerializer<Chat> {
|
internal object PreviewChatSerializer : KSerializer<Chat> {
|
||||||
@InternalSerializationApi
|
@InternalSerializationApi
|
||||||
|
Loading…
Reference in New Issue
Block a user