Class: TD::Types::InlineQueryResult::Article
- Inherits:
-
TD::Types::InlineQueryResult
- Object
- Dry::Struct
- Base
- TD::Types::InlineQueryResult
- TD::Types::InlineQueryResult::Article
- Defined in:
- lib/tdlib/types/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.
-
#thumbnail ⇒ TD::Types::Thumbnail?
Result thumbnail in JPEG format; may be null.
-
#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.
10 11 12 |
# File 'lib/tdlib/types/inline_query_result/article.rb', line 10 def description @description end |
#hide_url ⇒ Boolean
True, if the URL must be not shown.
10 11 12 |
# File 'lib/tdlib/types/inline_query_result/article.rb', line 10 def hide_url @hide_url end |
#id ⇒ TD::Types::String
Unique identifier of the query result.
10 11 12 |
# File 'lib/tdlib/types/inline_query_result/article.rb', line 10 def id @id end |
#thumbnail ⇒ TD::Types::Thumbnail?
Result thumbnail in JPEG format; may be null.
10 11 12 |
# File 'lib/tdlib/types/inline_query_result/article.rb', line 10 def thumbnail @thumbnail end |
#title ⇒ TD::Types::String
Title of the result.
10 11 12 |
# File 'lib/tdlib/types/inline_query_result/article.rb', line 10 def title @title end |
#url ⇒ TD::Types::String
URL of the result, if it exists.
10 11 12 |
# File 'lib/tdlib/types/inline_query_result/article.rb', line 10 def url @url end |