Skip to content

Commit 44531bc

Browse files
authored
Merge pull request eternnoir#1 from JekaFST/JekaFST-FixLiveLocation
Fix for SendLocation with live period
2 parents f0e64b3 + 8aa8fa5 commit 44531bc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎telebot/apihelper.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ def send_location(token, chat_id, latitude, longitude, live_period=None, reply_t
271271
method_url = r'sendLocation'
272272
payload = {'chat_id': chat_id, 'latitude': latitude, 'longitude': longitude}
273273
if live_period:
274-
payload['live_perion'] = live_period
274+
payload['live_period'] = live_period
275275
if reply_to_message_id:
276276
payload['reply_to_message_id'] = reply_to_message_id
277277
if reply_markup:

0 commit comments

Comments
 (0)