Sha256: 971f9afa160d743fb84774ba6ae821839b97d9ec2285d319f6eb5e03b4c7509e
Contents?: true
Size: 1.13 KB
Versions: 2
Compression:
Stored size: 1.13 KB
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 minithumbnail [TD::Types::Minithumbnail, nil] Animation minithumbnail; may be null. # @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 :minithumbnail, TD::Types::Minithumbnail.optional.default(nil) attribute :thumbnail, TD::Types::PhotoSize.optional.default(nil) attribute :animation, TD::Types::File end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
tdlib-ruby-2.2.0 | lib/tdlib/types/animation.rb |
tdlib-ruby-2.1.0 | lib/tdlib/types/animation.rb |