Class: TD::Types::InputMessageContent::VideoNote

Inherits:
TD::Types::InputMessageContent show all
Defined in:
lib/tdlib/types/input_message_content/video_note.rb

Overview

A video note message.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#durationInteger

Duration of the video, in seconds.

Returns:

  • (Integer)

    the current value of duration



8
9
10
# File 'lib/tdlib/types/input_message_content/video_note.rb', line 8

def duration
  @duration
end

#lengthInteger

Video width and height; must be positive and not greater than 640.

Returns:

  • (Integer)

    the current value of length



8
9
10
# File 'lib/tdlib/types/input_message_content/video_note.rb', line 8

def length
  @length
end

#thumbnailTD::Types::InputThumbnail?

Video thumbnail, if available.

Returns:



8
9
10
# File 'lib/tdlib/types/input_message_content/video_note.rb', line 8

def thumbnail
  @thumbnail
end

#video_noteTD::Types::InputFile

Video note to be sent.

Returns:



8
9
10
# File 'lib/tdlib/types/input_message_content/video_note.rb', line 8

def video_note
  @video_note
end