toggle menu
ktgbotapi
common
switch theme
search in API
tgbotapi.core
/
dev.inmo.tgbotapi.types.message.payments
/
PaidMedia
/
Video
Video
@
Serializable
data
class
Video
(
val
video
:
VideoFile
)
:
PaidMedia
Members
Members & Extensions
Constructors
Video
Link copied to clipboard
constructor
(
video
:
VideoFile
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
type
Link copied to clipboard
@
EncodeDefault
@
SerialName
(
value
=
"type"
)
open
override
val
type
:
String
video
Link copied to clipboard
@
SerialName
(
value
=
"video"
)
val
video
:
VideoFile
Functions
to
Telegram
Paid
Media
Or
Null
Link copied to clipboard
fun
PaidMedia
.
toTelegramPaidMediaOrNull
(
)
:
TelegramPaidMedia
?
to
Telegram
Paid
Media
Video
Link copied to clipboard
fun
PaidMedia.Video
.
toTelegramPaidMediaVideo
(
)
:
TelegramPaidMediaVideo
fun
PaidMedia.Video
.
toTelegramPaidMediaVideo
(
)
:
TelegramPaidMediaVideo