diff --git a/index.d.ts b/index.d.ts index f02acc9..e1dcb48 100644 --- a/index.d.ts +++ b/index.d.ts @@ -3,6 +3,7 @@ import { EventEmitter } from 'events' import { RequestInit } from 'node-fetch' import puppeteer from 'puppeteer' import { ButtonSpec, FormattedButtonSpec } from './src/structures/Buttons' +import { FormattedSectionSpec, SectionSpec } from './src/structures/List' declare namespace WAWebJS { @@ -1333,11 +1334,11 @@ declare namespace WAWebJS { export class List { body: string buttonText: string - sections: Array + sections: Array title?: string | null footer?: string | null - constructor(body: string, buttonText: string, sections: Array, title?: string | null, footer?: string | null) + constructor(body: string, buttonText: string, sections: Array, title?: string | null, footer?: string | null) } /** Message type Buttons */