docs
5.0.1
common
docs
/
dev.inmo.tgbotapi.requests.abstracts
/
InputFile
/
Companion
Companion
object
Companion
Functions
Functions
from
File
Link copied to clipboard
fun
fromFile
(
file
:
MPPFile
)
:
MultipartFile
from
Id
Link copied to clipboard
fun
fromId
(
id
:
String
)
:
FileId
from
Input
Link copied to clipboard
fun
fromInput
(
filename
:
String
,
inputSource
:
(
)
->
Input
)
:
MultipartFile
from
Url
Link copied to clipboard
fun
fromUrl
(
url
:
String
)
:
FileId
invoke
Link copied to clipboard
operator
fun
invoke
(
file
:
MPPFile
)
:
MultipartFile