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