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