class
Hamilton::Types::InlineQueryResultVenue
- Hamilton::Types::InlineQueryResultVenue
- Reference
- Object
Overview
Represents a venue. By default, the venue will be sent by the user. Alternatively, you can use #input_message_content to send a message with the specified content instead of the venue.
Included Modules
- Hamilton::Types::Common
- JSON::Serializable
Defined in:
types/inline_query_result.crConstructors
- .new(pull : JSON::PullParser)
- .new(params)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
- .new(**params)
Instance Method Summary
-
#address : String
Address of the venue.
-
#address=(address : String)
Address of the venue.
-
#foursquare_id : String | Nil
Foursquare identifier of the venue if known.
-
#foursquare_id=(foursquare_id : String | Nil)
Foursquare identifier of the venue if known.
-
#foursquare_type : String | Nil
Foursquare type of the venue, if known.
-
#foursquare_type=(foursquare_type : String | Nil)
Foursquare type of the venue, if known.
-
#google_place_id : String | Nil
Google Places identifier of the venue.
-
#google_place_id=(google_place_id : String | Nil)
Google Places identifier of the venue.
-
#google_place_type : String | Nil
Google Places type of the venue.
-
#google_place_type=(google_place_type : String | Nil)
Google Places type of the venue.
-
#id : String
Unique identifier for this result, 1-64 Bytes.
-
#id=(id : String)
Unique identifier for this result, 1-64 Bytes.
-
#input_message_content : Hamilton::Types::InputMessageContent | Nil
Content of the message to be sent instead of the venue.
-
#input_message_content=(input_message_content : Hamilton::Types::InputMessageContent | Nil)
Content of the message to be sent instead of the venue.
-
#latitude : Float32
Latitude of the venue location in degrees.
-
#latitude=(latitude : Float32)
Latitude of the venue location in degrees.
-
#longitude : Float32
Longitude of the venue location in degrees.
-
#longitude=(longitude : Float32)
Longitude of the venue location in degrees.
-
#non_nil_fields : Array(String)
List of available non-nil fields.
-
#non_nil_fields=(non_nil_fields : Array(String))
List of available non-nil fields.
-
#reply_markup : Hamilton::Types::InlineKeyboardMarkup | Nil
Inline keyboard attached to the message.
-
#reply_markup=(reply_markup : Hamilton::Types::InlineKeyboardMarkup | Nil)
Inline keyboard attached to the message.
-
#thumbnail_height : Int32 | Nil
Thumbnail height.
-
#thumbnail_height=(thumbnail_height : Int32 | Nil)
Thumbnail height.
-
#thumbnail_url : String | Nil
Url of the thumbnail for the result.
-
#thumbnail_url=(thumbnail_url : String | Nil)
Url of the thumbnail for the result.
-
#thumbnail_width : Int32 | Nil
Thumbnail width.
-
#thumbnail_width=(thumbnail_width : Int32 | Nil)
Thumbnail width.
-
#title : String
Title of the venue.
-
#title=(title : String)
Title of the venue.
-
#type : String
Type of the result, must be "venue".
-
#type=(type : String)
Type of the result, must be "venue".
Instance methods inherited from class Reference
==(other : Hamilton::Any)
==
Instance methods inherited from class Object
===(other : Hamilton::Any)
===
Constructor Detail
Instance Method Detail
Foursquare type of the venue, if known. (For example, “arts_entertainment/default”, “arts_entertainment/aquarium” or “food/icecream”.)
Foursquare type of the venue, if known. (For example, “arts_entertainment/default”, “arts_entertainment/aquarium” or “food/icecream”.)
Content of the message to be sent instead of the venue.
Content of the message to be sent instead of the venue.
Inline keyboard attached to the message.
Inline keyboard attached to the message.