DytePoll

class DytePoll

Dyte poll

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun create(question: String, options: List<String>, anonymous: Boolean, hideVotes: Boolean)

Create poll

Link copied to clipboard
fun toMap(): List<Map<String, Any?>>
Link copied to clipboard
fun vote(pollMessage: DytePollMessage, pollOption: DytePollOption)

Vote on poll