UpdatePollRequest
constructor(id: String, name: String, allowAnswers: Boolean? = null, allowUserSuggestedOptions: Boolean? = null, description: String? = null, enforceUniqueVote: Boolean? = null, isClosed: Boolean? = null, maxVotesAllowed: Int? = null, options: List<PollOption>? = null, votingVisibility: VotingVisibility = VotingVisibility.PUBLIC, extraData: Map<String, Any> = emptyMap())
Parameters
id
The unique identifier of the poll to be updated.
name
The name of the poll.
allowAnswers
Indicates whether users can suggest user defined answers.
allowUserSuggestedOptions
Indicates whether users can suggest new options.
description
A description of the poll.
enforceUniqueVote
Indicates whether users can cast multiple votes.
maxVotesAllowed
Indicates the maximum amount of votes a user can cast.
options
The list of options for the poll.
votingVisibility
The visibility of the poll.
extraData
A map of additional key-value pairs to include in the creation request.