InlineQueryResultLocation class

Represents a location on a map. By default, the location will be sent by the user. Alternatively, you can use input_message_content to send a message with the specified content instead of the location.

Inheritance

Constructors

InlineQueryResultLocation({required String id, required double latitude, required double longitude, required String title, double? horizontalAccuracy, int? livePeriod, int? heading, int? proximityAlertRadius, InlineKeyboardMarkup? replyMarkup, InputMessageContent? inputMessageContent, String? thumbUrl, int? thumbWidth, int? thumbHeight})
Basic constructor

Properties

hashCode int
The hash code for this object.
no setterinherited
heading int?
Optional. For live locations, a direction in which the user is moving, in degrees. Must be between 1 and 360 if specified.
getter/setter pair
horizontalAccuracy double?
Optional. The radius of uncertainty for the location, measured in meters; 0-1500
getter/setter pair
id String
Unique identifier for this result, 1-64 Bytes
getter/setter pair
inputMessageContent InputMessageContent?
Optional. Content of the message to be sent instead of the location
getter/setter pair
latitude double
Location latitude in degrees
getter/setter pair
livePeriod int?
Optional. Period in seconds for which the location can be updated, should be between 60 and 86400.
getter/setter pair
longitude double
Location longitude in degrees
getter/setter pair
proximityAlertRadius int?
Optional. For live locations, a maximum distance for proximity alerts about approaching another chat member, in meters. Must be between 1 and 100000 if specified.
getter/setter pair
replyMarkup InlineKeyboardMarkup?
Optional. Inline keyboard attached to the message
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
thumbHeight int?
Optional. Thumbnail height
getter/setter pair
thumbUrl String?
Optional. Url of the thumbnail for the result
getter/setter pair
thumbWidth int?
Optional. Thumbnail width
getter/setter pair
title String
Location title
getter/setter pair
type String
Type of the result, must be location
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map
Creates a json from the object
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited