Sha256: f1f9a37636941e4068384ca467ef00ecaafff38191fe3e02483e09c3c108bdac

Contents?: true

Size: 707 Bytes

Versions: 1

Compression:

Stored size: 707 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 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 :thumbnail, TD::Types::PhotoSize.optional.default(nil)
    attribute :video, 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/video_note.rb