InputLocationMessageContent class
Represents the content of a location message to be sent as the result of an inline query.
https://core.telegram.org/bots/api#inputlocationmessagecontent
- Implemented types
- Annotations
-
- @JsonSerializable(fieldRename: FieldRename.snake)
Constructors
- InputLocationMessageContent({required double latitude, required double longitude, double? horizontalAccuracy, int? livePeriod, int? heading, int? proximityAlertRadius})
-
InputLocationMessageContent.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- heading ↔ int?
-
getter/setter pair
- horizontalAccuracy ↔ double?
-
getter/setter pair
- latitude ↔ double
-
getter/setter pair
- livePeriod ↔ int?
-
getter/setter pair
- livePeriod_ ↔ Duration?
-
getter/setter pair
- longitude ↔ double
-
getter/setter pair
- proximityAlertRadius ↔ int?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited