Class: TD::Types::MessageContent::Animation
- Inherits:
-
TD::Types::MessageContent
- Object
- Dry::Struct
- Base
- TD::Types::MessageContent
- TD::Types::MessageContent::Animation
- Defined in:
- lib/tdlib/types/message_content/animation.rb
Overview
An animation message (GIF-style)..
Instance Attribute Summary collapse
-
#animation ⇒ TD::Types::Animation
The animation description.
-
#caption ⇒ TD::Types::FormattedText
Animation caption.
-
#has_spoiler ⇒ Boolean
True, if the animation preview must be covered by a spoiler animation.
-
#is_secret ⇒ Boolean
True, if the animation thumbnail must be blurred and the animation must be shown only while tapped.
-
#show_caption_above_media ⇒ Boolean
True, if the caption must be shown above the animation; otherwise, the caption must be shown below the animation.
Method Summary
Methods inherited from Base
Instance Attribute Details
#animation ⇒ TD::Types::Animation
The animation description.
11 12 13 |
# File 'lib/tdlib/types/message_content/animation.rb', line 11 def animation @animation end |
#caption ⇒ TD::Types::FormattedText
Animation caption.
11 12 13 |
# File 'lib/tdlib/types/message_content/animation.rb', line 11 def caption @caption end |
#has_spoiler ⇒ Boolean
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_secret ⇒ Boolean
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_media ⇒ Boolean
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 |