Class: TD::Types::InputPaidMediaType::Video
- Inherits:
-
TD::Types::InputPaidMediaType
- Object
- Dry::Struct
- Base
- TD::Types::InputPaidMediaType
- TD::Types::InputPaidMediaType::Video
- Defined in:
- lib/tdlib/types/input_paid_media_type/video.rb
Overview
The media is a video.
Instance Attribute Summary collapse
-
#duration ⇒ Integer
Duration of the video, in seconds.
-
#supports_streaming ⇒ Boolean
True, if the video is supposed to be streamed.
Method Summary
Methods inherited from Base
Instance Attribute Details
#duration ⇒ Integer
Duration of the video, in seconds.
6 7 8 |
# File 'lib/tdlib/types/input_paid_media_type/video.rb', line 6 def duration @duration end |
#supports_streaming ⇒ Boolean
True, if the video is supposed to be streamed.
6 7 8 |
# File 'lib/tdlib/types/input_paid_media_type/video.rb', line 6 def supports_streaming @supports_streaming end |