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.



11
12
13
# File 'lib/tdlib/types/message_content/animation.rb', line 11

def animation
  @animation
end

#captionTD::Types::FormattedText

Animation caption.



11
12
13
# File 'lib/tdlib/types/message_content/animation.rb', line 11

def caption
  @caption
end

#has_spoilerBoolean

True, if the animation preview must be covered by a spoiler animation.



11
12
13
# File 'lib/tdlib/types/message_content/animation.rb', line 11

def has_spoiler
  @has_spoiler
end

#is_secretBoolean

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



11
12
13
# File 'lib/tdlib/types/message_content/animation.rb', line 11

def is_secret
  @is_secret
end

#show_caption_above_mediaBoolean

True, if the caption must be shown above the animation; otherwise, the caption must be shown below the animation.



11
12
13
# File 'lib/tdlib/types/message_content/animation.rb', line 11

def show_caption_above_media
  @show_caption_above_media
end