create

suspend fun create(request: CreatePollRequest): Poll

Twitch API: Create Poll

Creates a poll that viewers in the broadcaster's channel can vote on. The poll begins as soon as it's created. You may run only one poll at a time.

Return

the created poll.

Parameters

request

the poll configuration including broadcaster ID, title, choices, and duration.