Add "fromMe" option to fetchMessages (#1444)

This commit is contained in:
Roi Greenberg 2022-08-14 18:30:14 +03:00 • committed by GitHub
commit b74246d69a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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
}
/**