Class: Telegram::Bot::Types::ChatBoostRemoved
- Defined in:
- sig/telegram/bot/types/chat_boost_removed.rbs
Instance Attribute Summary collapse
-
#boost_id ⇒ String
readonly
Returns the value of attribute boost_id.
-
#chat ⇒ Chat
readonly
Returns the value of attribute chat.
-
#remove_date ⇒ Integer
readonly
Returns the value of attribute remove_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
#boost_id ⇒ String (readonly)
Returns the value of attribute boost_id.
9 10 11 |
# File 'sig/telegram/bot/types/chat_boost_removed.rbs', line 9 def boost_id @boost_id end |
#chat ⇒ Chat (readonly)
Returns the value of attribute chat.
8 9 10 |
# File 'sig/telegram/bot/types/chat_boost_removed.rbs', line 8 def chat @chat end |
#remove_date ⇒ Integer (readonly)
Returns the value of attribute remove_date.
10 11 12 |
# File 'sig/telegram/bot/types/chat_boost_removed.rbs', line 10 def remove_date @remove_date end |
#source ⇒ chat_boost_source (readonly)
Returns the value of attribute source.
11 12 13 |
# File 'sig/telegram/bot/types/chat_boost_removed.rbs', line 11 def source @source end |
Class Method Details
.new(chat:, boost_id:, remove_date:, source:) ⇒ instance .new(attributes) ⇒ instance
6 7 |
# File 'sig/telegram/bot/types/chat_boost_removed.rbs', line 6
def self.new: (chat: Chat, boost_id: String, remove_date: Integer, source: chat_boost_source) -> instance
| (?Hash[Symbol | String, untyped] attributes) -> instance
|