class
Hamilton::Types::GiveawayCreated
- Hamilton::Types::GiveawayCreated
- Reference
- Object
Overview
This object represents a service message about the creation of a scheduled giveaway.
Included Modules
- Hamilton::Types::Common
- JSON::Serializable
Defined in:
types/giveaway_created.crConstructors
- .new(pull : JSON::PullParser)
- .new(params)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
- .new(**params)
Instance Method Summary
-
#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.
-
#prize_star_count : Int32 | Nil
The number of Telegram Stars to be split between giveaway winners; for Telegram Star giveaways only.
-
#prize_star_count=(prize_star_count : Int32 | Nil)
The number of Telegram Stars to be split between giveaway winners; for Telegram Star giveaways only.
Instance methods inherited from class Reference
==(other : Hamilton::Any)
==
Instance methods inherited from class Object
===(other : Hamilton::Any)
===
Constructor Detail
Instance Method Detail
def prize_star_count : Int32 | Nil
#
The number of Telegram Stars to be split between giveaway winners; for Telegram Star giveaways only.
def prize_star_count=(prize_star_count : Int32 | Nil)
#
The number of Telegram Stars to be split between giveaway winners; for Telegram Star giveaways only.