PollProgress

data class PollProgress(val subscriptionType: String, val messageId: String, val timestamp: Instant, val id: String, val broadcasterUserId: String, val broadcasterUserLogin: String, val broadcasterUserName: String, val title: String, val choices: List<PollChoice>, val bitsVoting: VotingSettings, val channelPointsVoting: VotingSettings, val startedAt: Instant, val endsAt: Instant) : TwitchEvent

Twitch EventSub: channel.poll.progress

Constructors

Link copied to clipboard
constructor(subscriptionType: String, messageId: String, timestamp: Instant, id: String, broadcasterUserId: String, broadcasterUserLogin: String, broadcasterUserName: String, title: String, choices: List<PollChoice>, bitsVoting: VotingSettings, channelPointsVoting: VotingSettings, startedAt: Instant, endsAt: Instant)

Properties

Link copied to clipboard

Bits voting settings (not used, set to disabled).

Link copied to clipboard

the broadcaster's user ID.

Link copied to clipboard

the broadcaster's login.

Link copied to clipboard

the broadcaster's display name.

Link copied to clipboard

Channel Points voting settings.

Link copied to clipboard

the poll's choices with current vote counts.

Link copied to clipboard

the time the poll will end.

Link copied to clipboard
val id: String

ID of the poll.

Link copied to clipboard
open override val messageId: String

Unique ID for this EventSub message.

Link copied to clipboard

the time the poll started.

Link copied to clipboard
open override val subscriptionType: String

The EventSub subscription type string (e.g. channel.follow).

Link copied to clipboard
open override val timestamp: Instant

The Instant when the EventSub notification was sent, parsed from ISO-8601.

Link copied to clipboard

question displayed for the poll.