Class: Telegram::Bot::Types::GiveawayCreated
- Defined in:
- sig/telegram/bot/types/giveaway_created.rbs
Instance Attribute Summary collapse
-
#prize_star_count ⇒ Integer?
readonly
Returns the value of attribute prize_star_count.
Attributes inherited from Base
Class Method Summary collapse
Methods included from Compactable
Methods included from PatternMatching
Instance Attribute Details
#prize_star_count ⇒ Integer? (readonly)
Returns the value of attribute prize_star_count.
8 9 10 |
# File 'sig/telegram/bot/types/giveaway_created.rbs', line 8 def prize_star_count @prize_star_count end |
Class Method Details
.new(prize_star_count:) ⇒ instance .new(attributes) ⇒ instance
6 7 |
# File 'sig/telegram/bot/types/giveaway_created.rbs', line 6
def self.new: (?prize_star_count: Integer) -> instance
| (?Hash[Symbol | String, untyped] attributes) -> instance
|