diff --git a/index.d.ts b/index.d.ts index d4fedc5..22081e9 100644 --- a/index.d.ts +++ b/index.d.ts @@ -281,7 +281,7 @@ declare namespace WAWebJS { * @default 45000 */ authTimeoutMs?: number, /** Puppeteer launch options. View docs here: https://github.com/puppeteer/puppeteer/ */ - puppeteer?: puppeteer.LaunchOptions + puppeteer?: puppeteer.LaunchOptions & puppeteer.BrowserLaunchArgumentOptions & puppeteer.BrowserConnectOptions /** Refresh interval for qr code (how much time to wait before checking if the qr code has changed) * @default 20000 */ qrRefreshIntervalMs?: number @@ -708,7 +708,7 @@ declare namespace WAWebJS { static fromUrl: (url: string, options?: MediaFromURLOptions) => Promise } - export type MessageContent = string | MessageMedia | Location | Contact | Contact[] + export type MessageContent = string | MessageMedia | Location | Contact | Contact[] | List | Buttons /** * Represents a Contact on WhatsApp