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:
committed by
Gocho Mugo
parent
119d892c34
commit
435f06319e
@@ -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>
|
||||
|
Reference in New Issue
Block a user