All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.app.bsky.feed.post.kt Maven / Gradle / Ivy

The newest version!
@file:Suppress("DEPRECATION")

package app.bsky.feed

import app.bsky.richtext.Facet
import kotlin.Deprecated
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmInline
import kotlinx.collections.immutable.persistentListOf
import kotlinx.serialization.KSerializer
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
import sh.christian.ozone.api.Language
import sh.christian.ozone.api.model.ReadOnlyList
import sh.christian.ozone.api.model.Timestamp
import sh.christian.ozone.api.runtime.valueClassSerializer

@Serializable
public sealed interface PostEmbedUnion {
  public class ImagesSerializer : KSerializer by valueClassSerializer(
    serialName = "app.bsky.embed.images",
    constructor = ::Images,
    valueProvider = Images::value,
    valueSerializerProvider = { app.bsky.embed.Images.serializer() },
  )

  @Serializable(with = ImagesSerializer::class)
  @JvmInline
  @SerialName("app.bsky.embed.images")
  public value class Images(
    public val `value`: app.bsky.embed.Images,
  ) : PostEmbedUnion

  public class VideoSerializer : KSerializer




© 2015 - 2024 Weber Informatics LLC | Privacy Policy