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; 0-60.

Returns:

  • (Integer)

    the current value of duration



11
12
13
# File 'lib/tdlib/types/input_message_content/video_note.rb', line 11

def duration
  @duration
end

#lengthInteger

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

Returns:

  • (Integer)

    the current value of length



11
12
13
# File 'lib/tdlib/types/input_message_content/video_note.rb', line 11

def length
  @length
end

#self_destruct_typeTD::Types::MessageSelfDestructType?

Video note self-destruct type; may be null if none; pass null if none; private chats only.

Returns:



11
12
13
# File 'lib/tdlib/types/input_message_content/video_note.rb', line 11

def self_destruct_type
  @self_destruct_type
end

#thumbnailTD::Types::InputThumbnail?

Video thumbnail; may be null if empty; pass null to skip thumbnail uploading.

Returns:



11
12
13
# File 'lib/tdlib/types/input_message_content/video_note.rb', line 11

def thumbnail
  @thumbnail
end

#video_noteTD::Types::InputFile

Video note to be sent.

Returns:



11
12
13
# File 'lib/tdlib/types/input_message_content/video_note.rb', line 11

def video_note
  @video_note
end