InputMessageLocation class

Inheritance

Constructors

InputMessageLocation({Location location, int livePeriod, int heading, int proximityAlertRadius})
A message with a location
InputMessageLocation.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
heading int
heading For live locations, a direction in which the location moves, in degrees; 1-360. Pass 0 if unknown
read / write
livePeriod int
livePeriod Period for which the location can be updated, in seconds; should be between 60 and 86400 for a live location and 0 otherwise
read / write
location Location
location Location to be sent
read / write
proximityAlertRadius int
proximityAlertRadius 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-only, inherited

Methods

getConstructor() String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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

Constants

CONSTRUCTOR → const String
'inputMessageLocation'