Package dev. inmo. tgbotapi. requests. abstracts
Types
InputFile
Link copied to clipboard
sealed class InputFile
Content copied to clipboard
Common type for all files in Telegram Bot API which can be sent via requests like dev.inmo.tgbotapi.requests.send.media.SendDocument.
InputFileSerializer
Link copied to clipboard
MultipartFile
Link copied to clipboard
data class MultipartFile(file: StorageFile, filename: String) : InputFile
Content copied to clipboard
MultipartRequest
Link copied to clipboard
SimpleRequest
Link copied to clipboard
Functions
asMultipartFile
Link copied to clipboard
inline suspend fun ByteReadChannelAllocator.asMultipartFile(fileName: String): MultipartFile
Content copied to clipboard
inline suspend fun ByteReadChannel.asMultipartFile(fileName: String): MultipartFile
Content copied to clipboard
toInputFile
Link copied to clipboard