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; pass null to use an empty caption; 0-getOption(“message_caption_length_max”) characters.
-
#duration ⇒ Integer
Duration of the video, in seconds.
-
#has_spoiler ⇒ Boolean
True, if the video preview must be covered by a spoiler animation; not supported in secret chats.
-
#height ⇒ Integer
Video height.
-
#self_destruct_type ⇒ TD::Types::MessageSelfDestructType
Video self-destruct type; pass null if none; private chats only.
-
#show_caption_above_media ⇒ Boolean
True, if the caption must be shown above the video; otherwise, the caption must be shown below the video; not supported in secret chats.
-
#supports_streaming ⇒ Boolean
True, if the video is supposed to be streamed.
-
#thumbnail ⇒ TD::Types::InputThumbnail
Video thumbnail; pass null to skip thumbnail uploading.
-
#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.
19 20 21 |
# File 'lib/tdlib/types/input_message_content/video.rb', line 19 def added_sticker_file_ids @added_sticker_file_ids end |
#caption ⇒ TD::Types::FormattedText
Video caption; pass null to use an empty caption; 0-getOption(“message_caption_length_max”) characters.
19 20 21 |
# File 'lib/tdlib/types/input_message_content/video.rb', line 19 def @caption end |
#duration ⇒ Integer
Duration of the video, in seconds.
19 20 21 |
# File 'lib/tdlib/types/input_message_content/video.rb', line 19 def duration @duration end |
#has_spoiler ⇒ Boolean
True, if the video preview must be covered by a spoiler animation; not supported in secret chats.
19 20 21 |
# File 'lib/tdlib/types/input_message_content/video.rb', line 19 def has_spoiler @has_spoiler end |
#height ⇒ Integer
Video height.
19 20 21 |
# File 'lib/tdlib/types/input_message_content/video.rb', line 19 def height @height end |
#self_destruct_type ⇒ TD::Types::MessageSelfDestructType
Video self-destruct type; pass null if none; private chats only.
19 20 21 |
# File 'lib/tdlib/types/input_message_content/video.rb', line 19 def self_destruct_type @self_destruct_type end |
#show_caption_above_media ⇒ Boolean
True, if the caption must be shown above the video; otherwise, the caption must be shown below the video; not supported in secret chats.
19 20 21 |
# File 'lib/tdlib/types/input_message_content/video.rb', line 19 def @show_caption_above_media end |
#supports_streaming ⇒ Boolean
True, if the video is supposed to be streamed.
19 20 21 |
# File 'lib/tdlib/types/input_message_content/video.rb', line 19 def supports_streaming @supports_streaming end |
#thumbnail ⇒ TD::Types::InputThumbnail
Video thumbnail; pass null to skip thumbnail uploading.
19 20 21 |
# File 'lib/tdlib/types/input_message_content/video.rb', line 19 def thumbnail @thumbnail end |
#video ⇒ TD::Types::InputFile
Video to be sent.
19 20 21 |
# File 'lib/tdlib/types/input_message_content/video.rb', line 19 def video @video end |
#width ⇒ Integer
Video width.
19 20 21 |
# File 'lib/tdlib/types/input_message_content/video.rb', line 19 def width @width end |