Class: TD::Types::MessageContent::Animation

Inherits:
TD::Types::MessageContent show all
Defined in:
lib/tdlib/types/message_content/animation.rb

Overview

An animation message (GIF-style)..

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#animationTD::Types::Animation

The animation description.

Returns:



8
9
10
# File 'lib/tdlib/types/message_content/animation.rb', line 8

def animation
  @animation
end

#captionTD::Types::FormattedText

Animation caption.

Returns:



8
9
10
# File 'lib/tdlib/types/message_content/animation.rb', line 8

def caption
  @caption
end

#is_secretBoolean

True, if the animation thumbnail must be blurred and the animation must be shown only while tapped.

Returns:

  • (Boolean)

    the current value of is_secret



8
9
10
# File 'lib/tdlib/types/message_content/animation.rb', line 8

def is_secret
  @is_secret
end