2
0
mirror of https://github.com/yagop/node-telegram-bot-api synced 2025-08-29 13:27:44 +00:00

readme for sendlocation

This commit is contained in:
Ilias Ismanalijev 2015-07-09 13:40:11 +02:00
parent e976b52128
commit 9ac992c61d

View File

@ -208,4 +208,21 @@ See: https://core.telegram.org/bots/api#sendchataction
* **Promise**
## sendLocation(chatId, latitude, longitude, [options])
Use this method to send point on the map.
See: https://core.telegram.org/bots/api#sendlocation
### Params:
* **Number|String** *chatId* Unique identifier for the message recipient
* **Float** *latitude* Latitude of location
* **Float** *longitude* Longitude of location
* **Object** *[options]* Additional Telegram query options
### Return:
* **Promise**
<!-- End src/telegram.js -->