From 9ac992c61d116faec58bac3e0e07b0e8f3bbee31 Mon Sep 17 00:00:00 2001 From: Ilias Ismanalijev Date: Thu, 9 Jul 2015 13:40:11 +0200 Subject: [PATCH] readme for sendlocation --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.md b/README.md index 2a0fb08..d0ffaa1 100644 --- a/README.md +++ b/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** +