class Telegram::API::InputVenueMessageContent
- Telegram::API::InputVenueMessageContent
- Telegram::API::Type
- Reference
- Object
Overview
Represents the content of a venue message to be sent as the result of an inline query.
Defined in:
telegram/api/generated/types.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)
Represents the content of a venue message to be sent as the result of an inline query.
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
Instance methods inherited from class Telegram::API::Type
==(other)
==,
client
client
Constructor methods inherited from class Telegram::API::Type
new(pull : JSON::PullParser)
new
Constructor Detail
Represents the content of a venue message to be sent as the result of an inline query.
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.)