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