[BUG] fixed poll docs (#2652)
This commit is contained in:
parent
7ff9c9807b
commit
58fc39f97d
1 changed files with 5 additions and 3 deletions
8
index.d.ts
vendored
8
index.d.ts
vendored
|
|
@ -985,13 +985,15 @@ declare namespace WAWebJS {
|
|||
}
|
||||
|
||||
/** Represents a Poll on WhatsApp */
|
||||
export interface Poll {
|
||||
pollName: string,
|
||||
export class Poll {
|
||||
pollName: string
|
||||
pollOptions: Array<{
|
||||
name: string,
|
||||
localId: number
|
||||
}>,
|
||||
}>
|
||||
options: PollSendOptions
|
||||
|
||||
constructor(pollName: string, pollOptions: Array<string>, options?: PollSendOptions)
|
||||
}
|
||||
|
||||
export interface Label {
|
||||
|
|
|
|||
Loading…
Reference in a new issue