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