Class: TD::Types::InputInlineQueryResult::Video
- Inherits:
-
TD::Types::InputInlineQueryResult
- Object
- Dry::Struct
- Base
- TD::Types::InputInlineQueryResult
- TD::Types::InputInlineQueryResult::Video
- Defined in:
- lib/tdlib/types/input_inline_query_result/video.rb
Overview
Represents a link to a page containing an embedded video player or a video file.
Instance Attribute Summary collapse
-
#description ⇒ TD::Types::String
A short description of the result, if known.
-
#id ⇒ TD::Types::String
Unique identifier of the query result.
-
#input_message_content ⇒ TD::Types::InputMessageContent
The content of the message to be sent.
-
#mime_type ⇒ TD::Types::String
MIME type of the content of the video URL, only “text/html” or “video/mp4” are currently supported.
-
#reply_markup ⇒ TD::Types::ReplyMarkup
The message reply markup.
-
#thumbnail_url ⇒ TD::Types::String
The URL of the video thumbnail (JPEG), if it exists.
-
#title ⇒ TD::Types::String
Title of the result.
-
#video_duration ⇒ Integer
Video duration, in seconds.
-
#video_height ⇒ Integer
Height of the video.
-
#video_url ⇒ TD::Types::String
URL of the embedded video player or video file.
-
#video_width ⇒ Integer
Width of the video.
Method Summary
Methods inherited from Base
Instance Attribute Details
#description ⇒ TD::Types::String
A short description of the result, if known.
19 20 21 |
# File 'lib/tdlib/types/input_inline_query_result/video.rb', line 19 def description @description end |
#id ⇒ TD::Types::String
Unique identifier of the query result.
19 20 21 |
# File 'lib/tdlib/types/input_inline_query_result/video.rb', line 19 def id @id end |
#input_message_content ⇒ TD::Types::InputMessageContent
The content of the message to be sent. Must be one of the following types: inputMessageText, inputMessageVideo, inputMessageInvoice, inputMessageLocation, TD::Types::InputMessageContent::Venue or inputMessageContact.
19 20 21 |
# File 'lib/tdlib/types/input_inline_query_result/video.rb', line 19 def @input_message_content end |
#mime_type ⇒ TD::Types::String
MIME type of the content of the video URL, only “text/html” or “video/mp4” are currently supported.
19 20 21 |
# File 'lib/tdlib/types/input_inline_query_result/video.rb', line 19 def mime_type @mime_type end |
#reply_markup ⇒ TD::Types::ReplyMarkup
The message reply markup. Must be of type ReplyMarkup::InlineKeyboard or null.
19 20 21 |
# File 'lib/tdlib/types/input_inline_query_result/video.rb', line 19 def reply_markup @reply_markup end |
#thumbnail_url ⇒ TD::Types::String
The URL of the video thumbnail (JPEG), if it exists.
19 20 21 |
# File 'lib/tdlib/types/input_inline_query_result/video.rb', line 19 def thumbnail_url @thumbnail_url end |
#title ⇒ TD::Types::String
Title of the result.
19 20 21 |
# File 'lib/tdlib/types/input_inline_query_result/video.rb', line 19 def title @title end |
#video_duration ⇒ Integer
Video duration, in seconds.
19 20 21 |
# File 'lib/tdlib/types/input_inline_query_result/video.rb', line 19 def video_duration @video_duration end |
#video_height ⇒ Integer
Height of the video.
19 20 21 |
# File 'lib/tdlib/types/input_inline_query_result/video.rb', line 19 def video_height @video_height end |
#video_url ⇒ TD::Types::String
URL of the embedded video player or video file.
19 20 21 |
# File 'lib/tdlib/types/input_inline_query_result/video.rb', line 19 def video_url @video_url end |
#video_width ⇒ Integer
Width of the video.
19 20 21 |
# File 'lib/tdlib/types/input_inline_query_result/video.rb', line 19 def video_width @video_width end |