Giveaway

Types

Link copied to clipboard
@Serializable(with = ChatBoostSource.Companion::class)
data class Claimed(val messageId: MessageId, val user: PreviewUser, val prizeStarCount: Int?) : ChatBoostSource.Giveaway, ChatBoostSource.ByUser
Link copied to clipboard
object Companion
Link copied to clipboard
@Serializable(with = ChatBoostSource.Companion::class)
data class Created(val messageId: MessageId, val prizeStarCount: Int?) : ChatBoostSource.Giveaway
Link copied to clipboard
@Serializable(with = ChatBoostSource.Companion::class)
data class Unclaimed(val messageId: MessageId, val prizeStarCount: Int?) : ChatBoostSource.Giveaway

Properties

Link copied to clipboard
open val claimed: Boolean
Link copied to clipboard
abstract val messageId: MessageId
Link copied to clipboard
abstract val prizeStarCount: Int?
Link copied to clipboard
abstract val sourceName: String
Link copied to clipboard
abstract val unclaimed: Boolean
Link copied to clipboard
abstract val user: PreviewUser?