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

doc: Fixed type annotations for message id parameter (#491)

References:

  * BR: https://github.com/yagop/node-telegram-bot-api/issues/490
This commit is contained in:
Oleksandr Tryshchenko
2018-01-11 10:21:14 +01:00
committed by Gocho Mugo
parent 119d892c34
commit 435f06319e
2 changed files with 4 additions and 4 deletions

View File

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