Parameters for updating poll operations.

interface PollUpdateParams {
    allowMultipleVotes?: boolean;
    allowUserSuggestion?: boolean;
    closeAt?: number;
    data?: PollData;
    title?: string;
}

Properties

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.

title?: string

Title of the poll.