Node.js module to interact with official [Telegram Bot API](https://core.telegram.org/bots/api). A bot token is needed, to obtain one, talk to [@botfather](https://telegram.me/BotFather) and create a new bot.
Node.js module to interact with official [Telegram Bot API](https://core.telegram.org/bots/api). A bot token is needed, to obtain one, talk to [@botfather](https://telegram.me/BotFather) and create a new bot.
| chatId | <code>Number</code>|<code>String</code> | Unique identifier for the message recipient |
| chatId | <code>Number</code>|<code>String</code> | Unique identifier for the message recipient |
| photo | <code>String</code>|<code>stream.Stream</code> | A file path or a Stream. Can also be a `file_id` previously uploaded |
| photo | <code>String</code>|<code>stream.Stream</code>|<code>Buffer</code>| A file path or a Stream. Can also be a `file_id` previously uploaded |
| chatId | <code>Number</code>|<code>String</code> | Unique identifier for the message recipient |
| chatId | <code>Number</code>|<code>String</code> | Unique identifier for the message recipient |
| audio | <code>String</code>|<code>stream.Stream</code>| A file path or a Stream. Can also be a `file_id` previously uploaded. |
| audio | <code>String</code>|<code>stream.Stream</code>|<code>Buffer</code> | A file path, Stream or Buffer. Can also be a `file_id` previously uploaded. |
**Kind**: instance method of <code>[TelegramBot](#TelegramBot)</code>
**Kind**: instance method of <code>[TelegramBot](#TelegramBot)</code>
@ -185,11 +186,11 @@ Send Document
| Param | Type | Description |
| Param | Type | Description |
| --- | --- | --- |
| --- | --- | --- |
| chatId | <code>Number</code>|<code>String</code> | Unique identifier for the message recipient |
| chatId | <code>Number</code>|<code>String</code> | Unique identifier for the message recipient |
| A | <code>String</code>|<code>stream.Stream</code>| file path or a Stream. Can also be a `file_id` previously uploaded. |
| doc | <code>String</code>|<code>stream.Stream</code>|<code>Buffer</code> | A file path, Stream or Buffer. Can also be a `file_id` previously uploaded. |
**Kind**: instance method of <code>[TelegramBot](#TelegramBot)</code>
**Kind**: instance method of <code>[TelegramBot](#TelegramBot)</code>
@ -198,11 +199,11 @@ Send .webp stickers.
| Param | Type | Description |
| Param | Type | Description |
| --- | --- | --- |
| --- | --- | --- |
| chatId | <code>Number</code>|<code>String</code> | Unique identifier for the message recipient |
| chatId | <code>Number</code>|<code>String</code> | Unique identifier for the message recipient |
| A | <code>String</code>|<code>stream.Stream</code>| file path or a Stream. Can also be a `file_id` previously uploaded. |
| sticker | <code>String</code>|<code>stream.Stream</code>|<code>Buffer</code> | A file path, Stream or Buffer. Can also be a `file_id` previously uploaded. Stickers are WebP format files. |
| chatId | <code>Number</code>|<code>String</code> | Unique identifier for the message recipient |
| chatId | <code>Number</code>|<code>String</code> | Unique identifier for the message recipient |
| voice | <code>String</code>|<code>stream.Stream</code>| A file path or a Stream. Can also be a `file_id` previously uploaded. |
| voice | <code>String</code>|<code>stream.Stream</code>|<code>Buffer</code> | A file path, Stream or Buffer. Can also be a `file_id` previously uploaded. |