Class: TD::Types::VideoNote
- Defined in:
- lib/tdlib/types/video_note.rb
Overview
Describes a video note. The video must be equal in width and height, cropped to a circle, and stored in MPEG4 format.
Instance Attribute Summary collapse
-
#duration ⇒ Integer
Duration of the video, in seconds; as defined by the sender.
-
#length ⇒ Integer
Video width and height; as defined by the sender.
-
#minithumbnail ⇒ TD::Types::Minithumbnail?
Video minithumbnail; may be null.
-
#speech_recognition_result ⇒ TD::Types::SpeechRecognitionResult?
Result of speech recognition in the video note; may be null.
-
#thumbnail ⇒ TD::Types::Thumbnail?
Video thumbnail in JPEG format; as defined by the sender; may be null.
-
#video ⇒ TD::Types::File
File containing the video.
-
#waveform ⇒ String?
A waveform representation of the video note’s audio in 5-bit format; may be empty if unknown.
Method Summary
Methods inherited from Base
Instance Attribute Details
#duration ⇒ Integer
Duration of the video, in seconds; as defined by the sender.
14 15 16 |
# File 'lib/tdlib/types/video_note.rb', line 14 def duration @duration end |
#length ⇒ Integer
Video width and height; as defined by the sender.
14 15 16 |
# File 'lib/tdlib/types/video_note.rb', line 14 def length @length end |
#minithumbnail ⇒ TD::Types::Minithumbnail?
Video minithumbnail; may be null.
14 15 16 |
# File 'lib/tdlib/types/video_note.rb', line 14 def minithumbnail @minithumbnail end |
#speech_recognition_result ⇒ TD::Types::SpeechRecognitionResult?
Result of speech recognition in the video note; may be null.
14 15 16 |
# File 'lib/tdlib/types/video_note.rb', line 14 def speech_recognition_result @speech_recognition_result end |
#thumbnail ⇒ TD::Types::Thumbnail?
Video thumbnail in JPEG format; as defined by the sender; may be null.
14 15 16 |
# File 'lib/tdlib/types/video_note.rb', line 14 def thumbnail @thumbnail end |
#video ⇒ TD::Types::File
File containing the video.
14 15 16 |
# File 'lib/tdlib/types/video_note.rb', line 14 def video @video end |
#waveform ⇒ String?
A waveform representation of the video note’s audio in 5-bit format; may be empty if unknown.
14 15 16 |
# File 'lib/tdlib/types/video_note.rb', line 14 def waveform @waveform end |