Class: Telegram::Bot::Types::InputPaidMediaVideo
- Defined in:
- sig/telegram/bot/types/input_paid_media_video.rbs
Instance Attribute Summary collapse
-
#cover ⇒ String?
readonly
Returns the value of attribute cover.
-
#duration ⇒ Integer?
readonly
Returns the value of attribute duration.
-
#height ⇒ Integer?
readonly
Returns the value of attribute height.
-
#media ⇒ String
readonly
Returns the value of attribute media.
-
#start_timestamp ⇒ Integer?
readonly
Returns the value of attribute start_timestamp.
-
#supports_streaming ⇒ Boolean?
readonly
Returns the value of attribute supports_streaming.
-
#thumbnail ⇒ String?
readonly
Returns the value of attribute thumbnail.
-
#type ⇒ String
readonly
Returns the value of attribute type.
-
#width ⇒ Integer?
readonly
Returns the value of attribute width.
Attributes inherited from Base
Class Method Summary collapse
Methods included from Compactable
Methods included from PatternMatching
Instance Attribute Details
#cover ⇒ String? (readonly)
Returns the value of attribute cover.
11 12 13 |
# File 'sig/telegram/bot/types/input_paid_media_video.rbs', line 11 def cover @cover end |
#duration ⇒ Integer? (readonly)
Returns the value of attribute duration.
15 16 17 |
# File 'sig/telegram/bot/types/input_paid_media_video.rbs', line 15 def duration @duration end |
#height ⇒ Integer? (readonly)
Returns the value of attribute height.
14 15 16 |
# File 'sig/telegram/bot/types/input_paid_media_video.rbs', line 14 def height @height end |
#media ⇒ String (readonly)
Returns the value of attribute media.
9 10 11 |
# File 'sig/telegram/bot/types/input_paid_media_video.rbs', line 9 def media @media end |
#start_timestamp ⇒ Integer? (readonly)
Returns the value of attribute start_timestamp.
12 13 14 |
# File 'sig/telegram/bot/types/input_paid_media_video.rbs', line 12 def @start_timestamp end |
#supports_streaming ⇒ Boolean? (readonly)
Returns the value of attribute supports_streaming.
16 17 18 |
# File 'sig/telegram/bot/types/input_paid_media_video.rbs', line 16 def supports_streaming @supports_streaming end |
#thumbnail ⇒ String? (readonly)
Returns the value of attribute thumbnail.
10 11 12 |
# File 'sig/telegram/bot/types/input_paid_media_video.rbs', line 10 def thumbnail @thumbnail end |
#type ⇒ String (readonly)
Returns the value of attribute type.
8 9 10 |
# File 'sig/telegram/bot/types/input_paid_media_video.rbs', line 8 def type @type end |
#width ⇒ Integer? (readonly)
Returns the value of attribute width.
13 14 15 |
# File 'sig/telegram/bot/types/input_paid_media_video.rbs', line 13 def width @width end |
Class Method Details
.new(type:, media:, thumbnail:, cover:, start_timestamp:, width:, height:, duration:, supports_streaming:) ⇒ instance .new(attributes) ⇒ instance
6 7 |
# File 'sig/telegram/bot/types/input_paid_media_video.rbs', line 6
def self.new: (?type: String, media: String, ?thumbnail: String, ?cover: String, ?start_timestamp: Integer, ?width: Integer, ?height: Integer, ?duration: Integer, ?supports_streaming: bool) -> instance
| (?Hash[Symbol | String, untyped] attributes) -> instance
|