Class: TD::Types::InlineQueryResult::Contact

Inherits:
TD::Types::InlineQueryResult show all
Defined in:
lib/tdlib/types/inline_query_result/contact.rb

Overview

Represents a user contact.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#contactTD::Types::Contact

A user contact.

Returns:



7
8
9
# File 'lib/tdlib/types/inline_query_result/contact.rb', line 7

def contact
  @contact
end

#idTD::Types::String

Unique identifier of the query result.

Returns:

  • (TD::Types::String)

    the current value of id



7
8
9
# File 'lib/tdlib/types/inline_query_result/contact.rb', line 7

def id
  @id
end

#thumbnailTD::Types::Thumbnail?

Result thumbnail in JPEG format; may be null.

Returns:



7
8
9
# File 'lib/tdlib/types/inline_query_result/contact.rb', line 7

def thumbnail
  @thumbnail
end