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