twitcheasy-twitch-bottwitch-authtwitch-auth-tmitwitch-chat-clienttwitch-eventsubtwitch-pubsub-clienttwitch-webhooks
Welcome

EventSubChannelPollBeginEvent

An EventSub event representing a poll starting in a channel.

Overview

Properties

bitsPerVote

Type: number

The amount of bits a vote costs.

broadcasterDisplayName

Type: string

The display name of the broadcaster.

broadcasterId

Type: string

The ID of the broadcaster.

broadcasterName

Type: string

The name of the broadcaster.

channelPointsPerVote

Type: number

The amount of channel points a vote costs.

choices

Type: Array<EventSubChannelPollBeginChoice>

The choices of the poll.

endDate

Type: Date

The time when the poll ends.

id

Type: string

The ID of the poll.

isBitsVotingEnabled

Type: boolean

Whether voting with bits is enabled.

isChannelPointsVotingEnabled

Type: boolean

Whether voting with channel points is enabled.

startDate

Type: Date

The time when the poll started.

title

Type: string

The title of the poll.

Methods

getBroadcaster()

async

Retrieves more information about the broadcaster.

Return type: HelixUser