Class: Telegram::Bot::Types::InlineQueryResultVideo
- Defined in:
- sig/telegram/bot/types/inline_query_result_video.rbs
Instance Attribute Summary collapse
-
#caption ⇒ String?
readonly
Returns the value of attribute caption.
-
#caption_entities ⇒ Array[MessageEntity]?
readonly
Returns the value of attribute caption_entities.
-
#description ⇒ String?
readonly
Returns the value of attribute description.
-
#id ⇒ String
readonly
Returns the value of attribute id.
-
#input_message_content ⇒ input_message_content?
readonly
Returns the value of attribute input_message_content.
-
#mime_type ⇒ String
readonly
Returns the value of attribute mime_type.
-
#parse_mode ⇒ String?
readonly
Returns the value of attribute parse_mode.
-
#reply_markup ⇒ InlineKeyboardMarkup?
readonly
Returns the value of attribute reply_markup.
-
#show_caption_above_media ⇒ Boolean?
readonly
Returns the value of attribute show_caption_above_media.
-
#thumbnail_url ⇒ String
readonly
Returns the value of attribute thumbnail_url.
-
#title ⇒ String
readonly
Returns the value of attribute title.
-
#type ⇒ String
readonly
Returns the value of attribute type.
-
#video_duration ⇒ Integer?
readonly
Returns the value of attribute video_duration.
-
#video_height ⇒ Integer?
readonly
Returns the value of attribute video_height.
-
#video_url ⇒ String
readonly
Returns the value of attribute video_url.
-
#video_width ⇒ Integer?
readonly
Returns the value of attribute video_width.
Attributes inherited from Base
Class Method Summary collapse
Methods included from Compactable
Methods included from PatternMatching
Instance Attribute Details
#caption ⇒ String? (readonly)
Returns the value of attribute caption.
14 15 16 |
# File 'sig/telegram/bot/types/inline_query_result_video.rbs', line 14 def caption @caption end |
#caption_entities ⇒ Array[MessageEntity]? (readonly)
Returns the value of attribute caption_entities.
16 17 18 |
# File 'sig/telegram/bot/types/inline_query_result_video.rbs', line 16 def caption_entities @caption_entities end |
#description ⇒ String? (readonly)
Returns the value of attribute description.
21 22 23 |
# File 'sig/telegram/bot/types/inline_query_result_video.rbs', line 21 def description @description end |
#id ⇒ String (readonly)
Returns the value of attribute id.
9 10 11 |
# File 'sig/telegram/bot/types/inline_query_result_video.rbs', line 9 def id @id end |
#input_message_content ⇒ input_message_content? (readonly)
Returns the value of attribute input_message_content.
23 24 25 |
# File 'sig/telegram/bot/types/inline_query_result_video.rbs', line 23 def @input_message_content end |
#mime_type ⇒ String (readonly)
Returns the value of attribute mime_type.
11 12 13 |
# File 'sig/telegram/bot/types/inline_query_result_video.rbs', line 11 def mime_type @mime_type end |
#parse_mode ⇒ String? (readonly)
Returns the value of attribute parse_mode.
15 16 17 |
# File 'sig/telegram/bot/types/inline_query_result_video.rbs', line 15 def parse_mode @parse_mode end |
#reply_markup ⇒ InlineKeyboardMarkup? (readonly)
Returns the value of attribute reply_markup.
22 23 24 |
# File 'sig/telegram/bot/types/inline_query_result_video.rbs', line 22 def reply_markup @reply_markup end |
#show_caption_above_media ⇒ Boolean? (readonly)
Returns the value of attribute show_caption_above_media.
17 18 19 |
# File 'sig/telegram/bot/types/inline_query_result_video.rbs', line 17 def show_caption_above_media @show_caption_above_media end |
#thumbnail_url ⇒ String (readonly)
Returns the value of attribute thumbnail_url.
12 13 14 |
# File 'sig/telegram/bot/types/inline_query_result_video.rbs', line 12 def thumbnail_url @thumbnail_url end |
#title ⇒ String (readonly)
Returns the value of attribute title.
13 14 15 |
# File 'sig/telegram/bot/types/inline_query_result_video.rbs', line 13 def title @title end |
#type ⇒ String (readonly)
Returns the value of attribute type.
8 9 10 |
# File 'sig/telegram/bot/types/inline_query_result_video.rbs', line 8 def type @type end |
#video_duration ⇒ Integer? (readonly)
Returns the value of attribute video_duration.
20 21 22 |
# File 'sig/telegram/bot/types/inline_query_result_video.rbs', line 20 def video_duration @video_duration end |
#video_height ⇒ Integer? (readonly)
Returns the value of attribute video_height.
19 20 21 |
# File 'sig/telegram/bot/types/inline_query_result_video.rbs', line 19 def video_height @video_height end |
#video_url ⇒ String (readonly)
Returns the value of attribute video_url.
10 11 12 |
# File 'sig/telegram/bot/types/inline_query_result_video.rbs', line 10 def video_url @video_url end |
#video_width ⇒ Integer? (readonly)
Returns the value of attribute video_width.
18 19 20 |
# File 'sig/telegram/bot/types/inline_query_result_video.rbs', line 18 def video_width @video_width end |
Class Method Details
.new(type:, id:, video_url:, mime_type:, thumbnail_url:, title:, caption:, parse_mode:, caption_entities:, show_caption_above_media:, video_width:, video_height:, video_duration:, description:, reply_markup:, input_message_content:) ⇒ instance .new(attributes) ⇒ instance
6 7 |
# File 'sig/telegram/bot/types/inline_query_result_video.rbs', line 6
def self.new: (?type: String, id: String, video_url: String, mime_type: String, thumbnail_url: String, title: String, ?caption: String, ?parse_mode: String, ?caption_entities: Array[MessageEntity], ?show_caption_above_media: bool, ?video_width: Integer, ?video_height: Integer, ?video_duration: Integer, ?description: String, ?reply_markup: InlineKeyboardMarkup, ?input_message_content: input_message_content) -> instance
| (?Hash[Symbol | String, untyped] attributes) -> instance
|