toggle menu
ktgbotapi
common
switch theme
search in API
tgbotapi.core
/
dev.inmo.tgbotapi.types
/
LinkPreviewOptions
/
Default
Default
@
Serializable
(
with
=
LinkPreviewOptions.Companion::class
)
data
class
Default
(
val
url
:
String
?
,
val
showAboveText
:
Boolean
)
:
LinkPreviewOptions
Members
Constructors
Default
Link copied to clipboard
constructor
(
url
:
String
?
,
showAboveText
:
Boolean
)
Properties
is
Disabled
Link copied to clipboard
@
Required
@
EncodeDefault
@
SerialName
(
value
=
"is_disabled"
)
open
override
val
isDisabled
:
Boolean
=
false
prefer
Large
Media
Link copied to clipboard
open
override
val
preferLargeMedia
:
Boolean
prefer
Small
Media
Link copied to clipboard
open
override
val
preferSmallMedia
:
Boolean
show
Above
Text
Link copied to clipboard
@
SerialName
(
value
=
"show_above_text"
)
open
override
val
showAboveText
:
Boolean
url
Link copied to clipboard
@
SerialName
(
value
=
"url"
)
open
override
val
url
:
String
?