mirror of
https://github.com/yagop/node-telegram-bot-api
synced 2025-09-02 07:15:34 +00:00
Updated README and contributors
This commit is contained in:
16
README.md
16
README.md
@@ -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.
|
||||||
|
24
package.json
24
package.json
@@ -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
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
Reference in New Issue
Block a user