2
0
mirror of https://github.com/yagop/node-telegram-bot-api synced 2025-08-31 06:16:07 +00:00

doc: Document TelegramBot.errors, TelegramBot.messageTypes

This commit is contained in:
GochoMugo
2017-11-18 21:49:34 +03:00
parent 49df0c6e02
commit bbac07ad2c
3 changed files with 23 additions and 1 deletions

View File

@@ -83,6 +83,8 @@ TelegramBot
* [.setStickerPositionInSet(sticker, position)](#TelegramBot+setStickerPositionInSet) ⇒ <code>Promise</code>
* [.deleteStickerFromSet(sticker)](#TelegramBot+deleteStickerFromSet) ⇒ <code>Promise</code>
* _static_
* [.errors](#TelegramBot.errors) : <code>Object</code>
* [.messageTypes](#TelegramBot.messageTypes) : <code>Array.&lt;String&gt;</code>
* [.Promise](#TelegramBot.Promise)
<a name="new_TelegramBot_new"></a>
@@ -1110,6 +1112,18 @@ Returns True on success.
| --- | --- | --- |
| sticker | <code>String</code> | File identifier of the sticker |
<a name="TelegramBot.errors"></a>
### TelegramBot.errors : <code>Object</code>
The different errors the library uses.
**Kind**: static property of <code>[TelegramBot](#TelegramBot)</code>
<a name="TelegramBot.messageTypes"></a>
### TelegramBot.messageTypes : <code>Array.&lt;String&gt;</code>
The types of message updates the library handles.
**Kind**: static property of <code>[TelegramBot](#TelegramBot)</code>
<a name="TelegramBot.Promise"></a>
### TelegramBot.Promise