mirror of
https://github.com/cheveguerra/whatsapp-web.js.git
synced 2026-04-19 12:09:15 +00:00
Merge branch 'main' into patch-participants
This commit is contained in:
4
index.d.ts
vendored
4
index.d.ts
vendored
@@ -604,6 +604,8 @@ declare namespace WAWebJS {
|
||||
ack: MessageAck,
|
||||
/** If the message was sent to a group, this field will contain the user that sent the message. */
|
||||
author?: string,
|
||||
/** String that represents from which device type the message was sent */
|
||||
deviceType: string,
|
||||
/** Message content */
|
||||
body: string,
|
||||
/** Indicates if the message was a broadcast */
|
||||
@@ -704,7 +706,7 @@ declare namespace WAWebJS {
|
||||
*/
|
||||
reply: (content: MessageContent, chatId?: string, options?: MessageSendOptions) => Promise<Message>,
|
||||
/** React to this message with an emoji*/
|
||||
react: (reaction: string) => Promise,
|
||||
react: (reaction: string) => Promise<void>,
|
||||
/**
|
||||
* Forwards this message to another chat
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user