Class: TD::Types::InputInlineQueryResult::AnimatedMpeg4
- Inherits:
-
TD::Types::InputInlineQueryResult
- Object
- Dry::Struct
- Base
- TD::Types::InputInlineQueryResult
- TD::Types::InputInlineQueryResult::AnimatedMpeg4
- Defined in:
- lib/tdlib/types/input_inline_query_result/animated_mpeg4.rb
Overview
Represents a link to an animated (i.e. without sound) H.264/MPEG-4 AVC video.
Instance Attribute Summary collapse
-
#id ⇒ String
Unique identifier of the query result.
-
#input_message_content ⇒ TD::Types::InputMessageContent
The content of the message to be sent.
-
#mpeg4_duration ⇒ Integer
Duration of the video, in seconds.
-
#mpeg4_height ⇒ Integer
Height of the video.
-
#mpeg4_url ⇒ String
The URL of the MPEG4-file (file size must not exceed 1MB).
-
#mpeg4_width ⇒ Integer
Width of the video.
-
#reply_markup ⇒ TD::Types::ReplyMarkup
The message reply markup.
-
#thumbnail_url ⇒ String
URL of the static result thumbnail (JPEG or GIF), if it exists.
-
#title ⇒ String
Title of the result.
Method Summary
Methods inherited from Base
Instance Attribute Details
#id ⇒ String
Unique identifier of the query result.
17 18 19 |
# File 'lib/tdlib/types/input_inline_query_result/animated_mpeg4.rb', line 17 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, InputMessageAnimation, InputMessageLocation, InputMessageVenue or InputMessageContact.
17 18 19 |
# File 'lib/tdlib/types/input_inline_query_result/animated_mpeg4.rb', line 17 def @input_message_content end |
#mpeg4_duration ⇒ Integer
Duration of the video, in seconds.
17 18 19 |
# File 'lib/tdlib/types/input_inline_query_result/animated_mpeg4.rb', line 17 def mpeg4_duration @mpeg4_duration end |
#mpeg4_height ⇒ Integer
Height of the video.
17 18 19 |
# File 'lib/tdlib/types/input_inline_query_result/animated_mpeg4.rb', line 17 def mpeg4_height @mpeg4_height end |
#mpeg4_url ⇒ String
The URL of the MPEG4-file (file size must not exceed 1MB).
17 18 19 |
# File 'lib/tdlib/types/input_inline_query_result/animated_mpeg4.rb', line 17 def mpeg4_url @mpeg4_url end |
#mpeg4_width ⇒ Integer
Width of the video.
17 18 19 |
# File 'lib/tdlib/types/input_inline_query_result/animated_mpeg4.rb', line 17 def mpeg4_width @mpeg4_width end |
#reply_markup ⇒ TD::Types::ReplyMarkup
The message reply markup. Must be of type ReplyMarkup::InlineKeyboard or null.
17 18 19 |
# File 'lib/tdlib/types/input_inline_query_result/animated_mpeg4.rb', line 17 def reply_markup @reply_markup end |
#thumbnail_url ⇒ String
URL of the static result thumbnail (JPEG or GIF), if it exists.
17 18 19 |
# File 'lib/tdlib/types/input_inline_query_result/animated_mpeg4.rb', line 17 def thumbnail_url @thumbnail_url end |
#title ⇒ String
Title of the result.
17 18 19 |
# File 'lib/tdlib/types/input_inline_query_result/animated_mpeg4.rb', line 17 def title @title end |