Refunded

@Serializable
data class Refunded(val chat: PreviewChat, val messageId: MessageId, val selectionDate: TelegramDate) : GiveawayPublicResults

Constructors

Link copied to clipboard
constructor(chat: PreviewChat, messageId: MessageId, selectionDate: TelegramDate)

Properties

Link copied to clipboard
@SerialName(value = "additional_chat_count")
open override val additionalChats: Int = 0
Link copied to clipboard
@SerialName(value = "prize_description")
open override val additionalPrizeDescription: String? = null
Link copied to clipboard
@SerialName(value = "chats")
open override val chat: PreviewChat
Link copied to clipboard
@SerialName(value = "winner_count")
open override val count: Int = 0
Link copied to clipboard
@SerialName(value = "giveaway_message_id")
open override val messageId: MessageId
Link copied to clipboard
@SerialName(value = "only_new_members")
open override val onlyNewMembers: Boolean = false
Link copied to clipboard
@SerialName(value = "premium_subscription_month_count")
open override val premiumMonths: Int?
Link copied to clipboard
@SerialName(value = "prize_star_count")
open override val prizeStarCount: Int?
Link copied to clipboard
@SerialName(value = "was_refunded")
@Required
@EncodeDefault
open override val refunded: Boolean = true
Link copied to clipboard
@SerialName(value = "winners_selection_date")
open override val selectionDate: TelegramDate
Link copied to clipboard
@SerialName(value = "unclaimed_prize_count")
open override val unclaimedCount: Int = 0
Link copied to clipboard
@SerialName(value = "winners")
open override val winners: List<PreviewUser>