class Tourmaline::InputVenueMessageContent

Overview

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

Included Modules

Defined in:

tourmaline/types/api.cr

Constructors

Instance Method Summary

Constructor Detail

def self.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) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def address : String #

Address of the venue


[View source]
def address=(address : String) #

Address of the venue


[View source]
def foursquare_id : String | Nil #

Optional. Foursquare identifier of the venue, if known


[View source]
def foursquare_id=(foursquare_id : String | Nil) #

Optional. Foursquare identifier of the venue, if known


[View source]
def foursquare_type : String | Nil #

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


[View source]
def foursquare_type=(foursquare_type : String | Nil) #

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


[View source]
def google_place_id : String | Nil #

Optional. Google Places identifier of the venue


[View source]
def google_place_id=(google_place_id : String | Nil) #

Optional. Google Places identifier of the venue


[View source]
def google_place_type : String | Nil #

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


[View source]
def google_place_type=(google_place_type : String | Nil) #

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


[View source]
def latitude : Float64 #

Latitude of the venue in degrees


[View source]
def latitude=(latitude : Float64) #

Latitude of the venue in degrees


[View source]
def longitude : Float64 #

Longitude of the venue in degrees


[View source]
def longitude=(longitude : Float64) #

Longitude of the venue in degrees


[View source]
def title : String #

Name of the venue


[View source]
def title=(title : String) #

Name of the venue


[View source]