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