mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
parent
16838c30b6
commit
0c420ee5e4
@ -1162,7 +1162,8 @@ class InlineQueryResultLocation(JsonSerializable):
|
|||||||
self.thumb_height = thumb_height
|
self.thumb_height = thumb_height
|
||||||
|
|
||||||
def to_json(self):
|
def to_json(self):
|
||||||
json_dict = {'type': self.type, 'id': self.id, 'latitude': self.latitude, 'longitude': self.longitude}
|
json_dict = {'type': self.type, 'id': self.id, 'latitude': self.latitude, 'longitude': self.longitude,
|
||||||
|
'title': self.title}
|
||||||
if self.thumb_url:
|
if self.thumb_url:
|
||||||
json_dict['thumb_url'] = self.thumb_url
|
json_dict['thumb_url'] = self.thumb_url
|
||||||
if self.thumb_width:
|
if self.thumb_width:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user