toggle menu
ktgbotapi
common
switch theme
search in API
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
)
:
VisualTelegramPaidMedia
,
SizedTelegramMedia
,
DuratedTelegramMedia
,
ThumbedTelegramMedia
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
)
Properties
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
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