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

xyz.cssxsh.bilibili.data.Emote.kt Maven / Gradle / Ivy

The newest version!
package xyz.cssxsh.bilibili.data

import kotlinx.serialization.*

@Serializable
data class EmotePanel(
    @SerialName("all_packages")
    val all: List,
    @SerialName("user_panel_packages")
    val user: List
)

@Serializable
data class EmotePackage(
    @SerialName("packages")
    val packages: List
)

@Serializable
data class EmoteItem(
    @SerialName("emote")
    val emote: List,
    @SerialName("id")
    val id: Int,
    @SerialName("mtime")
    val mtime: Long,
    @SerialName("text")
    val text: String,
    @SerialName("type")
    val type: Int,
    @SerialName("url")
    val url: String
)

@Serializable
data class EmojiDetail(
    @SerialName("id")
    val id: Int,
    @SerialName("package_id")
    val packageId: Int,
    @SerialName("text")
    val text: String,
    @SerialName("type")
    val type: Int,
    @SerialName("url")
    val url: String
)

@Serializable
@Suppress("EnumEntryName")
enum class EmoteBusiness { reply, dynamic }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy