sendLocation method supported.

This commit is contained in:
eternnoir
2015-06-27 22:11:18 +08:00
parent 343b8ebc85
commit cd0b85c03c
3 changed files with 19 additions and 3 deletions

View File

@@ -179,5 +179,5 @@ class TeleBot:
"""
return apihelper.send_data(self.token, chat_id, data, 'video', reply_to_message_id, reply_markup)
def send_location(self, chat_id, latitude, longitude, reply_to_message_id=None, reply_markup=None):
return apihelper.send_location(self.token, chat_id, latitude, longitude, reply_to_message_id, reply_markup)