class TelegramBot::GiveawayWinners

Included Modules

Defined in:

telegram_bot/types/giveaway.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

Instance Method Detail

def additional_chat_count : Int32 | Nil #

def additional_chat_count=(additional_chat_count : Int32 | Nil) #

def chat : Chat #

def chat=(chat : Chat) #

def giveaway_message_id : Int32 #

def giveaway_message_id=(giveaway_message_id : Int32) #

def only_new_members=(only_new_members : Bool | Nil) #

def only_new_members? : Bool | Nil #

def premium_subscription_month_count : Int32 | Nil #

def premium_subscription_month_count=(premium_subscription_month_count : Int32 | Nil) #

def prize_description : String | Nil #

def prize_description=(prize_description : String | Nil) #

def prize_star_count : Int32 | Nil #

def prize_star_count=(prize_star_count : Int32 | Nil) #

def unclaimed_prize_count : Int32 | Nil #

def unclaimed_prize_count=(unclaimed_prize_count : Int32 | Nil) #

def was_refunded=(was_refunded : Bool | Nil) #

def was_refunded? : Bool | Nil #

def winner_count : Int32 #

def winner_count=(winner_count : Int32) #

def winners : Array(User) #

def winners=(winners : Array(User)) #

def winners_selection_date : Int32 #

def winners_selection_date=(winners_selection_date : Int32) #