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