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:
parent
0013e91f6e
commit
f14885a541
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user