struct

Telegram::InputVenueMessageContent

Inherits JSON::Serializable < Struct < Value < Object

Telegram API type: InputVenueMessageContent Represents the content of a venue message to be sent as the result of an inline query.

Constructors

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)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

address
clone
Source
copy_with(latitude _latitude = @latitude, longitude _longitude = @longitude, title _title = @title, address _address = @address, foursquare_id _foursquare_id = @foursquare_id, foursquare_type _foursquare_type = @foursquare_type, google_place_id _google_place_id = @google_place_id, google_place_type _google_place_type = @google_place_type)
Source
foursquare_id
foursquare_type
google_place_id
google_place_type
latitude
longitude
title