//[docs](../../../index.md)/[dev.inmo.tgbotapi.requests.abstracts](../index.md)/[MultipartFile](index.md) # MultipartFile [common] data class [MultipartFile](index.md)(**file**: [StorageFile](../../dev.inmo.tgbotapi.utils/-storage-file/index.md), **mimeType**: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), **filename**: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)) : [InputFile](../-input-file/index.md) Contains info about file for sending ## Constructors | | | |---|---| | [MultipartFile](-multipart-file.md)| [common] fun [MultipartFile](-multipart-file.md)(file: [StorageFile](../../dev.inmo.tgbotapi.utils/-storage-file/index.md), mimeType: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) = file.storageFileInfo.contentType, filename: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) = file.storageFileInfo.fileName)
| ## Properties | Name | Summary | |---|---| | [file](file.md)| [common] val [file](file.md): [StorageFile](../../dev.inmo.tgbotapi.utils/-storage-file/index.md)
| | [fileId](file-id.md)| [common] open override val [fileId](file-id.md): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)
| | [filename](filename.md)| [common] val [filename](filename.md): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)
| | [mimeType](mime-type.md)| [common] val [mimeType](mime-type.md): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)
|