Sha256: 6813d6c28e662dc5fac2c9226480be7d504cc724db17017b15705f1ef143225c

Contents?: true

Size: 1.16 KB

Versions: 2

Compression:

Stored size: 1.16 KB

Contents

module TD::Types
  # An animation message (GIF-style)..
  #
  # @attr animation [TD::Types::InputFile] Animation file to be sent.
  # @attr thumbnail [TD::Types::InputThumbnail, nil] Animation thumbnail, if available.
  # @attr added_sticker_file_ids [Array<Integer>] File identifiers of the stickers added to the animation, if
  #   applicable.
  # @attr duration [Integer] Duration of the animation, in seconds.
  # @attr width [Integer] Width of the animation; may be replaced by the server.
  # @attr height [Integer] Height of the animation; may be replaced by the server.
  # @attr caption [TD::Types::FormattedText] Animation caption; 0-GetOption("message_caption_length_max") characters.
  class InputMessageContent::Animation < InputMessageContent
    attribute :animation, TD::Types::InputFile
    attribute :thumbnail, TD::Types::InputThumbnail.optional.default(nil)
    attribute :added_sticker_file_ids, TD::Types::Array.of(TD::Types::Coercible::Integer)
    attribute :duration, TD::Types::Coercible::Integer
    attribute :width, TD::Types::Coercible::Integer
    attribute :height, TD::Types::Coercible::Integer
    attribute :caption, TD::Types::FormattedText
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tdlib-schema-1.7.0.3 lib/tdlib/types/input_message_content/animation.rb
tdlib-schema-1.7.0.2 lib/tdlib/types/input_message_content/animation.rb