Sha256: 216ba7586b6967109e72a78aa57c0b64a9418a5be7242f40ba0f434baf6d4578
Contents?: true
Size: 874 Bytes
Versions: 2
Compression:
Stored size: 874 Bytes
Contents
module TD::Types # Describes a video note. # The video must be equal in width and height, cropped to a circle, and stored in MPEG4 format. # # @attr duration [Integer] Duration of the video, in seconds; as defined by the sender. # @attr length [Integer] Video width and height; as defined by the sender. # @attr minithumbnail [TD::Types::Minithumbnail, nil] Video minithumbnail; may be null. # @attr thumbnail [TD::Types::PhotoSize, nil] Video thumbnail; as defined by the sender; may be null. # @attr video [TD::Types::File] File containing the video. class VideoNote < Base attribute :duration, TD::Types::Integer attribute :length, TD::Types::Integer attribute :minithumbnail, TD::Types::Minithumbnail.optional.default(nil) attribute :thumbnail, TD::Types::PhotoSize.optional.default(nil) attribute :video, 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/video_note.rb |
tdlib-ruby-2.1.0 | lib/tdlib/types/video_note.rb |