add target and telegram target
This commit is contained in:
@@ -1,9 +1,14 @@
|
||||
package dev.inmo.postssystem.features.content.binary.common
|
||||
|
||||
import dev.inmo.micro_utils.common.ByteArrayAllocator
|
||||
import dev.inmo.micro_utils.common.FileName
|
||||
import dev.inmo.micro_utils.mime_types.MimeType
|
||||
import dev.inmo.postssystem.features.content.common.Content
|
||||
import kotlinx.serialization.Serializable
|
||||
|
||||
@Serializable
|
||||
data class BinaryContent(
|
||||
val bytes: ByteArray
|
||||
) : Content
|
||||
val filename: FileName,
|
||||
val mimeType: MimeType,
|
||||
val bytesAllocator: ByteArrayAllocator
|
||||
) : Content
|
||||
|
||||
Reference in New Issue
Block a user