From fbaf88c237e7322b4cdd6a21db91a137749f2e3b Mon Sep 17 00:00:00 2001 From: eternnoir Date: Fri, 20 May 2016 14:41:00 +0800 Subject: [PATCH] Update version. --- setup.py | 2 +- telebot/types.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index ffaf4c9..628ff10 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ def readme(): return f.read() setup(name='pyTelegramBotAPI', - version='2.1.1', + version='2.1.2', description='Python Telegram bot api. ', long_description=readme(), author='eternnoir', diff --git a/telebot/types.py b/telebot/types.py index baa60ea..adf37e1 100644 --- a/telebot/types.py +++ b/telebot/types.py @@ -1196,7 +1196,7 @@ class InlineQueryResultVenue(JsonSerializable): self.thumb_height = thumb_height def to_json(self): - json_dict = {'type': self.type, 'title': self.title, 'id': self.id, 'latitude': self.latitude, + json_dict = {'type': self.type, 'id': self.id, 'title': self.title, 'latitude': self.latitude, 'longitude': self.longitude, 'address': self.address} if self.foursquare_id: json_dict['foursquare_id'] = self.foursquare_id