1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-07-09 17:50:48 +00:00
tgbotapi/docs/dev.inmo.tgbotapi.types.files/-video-file/index.md
2021-03-17 15:18:37 +00:00

30 lines
5.9 KiB
Markdown

//[docs](../../../index.md)/[dev.inmo.tgbotapi.types.files](../index.md)/[VideoFile](index.md)
# VideoFile
[common] data class [VideoFile](index.md)(**fileId**: [FileId](../../dev.inmo.tgbotapi.requests.abstracts/-file-id/index.md), **fileUniqueId**: [FileUniqueId](../../dev.inmo.tgbotapi.types/index.md#%5Bdev.inmo.tgbotapi.types%2FFileUniqueId%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081), **width**: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html), **height**: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html), **duration**: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)?, **thumb**: [PhotoSize](../-photo-size/index.md)?, **fileName**: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)?, **mimeType**: [MimeType](../../dev.inmo.tgbotapi.utils/-mime-type/index.md)?, **fileSize**: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)?) : [TelegramMediaFile](../../dev.inmo.tgbotapi.types.files.abstracts/-telegram-media-file/index.md), [CustomNamedMediaFile](../../dev.inmo.tgbotapi.types.files.abstracts/-custom-named-media-file/index.md), [MimedMediaFile](../../dev.inmo.tgbotapi.types.files.abstracts/-mimed-media-file/index.md), [ThumbedMediaFile](../../dev.inmo.tgbotapi.types.files.abstracts/-thumbed-media-file/index.md), [PlayableMediaFile](../../dev.inmo.tgbotapi.types.files.abstracts/-playable-media-file/index.md), [SizedMediaFile](../../dev.inmo.tgbotapi.types.files.abstracts/-sized-media-file/index.md)
## Properties
| Name | Summary |
|---|---|
| <a name="dev.inmo.tgbotapi.types.files/VideoFile/duration/#/PointingToDeclaration/"></a>[duration](duration.md)| <a name="dev.inmo.tgbotapi.types.files/VideoFile/duration/#/PointingToDeclaration/"></a> [common] open override val [duration](duration.md): [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)? = null <br>|
| <a name="dev.inmo.tgbotapi.types.files/VideoFile/fileId/#/PointingToDeclaration/"></a>[fileId](file-id.md)| <a name="dev.inmo.tgbotapi.types.files/VideoFile/fileId/#/PointingToDeclaration/"></a> [common] open override val [fileId](file-id.md): [FileId](../../dev.inmo.tgbotapi.requests.abstracts/-file-id/index.md) <br>|
| <a name="dev.inmo.tgbotapi.types.files/VideoFile/fileName/#/PointingToDeclaration/"></a>[fileName](file-name.md)| <a name="dev.inmo.tgbotapi.types.files/VideoFile/fileName/#/PointingToDeclaration/"></a> [common] open override val [fileName](file-name.md): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)? = null <br>|
| <a name="dev.inmo.tgbotapi.types.files/VideoFile/fileSize/#/PointingToDeclaration/"></a>[fileSize](file-size.md)| <a name="dev.inmo.tgbotapi.types.files/VideoFile/fileSize/#/PointingToDeclaration/"></a> [common] open override val [fileSize](file-size.md): [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)? = null <br>|
| <a name="dev.inmo.tgbotapi.types.files/VideoFile/fileUniqueId/#/PointingToDeclaration/"></a>[fileUniqueId](file-unique-id.md)| <a name="dev.inmo.tgbotapi.types.files/VideoFile/fileUniqueId/#/PointingToDeclaration/"></a> [common] open override val [fileUniqueId](file-unique-id.md): [FileUniqueId](../../dev.inmo.tgbotapi.types/index.md#%5Bdev.inmo.tgbotapi.types%2FFileUniqueId%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081) <br>|
| <a name="dev.inmo.tgbotapi.types.files/VideoFile/height/#/PointingToDeclaration/"></a>[height](height.md)| <a name="dev.inmo.tgbotapi.types.files/VideoFile/height/#/PointingToDeclaration/"></a> [common] open override val [height](height.md): [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) <br>|
| <a name="dev.inmo.tgbotapi.types.files/VideoFile/mimeType/#/PointingToDeclaration/"></a>[mimeType](mime-type.md)| <a name="dev.inmo.tgbotapi.types.files/VideoFile/mimeType/#/PointingToDeclaration/"></a> [common] open override val [mimeType](mime-type.md): [MimeType](../../dev.inmo.tgbotapi.utils/-mime-type/index.md)? = null <br>|
| <a name="dev.inmo.tgbotapi.types.files/VideoFile/thumb/#/PointingToDeclaration/"></a>[thumb](thumb.md)| <a name="dev.inmo.tgbotapi.types.files/VideoFile/thumb/#/PointingToDeclaration/"></a> [common] open override val [thumb](thumb.md): [PhotoSize](../-photo-size/index.md)? = null <br>|
| <a name="dev.inmo.tgbotapi.types.files/VideoFile/width/#/PointingToDeclaration/"></a>[width](width.md)| <a name="dev.inmo.tgbotapi.types.files/VideoFile/width/#/PointingToDeclaration/"></a> [common] open override val [width](width.md): [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) <br>|
## Extensions
| Name | Summary |
|---|---|
| <a name="dev.inmo.tgbotapi.types.files//toInputMediaVideo/dev.inmo.tgbotapi.types.files.VideoFile#kotlin.String?#dev.inmo.tgbotapi.types.ParseMode.ParseMode?/PointingToDeclaration/"></a>[toInputMediaVideo](../to-input-media-video.md)| <a name="dev.inmo.tgbotapi.types.files//toInputMediaVideo/dev.inmo.tgbotapi.types.files.VideoFile#kotlin.String?#dev.inmo.tgbotapi.types.ParseMode.ParseMode?/PointingToDeclaration/"></a>[common] <br>Content <br>inline fun [VideoFile](index.md).[toInputMediaVideo](../to-input-media-video.md)(caption: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)? = null, parseMode: [ParseMode](../../dev.inmo.tgbotapi.types.ParseMode/-parse-mode/index.md)? = null): [InputMediaVideo](../../dev.inmo.tgbotapi.types.InputMedia/-input-media-video/index.md) <br>inline fun [VideoFile](index.md).[toInputMediaVideo](../to-input-media-video.md)(textSources: [TextSourcesList](../../dev.inmo.tgbotapi.CommonAbstracts/index.md#%5Bdev.inmo.tgbotapi.CommonAbstracts%2FTextSourcesList%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081)): [InputMediaVideo](../../dev.inmo.tgbotapi.types.InputMedia/-input-media-video/index.md) <br><br><br>|