PollAnswerCast

constructor(messageId: String, pollId: String, answer: String)

Parameters

messageId

The id of the message that hosts the poll.

pollId

The id of the poll to cast the answer on.

answer

The text of the answer / comment.