mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-06-03 00:15:27 +00:00
12 lines
273 B
Kotlin
12 lines
273 B
Kotlin
|
package com.github.insanusmokrassar.TelegramBotAPI.utils
|
||
|
|
||
|
import kotlinx.serialization.*
|
||
|
|
||
|
@Serializable(MimeTypeSerializer::class)
|
||
|
expect class MimeType {
|
||
|
val raw: String
|
||
|
}
|
||
|
|
||
|
@Serializer(MimeType::class)
|
||
|
internal expect object MimeTypeSerializer : KSerializer<MimeType>
|