mirror of
https://github.com/cheveguerra/whatsapp-web.js.git
synced 2026-04-17 19:26:20 +00:00
updating forward documentation. (#1624)
* updating forward documentation. * Update Message.js * Update index.d.ts * Update docs/Message.html Co-authored-by: Rajeh Taher <rajeh@reforward.dev>
This commit is contained in:
2
index.d.ts
vendored
2
index.d.ts
vendored
@@ -708,7 +708,7 @@ declare namespace WAWebJS {
|
|||||||
/** React to this message with an emoji*/
|
/** React to this message with an emoji*/
|
||||||
react: (reaction: string) => Promise<void>,
|
react: (reaction: string) => Promise<void>,
|
||||||
/**
|
/**
|
||||||
* Forwards this message to another chat
|
* Forwards this message to another chat (that you chatted before, otherwise it will fail)
|
||||||
*/
|
*/
|
||||||
forward: (chat: Chat | string) => Promise<void>,
|
forward: (chat: Chat | string) => Promise<void>,
|
||||||
/** Star this message */
|
/** Star this message */
|
||||||
|
|||||||
@@ -356,7 +356,7 @@ class Message extends Base {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Forwards this message to another chat
|
* Forwards this message to another chat (that you chatted before, otherwise it will fail)
|
||||||
*
|
*
|
||||||
* @param {string|Chat} chat Chat model or chat ID to which the message will be forwarded
|
* @param {string|Chat} chat Chat model or chat ID to which the message will be forwarded
|
||||||
* @returns {Promise}
|
* @returns {Promise}
|
||||||
|
|||||||
Reference in New Issue
Block a user