1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-11-18 06:13:47 +00:00
tgbotapi/docs/dev.inmo.tgbotapi.requests.abstracts/index.md
2021-03-17 15:18:37 +00:00

3.7 KiB

//docs/dev.inmo.tgbotapi.requests.abstracts

Package dev.inmo.tgbotapi.requests.abstracts

Types

Name Summary
FileId [common]
Content
data class FileId(fileId: String) : InputFile
More info
Contains file id or file url


InputFile [common]
Content
sealed class InputFile


MultipartFile [common]
Content
data class MultipartFile(file: StorageFile, mimeType: String, filename: String) : InputFile
More info
Contains info about file for sending


MultipartRequest [common]
Content
interface MultipartRequest<T : Any> : Request<T>


Request [common]
Content
interface Request<T : Any>


SimpleRequest [common]
Content
interface SimpleRequest<T : Any> : Request<T>


Functions

Name Summary
[jvm, common]
Content
[jvm]
fun File.toInputFile(): MultipartFile
[common]
fun String.toInputFile(): FileId