Parameters for creating poll and updating poll operations.


  • PollCreateParams


allowMultipleVotes?: boolean

Whether to allow multiple vote casting.

allowUserSuggestion?: boolean

Whether to allow user-suggested options.

closeAt?: number

Timestamp at which the poll has closed or will close (in second).

data?: PollData

An additional json data to accompany the poll.

optionTexts: string[]

Options for this poll.

title: string

Title of the poll.

Generated using TypeDoc