|
|
|
@ -707,32 +707,36 @@ Use this method to send point on the map. |
|
|
|
<a name="TelegramBot+editMessageLiveLocation"></a> |
|
|
|
<a name="TelegramBot+editMessageLiveLocation"></a> |
|
|
|
|
|
|
|
|
|
|
|
### telegramBot.editMessageLiveLocation(latitude, longitude, [options]) ⇒ <code>Promise</code> |
|
|
|
### telegramBot.editMessageLiveLocation(latitude, longitude, [options]) ⇒ <code>Promise</code> |
|
|
|
Edit live location. |
|
|
|
Use this method to edit live location messages sent by |
|
|
|
Use this method to edit live location messages. |
|
|
|
the bot or via the bot (for inline bots). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Note that you must provide one of chat_id, message_id, or |
|
|
|
|
|
|
|
inline_message_id in your request. |
|
|
|
|
|
|
|
|
|
|
|
**Kind**: instance method of <code>[TelegramBot](#TelegramBot)</code> |
|
|
|
**Kind**: instance method of <code>[TelegramBot](#TelegramBot)</code> |
|
|
|
**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 |
|
|
|
**See**: https://core.telegram.org/bots/api#editmessagelivelocation |
|
|
|
|
|
|
|
|
|
|
|
| Param | Type | Description | |
|
|
|
| Param | Type | Description | |
|
|
|
| --- | --- | --- | |
|
|
|
| --- | --- | --- | |
|
|
|
| latitude | <code>Float</code> | Latitude of location | |
|
|
|
| latitude | <code>Float</code> | Latitude of location | |
|
|
|
| longitude | <code>Float</code> | Longitude of location | |
|
|
|
| longitude | <code>Float</code> | Longitude of location | |
|
|
|
| [options] | <code>Object</code> | Additional Telegram query options | |
|
|
|
| [options] | <code>Object</code> | Additional Telegram query options (provide either one of chat_id, message_id, or inline_message_id here) | |
|
|
|
|
|
|
|
|
|
|
|
<a name="TelegramBot+stopMessageLiveLocation"></a> |
|
|
|
<a name="TelegramBot+stopMessageLiveLocation"></a> |
|
|
|
|
|
|
|
|
|
|
|
### telegramBot.stopMessageLiveLocation([options]) ⇒ <code>Promise</code> |
|
|
|
### telegramBot.stopMessageLiveLocation([options]) ⇒ <code>Promise</code> |
|
|
|
Stop live location. |
|
|
|
Use this method to stop updating a live location message sent by |
|
|
|
Use this method to stop updating live location messages. |
|
|
|
the bot or via the bot (for inline bots) before live_period expires. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Note that you must provide one of chat_id, message_id, or |
|
|
|
|
|
|
|
inline_message_id in your request. |
|
|
|
|
|
|
|
|
|
|
|
**Kind**: instance method of <code>[TelegramBot](#TelegramBot)</code> |
|
|
|
**Kind**: instance method of <code>[TelegramBot](#TelegramBot)</code> |
|
|
|
**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 |
|
|
|
**See**: https://core.telegram.org/bots/api#stopmessagelivelocation |
|
|
|
|
|
|
|
|
|
|
|
| Param | Type | Description | |
|
|
|
| Param | Type | Description | |
|
|
|
| --- | --- | --- | |
|
|
|
| --- | --- | --- | |
|
|
|
| [options] | <code>Object</code> | Additional Telegram query options | |
|
|
|
| [options] | <code>Object</code> | Additional Telegram query options (provide either one of chat_id, message_id, or inline_message_id here) | |
|
|
|
|
|
|
|
|
|
|
|
<a name="TelegramBot+sendVenue"></a> |
|
|
|
<a name="TelegramBot+sendVenue"></a> |
|
|
|
|
|
|
|
|
|
|
|
|