Class: TD::Types::Video
- Defined in:
- lib/tdlib/types/video.rb
Overview
Describes a video file.
Instance Attribute Summary collapse
-
#duration ⇒ Integer
Duration of the video, in seconds; as defined by the sender.
-
#file_name ⇒ String
Original name of the file; as defined by the sender.
-
#has_stickers ⇒ Boolean
True, if stickers were added to the video.
-
#height ⇒ Integer
Video height; as defined by the sender.
-
#mime_type ⇒ String
MIME type of the file; as defined by the sender.
-
#minithumbnail ⇒ TD::Types::Minithumbnail?
Video minithumbnail; may be null.
-
#supports_streaming ⇒ Boolean
True, if the video should be tried to be streamed.
-
#thumbnail ⇒ TD::Types::PhotoSize?
Video thumbnail; as defined by the sender; may be null.
-
#video ⇒ TD::Types::File
File containing the video.
-
#width ⇒ Integer
Video width; as defined by the sender.
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.rb', line 14 def duration @duration end |
#file_name ⇒ String
Original name of the file; as defined by the sender.
14 15 16 |
# File 'lib/tdlib/types/video.rb', line 14 def file_name @file_name end |
#has_stickers ⇒ Boolean
True, if stickers were added to the video.
14 15 16 |
# File 'lib/tdlib/types/video.rb', line 14 def has_stickers @has_stickers end |
#height ⇒ Integer
Video height; as defined by the sender.
14 15 16 |
# File 'lib/tdlib/types/video.rb', line 14 def height @height end |
#mime_type ⇒ String
MIME type of the file; as defined by the sender.
14 15 16 |
# File 'lib/tdlib/types/video.rb', line 14 def mime_type @mime_type end |
#minithumbnail ⇒ TD::Types::Minithumbnail?
Video minithumbnail; may be null.
14 15 16 |
# File 'lib/tdlib/types/video.rb', line 14 def minithumbnail @minithumbnail end |
#supports_streaming ⇒ Boolean
True, if the video should be tried to be streamed.
14 15 16 |
# File 'lib/tdlib/types/video.rb', line 14 def supports_streaming @supports_streaming end |
#thumbnail ⇒ TD::Types::PhotoSize?
Video thumbnail; as defined by the sender; may be null.
14 15 16 |
# File 'lib/tdlib/types/video.rb', line 14 def thumbnail @thumbnail end |
#video ⇒ TD::Types::File
File containing the video.
14 15 16 |
# File 'lib/tdlib/types/video.rb', line 14 def video @video end |
#width ⇒ Integer
Video width; as defined by the sender.
14 15 16 |
# File 'lib/tdlib/types/video.rb', line 14 def width @width end |