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