mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-06-14 13:55:27 +00:00
12 lines
288 B
Kotlin
12 lines
288 B
Kotlin
package dev.inmo.tgbotapi.utils
|
|
|
|
import kotlinx.serialization.Serializable
|
|
|
|
//actual typealias MimeType = MimeType
|
|
|
|
@Serializable(MimeTypeSerializer::class)
|
|
actual data class MimeType(
|
|
actual val raw: String
|
|
)
|
|
internal actual fun createMimeType(raw: String): MimeType = MimeType(raw)
|