MessageLocation class

A message with a location.

Inheritance
Available Extensions

Constructors

MessageLocation({required Location location, required int live_period, required int expires_in, required int heading, required int proximity_alert_radius, int? extra, int? clientId})
A message with a location

Properties

clientId int?
TDLib client instance identifier, for which the response was received.
read / writeoverride
expires_in int
Left time for which the location can be updated, in seconds. updateMessageContent is not sent when this field changes.
read / write
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. If 0 the direction is unknown.
read / write
live_period int
Time relative to the message send date, for which the location can be updated, in seconds.
read / write
location Location
The location description.
read / write
proximity_alert_radius int
For live locations, a maximum distance to another chat member for proximity alerts, in meters (0-100000). 0 if the notification is disabled. Available only to the message sender.
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) MessageLocation?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"messageLocation"