fix: fix 'delete' method for messages (#3301)
This commit is contained in:
parent
0d040611e7
commit
bad202d2bc
2 changed files with 15 additions and 12 deletions
2
index.d.ts
vendored
2
index.d.ts
vendored
|
|
@ -960,7 +960,7 @@ declare namespace WAWebJS {
|
|||
/** Accept the Group V4 Invite in message */
|
||||
acceptGroupV4Invite: () => Promise<{status: number}>,
|
||||
/** Deletes the message from the chat */
|
||||
delete: (everyone?: boolean) => Promise<void>,
|
||||
delete: (everyone?: boolean, clearMedia?: boolean) => Promise<void>,
|
||||
/** Downloads and returns the attached message media */
|
||||
downloadMedia: () => Promise<MessageMedia>,
|
||||
/** Returns the Chat this message was sent in */
|
||||
|
|
|
|||
Loading…
Reference in a new issue