telegram.Location¶
-
class
telegram.Location(longitude: float, latitude: float, **kwargs)¶ Bases:
telegram.base.TelegramObjectThis object represents a point on the map.
Objects of this class are comparable in terms of equality. Two objects of this class are considered equal, if their
longituteandlatitudeare equal.-
longitude¶ Longitude as defined by sender.
Type: float
-
latitude¶ Latitude as defined by sender.
Type: float
Parameters: - longitude (
float) – Longitude as defined by sender. - latitude (
float) – Latitude as defined by sender. - **kwargs (
dict) – Arbitrary keyword arguments.
-