Class: TD::Types::InputMessageContent::Animation

Inherits:
TD::Types::InputMessageContent show all
Defined in:
lib/tdlib/types/input_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

#added_sticker_file_idsArray<Integer>

File identifiers of the stickers added to the animation, if applicable.

Returns:

  • (Array<Integer>)

    the current value of added_sticker_file_ids



12
13
14
# File 'lib/tdlib/types/input_message_content/animation.rb', line 12

def added_sticker_file_ids
  @added_sticker_file_ids
end

#animationTD::Types::InputFile

Animation file to be sent.

Returns:



12
13
14
# File 'lib/tdlib/types/input_message_content/animation.rb', line 12

def animation
  @animation
end

#captionTD::Types::FormattedText

Animation caption; 0-GetOption(“message_caption_length_max”) characters.

Returns:



12
13
14
# File 'lib/tdlib/types/input_message_content/animation.rb', line 12

def caption
  @caption
end

#durationInteger

Duration of the animation, in seconds.

Returns:

  • (Integer)

    the current value of duration



12
13
14
# File 'lib/tdlib/types/input_message_content/animation.rb', line 12

def duration
  @duration
end

#heightInteger

Height of the animation; may be replaced by the server.

Returns:

  • (Integer)

    the current value of height



12
13
14
# File 'lib/tdlib/types/input_message_content/animation.rb', line 12

def height
  @height
end

#thumbnailTD::Types::InputThumbnail?

Animation thumbnail, if available.

Returns:



12
13
14
# File 'lib/tdlib/types/input_message_content/animation.rb', line 12

def thumbnail
  @thumbnail
end

#widthInteger

Width of the animation; may be replaced by the server.

Returns:

  • (Integer)

    the current value of width



12
13
14
# File 'lib/tdlib/types/input_message_content/animation.rb', line 12

def width
  @width
end