castPollVote

fun castPollVote(messageId: String, pollId: String, optionId: String): Call<Vote>

Cast a vote for a poll in a message.

Return

Executable async Call responsible for casting a vote.

Parameters

messageId

The message id where the poll is.

pollId

The poll id.

optionId

The id of the option to vote for.