This commit is contained in:
purpshell
2022-08-23 20:54:01 +03:00
parent 045e7bd414
commit 9bfea7847e

5
index.d.ts vendored
View File

@@ -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<any>
sections: Array<FormattedSectionSpec>
title?: string | null
footer?: string | null
constructor(body: string, buttonText: string, sections: Array<any>, title?: string | null, footer?: string | null)
constructor(body: string, buttonText: string, sections: Array<SectionSpec>, title?: string | null, footer?: string | null)
}
/** Message type Buttons */