castVote

fun castVote(messageId: String, pollId: String, option: Option)

Cast a vote for a poll in a message.

Parameters

messageId

The message id where the poll is.

pollId

The poll id.

option

The option to vote for.