From f14885a5412fbd56fb4b838a9c8dfd3940e9f491 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Tue, 9 Jan 2024 18:05:03 +0600 Subject: [PATCH] fix in LinkPreviewOptions.Surrogate --- .../kotlin/dev/inmo/tgbotapi/types/LinkPreviewOptions.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/LinkPreviewOptions.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/LinkPreviewOptions.kt index cccec5e8c8..89b067ef93 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/LinkPreviewOptions.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/LinkPreviewOptions.kt @@ -84,7 +84,7 @@ sealed interface LinkPreviewOptions { @Serializable private data class Surrogate( @SerialName(isDisabledField) - val isDisabled: Boolean = true, + val isDisabled: Boolean = false, @SerialName(urlField) val url: String? = null, @SerialName(preferSmallMediaField)