Sha256: 680abebd91795c1145d2aae4ca022e9f58586975bda1c397218474296527d1c7

Contents?: true

Size: 657 Bytes

Versions: 2

Compression:

Stored size: 657 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::Coercible::Integer
    attribute :length, TD::Types::Coercible::Integer
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tdlib-schema-1.7.0.3 lib/tdlib/types/input_message_content/video_note.rb
tdlib-schema-1.7.0.2 lib/tdlib/types/input_message_content/video_note.rb