castPollVote
Cast a vote for a poll in a message.
Note: This function does not validate that the vote can be cast (e.g. that the poll is open or that the user is still within the Poll.maxVotesAllowed limit). Callers are responsible for these checks.
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.