Compare commits

..

No commits in common. 'master' and 'release' have entirely different histories.

  1. 3
      README.md
  2. 4
      doc/api.md
  3. 2
      doc/tutorials.md
  4. 4
      src/telegram.js

@ -61,7 +61,7 @@ bot.on('message', (msg) => {
* [Experimental Features][experimental] * [Experimental Features][experimental]
_**Note**: Development is done against the **master** branch. _**Note**: Development is done against the **master** branch.
Code for the latest release resides on the **release** branch. Code for the latest release resides on the **release** branch
Experimental features reside on the **experimental** branch._ Experimental features reside on the **experimental** branch._
@ -81,7 +81,6 @@ Some things built using this library that might interest you:
* [teleirc](https://github.com/FruitieX/teleirc): A simple Telegram ↔ IRC gateway * [teleirc](https://github.com/FruitieX/teleirc): A simple Telegram ↔ IRC gateway
* [bot-brother](https://github.com/SerjoPepper/bot-brother): Node.js library to help you easily create telegram bots * [bot-brother](https://github.com/SerjoPepper/bot-brother): Node.js library to help you easily create telegram bots
* [redbot](https://github.com/guidone/node-red-contrib-chatbot): A Node-RED plugin to create telegram bots visually * [redbot](https://github.com/guidone/node-red-contrib-chatbot): A Node-RED plugin to create telegram bots visually
* [node-telegram-keyboard-wrapper](https://github.com/alexandercerutti/node-telegram-keyboard-wrapper): A wrapper to improve `reply_markup` structures creation in an easy way (supports Inline Keyboards, Reply Keyboard, Remove Keyboard and Force Reply)
## License ## License

@ -654,7 +654,7 @@ Returns True on success.
| 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 |
| messageId | <code>Number</code> | Identifier of a message to pin | | messageId | <code>String</code> | Identifier of a message to pin |
| [options] | <code>Object</code> | Additional Telegram query options | | [options] | <code>Object</code> | Additional Telegram query options |
<a name="TelegramBot+unpinChatMessage"></a> <a name="TelegramBot+unpinChatMessage"></a>
@ -1118,7 +1118,7 @@ Use this method to delete a message.
| Param | Type | Description | | Param | Type | Description |
| --- | --- | --- | | --- | --- | --- |
| chatId | <code>Number</code> \| <code>String</code> | Unique identifier of the target chat | | chatId | <code>Number</code> \| <code>String</code> | Unique identifier of the target chat |
| messageId | <code>Number</code> | Unique identifier of the target message | | messageId | <code>String</code> | Unique identifier of the target message |
| [options] | <code>Object</code> | Additional Telegram query options | | [options] | <code>Object</code> | Additional Telegram query options |
<a name="TelegramBot+sendInvoice"></a> <a name="TelegramBot+sendInvoice"></a>

@ -4,7 +4,5 @@
* [node-telegram-bot-api-persian-language by @saeedhei](https://github.com/saeedhei/node-telegram-bot-api-persian-language) * [node-telegram-bot-api-persian-language by @saeedhei](https://github.com/saeedhei/node-telegram-bot-api-persian-language)
* [Node.JS: Делаем своего Telegram бота [RUS]](https://archakov.im/post/telegram-bot-on-nodejs.html) * [Node.JS: Делаем своего Telegram бота [RUS]](https://archakov.im/post/telegram-bot-on-nodejs.html)
* [YouTube: Пишем Telegram бота на NodeJS [RUS]](https://www.youtube.com/watch?v=RS1nmDMf69U&list=PL6AOr-PZtK-mM2QC1ixyfa5CtJZGK61aN) * [YouTube: Пишем Telegram бота на NodeJS [RUS]](https://www.youtube.com/watch?v=RS1nmDMf69U&list=PL6AOr-PZtK-mM2QC1ixyfa5CtJZGK61aN)
* [Node.jsでTelegramのチャットボットを作る - Qiita](https://qiita.com/neetshin/items/0e2f6fa3ade41adb77bc)
* [Guía: Creación de bots de Telegram en Nodejs [ES]](https://tecnonucleous.com/creacion-de-bots-de-telegram-en-nodejs/)
> Send a PR with useful links **not** listed above > Send a PR with useful links **not** listed above

@ -1080,7 +1080,7 @@ class TelegramBot extends EventEmitter {
* Returns True on success. * Returns True on success.
* *
* @param {Number|String} chatId Unique identifier for the message recipient * @param {Number|String} chatId Unique identifier for the message recipient
* @param {Number} messageId Identifier of a message to pin * @param {String} messageId Identifier of a message to pin
* @param {Object} [options] Additional Telegram query options * @param {Object} [options] Additional Telegram query options
* @return {Promise} * @return {Promise}
* @see https://core.telegram.org/bots/api#pinchatmessage * @see https://core.telegram.org/bots/api#pinchatmessage
@ -1614,7 +1614,7 @@ class TelegramBot extends EventEmitter {
/** /**
* Use this method to delete a message. * Use this method to delete a message.
* @param {Number|String} chatId Unique identifier of the target chat * @param {Number|String} chatId Unique identifier of the target chat
* @param {Number} messageId Unique identifier of the target message * @param {String} messageId Unique identifier of the target message
* @param {Object} [options] Additional Telegram query options * @param {Object} [options] Additional Telegram query options
* @return {Promise} * @return {Promise}
* @see https://core.telegram.org/bots/api#deletemessage * @see https://core.telegram.org/bots/api#deletemessage

Loading…
Cancel
Save