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.new(includeIfNull: false)
Constructors
- InputLocationMessageContent({double? latitude, double? longitude, Duration? live_period})
-
InputLocationMessageContent.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- latitude ↔ double?
-
Latitude of the location in degrees.
getter/setter pair
- live_period ↔ Duration?
-
Optional. Period in seconds for which the location can be updated,
should be between 60 and 86400.
getter/setter pair
- longitude ↔ double?
-
Longitude of the location in degrees.
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