1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-11-20 07:13:48 +00:00
tgbotapi/docs/dev.inmo.tgbotapi.utils/-storage-file-info/-storage-file-info.md
2021-03-17 15:18:37 +00:00

25 lines
1.1 KiB
Markdown

//[docs](../../../index.md)/[dev.inmo.tgbotapi.utils](../index.md)/[StorageFileInfo](index.md)/[StorageFileInfo](-storage-file-info.md)
# StorageFileInfo
[common]
Content
fun [StorageFileInfo](-storage-file-info.md)(contentType: [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))
More info
## Parameters
common
| | |
|---|---|
| <a name="dev.inmo.tgbotapi.utils/StorageFileInfo/StorageFileInfo/#kotlin.String#kotlin.String/PointingToDeclaration/"></a>contentType| <a name="dev.inmo.tgbotapi.utils/StorageFileInfo/StorageFileInfo/#kotlin.String#kotlin.String/PointingToDeclaration/"></a><br><br>Raw type like "application/json"<br><br>|
| <a name="dev.inmo.tgbotapi.utils/StorageFileInfo/StorageFileInfo/#kotlin.String#kotlin.String/PointingToDeclaration/"></a>fileName| <a name="dev.inmo.tgbotapi.utils/StorageFileInfo/StorageFileInfo/#kotlin.String#kotlin.String/PointingToDeclaration/"></a><br><br>This filename will be used in telegram system as name of file<br><br>|