Class: TD::Types::Venue
- Defined in:
- lib/tdlib/types/venue.rb
Overview
Describes a venue.
Instance Attribute Summary collapse
-
#address ⇒ TD::Types::String
Venue address; as defined by the sender.
-
#id ⇒ TD::Types::String
Identifier of the venue in the provider database; as defined by the sender.
-
#location ⇒ TD::Types::Location
Venue location; as defined by the sender.
-
#provider ⇒ TD::Types::String
Provider of the venue database; as defined by the sender.
-
#title ⇒ TD::Types::String
Venue name; as defined by the sender.
-
#type ⇒ TD::Types::String
Type of the venue in the provider database; as defined by the sender.
Method Summary
Methods inherited from Base
Instance Attribute Details
#address ⇒ TD::Types::String
Venue address; as defined by the sender.
11 12 13 |
# File 'lib/tdlib/types/venue.rb', line 11 def address @address end |
#id ⇒ TD::Types::String
Identifier of the venue in the provider database; as defined by the sender.
11 12 13 |
# File 'lib/tdlib/types/venue.rb', line 11 def id @id end |
#location ⇒ TD::Types::Location
Venue location; as defined by the sender.
11 12 13 |
# File 'lib/tdlib/types/venue.rb', line 11 def location @location end |
#provider ⇒ TD::Types::String
Provider of the venue database; as defined by the sender. Currently only “foursquare” and “gplaces” (Google Places) need to be supported.
11 12 13 |
# File 'lib/tdlib/types/venue.rb', line 11 def provider @provider end |
#title ⇒ TD::Types::String
Venue name; as defined by the sender.
11 12 13 |
# File 'lib/tdlib/types/venue.rb', line 11 def title @title end |
#type ⇒ TD::Types::String
Type of the venue in the provider database; as defined by the sender.
11 12 13 |
# File 'lib/tdlib/types/venue.rb', line 11 def type @type end |