Class: TD::Types::InputMessageContent::Video
- Inherits:
-
TD::Types::InputMessageContent
- Object
- Dry::Struct
- Base
- TD::Types::InputMessageContent
- TD::Types::InputMessageContent::Video
- Defined in:
- lib/tdlib/types/input_message_content/video.rb
Overview
A video message.
Instance Attribute Summary collapse
-
#added_sticker_file_ids ⇒ Array<Integer>
File identifiers of the stickers added to the video, if applicable.
-
#caption ⇒ TD::Types::FormattedText
Video caption; 0-GetOption(“message_caption_length_max”) characters.
-
#duration ⇒ Integer
Duration of the video, in seconds.
-
#height ⇒ Integer
Video height.
-
#supports_streaming ⇒ Boolean
True, if the video should be tried to be streamed.
-
#thumbnail ⇒ TD::Types::InputThumbnail?
Video thumbnail, if available.
-
#ttl ⇒ Integer
Video TTL (Time To Live), in seconds (0-60).
-
#video ⇒ TD::Types::InputFile
Video to be sent.
-
#width ⇒ Integer
Video width.
Method Summary
Methods inherited from Base
Instance Attribute Details
#added_sticker_file_ids ⇒ Array<Integer>
File identifiers of the stickers added to the video, if applicable.
14 15 16 |
# File 'lib/tdlib/types/input_message_content/video.rb', line 14 def added_sticker_file_ids @added_sticker_file_ids end |
#caption ⇒ TD::Types::FormattedText
Video caption; 0-GetOption(“message_caption_length_max”) characters.
14 15 16 |
# File 'lib/tdlib/types/input_message_content/video.rb', line 14 def @caption end |
#duration ⇒ Integer
Duration of the video, in seconds.
14 15 16 |
# File 'lib/tdlib/types/input_message_content/video.rb', line 14 def duration @duration end |
#height ⇒ Integer
Video height.
14 15 16 |
# File 'lib/tdlib/types/input_message_content/video.rb', line 14 def height @height end |
#supports_streaming ⇒ Boolean
True, if the video should be tried to be streamed.
14 15 16 |
# File 'lib/tdlib/types/input_message_content/video.rb', line 14 def supports_streaming @supports_streaming end |
#thumbnail ⇒ TD::Types::InputThumbnail?
Video thumbnail, if available.
14 15 16 |
# File 'lib/tdlib/types/input_message_content/video.rb', line 14 def thumbnail @thumbnail end |
#ttl ⇒ Integer
Video TTL (Time To Live), in seconds (0-60). A non-zero TTL can be specified only in private chats.
14 15 16 |
# File 'lib/tdlib/types/input_message_content/video.rb', line 14 def ttl @ttl end |
#video ⇒ TD::Types::InputFile
Video to be sent.
14 15 16 |
# File 'lib/tdlib/types/input_message_content/video.rb', line 14 def video @video end |
#width ⇒ Integer
Video width.
14 15 16 |
# File 'lib/tdlib/types/input_message_content/video.rb', line 14 def width @width end |