Class: TD::Types::LinkPreviewType::Animation

Inherits:
TD::Types::LinkPreviewType show all
Defined in:
lib/tdlib/types/link_preview_type/animation.rb

Overview

The link is a link to an animation.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#animationTD::Types::Animation

The animation.

Returns:



6
7
8
# File 'lib/tdlib/types/link_preview_type/animation.rb', line 6

def animation
  @animation
end

#authorTD::Types::String

Author of the animation.

Returns:

  • (TD::Types::String)

    the current value of author



6
7
8
# File 'lib/tdlib/types/link_preview_type/animation.rb', line 6

def author
  @author
end