Class: TD::Types::PageBlock::Animation

Inherits:
TD::Types::PageBlock show all
Defined in:
lib/tdlib/types/page_block/animation.rb

Overview

An animation.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#animationTD::Types::Animation?

Animation file; may be null.

Returns:



7
8
9
# File 'lib/tdlib/types/page_block/animation.rb', line 7

def animation
  @animation
end

#captionTD::Types::PageBlockCaption

Animation caption.

Returns:



7
8
9
# File 'lib/tdlib/types/page_block/animation.rb', line 7

def caption
  @caption
end

#need_autoplayBoolean

True, if the animation should be played automatically.

Returns:

  • (Boolean)

    the current value of need_autoplay



7
8
9
# File 'lib/tdlib/types/page_block/animation.rb', line 7

def need_autoplay
  @need_autoplay
end