mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-16 12:51:18 +00:00
Clean Location type
This commit is contained in:
parent
d10326605f
commit
ba254e6643
@ -31,10 +31,9 @@ class Location(Object):
|
||||
|
||||
latitude (``float`` ``64-bit``):
|
||||
Latitude as defined by sender.
|
||||
|
||||
"""
|
||||
ID = 0xb0700012
|
||||
|
||||
def __init__(self, longitude, latitude):
|
||||
def __init__(self, longitude: float, latitude: float):
|
||||
self.longitude = longitude # double
|
||||
self.latitude = latitude # double
|
||||
|
Loading…
Reference in New Issue
Block a user