class
Poll
Source: structures/
Represents a Poll on WhatsApp
Properties
new Poll(pollName, pollOptions, options)
Parameters
Name | Type | Optional | Description |
---|---|---|---|
pollName |
|
|
|
pollOptions |
|
|
|
options |
|
|
Properties
options PollSendOptions
The send options for the poll
pollName string
The name of the poll
pollOptions Array of {name: string, localId: number}
The array of poll options