class Tourmaline::InputVenueMessageContent
- Tourmaline::InputVenueMessageContent
- Reference
- Object
Overview
Represents the content of a venue message to be sent as the result of an inline query.
Included Modules
- JSON::Serializable
Defined in:
tourmaline/types/api.crConstructors
- .new(latitude : Float64, longitude : Float64, title : String, address : String, foursquare_id : String | Nil = nil, foursquare_type : String | Nil = nil, google_place_id : String | Nil = nil, google_place_type : String | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#address : String
Address of the venue
-
#address=(address : String)
Address of the venue
-
#foursquare_id : String | Nil
Optional.
-
#foursquare_id=(foursquare_id : String | Nil)
Optional.
-
#foursquare_type : String | Nil
Optional.
-
#foursquare_type=(foursquare_type : String | Nil)
Optional.
-
#google_place_id : String | Nil
Optional.
-
#google_place_id=(google_place_id : String | Nil)
Optional.
-
#google_place_type : String | Nil
Optional.
-
#google_place_type=(google_place_type : String | Nil)
Optional.
-
#latitude : Float64
Latitude of the venue in degrees
-
#latitude=(latitude : Float64)
Latitude of the venue in degrees
-
#longitude : Float64
Longitude of the venue in degrees
-
#longitude=(longitude : Float64)
Longitude of the venue in degrees
-
#title : String
Name of the venue
-
#title=(title : String)
Name of the venue
Constructor Detail
Instance Method Detail
Optional. Foursquare identifier of the venue, if known
Optional. Foursquare type of the venue, if known. (For example, "arts_entertainment/default", "arts_entertainment/aquarium" or "food/icecream".)
Optional. Foursquare type of the venue, if known. (For example, "arts_entertainment/default", "arts_entertainment/aquarium" or "food/icecream".)
Optional. Google Places identifier of the venue
Optional. Google Places type of the venue. (See supported types.)
Optional. Google Places type of the venue. (See supported types.)