Class: TD::Types::Venue
- Defined in:
- lib/tdlib/types/venue.rb
Overview
Describes a venue.
Instance Attribute Summary collapse
-
#address ⇒ String
Venue address; as defined by the sender.
-
#id ⇒ 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 ⇒ String
Provider of the venue database; as defined by the sender.
-
#title ⇒ String
Venue name; as defined by the sender.
-
#type ⇒ String
Type of the venue in the provider database; as defined by the sender.
Method Summary
Methods inherited from Base
Instance Attribute Details
#address ⇒ String
Venue address; as defined by the sender.
11 12 13 |
# File 'lib/tdlib/types/venue.rb', line 11 def address @address end |
#id ⇒ 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 ⇒ String
Provider of the venue database; as defined by the sender. Currently only "foursquare" needs to be supported.
11 12 13 |
# File 'lib/tdlib/types/venue.rb', line 11 def provider @provider end |
#title ⇒ String
Venue name; as defined by the sender.
11 12 13 |
# File 'lib/tdlib/types/venue.rb', line 11 def title @title end |
#type ⇒ 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 |