Add "fromMe" option to fetchMessages (#1444)

This commit is contained in:
Roi Greenberg
2022-08-14 18:30:14 +03:00
committed by GitHub
parent ab7ee0eb4f
commit b74246d69a
2 changed files with 15 additions and 2 deletions

4
index.d.ts vendored
View File

@@ -1062,6 +1062,10 @@ declare namespace WAWebJS {
* Set this to Infinity to load all messages.
*/
limit?: number
/**
* Return only messages from the bot number or vise versa. To get all messages, leave the option undefined.
*/
fromMe?: boolean
}
/**