Class: TD::Types::InlineQueryResult::Photo
- Inherits:
-
TD::Types::InlineQueryResult
- Object
- Dry::Struct
- Base
- TD::Types::InlineQueryResult
- TD::Types::InlineQueryResult::Photo
- Defined in:
- lib/tdlib/types/inline_query_result/photo.rb
Overview
Represents a photo.
Instance Attribute Summary collapse
-
#description ⇒ String
A short description of the result, if known.
-
#id ⇒ String
Unique identifier of the query result.
-
#photo ⇒ TD::Types::Photo
Photo.
-
#title ⇒ String
Title of the result, if known.
Method Summary
Methods inherited from Base
Instance Attribute Details
#description ⇒ String
A short description of the result, if known.
8 9 10 |
# File 'lib/tdlib/types/inline_query_result/photo.rb', line 8 def description @description end |
#id ⇒ String
Unique identifier of the query result.
8 9 10 |
# File 'lib/tdlib/types/inline_query_result/photo.rb', line 8 def id @id end |
#photo ⇒ TD::Types::Photo
Photo.
8 9 10 |
# File 'lib/tdlib/types/inline_query_result/photo.rb', line 8 def photo @photo end |
#title ⇒ String
Title of the result, if known.
8 9 10 |
# File 'lib/tdlib/types/inline_query_result/photo.rb', line 8 def title @title end |