docs
5.0.0
common
js
jvm
docs
/
dev.inmo.tgbotapi.utils
/
MimeType
Mime
Type
common
js
jvm
@
Serializable
(
with
=
MimeTypeSerializer::class
)
expect
class
MimeType
@
Serializable
(
with
=
MimeTypeSerializer::class
)
actual
class
MimeType
@
Serializable
(
with
=
MimeTypeSerializer::class
)
actual
class
MimeType
:
MimeType
Constructors
Functions
Properties
Constructors
Mime
Type
Link copied to clipboard
js
jvm
fun
MimeType
(
raw
:
String
)
fun
MimeType
(
raw
:
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
)
Properties
js
Mime
Type
Link copied to clipboard
js
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
expect
val
raw
:
String
actual
val
raw
:
String
actual
val
raw
:
String
sub
Type
Link copied to clipboard
jvm
var
subType
:
String