trixnity
Toggle table of contents
5.2.0-SNAPSHOT.CI-20260302.101522
common
Target filter
common
Switch theme
Search in API
Skip to content
trixnity
trixnity-clientserverapi-model
/
de.connect2x.trixnity.clientserverapi.model.media
/
GetUrlPreviewLegacy
/
Response
Response
@
Serializable
(
with
=
GetUrlPreviewLegacy.Response.Serializer::class
)
data
class
Response
(
val
size
:
Long
?
=
null
,
val
imageUrl
:
String
?
=
null
,
val
others
:
Map
<
String
,
JsonElement
>
?
=
null
)
Members
Constructors
Response
Link copied to clipboard
constructor
(
size
:
Long
?
=
null
,
imageUrl
:
String
?
=
null
,
others
:
Map
<
String
,
JsonElement
>
?
=
null
)
Types
Serializer
Link copied to clipboard
object
Serializer
:
JsonTransformingSerializer
<
GetUrlPreviewLegacy.Response
>
Properties
image
Url
Link copied to clipboard
@
SerialName
(
value
=
"og:image"
)
val
imageUrl
:
String
?
others
Link copied to clipboard
@
SerialName
(
value
=
"others"
)
val
others
:
Map
<
String
,
JsonElement
>
?
size
Link copied to clipboard
@
SerialName
(
value
=
"matrix:image:size"
)
val
size
:
Long
?