sendPoll

fun sendPoll(channelType: String, channelId: String, pollConfig: PollConfig): Call<Message>

Send a message with a poll to the given channel.

Return

Executable async Call responsible for sending a poll.

Parameters

channelType

The channel type. ie messaging.

channelId

The channel id. ie 123.

pollConfig

The poll configuration.