IPollsSocketHandler

Properties

Link copied to clipboard
Link copied to clipboard
abstract val polls: List<DytePollMessage>

Functions

Link copied to clipboard
abstract suspend fun createPoll(question: String, options: List<String>, anonymous: Boolean, hideVotes: Boolean)
Link copied to clipboard
abstract fun handlePoll(webSocketPoll: WebSocketPoll, updateUI: Boolean)
Link copied to clipboard
abstract suspend fun loadPolls()
Link copied to clipboard
abstract suspend fun vote(dytePollMessage: DytePollMessage, dytePollOption: DytePollOption)