toggle menu
ktgbotapi
common
switch theme
search in API
tgbotapi.core
/
dev.inmo.tgbotapi.types.media
/
TelegramMediaAudio
Telegram
Media
Audio
@
Serializable
data
class
TelegramMediaAudio
:
TelegramFreeMedia
,
AudioMediaGroupMemberTelegramMedia
,
DuratedTelegramMedia
,
ThumbedTelegramMedia
,
TitledTelegramMedia
,
Performerable
Members
Properties
duration
Link copied to clipboard
open
override
val
duration
:
Long
?
=
null
entities
Link copied to clipboard
open
val
entities
:
List
<
TextSource
>
?
file
Link copied to clipboard
open
override
val
file
:
InputFile
media
Link copied to clipboard
@
SerialName
(
value
=
"media"
)
open
override
val
media
:
String
parse
Mode
Link copied to clipboard
@
SerialName
(
value
=
"parse_mode"
)
open
override
val
parseMode
:
ParseMode
?
=
null
performer
Link copied to clipboard
open
override
val
performer
:
String
?
=
null
text
Link copied to clipboard
@
SerialName
(
value
=
"caption"
)
open
override
val
text
:
String
?
=
null
text
Sources
Link copied to clipboard
open
override
val
textSources
:
TextSourcesList
?
Full list of TextSources
thumb
Link copied to clipboard
open
override
val
thumb
:
InputFile
?
=
null
title
Link copied to clipboard
open
override
val
title
:
String
?
=
null
type
Link copied to clipboard
open
override
val
type
:
String
Functions
serialize
Link copied to clipboard
open
override
fun
serialize
(
format
:
StringFormat
)
:
String