Class: TD::Types::InlineQueryResult::Venue

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

Overview

Represents information about a venue.

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



7
8
9
# File 'lib/tdlib/types/inline_query_result/venue.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/venue.rb', line 7

def thumbnail
  @thumbnail
end

#venueTD::Types::Venue

Venue result.

Returns:



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

def venue
  @venue
end