mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-22 16:23:48 +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