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:
parent
e976b52128
commit
9ac992c61d
17
README.md
17
README.md
@ -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 -->
|
||||
|
Loading…
x
Reference in New Issue
Block a user