From bdc90bcde1360ff0e8e46769ca7419025352d296 Mon Sep 17 00:00:00 2001 From: yago Date: Wed, 8 Jul 2015 22:36:28 +0200 Subject: [PATCH] Updated README and contributors --- README.md | 16 ++++++++++++++++ package.json | 26 +++++++++++++------------- 2 files changed, 29 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 929babc..0b34972 100644 --- a/README.md +++ b/README.md @@ -173,6 +173,22 @@ See: https://core.telegram.org/bots/api#sendsticker * **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) Send chat action. diff --git a/package.json b/package.json index dcf5da9..66dffa0 100644 --- a/package.json +++ b/package.json @@ -41,12 +41,12 @@ "homepage": "https://github.com/yagop/node-telegram-bot-api", "contributors": [ { - "name": "Riddler", - "email": "", - "url": "https://github.com/Waterloo", - "contributions": 3, - "additions": 64, - "deletions": 2, + "name": "Yago", + "email": "yago@yago.me", + "url": "https://github.com/yagop", + "contributions": 48, + "additions": 1102, + "deletions": 153, "hireable": true }, { @@ -59,13 +59,13 @@ "hireable": true }, { - "name": "Yago", - "email": "yago@yago.me", - "url": "https://github.com/yagop", - "contributions": 43, - "additions": 1002, - "deletions": 132, + "name": "Riddler", + "email": "", + "url": "https://github.com/Waterloo", + "contributions": 3, + "additions": 64, + "deletions": 2, "hireable": true } ] -} +} \ No newline at end of file