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:
parent
e91077a615
commit
6a4fca0a77
2 changed files with 2 additions and 2 deletions
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}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue