Class: TD::Types::InlineQueryResult::Location
- Inherits:
-
TD::Types::InlineQueryResult
- Object
- Dry::Struct
- Base
- TD::Types::InlineQueryResult
- TD::Types::InlineQueryResult::Location
- Defined in:
- lib/tdlib/types/inline_query_result/location.rb
Overview
Represents a point on the map.
Instance Attribute Summary collapse
-
#id ⇒ TD::Types::String
Unique identifier of the query result.
-
#location ⇒ TD::Types::Location
Location result.
-
#thumbnail ⇒ TD::Types::Thumbnail?
Result thumbnail in JPEG format; may be null.
-
#title ⇒ TD::Types::String
Title of the result.
Method Summary
Methods inherited from Base
Instance Attribute Details
#id ⇒ TD::Types::String
Unique identifier of the query result.
8 9 10 |
# File 'lib/tdlib/types/inline_query_result/location.rb', line 8 def id @id end |
#location ⇒ TD::Types::Location
Location result.
8 9 10 |
# File 'lib/tdlib/types/inline_query_result/location.rb', line 8 def location @location end |
#thumbnail ⇒ TD::Types::Thumbnail?
Result thumbnail in JPEG format; may be null.
8 9 10 |
# File 'lib/tdlib/types/inline_query_result/location.rb', line 8 def thumbnail @thumbnail end |
#title ⇒ TD::Types::String
Title of the result.
8 9 10 |
# File 'lib/tdlib/types/inline_query_result/location.rb', line 8 def title @title end |