2
0
mirror of https://github.com/yagop/node-telegram-bot-api synced 2025-09-02 15:25:28 +00:00

Updated README and contributors

This commit is contained in:
yago
2015-07-08 22:36:28 +02:00
parent 264b554540
commit bdc90bcde1
2 changed files with 29 additions and 13 deletions

View File

@@ -173,6 +173,22 @@ See: https://core.telegram.org/bots/api#sendsticker
* **Promise** * **Promise**
## sendVideo(chatId, A, [options])
Send video files, Telegram clients support mp4 videos (other formats may be sent whith `sendDocument`)
See: https://core.telegram.org/bots/api#sendvideo
### 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) ## sendChatAction(chatId, action)
Send chat action. Send chat action.

View File

@@ -41,12 +41,12 @@
"homepage": "https://github.com/yagop/node-telegram-bot-api", "homepage": "https://github.com/yagop/node-telegram-bot-api",
"contributors": [ "contributors": [
{ {
"name": "Riddler", "name": "Yago",
"email": "", "email": "yago@yago.me",
"url": "https://github.com/Waterloo", "url": "https://github.com/yagop",
"contributions": 3, "contributions": 48,
"additions": 64, "additions": 1102,
"deletions": 2, "deletions": 153,
"hireable": true "hireable": true
}, },
{ {
@@ -59,12 +59,12 @@
"hireable": true "hireable": true
}, },
{ {
"name": "Yago", "name": "Riddler",
"email": "yago@yago.me", "email": "",
"url": "https://github.com/yagop", "url": "https://github.com/Waterloo",
"contributions": 43, "contributions": 3,
"additions": 1002, "additions": 64,
"deletions": 132, "deletions": 2,
"hireable": true "hireable": true
} }
] ]