From 81de59f37ca9ab6ed4894300b8291d7fe4196341 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Sun, 17 Jan 2021 16:34:05 +0600 Subject: [PATCH] fix of translations in UtilityBill --- .../passport/encrypted_data/TranslatableFilesCollection.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/passport/encrypted_data/TranslatableFilesCollection.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/passport/encrypted_data/TranslatableFilesCollection.kt index 4ba36b214d..4339ad958b 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/passport/encrypted_data/TranslatableFilesCollection.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/passport/encrypted_data/TranslatableFilesCollection.kt @@ -15,7 +15,7 @@ data class UtilityBill( @SerialName(filesField) override val files: List, @SerialName(translationField) - override val translations: List, + override val translations: List = emptyList(), @SerialName(hashField) @Serializable(Base64StringSerializer::class) override val hash: String