sendPoll
fun sendPoll(channelType: String, channelId: String, createPollParams: CreatePollParams): Call<Message>
Send a message with a poll to the given channel.
IMPORTANT: Polls cannot be sent inside a thread!
Return
Executable async Call responsible for sending a poll.
Parameters
channelType
The channel type. ie messaging.
channelId
The channel id. ie 123.
createPollParams
The poll configuration.