sendPoll

abstract fun sendPoll(    pollType: PollType,     question: String,     options: List<String>,     additionalContent: Content? = null): Cancelable

Send a poll to the room.

Return

a Cancelable

Parameters

pollType

indicates open or closed polls

question

the question

options

list of options

additionalContent

additional content to put in the event content