class Tourmaline::GiveawayCompleted
inherits Reference
#
This object represents a service message about the completion of a giveaway without public winners.
Included modules
JSON::Serializable
Constructors#
.new(winner_count, unclaimed_prize_count : Int32 | Int64 | Nil = nil, giveaway_message : Tourmaline::Message? = nil)
#
(winner_count, unclaimed_prize_count : Int32 | Int64 | Nil = nil, giveaway_message : Tourmaline::Message? = nil)
Methods#
#giveaway_message : Tourmaline::Message?
#
: Tourmaline::Message?
Optional. Message with the giveaway that was completed, if it wasn't deleted
#giveaway_message=(giveaway_message : Tourmaline::Message?)
#
(giveaway_message : Tourmaline::Message?)
Optional. Message with the giveaway that was completed, if it wasn't deleted
#unclaimed_prize_count=(unclaimed_prize_count : Int32 | Int64 | Nil)
#
(unclaimed_prize_count : Int32 | Int64 | Nil)
Optional. Number of undistributed prizes