Class: TD::Types::PageBlock::Video
- Inherits:
-
TD::Types::PageBlock
- Object
- Dry::Struct
- Base
- TD::Types::PageBlock
- TD::Types::PageBlock::Video
- Defined in:
- lib/tdlib/types/page_block/video.rb
Overview
A video.
Instance Attribute Summary collapse
-
#caption ⇒ TD::Types::PageBlockCaption
Video caption.
-
#is_looped ⇒ Boolean
True, if the video should be looped.
-
#need_autoplay ⇒ Boolean
True, if the video should be played automatically.
-
#video ⇒ TD::Types::Video?
Video file; may be null.
Method Summary
Methods inherited from Base
Instance Attribute Details
#caption ⇒ TD::Types::PageBlockCaption
Video caption.
8 9 10 |
# File 'lib/tdlib/types/page_block/video.rb', line 8 def @caption end |
#is_looped ⇒ Boolean
True, if the video should be looped.
8 9 10 |
# File 'lib/tdlib/types/page_block/video.rb', line 8 def is_looped @is_looped end |
#need_autoplay ⇒ Boolean
True, if the video should be played automatically.
8 9 10 |
# File 'lib/tdlib/types/page_block/video.rb', line 8 def need_autoplay @need_autoplay end |
#video ⇒ TD::Types::Video?
Video file; may be null.
8 9 10 |
# File 'lib/tdlib/types/page_block/video.rb', line 8 def video @video end |