EditMessageLiveLocation class

Edits the message content of a live location. Messages can be edited for a limited period of time specified in the live location. Returns the edited message after the edit is completed on the server side.

Returns Message.

Inheritance
Available Extensions

Constructors

EditMessageLiveLocation({required int chat_id, required int message_id, ReplyMarkup? reply_markup, Location? location, required int heading, required int proximity_alert_radius, int? extra, int? clientId})
Edits the message content of a live location. Messages can be edited for a limited period of time specified in the live location. Returns the edited message after the edit is completed on the server side

Properties

chat_id int
The chat the message belongs to.
read / write
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
The new direction in which the location moves, in degrees; 1-360. Pass 0 if unknown.
read / write
location Location?
New location content of the message; pass null to stop sharing the live location.
read / write
message_id int
Identifier of the message.
read / write
proximity_alert_radius int
The new maximum distance for proximity alerts, in meters (0-100000). Pass 0 if the notification is disabled.
read / write
reply_markup ReplyMarkup?
The new message reply markup; pass null if none; for bots only.
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) EditMessageLiveLocation?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"editMessageLiveLocation"