Class: TD::Types::InputInlineQueryResult::Article
- Inherits:
-
TD::Types::InputInlineQueryResult
- Object
- Dry::Struct
- Base
- TD::Types::InputInlineQueryResult
- TD::Types::InputInlineQueryResult::Article
- Defined in:
- lib/tdlib/types/input_inline_query_result/article.rb
Overview
Represents a link to an article or web page.
Instance Attribute Summary collapse
-
#description ⇒ TD::Types::String
A short description of the result.
-
#hide_url ⇒ Boolean
True, if the URL must be not shown.
-
#id ⇒ TD::Types::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_height ⇒ Integer
Thumbnail height, if known.
-
#thumbnail_url ⇒ TD::Types::String
URL of the result thumbnail, if it exists.
-
#thumbnail_width ⇒ Integer
Thumbnail width, if known.
-
#title ⇒ TD::Types::String
Title of the result.
-
#url ⇒ TD::Types::String
URL of the result, if it exists.
Method Summary
Methods inherited from Base
Instance Attribute Details
#description ⇒ TD::Types::String
A short description of the result.
17 18 19 |
# File 'lib/tdlib/types/input_inline_query_result/article.rb', line 17 def description @description end |
#hide_url ⇒ Boolean
True, if the URL must be not shown.
17 18 19 |
# File 'lib/tdlib/types/input_inline_query_result/article.rb', line 17 def hide_url @hide_url end |
#id ⇒ TD::Types::String
Unique identifier of the query result.
17 18 19 |
# File 'lib/tdlib/types/input_inline_query_result/article.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, inputMessageInvoice, inputMessageLocation, TD::Types::InputMessageContent::Venue or inputMessageContact.
17 18 19 |
# File 'lib/tdlib/types/input_inline_query_result/article.rb', line 17 def @input_message_content 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/article.rb', line 17 def reply_markup @reply_markup end |
#thumbnail_height ⇒ Integer
Thumbnail height, if known.
17 18 19 |
# File 'lib/tdlib/types/input_inline_query_result/article.rb', line 17 def thumbnail_height @thumbnail_height end |
#thumbnail_url ⇒ TD::Types::String
URL of the result thumbnail, if it exists.
17 18 19 |
# File 'lib/tdlib/types/input_inline_query_result/article.rb', line 17 def thumbnail_url @thumbnail_url end |
#thumbnail_width ⇒ Integer
Thumbnail width, if known.
17 18 19 |
# File 'lib/tdlib/types/input_inline_query_result/article.rb', line 17 def thumbnail_width @thumbnail_width end |
#title ⇒ TD::Types::String
Title of the result.
17 18 19 |
# File 'lib/tdlib/types/input_inline_query_result/article.rb', line 17 def title @title end |
#url ⇒ TD::Types::String
URL of the result, if it exists.
17 18 19 |
# File 'lib/tdlib/types/input_inline_query_result/article.rb', line 17 def url @url end |