castPollVote

fun castPollVote(messageId: String, pollId: String, option: Option): 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.

option

The option to vote for.