InputMessageLocation class
A message with a location.
- Inheritance
-
- Object
- TlObject
- InputMessageContent
- InputMessageLocation
- Available Extensions
Constructors
Properties
- clientId ↔ int?
-
TDLib client instance identifier, for which the response was received.
read / writeoverride
- extra ↔ int?
-
Request identifier. Must be non-zero.
read / writeoverride
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- heading ↔ int
-
For live locations, a direction in which the location moves, in degrees; 1-360. Pass 0 if unknown.
read / write
- live_period ↔ int
-
Period for which the location can be updated, in seconds; must be between 60 and 86400 for a live location and 0 otherwise.
read / write
- location ↔ Location
-
Location to be sent.
read / write
- proximity_alert_radius ↔ int
-
For live locations, a maximum distance to another chat member for proximity alerts, in meters (0-100000). Pass 0 if the notification is disabled. Can't be enabled in channels and Saved Messages.
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Object to Map serializer
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromMap(
Map< String, dynamic> ? _map) → InputMessageLocation? -
Construct from Map.
override
Constants
- CONSTRUCTOR → const String
-
@type
"inputMessageLocation"