feat: forward messages

close #316
This commit is contained in:
Pedro Lopez
2020-08-25 23:00:35 -04:00
parent 590ecc2351
commit 502b22f6d7
2 changed files with 21 additions and 0 deletions

4
index.d.ts vendored
View File

@@ -485,6 +485,10 @@ declare namespace WAWebJS {
* If not, it will send the message in the same Chat as the original message was sent.
*/
reply: (content: MessageContent, chatId?: string, options?: MessageSendOptions) => Promise<Message>,
/**
* Forwards this message to another chat
*/
forward: (chat: Chat | string) => Promise,
}
/** ID that represents a message */