createPoll

fun createPoll(pollConfig: PollConfig, onResult: (Result<Message>) -> Unit = {})

Creates a poll with the given pollConfig.

Parameters

pollConfig

Configuration for creating a poll.