shared
1.19.13
common
shared
/
io.dyte.core.controllers
/
IPollController
IPoll
Controller
interface
IPollController
Members
Properties
polls
Link copied to clipboard
abstract
val
polls
:
List
<
DytePollMessage
>
Functions
create
Link copied to clipboard
abstract
suspend
fun
create
(
question
:
String
,
options
:
List
<
String
>
,
anonymous
:
Boolean
,
hideVotes
:
Boolean
)
load
Polls
Link copied to clipboard
abstract
suspend
fun
loadPolls
(
)
on
New
Poll
Link copied to clipboard
abstract
fun
onNewPoll
(
websocketPoll
:
WebSocketPoll
)
vote
Link copied to clipboard
abstract
suspend
fun
vote
(
dytePollMessage
:
DytePollMessage
,
dytePollOption
:
DytePollOption
)