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