Class: TD::Types::MessageContent::Video
- Inherits:
-
TD::Types::MessageContent
- Object
- Dry::Struct
- Base
- TD::Types::MessageContent
- TD::Types::MessageContent::Video
- Defined in:
- lib/tdlib/types/message_content/video.rb
Overview
A video message.
Instance Attribute Summary collapse
-
#caption ⇒ TD::Types::FormattedText
Video caption.
-
#has_spoiler ⇒ Boolean
True, if the video preview must be covered by a spoiler animation.
-
#is_secret ⇒ Boolean
True, if the video thumbnail must be blurred and the video must be shown only while tapped.
-
#show_caption_above_media ⇒ Boolean
True, if the caption must be shown above the video; otherwise, the caption must be shown below the video.
-
#video ⇒ TD::Types::Video
The video description.
Method Summary
Methods inherited from Base
Instance Attribute Details
#caption ⇒ TD::Types::FormattedText
Video caption.
11 12 13 |
# File 'lib/tdlib/types/message_content/video.rb', line 11 def @caption end |
#has_spoiler ⇒ Boolean
True, if the video preview must be covered by a spoiler animation.
11 12 13 |
# File 'lib/tdlib/types/message_content/video.rb', line 11 def has_spoiler @has_spoiler end |
#is_secret ⇒ Boolean
True, if the video thumbnail must be blurred and the video must be shown only while tapped.
11 12 13 |
# File 'lib/tdlib/types/message_content/video.rb', line 11 def is_secret @is_secret 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.
11 12 13 |
# File 'lib/tdlib/types/message_content/video.rb', line 11 def @show_caption_above_media end |
#video ⇒ TD::Types::Video
The video description.
11 12 13 |
# File 'lib/tdlib/types/message_content/video.rb', line 11 def video @video end |