toggle menu
Telegram Bot
7.4.0
common
switch theme
search in API
Telegram Bot
/
eu.vendeli.tgbot.types.media
/
InputPaidMedia
Input
Paid
Media
@
Serializable
sealed
class
InputPaidMedia
:
ImplicitMediaData
Inheritors
Photo
Video
Members
Types
Photo
Link copied to clipboard
@
Serializable
data
class
Photo
(
var
media
:
ImplicitFile
)
:
InputPaidMedia
Video
Link copied to clipboard
@
Serializable
data
class
Video
(
var
media
:
ImplicitFile
,
var
thumbnail
:
ImplicitFile
?
=
null
,
val
width
:
Int
?
=
null
,
val
height
:
Int
?
=
null
,
val
duration
:
Int
?
=
null
,
val
supportsStreaming
:
Boolean
?
=
null
)
:
InputPaidMedia
Properties
media
Link copied to clipboard
abstract
var
media
:
ImplicitFile
thumbnail
Link copied to clipboard
open
var
thumbnail
:
ImplicitFile
?
type
Link copied to clipboard
val
type
:
String