Sha256: cf978bfd5b85a62abbcc0959cfb81339e4c8b25b78aff4c7368ff08d0d7a06a0

Contents?: true

Size: 635 Bytes

Versions: 4

Compression:

Stored size: 635 Bytes

Contents

module TD::Types
  # A video note message.
  #
  # @attr video_note [TD::Types::InputFile] Video note to be sent.
  # @attr thumbnail [TD::Types::InputThumbnail, nil] Video thumbnail, if available.
  # @attr duration [Integer] Duration of the video, in seconds.
  # @attr length [Integer] Video width and height; must be positive and not greater than 640.
  class InputMessageContent::VideoNote < InputMessageContent
    attribute :video_note, TD::Types::InputFile
    attribute :thumbnail, TD::Types::InputThumbnail.optional.default(nil)
    attribute :duration, TD::Types::Integer
    attribute :length, TD::Types::Integer
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
tdlib-schema-1.7.0.1 lib/tdlib/types/input_message_content/video_note.rb
tdlib-ruby-2.2.0 lib/tdlib/types/input_message_content/video_note.rb
tdlib-ruby-2.1.0 lib/tdlib/types/input_message_content/video_note.rb
tdlib-ruby-2.0.0 lib/tdlib/types/input_message_content/video_note.rb