class
Hamilton::Types::GiveawayCompleted
- Hamilton::Types::GiveawayCompleted
- Reference
- Object
Overview
This object represents a service message about the completion of a giveaway without public winners.
Included Modules
- Hamilton::Types::Common
- JSON::Serializable
Defined in:
types/giveaway_completed.crConstructors
- .new(pull : JSON::PullParser)
- .new(params)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
- .new(**params)
Instance Method Summary
-
#giveaway_message : Hamilton::Types::Message | Nil
Message with the giveaway that was completed, if it wasn't deleted.
-
#giveaway_message=(giveaway_message : Hamilton::Types::Message | Nil)
Message with the giveaway that was completed, if it wasn't deleted.
-
#is_star_giveaway : Bool | Nil
True, if the giveaway is a Telegram Star giveaway.
-
#is_star_giveaway=(is_star_giveaway : Bool | Nil)
True, if the giveaway is a Telegram Star giveaway.
-
#non_nil_fields : Array(String)
List of available non-nil fields.
-
#non_nil_fields=(non_nil_fields : Array(String))
List of available non-nil fields.
-
#unclaimed_prize_count : Int32 | Nil
Number of undistributed prizes.
-
#unclaimed_prize_count=(unclaimed_prize_count : Int32 | Nil)
Number of undistributed prizes.
-
#winner_count : Int32
Number of winners in the giveaway.
-
#winner_count=(winner_count : Int32)
Number of winners in the giveaway.
Instance methods inherited from class Reference
==(other : Hamilton::Any)
==
Instance methods inherited from class Object
===(other : Hamilton::Any)
===
Constructor Detail
Instance Method Detail
Message with the giveaway that was completed, if it wasn't deleted.
Message with the giveaway that was completed, if it wasn't deleted.
True, if the giveaway is a Telegram Star giveaway. Otherwise, currently, the giveaway is a Telegram Premium giveaway.
True, if the giveaway is a Telegram Star giveaway. Otherwise, currently, the giveaway is a Telegram Premium giveaway.