PollUpdateParams

data class PollUpdateParams @JvmOverloads constructor(var title: String? = null, var data: PollData? = null, var allowUserSuggestion: Boolean? = null, var allowMultipleVotes: Boolean? = null, var closeAt: Long = Poll.POLL_DEFAULT_TS)

Parameters for updating poll operations. All members are optional.

Since

4.1.0

See also

Constructors

Link copied to clipboard
constructor(title: String? = null, data: PollData? = null, allowUserSuggestion: Boolean? = null, allowMultipleVotes: Boolean? = null, closeAt: Long = Poll.POLL_DEFAULT_TS)

Properties

Link copied to clipboard

Whether to allow multiple vote casting

Link copied to clipboard

Whether to allow user-suggested options

Link copied to clipboard

Unix timestamp at which the poll has closed or will close (second)

Link copied to clipboard

An additional json data to accompany the poll.

Link copied to clipboard

Title of the poll.