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