Sha256: e4267ea06e6ea95b94bdc4654ed5611ca2cceb70662dd234c4c1cbd7c85fc383
Contents?: true
Size: 990 Bytes
Versions: 1
Compression:
Stored size: 990 Bytes
Contents
module TD::Types # Describes an animation file. # The animation must be encoded in GIF or MPEG4 format. # # @attr duration [Integer] Duration of the animation, in seconds; as defined by the sender. # @attr width [Integer] Width of the animation. # @attr height [Integer] Height of the animation. # @attr file_name [String] Original name of the file; as defined by the sender. # @attr mime_type [String] MIME type of the file, usually "image/gif" or "video/mp4". # @attr thumbnail [TD::Types::PhotoSize, nil] Animation thumbnail; may be null. # @attr animation [TD::Types::File] File containing the animation. class Animation < Base attribute :duration, TD::Types::Integer attribute :width, TD::Types::Integer attribute :height, TD::Types::Integer attribute :file_name, TD::Types::String attribute :mime_type, TD::Types::String attribute :thumbnail, TD::Types::PhotoSize.optional.default(nil) attribute :animation, TD::Types::File end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tdlib-ruby-2.0.0 | lib/tdlib/types/animation.rb |