Skip to content

class Tourmaline::InputVenueMessageContent
inherits Reference #

Represents the content of a venue message to be sent as the result of an inline query.

Included modules

JSON::Serializable

Constructors#

.new(latitude, longitude, title, address, foursquare_id : String? = nil, foursquare_type : String? = nil, google_place_id : String? = nil, google_place_type : String? = nil) #

View source

.new(pull : JSON::PullParser) #

View source

Methods#

#address : String #

Address of the venue

View source

#address=(address : String) #

Address of the venue

View source

#foursquare_id : String? #

Optional. Foursquare identifier of the venue, if known

View source

#foursquare_id=(foursquare_id : String?) #

Optional. Foursquare identifier of the venue, if known

View source

#foursquare_type : String? #

Optional. Foursquare type of the venue, if known. (For example, "arts_entertainment/default", "arts_entertainment/aquarium" or "food/icecream".)

View source

#foursquare_type=(foursquare_type : String?) #

Optional. Foursquare type of the venue, if known. (For example, "arts_entertainment/default", "arts_entertainment/aquarium" or "food/icecream".)

View source

#google_place_id : String? #

Optional. Google Places identifier of the venue

View source

#google_place_id=(google_place_id : String?) #

Optional. Google Places identifier of the venue

View source

#google_place_type : String? #

Optional. Google Places type of the venue. (See supported types.)

View source

#google_place_type=(google_place_type : String?) #

Optional. Google Places type of the venue. (See supported types.)

View source

#latitude : Float64 #

Latitude of the venue in degrees

View source

#latitude=(latitude : Float64) #

Latitude of the venue in degrees

View source

#longitude : Float64 #

Longitude of the venue in degrees

View source

#longitude=(longitude : Float64) #

Longitude of the venue in degrees

View source

#title : String #

Name of the venue

View source

#title=(title : String) #

Name of the venue

View source