toggle menu
ktgbotapi
common
switch theme
search in API
tgbotapi.core
/
dev.inmo.tgbotapi.types.files
/
VideoNoteFile
Video
Note
File
@
Serializable
data
class
VideoNoteFile
(
val
fileId
:
FileId
,
val
fileUniqueId
:
TgFileUniqueId
,
val
width
:
Int
,
val
duration
:
Long
?
=
null
,
val
thumbnail
:
PhotoSize
?
=
null
,
val
fileSize
:
Long
?
=
null
)
:
TelegramMediaFile
,
ThumbedMediaFile
,
PlayableMediaFile
,
SizedMediaFile
,
MediaContentVariant
Members
Members & Extensions
Constructors
Video
Note
File
Link copied to clipboard
constructor
(
fileId
:
FileId
,
fileUniqueId
:
TgFileUniqueId
,
width
:
Int
,
duration
:
Long
?
=
null
,
thumbnail
:
PhotoSize
?
=
null
,
fileSize
:
Long
?
=
null
)
Properties
duration
Link copied to clipboard
open
override
val
duration
:
Long
?
=
null
file
Id
Link copied to clipboard
@
SerialName
(
value
=
"file_id"
)
open
override
val
fileId
:
FileId
file
Size
Link copied to clipboard
@
SerialName
(
value
=
"file_size"
)
open
override
val
fileSize
:
Long
?
=
null
file
Unique
Id
Link copied to clipboard
@
SerialName
(
value
=
"file_unique_id"
)
open
override
val
fileUniqueId
:
TgFileUniqueId
height
Link copied to clipboard
open
override
val
height
:
Int
thumbnail
Link copied to clipboard
open
override
val
thumbnail
:
PhotoSize
?
=
null
width
Link copied to clipboard
@
SerialName
(
value
=
"length"
)
open
override
val
width
:
Int
Functions
as
Document
File
Link copied to clipboard
inline
fun
TelegramMediaFile
.
asDocumentFile
(
)
:
DocumentFile