mirror of
https://github.com/yagop/node-telegram-bot-api
synced 2025-08-29 05:17:41 +00:00
Updated README and contributors
This commit is contained in:
parent
264b554540
commit
bdc90bcde1
16
README.md
16
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.
|
||||
|
26
package.json
26
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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user