InputVenueMessageContent class
Represents the content of a venue message to be sent as the result of an inline query.
- Inheritance
-
- Object
- InputMessageContent
- InputVenueMessageContent
Constructors
- InputVenueMessageContent({required double latitude, required double longitude, required String title, required String address, String? foursquareId, String? foursquareType, String? googlePlaceId, String? googlePlaceType})
-
Constructs an InputVenueMessageContent object
const
-
InputVenueMessageContent.fromJson(Map<
String, dynamic> json) -
Converts a JSON map to an InputVenueMessageContent object
factory
Properties
- address → String
-
Address of the venue
final
- foursquareId → String?
-
Optional. Foursquare identifier of the venue, if known
final
- foursquareType → String?
-
Optional. Foursquare type of the venue, if known. (For example, “arts_entertainment/default”, “arts_entertainment/aquarium” or “food/icecream”.)
final
- googlePlaceId → String?
-
Optional. Google Places identifier of the venue
final
- googlePlaceType → String?
-
Optional. Google Places type of the venue. (See supported types)
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- latitude → double
-
Latitude of the venue in degrees
final
- longitude → double
-
Longitude of the venue in degrees
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title → String
-
Name of the venue
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Converts an InputVenueMessageContent object to a JSON map
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited