Sha256: e8717ec572fbaaccef1acffe7d3699101279da59d634213e3516431de8c86a10
Contents?: true
Size: 911 Bytes
Versions: 2
Compression:
Stored size: 911 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::Thumbnail, nil] Video thumbnail in JPEG format; as defined by the sender; may be null. # @attr video [TD::Types::File] File containing the video. class VideoNote < Base attribute :duration, TD::Types::Coercible::Integer attribute :length, TD::Types::Coercible::Integer attribute :minithumbnail, TD::Types::Minithumbnail.optional.default(nil) attribute :thumbnail, TD::Types::Thumbnail.optional.default(nil) attribute :video, TD::Types::File end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
tdlib-schema-1.7.0.3 | lib/tdlib/types/video_note.rb |
tdlib-schema-1.7.0.2 | lib/tdlib/types/video_note.rb |