toggle menu
ktgbotapi
common
js
jvm
linuxArm64
linuxX64
mingwX64
switch theme
search in API
tgbotapi.core
/
dev.inmo.tgbotapi.utils
/
MimeType
Mime
Type
common
js
jvm
linuxArm64
linuxX64
mingwX64
@
Serializable
(
with
=
MimeTypeSerializer::class
)
expect
class
MimeType
@
Serializable
(
with
=
MimeTypeSerializer::class
)
actual
class
MimeType
@
Serializable
(
with
=
MimeTypeSerializer::class
)
actual
class
MimeType
:
MimeType
@
Serializable
(
with
=
MimeTypeSerializer::class
)
actual
data
class
MimeType
@
Serializable
(
with
=
MimeTypeSerializer::class
)
actual
data
class
MimeType
@
Serializable
actual
data
class
MimeType
Members
Constructors
Mime
Type
Link copied to clipboard
js
jvm
linuxArm64
linuxX64
mingwX64
constructor
(
raw
:
String
)
constructor
(
raw
:
String
)
constructor
(
raw
:
String
)
constructor
(
raw
:
String
)
constructor
(
raw
:
String
)
Properties
js
Mime
Type
Link copied to clipboard
js
@
Transient
val
jsMimeType
:
MimeType
?
parameters
Link copied to clipboard
jvm
val
parameters
:
MimeTypeParameterList
primary
Type
Link copied to clipboard
jvm
var
primaryType
:
String
raw
Link copied to clipboard
common
js
jvm
linuxArm64
linuxX64
mingwX64
expect
val
raw
:
String
actual
val
raw
:
String
actual
val
raw
:
String
actual
val
raw
:
String
actual
val
raw
:
String
actual
val
raw
:
String
sub
Type
Link copied to clipboard
jvm
var
subType
:
String
Functions
get
Base
Type
Link copied to clipboard
jvm
open
fun
getBaseType
(
)
:
String
get
Parameter
Link copied to clipboard
jvm
open
fun
getParameter
(
p0
:
String
)
:
String
match
Link copied to clipboard
jvm
open
fun
match
(
p0
:
MimeType
)
:
Boolean
open
fun
match
(
p0
:
String
)
:
Boolean
read
External
Link copied to clipboard
jvm
open
override
fun
readExternal
(
p0
:
ObjectInput
)
remove
Parameter
Link copied to clipboard
jvm
open
fun
removeParameter
(
p0
:
String
)
set
Parameter
Link copied to clipboard
jvm
open
fun
setParameter
(
p0
:
String
,
p1
:
String
)
to
String
Link copied to clipboard
js
jvm
open
override
fun
toString
(
)
:
String
open
override
fun
toString
(
)
:
String
write
External
Link copied to clipboard
jvm
open
override
fun
writeExternal
(
p0
:
ObjectOutput
)