Data about the represents a point on the map
OptionalheadingThe direction in which user is moving, in degrees; 1-360. For active live locations only
OptionalhorizontalThe radius of uncertainty for the location, measured in meters; 0-1500
Latitude as defined by sender
OptionalliveTime relative to the message sending date, during which the location can be updated; in seconds. For active live locations only
Longitude as defined by sender
OptionalproximityThe maximum distance for proximity alerts about approaching another chat member, in meters. For sent live locations only
The client that instantiated this
Protected_Protected_ProtectedPatches the current instance with new data
The data to patch the instance with
The patched data
Protected_ProtectedUpdates the current instance with new data and returns a clone of the updated instance
The data to update the instance with
A clone of the updated instance
Flatten an object. Any properties that are collections will get converted to an array of keys.
OptionalpropsRecursive: booleanOptional. If true, calls toJSON method on nested objects.
Optional. Specific properties to include/exclude, or rename.
Flattened object.
Returns the id instance Chat, User, ChatMember and other
The client that instantiated this