Reaction

@Serializable(with = Reaction.Companion::class)
sealed interface Reaction

Inheritors

Types

Link copied to clipboard
object Companion : KSerializer<Reaction>
Link copied to clipboard
@Serializable(with = Reaction.Companion::class)
value class CustomEmoji(val customEmojiId: CustomEmojiId) : Reaction
Link copied to clipboard
@Serializable(with = Reaction.Companion::class)
value class Emoji(val emoji: String) : Reaction
Link copied to clipboard
@Serializable(with = Reaction.Companion::class)
data object Paid : Reaction
Link copied to clipboard
@Serializable(with = Reaction.Companion::class)
data class Unknown(val type: String, val sourceJson: JsonElement?) : Reaction

Properties

Link copied to clipboard
abstract val type: String