docs
Toggle table of contents
35.1.0
common
Target filter
common
Switch theme
Search in API
Skip to content
docs
docs
/
dev.inmo.tgbotapi.types.media
/
PollMedia
/
Serializer
Serializer
object
Serializer
:
KSerializer
<
PollMedia
>
(
source
)
Members
Types
Surrogate
Link copied to clipboard
@
Serializable
data
class
Surrogate
(
val
animation
:
AnimationFile
?
=
null
,
val
audio
:
AudioFile
?
=
null
,
val
document
:
DocumentFile
?
=
null
,
val
link
:
Link
?
=
null
,
val
livePhoto
:
LivePhotoFile
?
=
null
,
val
photo
:
PhotoFile
?
=
null
,
val
sticker
:
Sticker
?
=
null
,
val
video
:
VideoFile
?
=
null
,
val
location
:
StaticLocation
?
=
null
,
val
venue
:
Venue
?
=
null
)
Properties
descriptor
Link copied to clipboard
open
override
val
descriptor
:
SerialDescriptor
Functions
deserialize
Link copied to clipboard
open
override
fun
deserialize
(
decoder
:
Decoder
)
:
PollMedia
serialize
Link copied to clipboard
open
override
fun
serialize
(
encoder
:
Encoder
,
value
:
PollMedia
)