class TelegramBot::Giveaway

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 chats : Array(Chat) #

def chats=(chats : Array(Chat)) #

def country_codes : Array(String) | Nil #

def country_codes=(country_codes : Array(String) | Nil) #

def has_public_winners=(has_public_winners : Bool | Nil) #

def has_public_winners? : Bool | Nil #

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 winner_count : Int32 #

def winner_count=(winner_count : Int32) #

def winners_selection_date : Int32 #

def winners_selection_date=(winners_selection_date : Int32) #