mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-08 09:23:47 +00:00
49 lines
2.5 KiB
Markdown
49 lines
2.5 KiB
Markdown
//[docs](../../../index.md)/[dev.inmo.tgbotapi.utils](../index.md)/[StorageFile](index.md)
|
|
|
|
|
|
|
|
# StorageFile
|
|
[common] data class [StorageFile](index.md)(**storageFileInfo**: [StorageFileInfo](../-storage-file-info/index.md), **inputSource**: () -> )
|
|
|
|
Contains info about file, which potentially can be sent to telegram system.
|
|
|
|
|
|
|
|
|
|
## See also
|
|
|
|
common
|
|
|
|
| | |
|
|
|---|---|
|
|
| <a name="dev.inmo.tgbotapi.utils/StorageFile///PointingToDeclaration/"></a>[dev.inmo.tgbotapi.utils.StorageFileInfo](../-storage-file-info/index.md)| <a name="dev.inmo.tgbotapi.utils/StorageFile///PointingToDeclaration/"></a>|
|
|
| <a name="dev.inmo.tgbotapi.utils/StorageFile///PointingToDeclaration/"></a>[asStorageFile](../as-storage-file.md)| <a name="dev.inmo.tgbotapi.utils/StorageFile///PointingToDeclaration/"></a>|
|
|
|
|
|
|
|
|
## Parameters
|
|
|
|
common
|
|
|
|
| | |
|
|
|---|---|
|
|
| <a name="dev.inmo.tgbotapi.utils/StorageFile///PointingToDeclaration/"></a>storageFileInfo| <a name="dev.inmo.tgbotapi.utils/StorageFile///PointingToDeclaration/"></a><br><br>Information about this file<br><br>|
|
|
| <a name="dev.inmo.tgbotapi.utils/StorageFile///PointingToDeclaration/"></a>inputSource| <a name="dev.inmo.tgbotapi.utils/StorageFile///PointingToDeclaration/"></a><br><br>Lambda which able to allocate for uploading/manipulating data<br><br>|
|
|
|
|
|
|
|
|
## Constructors
|
|
|
|
| | |
|
|
|---|---|
|
|
| <a name="dev.inmo.tgbotapi.utils/StorageFile/StorageFile/#dev.inmo.tgbotapi.utils.StorageFileInfo#kotlin.Function0[io.ktor.utils.io.core.Input]/PointingToDeclaration/"></a>[StorageFile](-storage-file.md)| <a name="dev.inmo.tgbotapi.utils/StorageFile/StorageFile/#dev.inmo.tgbotapi.utils.StorageFileInfo#kotlin.Function0[io.ktor.utils.io.core.Input]/PointingToDeclaration/"></a> [common] fun [StorageFile](-storage-file.md)(storageFileInfo: [StorageFileInfo](../-storage-file-info/index.md), inputSource: () -> )Information about this file <br>|
|
|
|
|
|
|
## Properties
|
|
|
|
| Name | Summary |
|
|
|---|---|
|
|
| <a name="dev.inmo.tgbotapi.utils/StorageFile/input/#/PointingToDeclaration/"></a>[input](input.md)| <a name="dev.inmo.tgbotapi.utils/StorageFile/input/#/PointingToDeclaration/"></a> [common] val [input](input.md): <br>|
|
|
| <a name="dev.inmo.tgbotapi.utils/StorageFile/storageFileInfo/#/PointingToDeclaration/"></a>[storageFileInfo](storage-file-info.md)| <a name="dev.inmo.tgbotapi.utils/StorageFile/storageFileInfo/#/PointingToDeclaration/"></a> [common] val [storageFileInfo](storage-file-info.md): [StorageFileInfo](../-storage-file-info/index.md)Information about this file <br>|
|
|
|