Class: TD::Types::InputInlineQueryResult::AnimatedGif
- Inherits:
-
TD::Types::InputInlineQueryResult
- Object
- Dry::Struct
- Base
- TD::Types::InputInlineQueryResult
- TD::Types::InputInlineQueryResult::AnimatedGif
- Defined in:
- lib/tdlib/types/input_inline_query_result/animated_gif.rb
Overview
Represents a link to an animated GIF.
Instance Attribute Summary collapse
-
#gif_duration ⇒ Integer
Duration of the GIF, in seconds.
-
#gif_height ⇒ Integer
Height of the GIF.
-
#gif_url ⇒ String
The URL of the GIF-file (file size must not exceed 1MB).
-
#gif_width ⇒ Integer
Width of the GIF.
-
#id ⇒ String
Unique identifier of the query result.
-
#input_message_content ⇒ TD::Types::InputMessageContent
The content of the message to be sent.
-
#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 query result.
Method Summary
Methods inherited from Base
Instance Attribute Details
#gif_duration ⇒ Integer
Duration of the GIF, in seconds.
16 17 18 |
# File 'lib/tdlib/types/input_inline_query_result/animated_gif.rb', line 16 def gif_duration @gif_duration end |
#gif_height ⇒ Integer
Height of the GIF.
16 17 18 |
# File 'lib/tdlib/types/input_inline_query_result/animated_gif.rb', line 16 def gif_height @gif_height end |
#gif_url ⇒ String
The URL of the GIF-file (file size must not exceed 1MB).
16 17 18 |
# File 'lib/tdlib/types/input_inline_query_result/animated_gif.rb', line 16 def gif_url @gif_url end |
#gif_width ⇒ Integer
Width of the GIF.
16 17 18 |
# File 'lib/tdlib/types/input_inline_query_result/animated_gif.rb', line 16 def gif_width @gif_width end |
#id ⇒ String
Unique identifier of the query result.
16 17 18 |
# File 'lib/tdlib/types/input_inline_query_result/animated_gif.rb', line 16 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.
16 17 18 |
# File 'lib/tdlib/types/input_inline_query_result/animated_gif.rb', line 16 def end |
#reply_markup ⇒ TD::Types::ReplyMarkup
The message reply markup. Must be of type ReplyMarkup::InlineKeyboard or null.
16 17 18 |
# File 'lib/tdlib/types/input_inline_query_result/animated_gif.rb', line 16 def reply_markup @reply_markup end |
#thumbnail_url ⇒ String
URL of the static result thumbnail (JPEG or GIF), if it exists.
16 17 18 |
# File 'lib/tdlib/types/input_inline_query_result/animated_gif.rb', line 16 def thumbnail_url @thumbnail_url end |
#title ⇒ String
Title of the query result.
16 17 18 |
# File 'lib/tdlib/types/input_inline_query_result/animated_gif.rb', line 16 def title @title end |