ChatBoostSource

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

Inheritors

Types

Link copied to clipboard
sealed interface ByUser : ChatBoostSource
Link copied to clipboard
object Companion : KSerializer<ChatBoostSource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@Serializable(with = ChatBoostSource.Companion::class)
data class Premium(val user: PreviewUser) : ChatBoostSource.ByUser
Link copied to clipboard
@Serializable(with = ChatBoostSource.Companion::class)
data class Unknown(val sourceName: String, val user: PreviewUser?, val json: JsonElement?) : ChatBoostSource

Properties

Link copied to clipboard
abstract val sourceName: String
Link copied to clipboard
abstract val user: PreviewUser?