mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2025-02-16 18:31:45 +01:00
Adding required comments
This commit is contained in:
parent
fdb5f2339c
commit
d43e292499
1 changed files with 2 additions and 0 deletions
|
@ -54,6 +54,7 @@ class Location(TelegramObject):
|
|||
|
||||
location = dict()
|
||||
|
||||
# Required
|
||||
location['longitude'] = data['longitude']
|
||||
location['latitude'] = data['latitude']
|
||||
|
||||
|
@ -66,6 +67,7 @@ class Location(TelegramObject):
|
|||
"""
|
||||
data = dict()
|
||||
|
||||
# Required
|
||||
data['longitude'] = self.longitude
|
||||
data['latitude'] = self.latitude
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue