From 781dff1164d6b4fb07121ae90c929842c296eed4 Mon Sep 17 00:00:00 2001 From: yago Date: Wed, 8 Jul 2015 22:04:55 +0200 Subject: [PATCH] Updated README.md --- README.md | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5bc9239..929babc 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,9 @@ There are some other examples on [examples](https://github.com/yagop/node-telegr * * * + + + ## TelegramBot Both request method to obtain messages are implemented. To use standard polling, set `polling: true` @@ -154,6 +157,22 @@ See: https://core.telegram.org/bots/api#sendDocument * **Promise** +## sendSticker(chatId, A, [options]) + +Send .webp stickers. + +See: https://core.telegram.org/bots/api#sendsticker + +### Params: + +* **Number|String** *chatId* Unique identifier for the message recipient +* **String|stream.Stream** *A* file path or a Stream. Can also be a `file_id` previously uploaded. +* **Object** *[options]* Additional Telegram query options + +### Return: + +* **Promise** + ## sendChatAction(chatId, action) Send chat action. @@ -171,4 +190,6 @@ See: https://core.telegram.org/bots/api#sendchataction ### Return: -* **Promise** +* **Promise** + +