diff --git a/doc/api.md b/doc/api.md
index 52cb1a2..6a32818 100644
--- a/doc/api.md
+++ b/doc/api.md
@@ -55,6 +55,8 @@ TelegramBot
* [.editMessageReplyMarkup(replyMarkup, [options])](#TelegramBot+editMessageReplyMarkup) ⇒ Promise
* [.getUserProfilePhotos(userId, [options])](#TelegramBot+getUserProfilePhotos) ⇒ Promise
* [.sendLocation(chatId, latitude, longitude, [options])](#TelegramBot+sendLocation) ⇒ Promise
+ * [.editMessageLiveLocation(latitude, longitude, [options])](#TelegramBot+editMessageLiveLocation) ⇒ Promise
+ * [.stopMessageLiveLocation([options])](#TelegramBot+stopMessageLiveLocation) ⇒ Promise
* [.sendVenue(chatId, latitude, longitude, title, address, [options])](#TelegramBot+sendVenue) ⇒ Promise
* [.sendContact(chatId, phoneNumber, firstName, [options])](#TelegramBot+sendContact) ⇒ Promise
* [.getFile(fileId)](#TelegramBot+getFile) ⇒ Promise
@@ -702,6 +704,36 @@ Use this method to send point on the map.
| longitude | Float
| Longitude of location |
| [options] | Object
| Additional Telegram query options |
+
+
+### telegramBot.editMessageLiveLocation(latitude, longitude, [options]) ⇒ Promise
+Edit live location.
+Use this method to edit live location messages.
+
+**Kind**: instance method of [TelegramBot](#TelegramBot)
+**Info**: You must pass in either a chat_id, message_id or an inline_message_id in your addidtional options.
+**See**: https://core.telegram.org/bots/api#editmessagelivelocation
+
+| Param | Type | Description |
+| --- | --- | --- |
+| latitude | Float
| Latitude of location |
+| longitude | Float
| Longitude of location |
+| [options] | Object
| Additional Telegram query options |
+
+
+
+### telegramBot.stopMessageLiveLocation([options]) ⇒ Promise
+Stop live location.
+Use this method to stop updating live location messages.
+
+**Kind**: instance method of [TelegramBot](#TelegramBot)
+**Info**: You must pass in either a chat_id, message_id or an inline_message_id in your addidtional options.
+**See**: https://core.telegram.org/bots/api#stopmessagelivelocation
+
+| Param | Type | Description |
+| --- | --- | --- |
+| [options] | Object
| Additional Telegram query options |
+
### telegramBot.sendVenue(chatId, latitude, longitude, title, address, [options]) ⇒ Promise
diff --git a/src/telegram.js b/src/telegram.js
index 98c3323..798048d 100644
--- a/src/telegram.js
+++ b/src/telegram.js
@@ -1185,6 +1185,36 @@ class TelegramBot extends EventEmitter {
return this._request('sendLocation', { form });
}
+ /**
+ * Edit live location.
+ * Use this method to edit live location messages.
+ *
+ * @param {Float} latitude Latitude of location
+ * @param {Float} longitude Longitude of location
+ * @param {Object} [options] Additional Telegram query options
+ * @return {Promise}
+ * @info You must pass in either a chat_id, message_id or an inline_message_id in your addidtional options.
+ * @see https://core.telegram.org/bots/api#editmessagelivelocation
+ */
+ editMessageLiveLocation(latitude, longitude, form = {}) {
+ form.latitude = latitude;
+ form.longitude = longitude;
+ return this._request('editMessageLiveLocation', { form });
+ }
+
+ /**
+ * Stop live location.
+ * Use this method to stop updating live location messages.
+ *
+ * @param {Object} [options] Additional Telegram query options
+ * @return {Promise}
+ * @info You must pass in either a chat_id, message_id or an inline_message_id in your addidtional options.
+ * @see https://core.telegram.org/bots/api#stopmessagelivelocation
+ */
+ stopMessageLiveLocation(form = {}) {
+ return this._request('stopMessageLiveLocation', { form });
+ }
+
/**
* Send venue.
* Use this method to send information about a venue.