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.
-
#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.
Method Summary
Methods inherited from Base
Instance Attribute Details
#duration ⇒ Integer
Duration of the video, in seconds; as defined by the sender.
10 11 12 |
# File 'lib/tdlib/types/video_note.rb', line 10 def duration @duration end |
#length ⇒ Integer
Video width and height; as defined by the sender.
10 11 12 |
# File 'lib/tdlib/types/video_note.rb', line 10 def length @length end |
#minithumbnail ⇒ TD::Types::Minithumbnail?
Video minithumbnail; may be null.
10 11 12 |
# File 'lib/tdlib/types/video_note.rb', line 10 def minithumbnail @minithumbnail end |
#thumbnail ⇒ TD::Types::Thumbnail?
Video thumbnail in JPEG format; as defined by the sender; may be null.
10 11 12 |
# File 'lib/tdlib/types/video_note.rb', line 10 def thumbnail @thumbnail end |
#video ⇒ TD::Types::File
File containing the video.
10 11 12 |
# File 'lib/tdlib/types/video_note.rb', line 10 def video @video end |