ktgbotapi
Toggle table of contents
common
Platform filter
common
Switch theme
Search in API
ktgbotapi
tgbotapi.core
/
dev.inmo.tgbotapi.types.media
/
TelegramPaidMediaVideo
Telegram
Paid
Media
Video
@
Serializable
data
class
TelegramPaidMediaVideo
(
val
file
:
InputFile
,
val
thumb
:
InputFile
?
=
null
,
val
width
:
Int
?
=
null
,
val
height
:
Int
?
=
null
,
val
duration
:
Long
?
=
null
,
val
supportsStreaming
:
Boolean
=
false
,
val
cover
:
InputFile
?
=
null
,
val
startTimestamp
:
Seconds
?
=
null
)
:
VisualTelegramPaidMedia
,
SizedTelegramMedia
,
DuratedTelegramMedia
,
ThumbedTelegramMedia
,
CoveredTelegramMedia
,
WithCustomStartTelegramMedia
Members
Constructors
Telegram
Paid
Media
Video
Link copied to clipboard
constructor
(
file
:
InputFile
,
thumb
:
InputFile
?
=
null
,
width
:
Int
?
=
null
,
height
:
Int
?
=
null
,
duration
:
Long
?
=
null
,
supportsStreaming
:
Boolean
=
false
,
cover
:
InputFile
?
=
null
,
startTimestamp
:
Seconds
?
=
null
)
Properties
cover
Link copied to clipboard
@
SerialName
(
value
=
"cover"
)
open
override
val
cover
:
InputFile
?
=
null
duration
Link copied to clipboard
open
override
val
duration
:
Long
?
=
null
file
Link copied to clipboard
open
override
val
file
:
InputFile
height
Link copied to clipboard
open
override
val
height
:
Int
?
=
null
media
Link copied to clipboard
@
SerialName
(
value
=
"media"
)
open
override
val
media
:
String
start
Timestamp
Link copied to clipboard
@
SerialName
(
value
=
"start_timestamp"
)
open
override
val
startTimestamp
:
Seconds
?
=
null
supports
Streaming
Link copied to clipboard
@
SerialName
(
value
=
"supports_streaming"
)
val
supportsStreaming
:
Boolean
=
false
thumb
Link copied to clipboard
open
override
val
thumb
:
InputFile
?
=
null
type
Link copied to clipboard
open
override
val
type
:
String
width
Link copied to clipboard
open
override
val
width
:
Int
?
=
null