toggle menu
Telegram Bot
7.5.0
common
switch theme
search in API
Telegram Bot
/
eu.vendeli.tgbot.types.internal
/
InputFile
Input
File
@
Serializable
data
class
InputFile
(
val
data
:
ByteArray
,
val
fileName
:
String
=
DEFAULT_FILENAME
,
val
contentType
:
String
=
DEFAULT_CONTENT_TYPE
)
Members
Members & Extensions
Constructors
Input
File
Link copied to clipboard
constructor
(
data
:
ByteArray
,
fileName
:
String
=
DEFAULT_FILENAME
,
contentType
:
String
=
DEFAULT_CONTENT_TYPE
)
Properties
content
Type
Link copied to clipboard
val
contentType
:
String
data
Link copied to clipboard
val
data
:
ByteArray
file
Name
Link copied to clipboard
val
fileName
:
String
Functions
equals
Link copied to clipboard
open
operator override
fun
equals
(
other
:
Any
?
)
:
Boolean
hash
Code
Link copied to clipboard
open
override
fun
hashCode
(
)
:
Int
to
Implicit
File
Link copied to clipboard
inline
fun
InputFile
.
toImplicitFile
(
)
:
ImplicitFile.InpFile