1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-11-26 03:58:44 +00:00

fix in LinkPreviewOptions.Surrogate

This commit is contained in:
InsanusMokrassar 2024-01-09 18:05:03 +06:00
parent 0013e91f6e
commit f14885a541

View File

@ -84,7 +84,7 @@ sealed interface LinkPreviewOptions {
@Serializable @Serializable
private data class Surrogate( private data class Surrogate(
@SerialName(isDisabledField) @SerialName(isDisabledField)
val isDisabled: Boolean = true, val isDisabled: Boolean = false,
@SerialName(urlField) @SerialName(urlField)
val url: String? = null, val url: String? = null,
@SerialName(preferSmallMediaField) @SerialName(preferSmallMediaField)