class
TelegramBot::InputVenueMessageContent
Included Modules
- JSON::Serializable
Defined in:
telegram_bot/types/input_venue_message_content.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)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
- #address : String
- #address=(address : String)
- #foursquare_id : String | Nil
- #foursquare_id=(foursquare_id : String | Nil)
- #foursquare_type : String | Nil
- #foursquare_type=(foursquare_type : String | Nil)
- #google_place_id : String | Nil
- #google_place_id=(google_place_id : String | Nil)
- #google_place_type : String | Nil
- #google_place_type=(google_place_type : String | Nil)
- #latitude : Float64
- #latitude=(latitude : Float64)
- #longitude : Float64
- #longitude=(longitude : Float64)
- #title : String
- #title=(title : String)
Instance methods inherited from class TelegramBot::InputMessageContent
to_json(json : JSON::Builder)
to_json
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)
#