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