Class: TD::Types::InlineQueryResult::Location

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

Overview

Represents a point on the map.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#idTD::Types::String

Unique identifier of the query result.

Returns:

  • (TD::Types::String)

    the current value of id



8
9
10
# File 'lib/tdlib/types/inline_query_result/location.rb', line 8

def id
  @id
end

#locationTD::Types::Location

Location result.

Returns:



8
9
10
# File 'lib/tdlib/types/inline_query_result/location.rb', line 8

def location
  @location
end

#thumbnailTD::Types::Thumbnail?

Result thumbnail in JPEG format; may be null.

Returns:



8
9
10
# File 'lib/tdlib/types/inline_query_result/location.rb', line 8

def thumbnail
  @thumbnail
end

#titleTD::Types::String

Title of the result.

Returns:

  • (TD::Types::String)

    the current value of title



8
9
10
# File 'lib/tdlib/types/inline_query_result/location.rb', line 8

def title
  @title
end