Class: TD::Types::InputMessageContent::Animation
- Inherits:
-
TD::Types::InputMessageContent
- Object
- Dry::Struct
- Base
- TD::Types::InputMessageContent
- TD::Types::InputMessageContent::Animation
- Defined in:
- lib/tdlib/types/input_message_content/animation.rb
Overview
An animation message (GIF-style)..
Instance Attribute Summary collapse
-
#added_sticker_file_ids ⇒ Array<Integer>
File identifiers of the stickers added to the animation, if applicable.
-
#animation ⇒ TD::Types::InputFile
Animation file to be sent.
-
#caption ⇒ TD::Types::FormattedText
Animation caption; 0-GetOption(“message_caption_length_max”) characters.
-
#duration ⇒ Integer
Duration of the animation, in seconds.
-
#height ⇒ Integer
Height of the animation; may be replaced by the server.
-
#thumbnail ⇒ TD::Types::InputThumbnail?
Animation thumbnail, if available.
-
#width ⇒ Integer
Width of the animation; may be replaced by the server.
Method Summary
Methods inherited from Base
Instance Attribute Details
#added_sticker_file_ids ⇒ Array<Integer>
File identifiers of the stickers added to the animation, if applicable.
12 13 14 |
# File 'lib/tdlib/types/input_message_content/animation.rb', line 12 def added_sticker_file_ids @added_sticker_file_ids end |
#animation ⇒ TD::Types::InputFile
Animation file to be sent.
12 13 14 |
# File 'lib/tdlib/types/input_message_content/animation.rb', line 12 def animation @animation end |
#caption ⇒ TD::Types::FormattedText
Animation caption; 0-GetOption(“message_caption_length_max”) characters.
12 13 14 |
# File 'lib/tdlib/types/input_message_content/animation.rb', line 12 def @caption end |
#duration ⇒ Integer
Duration of the animation, in seconds.
12 13 14 |
# File 'lib/tdlib/types/input_message_content/animation.rb', line 12 def duration @duration end |
#height ⇒ Integer
Height of the animation; may be replaced by the server.
12 13 14 |
# File 'lib/tdlib/types/input_message_content/animation.rb', line 12 def height @height end |
#thumbnail ⇒ TD::Types::InputThumbnail?
Animation thumbnail, if available.
12 13 14 |
# File 'lib/tdlib/types/input_message_content/animation.rb', line 12 def thumbnail @thumbnail end |
#width ⇒ Integer
Width of the animation; may be replaced by the server.
12 13 14 |
# File 'lib/tdlib/types/input_message_content/animation.rb', line 12 def width @width end |